Sfoglia il codice sorgente

导入复核setting中的doubleTrack补充

刘洋 9 mesi fa
parent
commit
9b4ffc7343

+ 2 - 2
src/devLoginParams.ts

@@ -111,9 +111,9 @@
 export const LOGIN_CONFIG = {
   isAdmin: true,
   forceChange: true,
-  loginName: "admin032",
+  loginName: "admin12",
   password: "123456",
-  examId: "417",
+  examId: "24",
   markerId: null,
 };
 

+ 2 - 2
src/features/student/importInspect/ImportInspect.vue

@@ -43,8 +43,8 @@ let currentStudentId = $ref(0);
 
 async function updateSetting() {
   const settingRes = await getInspectedSettingOfImportInspect(studentId);
-  const { examType, fileServer } = settingRes.data;
-  store.initSetting({ examType, fileServer } as AdminPageSetting);
+  const { examType, fileServer, doubleTrack } = settingRes.data;
+  store.initSetting({ examType, fileServer, doubleTrack } as AdminPageSetting);
   store.status.totalCount = settingRes.data.inspectCount;
   store.status.markedCount = 0;
 

+ 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.225";
+const SERVER_URL = "http://192.168.10.72: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";