|
@@ -161,6 +161,12 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
|
|
|
case 1: //企业管理员
|
|
|
UserPowerMap["102"] = 1
|
|
|
}
|
|
|
+ //老版商机管理: model:1-统一订阅,2-个人订阅
|
|
|
+ if MC.IntAll(entNicheInfo["model"]) == 1 {
|
|
|
+ UserPowerMap["103"] = 1
|
|
|
+ } else if MC.IntAll(entNicheInfo["model"]) == 2 {
|
|
|
+ UserPowerMap["104"] = 1
|
|
|
+ }
|
|
|
}
|
|
|
case 1:
|
|
|
//客户管理服务(商机管理服务) [前提:大会员、超级订阅、医械通用户]---免费用户也可以用 (需求调整来自刘苗:产品已确认)
|
|
@@ -171,12 +177,6 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
|
|
|
case 1: //企业管理员
|
|
|
UserPowerMap["601"] = 1
|
|
|
}
|
|
|
- //老版商机管理: model:1-统一订阅,2-个人订阅
|
|
|
- if MC.IntAll(entNicheInfo["model"]) == 1 {
|
|
|
- UserPowerMap["103"] = 1
|
|
|
- } else if MC.IntAll(entNicheInfo["model"]) == 2 {
|
|
|
- UserPowerMap["104"] = 1
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}
|