Commit 3e416c19bb1df6cd8d1c509b43349e64e596858f
1 parent
d87c19a9
fix: #I5IZA7 列表的时间区间查询修改后提示缺少"params"
Showing
5 changed files
with
5 additions
and
9 deletions
yudao-ui-admin/src/views/bpm/form/index.vue
| ... | ... | @@ -101,10 +101,8 @@ export default { |
| 101 | 101 | /** 查询列表 */ |
| 102 | 102 | getList() { |
| 103 | 103 | this.loading = true; |
| 104 | - // 处理查询参数 | |
| 105 | - let params = {...this.queryParams}; | |
| 106 | 104 | // 执行查询 |
| 107 | - getFormPage(params).then(response => { | |
| 105 | + getFormPage(this.queryParams).then(response => { | |
| 108 | 106 | this.list = response.data.list; |
| 109 | 107 | this.total = response.data.total; |
| 110 | 108 | this.loading = false; | ... | ... |
yudao-ui-admin/src/views/infra/file/index.vue
| ... | ... | @@ -131,7 +131,7 @@ export default { |
| 131 | 131 | getList() { |
| 132 | 132 | this.loading = true; |
| 133 | 133 | // 执行查询 |
| 134 | - getFilePage(params).then(response => { | |
| 134 | + getFilePage(this.queryParams).then(response => { | |
| 135 | 135 | this.list = response.data.list; |
| 136 | 136 | this.total = response.data.total; |
| 137 | 137 | this.loading = false; | ... | ... |
yudao-ui-admin/src/views/mall/market/banner/index.vue
| ... | ... | @@ -165,7 +165,7 @@ export default { |
| 165 | 165 | getList() { |
| 166 | 166 | this.loading = true; |
| 167 | 167 | // 执行查询 |
| 168 | - getBannerPage(params).then(response => { | |
| 168 | + getBannerPage(this.queryParams).then(response => { | |
| 169 | 169 | this.list = response.data.list; |
| 170 | 170 | this.total = response.data.total; |
| 171 | 171 | this.loading = false; | ... | ... |
yudao-ui-admin/src/views/mall/product/spu/index.vue
| ... | ... | @@ -571,7 +571,7 @@ |
| 571 | 571 | getList() { |
| 572 | 572 | this.loading = true; |
| 573 | 573 | // 执行查询 |
| 574 | - getSpuPage(params).then(response => { | |
| 574 | + getSpuPage(this.queryParams).then(response => { | |
| 575 | 575 | this.list = response.data.list; |
| 576 | 576 | this.total = response.data.total; |
| 577 | 577 | this.loading = false; | ... | ... |
yudao-ui-admin/src/views/system/oauth2/client/index.vue
| ... | ... | @@ -206,10 +206,8 @@ export default { |
| 206 | 206 | /** 查询列表 */ |
| 207 | 207 | getList() { |
| 208 | 208 | this.loading = true; |
| 209 | - // 处理查询参数 | |
| 210 | - let params = {...this.queryParams}; | |
| 211 | 209 | // 执行查询 |
| 212 | - getOAuth2ClientPage(params).then(response => { | |
| 210 | + getOAuth2ClientPage(this.queryParams).then(response => { | |
| 213 | 211 | this.list = response.data.list; |
| 214 | 212 | this.total = response.data.total; |
| 215 | 213 | this.loading = false; | ... | ... |