feat(流程模型): 新增流程模型导出数据功能
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user