From e977b8737d88aa1bd0286fe27bf4fd22cb2501d9 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 18 七月 2024 17:34:42 +0800 Subject: [PATCH] 整合代码 --- Source/plt-web/plt-web-ui/src/components/actions/handlers.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/actions/handlers.js b/Source/plt-web/plt-web-ui/src/components/actions/handlers.js index ec54208..e67f42a 100644 --- a/Source/plt-web/plt-web-ui/src/components/actions/handlers.js +++ b/Source/plt-web/plt-web-ui/src/components/actions/handlers.js @@ -28,12 +28,23 @@ module.doAction(options,callback); })}, //鍚姩娴佺▼ - launchworkflow: () => {import("@/components/actions/base/StartWorkflowAction").then(module => { + startwork: () => {import("@/components/actions/base/StartWorkflowAction").then(module => { module.doAction(options,callback); })}, + //涓婁紶鏂囦欢 + uploadfile: () => {import("@/components/actions/base/uploadFileAction").then(module => { + module.doAction(options,callback); + })}, + //涓嬭浇鏂囦欢 + downloadfile: () => {import("@/components/actions/base/downloadFileAction").then(module => { + module.doAction(options,callback); + })}, + uprevision: () => {import("@/components/actions/base/upRevisionAction").then(module => { + module.doAction(options,callback); + })} }; if (handlers[type]) { - handlers[type]() + handlers[type](); } else { Vue.prototype.$message.error('鏈壘鍒板搴攁ction锛岃閲嶆柊閰嶇疆鎸夐挳锛�'); } -- Gitblit v1.9.3