Browse Source

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into v3.5.1

weiximei 5 years ago
parent
commit
779a321f28

+ 1
- 1
src/pages/channel/recommendClients.jsx View File

95
     // eslint-disable-next-line consistent-return
95
     // eslint-disable-next-line consistent-return
96
     render: (text, records) => {
96
     render: (text, records) => {
97
       if (records.status === 1) { return '报备' }
97
       if (records.status === 1) { return '报备' }
98
-      if (records.status === 2) { return 'admin.taNews.weight' }
98
+      if (records.status === 2) { return '推荐' }
99
       if (records.status === 3) { return '认购' }
99
       if (records.status === 3) { return '认购' }
100
       if (records.status === 4) { return '签约' }
100
       if (records.status === 4) { return '签约' }
101
       if (records.verifyStatus === 1) { return '待审核' }
101
       if (records.verifyStatus === 1) { return '待审核' }

+ 6
- 5
src/pages/customer/customerlist/components/recommend.jsx View File

115
         title: '状态',
115
         title: '状态',
116
         // eslint-disable-next-line consistent-return
116
         // eslint-disable-next-line consistent-return
117
         render: (text, records) => {
117
         render: (text, records) => {
118
-          if (records.status === 1) { return '报备' }
119
-          if (records.status === 2) { return '到访' }
120
-          if (records.status === 3) { return '认筹' }
121
-          if (records.status === 4) { return '签约' }
122
-          // reportRecommendStatus
118
+          if (records.verifyStatus === 0) { return '未审核' }
119
+          if (records.verifyStatus === 1) {
120
+            if (records.reportRecommendStatus === 1) { return '报备' }
121
+            if (records.reportRecommendStatus === 2) { return '推荐' }
122
+           }
123
+          if (records.verifyStatus === 2) { return '审核不通过' }
123
         },
124
         },
124
       },
125
       },
125
     ]
126
     ]