review todo.html

This commit is contained in:
yuebenshan committed 2023-02-14 17:03:26 +08:00
1 parent 744c55bbf8
commit 8adc013351
1 file changed
+4 -8
+4 -8
View File
@@ -261,7 +261,6 @@ new Vue({
await this.confirmSubmitDialog(); await this.confirmSubmitDialog();
await this.submitForReview(uiActionData); await this.submitForReview(uiActionData);
await this.closeSubmitDrawer(); await this.closeSubmitDrawer();
await this.clearSubmitData();
this.getTableData(); this.getTableData();
this.getHistoryData(); this.getHistoryData();
break; break;
@@ -324,10 +323,6 @@ new Vue({
this.lineTypeList = []; // 所有操作按钮 this.lineTypeList = []; // 所有操作按钮
}, },
async closeSubmitDrawer() {
this.isSubmitDrawerShown = false;
},
async openUpdateDrawer() { async openUpdateDrawer() {
this.isSubmitDrawerShown = true; this.isSubmitDrawerShown = true;
}, },
@@ -338,9 +333,6 @@ new Vue({
} }
}, },
async clearSubmitData() {
this.updateItem = {};
},
async submitForReview(lineType) { async submitForReview(lineType) {
await window.vtoast.loading("提交审核"); await window.vtoast.loading("提交审核");
await window.jianghuAxios({ await window.jianghuAxios({
@@ -354,6 +346,10 @@ new Vue({
}) })
await window.vtoast.success("提交审核成功"); await window.vtoast.success("提交审核成功");
}, },
async closeSubmitDrawer() {
this.isSubmitDrawerShown = false;
this.updateItem = {};
},
setLineTypeList(lineTypeList) { setLineTypeList(lineTypeList) {
this.lineTypeList = _.uniqBy((lineTypeList || '').split(",").map(lineType => ({type: lineType, label: lineType})), 'type'); this.lineTypeList = _.uniqBy((lineTypeList || '').split(",").map(lineType => ({type: lineType, label: lineType})), 'type');
}, },