魏熙美 5 年之前
父節點
當前提交
ac918b9a3a

+ 1
- 1
src/views/customer/customerDetails.vue 查看文件

@@ -72,7 +72,7 @@
72 72
       <el-table-column
73 73
         prop="visitDuration"
74 74
         label="停留时间">
75
-        <template slot-scope="scope">{{ scope.row.visitDuration / 60 }}分钟</template>
75
+        <template slot-scope="scope">{{ scope.row.visitDuration }} 秒</template>
76 76
       </el-table-column>
77 77
     </el-table>
78 78
     </div>

+ 1
- 0
src/views/customer/drift.vue 查看文件

@@ -31,6 +31,7 @@
31 31
             layout="prev, pager, next"
32 32
             :current-page.sync="form.pageNumber"
33 33
             :pageSize="form.pageSize"
34
+            :total="total"
34 35
             @current-change="getList"
35 36
     >
36 37
     </el-pagination>

+ 1
- 1
src/views/customer/editRecommend.vue 查看文件

@@ -240,7 +240,7 @@ export default {
240 240
           }
241 241
 
242 242
           this.hideLoadding();
243
-          this.$notify.info("保存成功");
243
+          this.$notify.success("保存成功");
244 244
           this.$router.go(-1)
245 245
         })
246 246
         .catch(err => {

+ 4
- 2
src/views/customer/recommendCustomer.vue 查看文件

@@ -80,7 +80,7 @@
80 80
       </el-table-column>
81 81
       <el-table-column fixed="right" width="200" label="操作">
82 82
         <template slot-scope="scope">
83
-          <router-link :to="{ name:'editRecommend', query: { id: scope.row.customerId } }" >审核</router-link> <!-- v-if="scope.row.verifyStatus !== 1" -->
83
+          <router-link :to="{ name:'editRecommend', query: { id: scope.row.customerId } }" v-if="scope.row.verifyStatus === 0">审核</router-link> <!-- v-if="scope.row.verifyStatus === 0" -->
84 84
         </template>
85 85
       </el-table-column>
86 86
     </el-table>
@@ -90,6 +90,7 @@
90 90
       layout="prev, pager, next"
91 91
       :current-page.sync="form.pageNumber"
92 92
       :pageSize="form.pageSize"
93
+      :total="mainTotal"
93 94
       @current-change="getList"
94 95
     >
95 96
     </el-pagination>
@@ -169,6 +170,7 @@ export default {
169 170
         verifyStatus: '', // 0未通过 1已通过 2已驳
170 171
         entryType: 'input'
171 172
       },
173
+      mainTotal: 0, // 主列表总数
172 174
       list: [],
173 175
       total: 0,
174 176
       sex: "",
@@ -252,7 +254,7 @@ export default {
252 254
         this.list = res.records
253 255
         this.form.pageSize = res.size
254 256
         this.form.pageNumber = res.current
255
-        this.total = res.total
257
+        this.mainTotal = res.total
256 258
       }).catch(() => {
257 259
         console.log('getRecommendCustomers err')
258 260
       });