刘洋 před 1 rokem
rodič
revize
3eeed2b8b0

+ 4 - 2
src/modules/question/components/AuditQuestionWait.vue

@@ -149,11 +149,12 @@ export default {
   methods: {
     updateData() {
       this.getList();
-      // this.getAllList();
+      this.getAllList();
     },
     toPage(page) {
       this.currentPage = page;
       this.getList();
+      this.getAllList();
     },
     async getList() {
       this.loading = true;
@@ -172,7 +173,7 @@ export default {
       const res = await auditQuestionWaitPageListApi({
         ...this.filter,
         curPage: 1,
-        pageSize: 1000,
+        pageSize: 3000,
       }).catch(() => {});
       if (!res) return;
       this.tableData = res.data.content || [];
@@ -180,6 +181,7 @@ export default {
     handleSizeChange(val) {
       this.pageSize = val;
       this.toPage(1);
+      this.getAllList();
     },
     toDetail(row) {
       this.curQuestion = row;