11
This commit is contained in:
1 parent
52a7dd9b22
commit
f93907ca59
1 file changed
+6
-6
@@ -123,16 +123,16 @@ const jumpAdminPanel = () => {
|
||||
openPlanUrl(baseAdminUrl, true)
|
||||
return
|
||||
}
|
||||
// 设备管理员 | 系统管理员
|
||||
if (roleCodes.includes(roleCodeConstant.DEVICE_MANAGE) || roleCodes.includes(roleCodeConstant.SYSTEM_ADMIN)) {
|
||||
// 设备管理员 | 系统管理员 | 交接班管理员
|
||||
if (roleCodes.includes(roleCodeConstant.DEVICE_MANAGE) || roleCodes.includes(roleCodeConstant.SYSTEM_ADMIN) || roleCodes.includes(roleCodeConstant.WORKFORCE)) {
|
||||
openPlanUrl(baseAdminUrl, true)
|
||||
return
|
||||
}
|
||||
// 交接班管理员
|
||||
if (roleCodes.includes(roleCodeConstant.WORKFORCE)) {
|
||||
router.push({ path: "/duty/dutyPlan/index", query: { action: "login" } });
|
||||
return
|
||||
}
|
||||
// if (roleCodes.includes(roleCodeConstant.WORKFORCE)) {
|
||||
// router.push({ path: "/duty/dutyPlan/index", query: { action: "login" } });
|
||||
// return
|
||||
// }
|
||||
openPlanUrl(baseAdminUrl, true)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user