刘洋 před 8 měsíci
rodič
revize
9d1712694d

+ 3 - 2
src/render/views/Audit/Review/ReviewAction.vue

@@ -190,8 +190,9 @@ async function getHistory() {
   total.value = res?.totalCount || 0;
 }
 
-const pageChange = () => {
-  getHistory();
+const pageChange = async () => {
+  await getHistory();
+  setCurTask(0);
 };
 
 function updateTaskStatus(assignedSuspect: boolean) {

+ 7 - 0
src/render/views/DataCheck/ModifyPaperType.vue

@@ -107,6 +107,13 @@ watch(
   }
 );
 
+watch(
+  () => dataCheckStore.curStudent,
+  () => {
+    getConfig();
+  }
+);
+
 onMounted(() => {
   getConfig();
 });

+ 3 - 2
src/render/views/Review/ReviewAction.vue

@@ -245,8 +245,9 @@ async function getHistory() {
   total.value = res?.totalCount || 0;
 }
 
-const pageChange = () => {
-  getHistory();
+const pageChange = async () => {
+  await getHistory();
+  setCurTask(0);
 };
 
 function updateTaskStatus(assignedSuspect: boolean) {