魏熙美 5 лет назад
Родитель
Сommit
83cad8aeb6
2 измененных файлов: 5 добавлений и 3 удалений
  1. 2
    2
      src/store/modules/customer.js
  2. 3
    1
      src/views/customer/list.vue

+ 2
- 2
src/store/modules/customer.js Просмотреть файл

@@ -120,12 +120,12 @@ export default {
120 120
         })
121 121
       })
122 122
     },
123
-    verifyRecommend({ commit }, payload) { // 查询推荐客户列表
123
+    verifyRecommend({ commit }, payload) { // 审核荐客户列表
124 124
       return new Promise((resolve, reject) => {
125 125
         request({
126 126
           ...apis.recommendCustomer.verify,
127 127
           urlData: { id: payload.customerId },
128
-          params: payload,
128
+          params: { verifyStatus: payload.verifyStatus, verifyRemark: payload.verifyRemark },
129 129
         }).then((data) => {
130 130
           resolve(data)
131 131
         }).catch(({ message }) => {

+ 3
- 1
src/views/customer/list.vue Просмотреть файл

@@ -127,7 +127,9 @@
127 127
           <template slot-scope="scope"> {{ scope.row.sex === 1 ? '男' : '女' }}</template>
128 128
         </el-table-column>
129 129
         <el-table-column property="intention" label="意向项目"></el-table-column>
130
-        <el-table-column property="post" label="推荐时间"></el-table-column>
130
+        <el-table-column property="post" label="推荐时间">
131
+          <template slot-scope="scope">{{ formateDate(scope.row.reportDate) }}</template>
132
+        </el-table-column>
131 133
         <el-table-column fixed="right" label="状态">
132 134
           <template slot-scope="scope">
133 135
             {{ scope.row.status == 1 ? '报备': scope.row.status == 2 ? '到访' : scope.row.status == 3 ? '认购' : scope.row.status == 4 ? '签约' : '无效' }}