|
|
@ -112,7 +112,6 @@ export default { |
|
|
|
// 查询 ----------- |
|
|
|
tableKey: 0, |
|
|
|
list: [], |
|
|
|
total: 1, |
|
|
|
listLoading: false, |
|
|
|
listQuery: { |
|
|
|
params: { |
|
|
@ -121,7 +120,8 @@ export default { |
|
|
|
userSid: '' |
|
|
|
}, |
|
|
|
current: 1, |
|
|
|
size: 5 |
|
|
|
size: 5, |
|
|
|
total: 0 |
|
|
|
}, |
|
|
|
rules: {} |
|
|
|
// ------------------------------------ |
|
|
@ -198,10 +198,10 @@ export default { |
|
|
|
this.listLoading = false |
|
|
|
if (response.code === '200' && response.data && response.data.total > 0) { |
|
|
|
this.list = response.data.records |
|
|
|
this.total = response.data.total |
|
|
|
this.listQuery.total = response.data.total |
|
|
|
} else { |
|
|
|
this.list = [] |
|
|
|
this.total = 0 |
|
|
|
this.listQuery.total = 0 |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|