|
@@ -122,11 +122,11 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
|
|
entnichePower = MC.IntAll(entNicheInfo["role_id"]) == 1
|
|
entnichePower = MC.IntAll(entNicheInfo["role_id"]) == 1
|
|
//商机管理
|
|
//商机管理
|
|
if MC.IntAll(entNicheInfo["status"]) == 1 && MC.IntAll(entNicheInfo["power"]) == 1 {
|
|
if MC.IntAll(entNicheInfo["status"]) == 1 && MC.IntAll(entNicheInfo["power"]) == 1 {
|
|
- isFree = false
|
|
|
|
//商机管理服务 P259需求
|
|
//商机管理服务 P259需求
|
|
|
|
+ //有商机管理服务 不会再有商机管理订阅菜单
|
|
switch MC.IntAll(entNicheInfo["power_source"]) {
|
|
switch MC.IntAll(entNicheInfo["power_source"]) {
|
|
case 0:
|
|
case 0:
|
|
- //有商机管理服务 不会再有商机管理订阅菜单
|
|
|
|
|
|
+ isFree = false
|
|
switch MC.IntAll(entNicheInfo["isNew"]) {
|
|
switch MC.IntAll(entNicheInfo["isNew"]) {
|
|
case 1: //新版商机管理
|
|
case 1: //新版商机管理
|
|
UserPowerMap["110"] = 1
|
|
UserPowerMap["110"] = 1
|