|
@@ -620,7 +620,7 @@ export default {
|
|
|
id,
|
|
|
},
|
|
|
}).then(() => {
|
|
|
- this.$message.success("撤回成功");
|
|
|
+ this.$message.success("撤回成功, 请重新创建模版");
|
|
|
this.handleInit({
|
|
|
...this.table_search,
|
|
|
page: this.page,
|
|
@@ -918,21 +918,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- // this.$http({
|
|
|
- // url: "/market/CMKIssued/CMKIssuedCheck",
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
- // data: {
|
|
|
- // groupId,
|
|
|
- // },
|
|
|
- // }).then((res) => {
|
|
|
- // console.log(res, "res");
|
|
|
- // this.handleInit()
|
|
|
- // this.handleCancel("visible");
|
|
|
- // this.handleCancel("approve_visible");
|
|
|
- // });
|
|
|
},
|
|
|
// 通用方法用于转化全局
|
|
|
paramsArr(start, end) {
|
|
@@ -991,66 +976,6 @@ export default {
|
|
|
break;
|
|
|
}
|
|
|
},
|
|
|
- // handleBack() {
|
|
|
- // const object = {
|
|
|
- // ...JSON.parse(sessionStorage.global_data)[0],
|
|
|
- // department_status: "待处理",
|
|
|
- // };
|
|
|
- // sessionStorage.setItem("global_data", JSON.stringify([object]));
|
|
|
- // const process_array = JSON.parse(sessionStorage.global_process);
|
|
|
- // process_array.push({
|
|
|
- // link: "审批驳回",
|
|
|
- // creatperson: `ADMIN ${this.$formatDate(new Date(), "YYYY-MM-DD")}`,
|
|
|
- // explain: this.approveForm.comments,
|
|
|
- // });
|
|
|
- // sessionStorage.setItem("global_process", JSON.stringify(process_array));
|
|
|
-
|
|
|
- // // this.handleInit();
|
|
|
- // // this.$message.success("打回成功");
|
|
|
- // // this.handleCancel("visible");
|
|
|
- // // this.handleCancel("approve_visible");
|
|
|
- // },
|
|
|
- // handleAgree() {
|
|
|
- // const object = {
|
|
|
- // ...JSON.parse(sessionStorage.global_data)[0],
|
|
|
- // department_status: "已完成",
|
|
|
- // };
|
|
|
- // sessionStorage.setItem("global_data", JSON.stringify([object]));
|
|
|
- // const process_array = JSON.parse(sessionStorage.global_process);
|
|
|
- // process_array.push({
|
|
|
- // link: "审批通过",
|
|
|
- // creatperson: `ADMIN ${this.$formatDate(new Date(), "YYYY-MM-DD")}`,
|
|
|
- // explain: this.approveForm.comments,
|
|
|
- // });
|
|
|
- // sessionStorage.setItem("global_process", JSON.stringify(process_array));
|
|
|
- // this.handleInit();
|
|
|
- // this.$message.success("审批成功");
|
|
|
- // this.handleCancel("visible");
|
|
|
- // this.handleCancel("approve_visible");
|
|
|
- // },
|
|
|
- // handleSubmit() {
|
|
|
- // // 提交好了
|
|
|
- // let reqdata = {
|
|
|
- // id: this.edit_form.id,
|
|
|
- // templateContent: "asdad",
|
|
|
- // };
|
|
|
- // this.$http({
|
|
|
- // url: "/CMKIssued/CMKIssuedSubmit",
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
- // data: reqdata,
|
|
|
- // }).then(({ data }) => {
|
|
|
- // console.log(data, "data");
|
|
|
- // if (data) {
|
|
|
- // this.$message.success("提交成功");
|
|
|
- // this.handleCancel("visible");
|
|
|
- // } else {
|
|
|
- // this.$message.error("提交失败");
|
|
|
- // }
|
|
|
- // });
|
|
|
- // },
|
|
|
},
|
|
|
};
|
|
|
</script>
|