魏熙美 5 년 전
부모
커밋
ac918b9a3a
4개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 1
    1
      src/views/customer/customerDetails.vue
  2. 1
    0
      src/views/customer/drift.vue
  3. 1
    1
      src/views/customer/editRecommend.vue
  4. 4
    2
      src/views/customer/recommendCustomer.vue

+ 1
- 1
src/views/customer/customerDetails.vue 파일 보기

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

+ 1
- 0
src/views/customer/drift.vue 파일 보기

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

+ 1
- 1
src/views/customer/editRecommend.vue 파일 보기

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

+ 4
- 2
src/views/customer/recommendCustomer.vue 파일 보기

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