feat(流程模型): 新增流程模型导出数据功能

This commit is contained in:
konbai
2022-10-15 16:13:18 +08:00
parent a137f8d4fb
commit dafd6cdbf4
6 changed files with 130 additions and 24 deletions

View File

@@ -606,16 +606,9 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
const queryParams = this.queryParams;
this.$confirm('是否确认导出所有流程定义数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(function() {
return exportDeployment(queryParams);
}).then(response => {
this.download(response.msg);
})
this.download('workflow/model/export', {
...this.queryParams
}, `wf_model_${new Date().getTime()}.xlsx`)
},
/** 导入bpmn.xml文件 */
handleImport() {