From 9b5a856a2cfe378f5ca7304a0af17b3d7b06ff69 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 07 七月 2025 11:41:17 +0800 Subject: [PATCH] 1、工厂建模和维修班组页面新增机构编码必填校验 --- src/utils/authFilter.js | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/src/utils/authFilter.js b/src/utils/authFilter.js index 447965f..ed910bb 100644 --- a/src/utils/authFilter.js +++ b/src/utils/authFilter.js @@ -274,29 +274,4 @@ function substrPre(str,pre) { return str.substr(pre.length); -} -/** - * 鏄剧ず鏉冮檺 - * @param {*} code - * @returns - */ -export function buttonShowAuthFilter(code) { - if(code){ - if(nodeShowAuth(code)){ - return true; - }else{ - return false; - } - }else{ - return false; - } -} -function nodeShowAuth(code){ - let authList = JSON.parse(sessionStorage.getItem(USER_AUTH) || "[]"); - for (let auth of authList) { - if(auth.action == code) { - return true; - } - } - return false; } \ No newline at end of file -- Gitblit v1.9.3