|
@@ -8,7 +8,7 @@
|
|
<searchInfo></searchInfo>
|
|
<searchInfo></searchInfo>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="main">
|
|
- <otheruserList :debtTable="debtTable" @deleteRow="deleteRow" @clickRest="clickRest"></otheruserList>
|
|
|
|
|
|
+ <otheruserList :debtTable="debtTable" :total="total" @deleteRow="deleteRow" @clickRest="clickRest"></otheruserList>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</div>
|
|
</div>
|
|
@@ -32,6 +32,7 @@ export default {
|
|
topTitle: '其他用户',
|
|
topTitle: '其他用户',
|
|
display: 'block',
|
|
display: 'block',
|
|
debtTable: [],
|
|
debtTable: [],
|
|
|
|
+ total: '',
|
|
}),
|
|
}),
|
|
created() {
|
|
created() {
|
|
this.searchInfo();
|
|
this.searchInfo();
|
|
@@ -42,6 +43,7 @@ export default {
|
|
async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
|
|
async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
|
|
const res = await this.query({ skip, limit, ...info });
|
|
const res = await this.query({ skip, limit, ...info });
|
|
this.$set(this, `debtTable`, res.data);
|
|
this.$set(this, `debtTable`, res.data);
|
|
|
|
+ this.$set(this, `total`, res.total);
|
|
},
|
|
},
|
|
// 添加
|
|
// 添加
|
|
clickBtn() {
|
|
clickBtn() {
|