From cf88306b1f6aade9f0c6c4fa5859872d3f177c4a Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 13 Sep 2024 14:56:29 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh
---
gz-customerSystem/src/components/Layout/index.jsx | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gz-customerSystem/src/components/Layout/index.jsx b/gz-customerSystem/src/components/Layout/index.jsx
index 6585e1c..85e1209 100644
--- a/gz-customerSystem/src/components/Layout/index.jsx
+++ b/gz-customerSystem/src/components/Layout/index.jsx
@@ -2,7 +2,7 @@
* @Company: hugeInfo
* @Author: ldh
* @Date: 2022-03-11 14:22:43
- * @LastEditTime: 2023-12-25 16:10:51
+ * @LastEditTime: 2024-09-11 09:42:38
* @LastEditors: dminyi 1301963064@qq.com
* @Version: 1.0.0
* @Description: 外层layout
@@ -60,7 +60,7 @@
// 切换角色
function handleChangeRole(roleName, roleId) {
- navigate('/mediate/workbench');
+ navigate('/mediate/visit/visitWorkBench');
setRoleActive({ ...roleActive, id: roleId, roleName });
}
@@ -117,16 +117,17 @@
async function getRolePower(roleId, roleName) {
global.setSpinning(true);
const res = await getRolePowerApi(roleId);
+ console.log(res,'res1111')
global.setSpinning(false);
if (res.type) {
let resData = res.data?.roleTreeBOS || [];
let menu_data = [];
let power_data = [];
resData.forEach((x) => {
- if (x.appClient === '1' && x.powerTag !== 'pay') {
+ if (x.appClient === 1 && x.powerTag !== 'pay') {
menu_data.push(x);
}
- if (x.appClient === '1' || x.powerTag === 'pay') {
+ if (x.appClient === 1 || x.powerTag === 'pay') {
power_data.push(x);
}
});
--
Gitblit v1.8.0