From 83aa382fd3b88ec7a564f14d41a9c8e5d43beeb3 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 09 十二月 2024 10:26:31 +0800 Subject: [PATCH] 修改表单定义样式&&修改ui上下文btmName&&添加登录密码即将过期进入首页并提醒 --- Source/plt-web/plt-web-ui/src/components/actions/handlers.js | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 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 b3685d3..b07b742 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 @@ -3,8 +3,12 @@ export const handlerAction=function (type,options, callback) { const handlers = { - //鏌ョ湅 + //鏌ョ湅锛宼ab灞曠ず璇︽儏 view: () => {import("@/components/actions/base/ViewAction").then(module => { + module.doAction(options,callback); + })}, + //鏌ョ湅锛屽脊绐楀睍绀鸿鎯� + viewdialog: () => {import("@/components/actions/base/ViewDialogAction").then(module => { module.doAction(options,callback); })}, //鍒涘缓 @@ -28,20 +32,27 @@ 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); })}, + //涓嬭浇鏂囦欢 + downloadfiles: () => {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