刘洋 9 mesi fa
parent
commit
aa2d9cd364
3 ha cambiato i file con 49 aggiunte e 39 eliminazioni
  1. 5 5
      src/devLoginParams.ts
  2. 43 33
      src/features/admin/confirmPaper/ConfirmPaper.vue
  3. 1 1
      vite.config.ts

+ 5 - 5
src/devLoginParams.ts

@@ -90,9 +90,9 @@
 //   isAdmin: true,
 //   forceChange: true,
 //   // loginName: "fh161301",
-//   loginName: "admin-jhdx",
-//   password: "jhdx!@#",
-//   examId: "1274",
+//   loginName: "admin-test1",
+//   password: "123123",
+//   examId: "1498",
 //   markerId: null,
 // };
 
@@ -111,9 +111,9 @@
 export const LOGIN_CONFIG = {
   isAdmin: true,
   forceChange: true,
-  loginName: "admin12",
+  loginName: "admin032",
   password: "123456",
-  examId: "24",
+  examId: "434",
   markerId: null,
 };
 

+ 43 - 33
src/features/admin/confirmPaper/ConfirmPaper.vue

@@ -138,48 +138,58 @@
           </div>
         </div>
 
-        <div class="tw-flex tw-justify-between tw-bg-white tw-p-4">
-          <a-tooltip
-            v-if="!allViewed && route.path == '/admin/exam/check/student/start'"
-            placement="top"
+        <div>
+          <div
+            v-if="route.path == '/admin/exam/check/student/start'"
+            style="padding: 5px 6px; color: red; font-size: 12px"
           >
-            <template #title>请先浏览完该学生的所有试卷</template>
-            <a-button
-              :disabled="
+            *请仔细核对每张题卡上的姓名、考生编号、科目信息是否和系统上方的一致
+          </div>
+          <div class="tw-flex tw-justify-between tw-bg-white tw-p-4">
+            <a-tooltip
+              v-if="
                 !allViewed && route.path == '/admin/exam/check/student/start'
               "
+              placement="top"
+            >
+              <template #title>请先浏览完该学生的所有试卷</template>
+              <a-button
+                :disabled="
+                  !allViewed && route.path == '/admin/exam/check/student/start'
+                "
+                type="primary"
+                shape="round"
+                @click="saveStudentAnswer"
+              >
+                保存
+              </a-button>
+            </a-tooltip>
+            <a-button
+              v-else
+              :disabled="!student?.upload"
               type="primary"
               shape="round"
               @click="saveStudentAnswer"
             >
               保存
             </a-button>
-          </a-tooltip>
-          <a-button
-            v-else
-            :disabled="!student?.upload"
-            type="primary"
-            shape="round"
-            @click="saveStudentAnswer"
-          >
-            保存
-          </a-button>
-          <div>
-            <a-button
-              shape="round"
-              :disabled="currentIndex <= 1"
-              class="tw-mr-4"
-              @click="getPreviousStudent"
-            >
-              上一份
-            </a-button>
-            <a-button
-              shape="round"
-              :disabled="currentIndex === allIds.length"
-              @click="getNextStudent"
-            >
-              下一份
-            </a-button>
+            <div>
+              <a-button
+                shape="round"
+                :disabled="currentIndex <= 1"
+                class="tw-mr-4"
+                @click="getPreviousStudent"
+              >
+                上一份
+              </a-button>
+              <a-button
+                shape="round"
+                :disabled="currentIndex === allIds.length"
+                @click="getNextStudent"
+              >
+                下一份
+              </a-button>
+            </div>
           </div>
         </div>
       </div>

+ 1 - 1
vite.config.ts

@@ -3,7 +3,7 @@ import vue from "@vitejs/plugin-vue";
 import ViteComponents from "unplugin-vue-components/vite";
 import { AntDesignVueResolver } from "unplugin-vue-components/resolvers";
 
-const SERVER_URL = "http://192.168.10.72:8000";
+const SERVER_URL = "http://192.168.10.225:8000";
 // const SERVER_URL = "https://www.markingcloud.com";
 // const SERVER_URL = "http://192.168.11.103:8090";
 // const SERVER_URL = "http://192.168.11.201:8000";