ziwen 1 year ago
parent
commit
3814a1e238
1 changed files with 3 additions and 3 deletions
  1. 3 3
      controllers/yb/apply_record.go

+ 3 - 3
controllers/yb/apply_record.go

@@ -409,6 +409,9 @@ func (this *ApplyRecordController) UserApplyList() {
 	}()
 	w2.Wait()
 	for k, v := range list {
+		if v.OpStatus == 1 && v.MarkGroup == "" {
+			list[k].OpStatus = 0
+		}
 		sourceStr := ""
 		if v.ApplyRecordId > 0 {
 			if v.SourceAgent == 3 {
@@ -506,9 +509,6 @@ func (this *ApplyRecordController) UserApplyList() {
 		if v.CompanyId == 1 && list[k].Status == "潜在用户" {
 			list[k].DelBtn = true
 		}
-		if v.OpStatus == 1 && v.MarkGroup == "" {
-			list[k].OpStatus = 0
-		}
 	}
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	resp := ybResp.ApplyRecordListV2Resp{