Prechádzať zdrojové kódy

考试属性新接口

Michael Wang 5 rokov pred
rodič
commit
7a0154d298

+ 1 - 1
src/features/OfflineExam/OfflineExamUpload.vue

@@ -61,7 +61,7 @@ export default {
   },
   async created() {
     const res = await this.$http.get(
-      "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+      "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
         this.course.examId +
         `/OFFLINE_UPLOAD_FILE_TYPE`
     );

+ 1 - 1
src/features/OnlineExam/Examing/ExamPaper.vue

@@ -96,7 +96,7 @@ export default {
   methods: {
     async initData() {
       const practiceType = (await this.$http.get(
-        "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+        "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
           this.examId +
           `/PRACTICE_TYPE`
       )).data;

+ 3 - 3
src/features/OnlineExam/Examing/ExamingEnd.vue

@@ -129,7 +129,7 @@ export default {
 
         if (this.examResult.isWarn) {
           const cheatingRemark = await this.$http.get(
-            "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+            "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
               examId +
               `/CHEATING_REMARK`
           );
@@ -156,13 +156,13 @@ export default {
         return;
       }
       const afterExamRemark = await this.$http.get(
-        "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+        "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
           examId +
           `/AFTER_EXAM_REMARK`
       );
       this.afterExamRemark = afterExamRemark.data.AFTER_EXAM_REMARK || "";
       const showObjectScore = await this.$http.get(
-        "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+        "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
           examId +
           `/IS_OBJ_SCORE_VIEW`
       );

+ 1 - 1
src/features/OnlineExam/Examing/ExamingHome.vue

@@ -341,7 +341,7 @@ export default {
             this.$route.params.examId
         ),
         this.$http.get(
-          "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+          "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
             this.$route.params.examId +
             `/SNAPSHOT_INTERVAL,PRACTICE_TYPE,FREEZE_TIME`
         ),

+ 2 - 2
src/features/OnlineExam/OnlineExamList.vue

@@ -299,7 +299,7 @@ export default {
         let checkEnv = null;
         try {
           checkEnv = await this.$http.get(
-            "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+            "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
               course.examId +
               `/CHECK_ENVIRONMENT`
           );
@@ -357,7 +357,7 @@ export default {
         let faceLiveness = null;
         try {
           faceLiveness = await this.$http.get(
-            "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+            "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
               course.examId +
               `/IS_FACE_VERIFY`
           );

+ 1 - 1
src/features/OnlineExam/OnlineExamOverview.vue

@@ -81,7 +81,7 @@ export default {
 
     try {
       const exam = await this.$http.get(
-        "/api/ecs_exam_work/exam/examOrgPropertyFromCache4StudentSession/" +
+        "/api/ecs_exam_work/exam/getExamPropertyFromCacheByStudentSession/" +
           this.$route.params.examId +
           `/BEFORE_EXAM_REMARK`
       );