刘洋 il y a 8 mois
Parent
commit
0a5294bd99

+ 2 - 0
src/render/components/SimplePagination/index.vue

@@ -1,5 +1,6 @@
 <template>
   <a-pagination
+    v-if="!!total"
     v-model:current="current"
     class="simple-pagination"
     :total="total"
@@ -8,6 +9,7 @@
     :showTotal="(totalCount) => `共${totalCount}条`"
     :show-size-changer="false"
     @change="onChange"
+    simple
   >
     <template #itemRender="{ type, originalElement }">
       <template v-if="type === 'prev'">

+ 5 - 1
src/render/views/Audit/Review/index.vue

@@ -120,7 +120,10 @@ async function onMark(assignedSuspect: boolean) {
   loading.value = true;
 
   try {
-    await reviewAuditTaskSave({ id: reviewStore.curTask.id, assignedSuspect });
+    await reviewAuditTaskSave({
+      id: reviewStore.curTask.id,
+      assignedSuspect: assignedSuspect,
+    });
 
     if (reviewStore.tabKey === "history") {
       reviewActionRef.value?.updateTaskStatus(assignedSuspect);
@@ -138,6 +141,7 @@ async function onMark(assignedSuspect: boolean) {
 
 async function onSearch(subjectCode: string) {
   searchModel.subjectCode = subjectCode;
+  await releaseTask();
   await getNextTask();
   await updateProgress();
 }

+ 1 - 1
src/render/views/BaseDataConfig/StuImportFileDialog.vue

@@ -94,7 +94,7 @@ const submitHandle = () => {
 const watchProgress = (obj: { taskId: string }) => {
   if (!showProgressDialog.value) return;
   importStuProgress(obj).then((res: any) => {
-    progress.value = res.progress || 0;
+    progress.value = parseFloat((res.progress || 0).toFixed(2));
     if (res?.progress == 100 && res?.status === "SUCCESS") {
       progressStatus.value = "success";
       errMsg.value = "";

+ 1 - 1
src/render/views/CurExam/index.vue

@@ -98,7 +98,7 @@
                 </p>
               </div>
               <div class="option">
-                图片审核
+                图片抽查
                 <p>
                   已完成:{{ allData.scan?.imageCheckCount }},未完成:{{
                     allData.scan?.imageCheckTodoCount

+ 1 - 1
src/render/views/Review/ReviewMarkPan.vue

@@ -33,7 +33,7 @@ const props = defineProps<{
 const emit = defineEmits(["mark"]);
 
 function onMark() {
-  emit("mark", true);
+  emit("mark", false);
 }
 
 // move