刘洋 8 tháng trước cách đây
mục cha
commit
0e178f0a92

+ 1 - 0
src/render/views/AbsentCheck/CheckAction.vue

@@ -245,6 +245,7 @@ const questionInfo = computed(() => {
     seatNumber: dataCheckStore.curStudent.seatNumber,
     paperType: dataCheckStore.curStudent.paperType,
     examStatus: dataCheckStore.curStudent.examStatus as string,
+    packageCode: dataCheckStore.curStudent.packageCode as string,
   };
 });
 

+ 4 - 0
src/render/views/Audit/Intime/index.vue

@@ -204,6 +204,10 @@ async function getData() {
 
 function onMark() {
   if (!curStudent.value) return;
+  if (canSubmit.value) {
+    onConfirm(true);
+    return;
+  }
   curStudent.value.status = true;
   getNextStudent();
 }

+ 1 - 0
src/render/views/DataCheck/CheckAction.vue

@@ -355,6 +355,7 @@ const questionInfo = computed(() => {
     seatNumber: dataCheckStore.curStudent.seatNumber,
     paperType: dataCheckStore.curStudent.paperType,
     examStatus: dataCheckStore.curStudent.examStatus as string,
+    packageCode: dataCheckStore.curStudent.packageCode as string,
   };
 });
 

+ 11 - 3
src/render/views/DataCheck/QuestionPanel.vue

@@ -7,8 +7,8 @@
       <a-descriptions-item label="姓名" :span="4">
         {{ info.name }}
       </a-descriptions-item>
-      <a-descriptions-item label="座位号" :span="6">
-        {{ info.seatNumber }}
+      <a-descriptions-item label="卷袋号" :span="6">
+        {{ info.packageCode }}
       </a-descriptions-item>
       <a-descriptions-item label="考点" :span="4">
         {{ info.examSite }}
@@ -72,7 +72,11 @@
         v-ele-click-outside-directive="hideEditQuestion"
         @keyup.enter="onSaveQuesion"
       >
-        <a-input v-model:value="curQuestion" style="width: 64px"></a-input>
+        <a-input
+          v-model:value="curQuestion"
+          style="width: 64px"
+          @change="toUpperCase"
+        ></a-input>
         <a-button class="ant-simple m-l-8px" type="link" @click="onSaveQuesion"
           >保存(Enter)</a-button
         >
@@ -129,6 +133,10 @@ const questionList = ref([] as string[]);
 const curQuestion = ref("");
 const curQuestionIndex = ref(-1);
 
+const toUpperCase = () => {
+  curQuestion.value = curQuestion.value.toUpperCase();
+};
+
 function onExamStatusChange() {
   emit("examStatusChange", examStatus.value);
 }

+ 1 - 0
src/render/views/DataCheck/types.ts

@@ -18,4 +18,5 @@ export interface QuestionInfo {
   seatNumber: number;
   paperType: string;
   examStatus: string;
+  packageCode?: string;
 }

+ 1 - 0
src/render/views/ScanManage/ImageView.vue

@@ -308,6 +308,7 @@ const questionInfo = computed(() => {
     seatNumber: dataCheckStore.curStudent.seatNumber,
     paperType: dataCheckStore.curStudent.paperType,
     examStatus: dataCheckStore.curStudent.examStatus as string,
+    packageCode: dataCheckStore.curStudent.packageCode as string,
   };
 });