From 0c553fadbaa50a322fbe283ef66cd32d8d26f98b Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 29 十一月 2024 17:38:56 +0800 Subject: [PATCH] 1、获取当前业务类型下的数据权限相关信息接口。 2、保存数据权限数据接口。 3、删除数据权限接口。 4、使用当前用户的类型查询用户接口。 --- Source/plt-web/plt-web-ui/src/components/actions/handlers.js | 11 +++++++++-- 1 files changed, 9 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 78d4ede..c2c1361 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); })}, //鍒涘缓 @@ -39,9 +43,12 @@ 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