细节调整
This commit is contained in:
1 parent
b02d3c9667
commit
b59cea753c
2 files changed
+7
-3
No files matched your search
@@ -125,13 +125,15 @@ Vue.component("workflow-editor-drawer", {
|
|||||||
await this.confirmCreateItemDialog();
|
await this.confirmCreateItemDialog();
|
||||||
await this.prepareFormSubmitData();
|
await this.prepareFormSubmitData();
|
||||||
await this.doCreateItem();
|
await this.doCreateItem();
|
||||||
await this.syncUpdateFormObj()
|
await this.syncUpdateFormObj();
|
||||||
|
await this.closeDrawer();
|
||||||
break;
|
break;
|
||||||
case 'updateItem':
|
case 'updateItem':
|
||||||
await this.confirmUpdateItemDialog();
|
await this.confirmUpdateItemDialog();
|
||||||
await this.prepareFormSubmitData();
|
await this.prepareFormSubmitData();
|
||||||
await this.doUpdateItem();
|
await this.doUpdateItem();
|
||||||
await this.syncUpdateFormObj()
|
await this.syncUpdateFormObj();
|
||||||
|
await this.closeDrawer();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doUiAction] uiActionId not find", {uiActionId});
|
console.error("[doUiAction] uiActionId not find", {uiActionId});
|
||||||
@@ -292,6 +294,7 @@ Vue.component("workflow-editor-drawer", {
|
|||||||
})).data.appData.resultData;
|
})).data.appData.resultData;
|
||||||
this.formObj.id = rows[0];
|
this.formObj.id = rows[0];
|
||||||
await window.vtoast.success("新增数据成功");
|
await window.vtoast.success("新增数据成功");
|
||||||
|
this.$emit('success');
|
||||||
},
|
},
|
||||||
// ---------- <<<<<<<<<< 新建流程 createItem --------
|
// ---------- <<<<<<<<<< 新建流程 createItem --------
|
||||||
// ---------- 修改流程 updateItem >>>>>>>>>> --------
|
// ---------- 修改流程 updateItem >>>>>>>>>> --------
|
||||||
@@ -313,6 +316,7 @@ Vue.component("workflow-editor-drawer", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
await window.vtoast.success("修改数据成功");
|
await window.vtoast.success("修改数据成功");
|
||||||
|
this.$emit('success');
|
||||||
},
|
},
|
||||||
// ---------- <<<<<<<<<< 修改流程 updateItem --------
|
// ---------- <<<<<<<<<< 修改流程 updateItem --------
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,7 @@
|
|||||||
<!-- <<<<<<<<<<<<< 创建审批抽屉 -->
|
<!-- <<<<<<<<<<<<< 创建审批抽屉 -->
|
||||||
|
|
||||||
<!-- 编辑流程抽屉 >>>>>>>>>>>>> -->
|
<!-- 编辑流程抽屉 >>>>>>>>>>>>> -->
|
||||||
<workflow-editor-drawer ref="workflowEditorDrawer" />
|
<workflow-editor-drawer ref="workflowEditorDrawer" @success="doUiAction('getTableData')"/>
|
||||||
<!-- <<<<<<<<<<<<< 编辑流程抽屉 -->
|
<!-- <<<<<<<<<<<<< 编辑流程抽屉 -->
|
||||||
|
|
||||||
<!-- 帮助页抽屉 >>>>>>>>>>>>> -->
|
<!-- 帮助页抽屉 >>>>>>>>>>>>> -->
|
||||||
|
|||||||
Reference in new issue
Block a user