|
@@ -839,7 +839,10 @@ func (this *EnterScoreController) EnterScoreScoreOverview() {
|
|
|
for _, v := range listSearchCompany {
|
|
|
searchcompanyIds = append(searchcompanyIds, v.CompanyId)
|
|
|
}
|
|
|
+ } else {
|
|
|
+ searchcompanyIds = append(searchcompanyIds, 0)
|
|
|
}
|
|
|
+
|
|
|
if len(companyIds) > 0 {
|
|
|
newcompanyIds = utils.IntersectInt(searchcompanyIds, companyIds) //获取销售可见权限,与搜索权限的交集
|
|
|
} else {
|
|
@@ -906,7 +909,6 @@ func (this *EnterScoreController) EnterScoreScoreOverview() {
|
|
|
mapenterScoreTypeCompanyIds[v.CompanyId] = true //记录按照百分比录入的公司
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
//fmt.Println(enterScoreIds)
|
|
|
listResearcher, err := cygx.GeCygxEnterScoreResearcherListByIds(enterScoreIds, newcompanyIds) //获取所有的研究员
|
|
|
if err != nil {
|