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,10 +101,8 @@ export default { | ||
| 101 | /** 查询列表 */ | 101 | /** 查询列表 */ |
| 102 | getList() { | 102 | getList() { |
| 103 | this.loading = true; | 103 | this.loading = true; |
| 104 | - // 处理查询参数 | ||
| 105 | - let params = {...this.queryParams}; | ||
| 106 | // 执行查询 | 104 | // 执行查询 |
| 107 | - getFormPage(params).then(response => { | 105 | + getFormPage(this.queryParams).then(response => { |
| 108 | this.list = response.data.list; | 106 | this.list = response.data.list; |
| 109 | this.total = response.data.total; | 107 | this.total = response.data.total; |
| 110 | this.loading = false; | 108 | this.loading = false; |
yudao-ui-admin/src/views/infra/file/index.vue
| @@ -131,7 +131,7 @@ export default { | @@ -131,7 +131,7 @@ export default { | ||
| 131 | getList() { | 131 | getList() { |
| 132 | this.loading = true; | 132 | this.loading = true; |
| 133 | // 执行查询 | 133 | // 执行查询 |
| 134 | - getFilePage(params).then(response => { | 134 | + getFilePage(this.queryParams).then(response => { |
| 135 | this.list = response.data.list; | 135 | this.list = response.data.list; |
| 136 | this.total = response.data.total; | 136 | this.total = response.data.total; |
| 137 | this.loading = false; | 137 | this.loading = false; |
yudao-ui-admin/src/views/mall/market/banner/index.vue
| @@ -165,7 +165,7 @@ export default { | @@ -165,7 +165,7 @@ export default { | ||
| 165 | getList() { | 165 | getList() { |
| 166 | this.loading = true; | 166 | this.loading = true; |
| 167 | // 执行查询 | 167 | // 执行查询 |
| 168 | - getBannerPage(params).then(response => { | 168 | + getBannerPage(this.queryParams).then(response => { |
| 169 | this.list = response.data.list; | 169 | this.list = response.data.list; |
| 170 | this.total = response.data.total; | 170 | this.total = response.data.total; |
| 171 | this.loading = false; | 171 | this.loading = false; |
yudao-ui-admin/src/views/mall/product/spu/index.vue
| @@ -571,7 +571,7 @@ | @@ -571,7 +571,7 @@ | ||
| 571 | getList() { | 571 | getList() { |
| 572 | this.loading = true; | 572 | this.loading = true; |
| 573 | // 执行查询 | 573 | // 执行查询 |
| 574 | - getSpuPage(params).then(response => { | 574 | + getSpuPage(this.queryParams).then(response => { |
| 575 | this.list = response.data.list; | 575 | this.list = response.data.list; |
| 576 | this.total = response.data.total; | 576 | this.total = response.data.total; |
| 577 | this.loading = false; | 577 | this.loading = false; |
yudao-ui-admin/src/views/system/oauth2/client/index.vue
| @@ -206,10 +206,8 @@ export default { | @@ -206,10 +206,8 @@ export default { | ||
| 206 | /** 查询列表 */ | 206 | /** 查询列表 */ |
| 207 | getList() { | 207 | getList() { |
| 208 | this.loading = true; | 208 | this.loading = true; |
| 209 | - // 处理查询参数 | ||
| 210 | - let params = {...this.queryParams}; | ||
| 211 | // 执行查询 | 209 | // 执行查询 |
| 212 | - getOAuth2ClientPage(params).then(response => { | 210 | + getOAuth2ClientPage(this.queryParams).then(response => { |
| 213 | this.list = response.data.list; | 211 | this.list = response.data.list; |
| 214 | this.total = response.data.total; | 212 | this.total = response.data.total; |
| 215 | this.loading = false; | 213 | this.loading = false; |