zhoulisen 5 anos atrás
pai
commit
0f14cb2005

+ 9
- 8
src/pages/channel/independentList/index.jsx Ver arquivo

71
 
71
 
72
   // 分页
72
   // 分页
73
   onChange(pageNum) {
73
   onChange(pageNum) {
74
-   
75
-        this.getList({ pageNumber: pageNum, pageSize: 5,  })
76
-   
74
+
75
+    this.getList({ pageNumber: pageNum, pageSize: 5, })
76
+
77
   }
77
   }
78
 
78
 
79
   render() {
79
   render() {
133
           // if (records.verifyStatus === 3) { return '签约' }
133
           // if (records.verifyStatus === 3) { return '签约' }
134
           if (records.status === 1) {
134
           if (records.status === 1) {
135
             if (records.verifyStatus === 0) { return '待审核' }
135
             if (records.verifyStatus === 0) { return '待审核' }
136
-            if (records.verifyStatus === 1) {
137
-              if (records.reportRecommendStatus === 1) { return '报备' }
138
-              if (records.reportRecommendStatus === 2) { return '推荐' }}
139
-            if (records.verifyStatus === 2) { return '审核驳回' } }
136
+            if (records.verifyStatus === 1) { return '报备' }
137
+            // if (records.reportRecommendStatus === 1) { return '报备' }
138
+            // if (records.reportRecommendStatus === 2) { return '推荐' }}
139
+            if (records.verifyStatus === 2) { return '审核驳回' }
140
+           }
140
           if (records.status === 2) { return '到访' }
141
           if (records.status === 2) { return '到访' }
141
           if (records.status === 3) { return '认购' }
142
           if (records.status === 3) { return '认购' }
142
           if (records.status === 4) { return '签约' }
143
           if (records.status === 4) { return '签约' }
392
       title: '姓名',
393
       title: '姓名',
393
       dataIndex: 'nickname',
394
       dataIndex: 'nickname',
394
       key: 'nickname',
395
       key: 'nickname',
395
-      render: (_, record) => <><span>{ record.name || record.nickname }</span></>,
396
+      render: (_, record) => <><span>{record.name || record.nickname}</span></>,
396
     },
397
     },
397
     {
398
     {
398
       title: '电话',
399
       title: '电话',

+ 6
- 5
src/pages/channel/recommendClients.jsx Ver arquivo

110
       // if (records.verifyStatus === 3) { return '签约' }
110
       // if (records.verifyStatus === 3) { return '签约' }
111
       if (records.status === 1) {
111
       if (records.status === 1) {
112
         if (records.verifyStatus === 0) { return '待审核' }
112
         if (records.verifyStatus === 0) { return '待审核' }
113
-        if (records.verifyStatus === 1) {
114
-          if (records.reportRecommendStatus === 1) { return '报备' }
115
-          if (records.reportRecommendStatus === 2) { return '推荐' }}
116
-        if (records.verifyStatus === 2) { return '审核驳回' } }
113
+        if (records.verifyStatus === 1) { return '报备' }
114
+        // if (records.reportRecommendStatus === 1) { return '报备' }
115
+        // if (records.reportRecommendStatus === 2) { return '推荐' }}
116
+        if (records.verifyStatus === 2) { return '审核驳回' }
117
+       }
117
       if (records.status === 2) { return '到访' }
118
       if (records.status === 2) { return '到访' }
118
       if (records.status === 3) { return '认购' }
119
       if (records.status === 3) { return '认购' }
119
       if (records.status === 4) { return '签约' }
120
       if (records.status === 4) { return '签约' }
120
-    },
121
+    }
121
   },
122
   },
122
 ];
123
 ];
123
 
124