xingzai 1 жил өмнө
parent
commit
492aef380d

+ 8 - 6
controllers/company_apply.go

@@ -160,12 +160,14 @@ func (this *CompanyApplyController) ApplyContractHistoryList() {
 					}
 					//研选、专家也要单独处理
 					if n.ChartPermissionId == utils.CHART_PERMISSION_ID_YANXUAN || n.ChartPermissionId == utils.ZHUAN_JIA_ID {
-						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 {
+							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)