|
@@ -92,17 +92,17 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
|
|
|
case 1: //新版商机管理
|
|
|
UserPowerMap["110"] = 1
|
|
|
switch MC.IntAll(entNicheInfo["role_id"]) {
|
|
|
- case 1: //企业管理员
|
|
|
- UserPowerMap["111"] = 1
|
|
|
case 2: //部门管理员
|
|
|
+ UserPowerMap["111"] = 1
|
|
|
+ case 1: //企业管理员
|
|
|
UserPowerMap["112"] = 1
|
|
|
}
|
|
|
case 0: //老版商机管理
|
|
|
UserPowerMap["100"] = 1
|
|
|
switch MC.IntAll(entNicheInfo["role_id"]) {
|
|
|
- case 1: //企业管理员
|
|
|
- UserPowerMap["101"] = 1
|
|
|
case 2: //部门管理员
|
|
|
+ UserPowerMap["101"] = 1
|
|
|
+ case 1: //企业管理员
|
|
|
UserPowerMap["102"] = 1
|
|
|
}
|
|
|
}
|