Browse Source

修改后台系统所有模块,翻页输入查询搜索结果为空问题

zhanglikun 4 years ago
parent
commit
bff543e506

+ 1 - 0
src/apps/mobile/views/card-bank/approve/index.vue

@@ -334,6 +334,7 @@ export default {
             }
         },
         querySearch() {
+            this.page.pageNum = 1;
             this.queryListData();
         },
         reset() {

+ 2 - 1
src/apps/mobile/views/card-bank/index.vue

@@ -305,11 +305,12 @@ export default {
                 .catch(() => {});
         },
         querySearch() {
+            this.page.pageNum = 1;
             this.queryListData();
         },
         reset() {
             this.searchForm = {};
-
+            this.page.pageNum = 1;
             this.queryListData();
         },
         selectColumn(selection) {

+ 2 - 0
src/apps/mobile/views/comment/index.vue

@@ -289,12 +289,14 @@ export default {
                     delete this.searchForm[k];
                 }
             }
+            this.page.pageNum = 1;
             this.queryListData();
         },
         // 重置
         reset() {
             this.searchForm = {};
             this.time = [];
+            this.page.pageNum = 1;
             this.queryListData();
         },
         showDetailDialog(data) {

+ 2 - 0
src/apps/mobile/views/dialogue-bank/index.vue

@@ -193,12 +193,14 @@ export default {
                     delete this.searchForm[k];
                 }
             }
+            this.page.pageNum = 1;
             this.queryListData();
         },
         // 重置
         reset() {
             this.searchForm = {};
             this.time = [];
+            this.page.pageNum = 1;
             this.queryListData();
         },
         statuzChange(id, statuz) {

+ 1 - 0
src/apps/mobile/views/expert-database-bank/agreement/index.vue

@@ -324,6 +324,7 @@ export default {
                 this.$set(this.searchForm, 'startTime', this.time[0]);
                 this.$set(this.searchForm, 'endTime', this.time[1]);
             }
+            this.page.pageNum = 1;
             this.queryListData();
         },
         reset() {

+ 1 - 0
src/apps/mobile/views/expert-database-bank/approval/index.vue

@@ -280,6 +280,7 @@ export default {
                 .catch();
         },
         querySearch() {
+            this.page.pageNum = 1;
             this.queryListData();
         },
         reset() {

+ 1 - 0
src/apps/mobile/views/expert-database-bank/expert/index.vue

@@ -324,6 +324,7 @@ export default {
                 .catch();
         },
         querySearch() {
+            this.page.pageNum = 1;
             this.queryListData();
         },
         reset() {

+ 2 - 0
src/apps/mobile/views/question-bank/index.vue

@@ -463,12 +463,14 @@ export default {
                     delete this.searchForm[k];
                 }
             }
+            this.page.pageNum = 1;
             this.queryListData();
         },
         // 重置
         reset() {
             this.searchForm = {};
             this.$refs.brand.reset();
+            this.page.pageNum = 1;
             this.queryListData();
         },
         // 审核通过  (仅在审批页面使用)