|
|
|
|
@ -153,7 +153,7 @@ export default { |
|
|
|
|
searchChange(params, done) { |
|
|
|
|
this.query = params; |
|
|
|
|
this.page.currentPage = 1; |
|
|
|
|
this.onLoad(this.page, params); |
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
done(); |
|
|
|
|
}, |
|
|
|
|
currentChange(currentPage) { |
|
|
|
|
@ -191,6 +191,12 @@ export default { |
|
|
|
|
}, |
|
|
|
|
onLoad(page, params = {}) { |
|
|
|
|
this.loading = true; |
|
|
|
|
if(this.tabPosition == 'beforePlatingEntry'){ |
|
|
|
|
this.query.paType=1 |
|
|
|
|
} |
|
|
|
|
if(this.tabPosition == 'beforePlatingBound'){ |
|
|
|
|
this.query.paType=2 |
|
|
|
|
} |
|
|
|
|
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
|
|
|
this.data = res.data.data.records; |
|
|
|
|
this.loading = false; |
|
|
|
|
|