|
|
|
@ -201,12 +201,12 @@ |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(page, params = {}) { |
|
|
|
onLoad(page, params = {}) { |
|
|
|
const values = { |
|
|
|
const query = { |
|
|
|
...params, |
|
|
|
...this.query, |
|
|
|
category: (params.category) ? flowCategory(params.category) : null |
|
|
|
category: (params.category) ? flowCategory(params.category) : null |
|
|
|
} |
|
|
|
}; |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
claimList(page.currentPage, page.pageSize, Object.assign(values, this.query)).then(res => { |
|
|
|
claimList(page.currentPage, page.pageSize, Object.assign(params, query)).then(res => { |
|
|
|
const data = res.data.data; |
|
|
|
const data = res.data.data; |
|
|
|
this.page.total = data.total; |
|
|
|
this.page.total = data.total; |
|
|
|
this.data = data.records; |
|
|
|
this.data = data.records; |
|
|
|
|