浏览代码

Merge branch 'cygx_need_902' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 年之前
父节点
当前提交
feb70b1765
共有 1 个文件被更改,包括 10 次插入8 次删除
  1. 10 8
      controllers/company_apply.go

+ 10 - 8
controllers/company_apply.go

@@ -158,14 +158,16 @@ func (this *CompanyApplyController) ApplyContractHistoryList() {
 					if match == nil {
 						continue
 					}
-					//研选的也要单独处理
-					if n.ChartPermissionId == utils.CHART_PERMISSION_ID_YANXUAN {
-						if expensiveYx == 1 {
-							n.PermissionName += "(5w)"
-						} else if expensiveYx == 2 {
-							n.PermissionName += "(10w)"
-						} else if expensiveYx == 0 {
-							n.PermissionName += "(3w)"
+					//研选、专家也要单独处理
+					if n.ChartPermissionId == utils.CHART_PERMISSION_ID_YANXUAN || n.ChartPermissionId == utils.ZHUAN_JIA_ID {
+						if n.ChartPermissionId == utils.CHART_PERMISSION_ID_YANXUAN {
+							if expensiveYx == 1 {
+								n.PermissionName += "(5w)"
+							} else if expensiveYx == 2 {
+								n.PermissionName += "(10w)"
+							} else if expensiveYx == 0 {
+								n.PermissionName += "(3w)"
+							}
 						}
 						checkList = append(checkList, n.ChartPermissionId)
 						checkItems = append(checkItems, n)