Explorar o código

销售管理岗处理

WH01243 hai 1 ano
pai
achega
0b61e65dd1
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      service/infoService.go

+ 7 - 0
service/infoService.go

@@ -132,6 +132,13 @@ func FindEquity(entUserId int64, entRole int64) map[string]bool {
 					equityMap["潜在商机-转发按钮-显示"] = true
 					equityMap["潜在商机-分发按钮-显示"] = true
 				}
+			case "4":
+				if entRole == 1 {
+					equityMap["潜在商机-情报列表-企业"] = true
+				} else {
+					equityMap["潜在商机-情报列表-部门"] = true
+				}
+
 			}
 		}
 		if fool1 && fool2 {