|
|
@ -44,16 +44,16 @@ export default { |
|
|
|
query () { |
|
|
|
this.dataListLoading = true |
|
|
|
this.$http.get( |
|
|
|
this.mixinViewModuleOptions.getDataListURL, |
|
|
|
{ |
|
|
|
params: { |
|
|
|
order: this.order, |
|
|
|
orderField: this.orderField, |
|
|
|
page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, |
|
|
|
limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, |
|
|
|
...this.dataForm |
|
|
|
this.mixinViewModuleOptions.getDataListURL, |
|
|
|
{ |
|
|
|
params: { |
|
|
|
order: this.order, |
|
|
|
orderField: this.orderField, |
|
|
|
page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, |
|
|
|
limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, |
|
|
|
...this.dataForm |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
).then(({ data: res }) => { |
|
|
|
this.dataListLoading = false |
|
|
|
if (res.code !== 0) { |
|
|
|