Browse Source

fix: #I5IZA7 列表的时间区间查询修改后提示缺少"params"

xingyu 2 years ago
parent
commit
3e416c19bb

+ 1 - 3
yudao-ui-admin/src/views/bpm/form/index.vue

@@ -101,10 +101,8 @@ export default {
     /** 查询列表 */
     getList() {
       this.loading = true;
-      // 处理查询参数
-      let params = {...this.queryParams};
       // 执行查询
-      getFormPage(params).then(response => {
+      getFormPage(this.queryParams).then(response => {
         this.list = response.data.list;
         this.total = response.data.total;
         this.loading = false;

+ 1 - 1
yudao-ui-admin/src/views/infra/file/index.vue

@@ -131,7 +131,7 @@ export default {
     getList() {
       this.loading = true;
       // 执行查询
-      getFilePage(params).then(response => {
+      getFilePage(this.queryParams).then(response => {
         this.list = response.data.list;
         this.total = response.data.total;
         this.loading = false;

+ 1 - 1
yudao-ui-admin/src/views/mall/market/banner/index.vue

@@ -165,7 +165,7 @@ export default {
     getList() {
       this.loading = true;
       // 执行查询
-      getBannerPage(params).then(response => {
+      getBannerPage(this.queryParams).then(response => {
         this.list = response.data.list;
         this.total = response.data.total;
         this.loading = false;

+ 1 - 1
yudao-ui-admin/src/views/mall/product/spu/index.vue

@@ -571,7 +571,7 @@
             getList() {
                 this.loading = true;
                 // 执行查询
-                getSpuPage(params).then(response => {
+                getSpuPage(this.queryParams).then(response => {
                     this.list = response.data.list;
                     this.total = response.data.total;
                     this.loading = false;

+ 1 - 3
yudao-ui-admin/src/views/system/oauth2/client/index.vue

@@ -206,10 +206,8 @@ export default {
     /** 查询列表 */
     getList() {
       this.loading = true;
-      // 处理查询参数
-      let params = {...this.queryParams};
       // 执行查询
-      getOAuth2ClientPage(params).then(response => {
+      getOAuth2ClientPage(this.queryParams).then(response => {
         this.list = response.data.list;
         this.total = response.data.total;
         this.loading = false;