刘洋 hace 1 año
padre
commit
3eeed2b8b0
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      src/modules/question/components/AuditQuestionWait.vue

+ 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;