xiatian il y a 3 ans
Parent
commit
0d98ceeda3

+ 1 - 0
src/modules/questions/views/AuditPaper.vue

@@ -72,6 +72,7 @@ export default {
             type: "error",
             message: err.response.data.desc,
           });
+          this.$emit("afterAudit");
         });
     },
   },

+ 1 - 1
src/modules/questions/views/CheckDuplicateList.vue

@@ -409,8 +409,8 @@ export default {
       this.loading = true;
       this.$http.get(url, { params: this.formSearch }).then((response) => {
         this.tableData = response.data.content;
+        this.currentPage = response.data.number + 1;
         this.total = response.data.totalElements;
-        this.currentPage = pageNo;
         this.loading = false;
       });
     },

+ 3 - 0
src/modules/questions/views/ExamPaperPendingTrial.vue

@@ -507,6 +507,7 @@ export default {
                 type: "error",
               });
               this.loading = false;
+              this.searchPaper();
             }
           );
       });
@@ -583,6 +584,7 @@ export default {
                 type: "error",
               });
               this.loading = false;
+              this.searchPaper();
             }
           );
       });
@@ -649,6 +651,7 @@ export default {
                 type: "error",
               });
               this.loading = false;
+              this.searchPaper();
             }
           );
       });

+ 3 - 0
src/modules/questions/views/PaperPendingTrial.vue

@@ -495,6 +495,7 @@ export default {
                 type: "error",
               });
               this.loading = false;
+              this.searchPaper();
             }
           );
       });
@@ -571,6 +572,7 @@ export default {
                 type: "error",
               });
               this.loading = false;
+              this.searchPaper();
             }
           );
       });
@@ -637,6 +639,7 @@ export default {
                 type: "error",
               });
               this.loading = false;
+              this.searchPaper();
             }
           );
       });