Преглед на файлове

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

weiximei преди 5 години
родител
ревизия
779a321f28
променени са 2 файла, в които са добавени 7 реда и са изтрити 6 реда
  1. 1
    1
      src/pages/channel/recommendClients.jsx
  2. 6
    5
      src/pages/customer/customerlist/components/recommend.jsx

+ 1
- 1
src/pages/channel/recommendClients.jsx Целия файл

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

+ 6
- 5
src/pages/customer/customerlist/components/recommend.jsx Целия файл

@@ -115,11 +115,12 @@ class ModalRecommendRecord extends React.Component {
115 115
         title: '状态',
116 116
         // eslint-disable-next-line consistent-return
117 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
     ]