zhoulisen 5 år sedan
förälder
incheckning
0f14cb2005
2 ändrade filer med 15 tillägg och 13 borttagningar
  1. 9
    8
      src/pages/channel/independentList/index.jsx
  2. 6
    5
      src/pages/channel/recommendClients.jsx

+ 9
- 8
src/pages/channel/independentList/index.jsx Visa fil

@@ -71,9 +71,9 @@ class ModalTable extends React.Component {
71 71
 
72 72
   // 分页
73 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 79
   render() {
@@ -133,10 +133,11 @@ class ModalTable extends React.Component {
133 133
           // if (records.verifyStatus === 3) { return '签约' }
134 134
           if (records.status === 1) {
135 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 141
           if (records.status === 2) { return '到访' }
141 142
           if (records.status === 3) { return '认购' }
142 143
           if (records.status === 4) { return '签约' }
@@ -392,7 +393,7 @@ function body(props) {
392 393
       title: '姓名',
393 394
       dataIndex: 'nickname',
394 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 399
       title: '电话',

+ 6
- 5
src/pages/channel/recommendClients.jsx Visa fil

@@ -110,14 +110,15 @@ const columns = [
110 110
       // if (records.verifyStatus === 3) { return '签约' }
111 111
       if (records.status === 1) {
112 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 118
       if (records.status === 2) { return '到访' }
118 119
       if (records.status === 3) { return '认购' }
119 120
       if (records.status === 4) { return '签约' }
120
-    },
121
+    }
121 122
   },
122 123
 ];
123 124