|
@@ -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
|
});
|