Explorar o código

评卷区修改

zhangjie hai 1 ano
pai
achega
3df26f381e

+ 7 - 4
src/modules/mark/components/markParam/ModifyMarkArea.vue

@@ -137,10 +137,13 @@ export default {
       this.papers.forEach((paper, pindex) => {
         if (!paper.areas.length) return;
         paper.areas.forEach((area) => {
-          let narea = { i: pindex + 1 };
-          if (!area.isFull) {
-            narea = { ...narea, x: area.x, y: area.y, w: area.w, h: area.h };
-          }
+          const narea = {
+            i: pindex + 1,
+            x: area.x,
+            y: area.y,
+            w: area.w,
+            h: area.h,
+          };
           areas.push(narea);
         });
       });

+ 5 - 5
src/modules/mark/router.js

@@ -8,31 +8,31 @@ import ScoreManage from "./views/ScoreManage.vue";
 export default [
   // 评卷入口
   {
-    path: "/mark/mark-entrance",
+    path: "/mark-manage/mark-entrance",
     name: "MarkEntrance",
     component: MarkEntrance,
   },
   // 评卷管理
   {
-    path: "/mark/mark-manage",
+    path: "/mark-manage/mark-manage",
     name: "MarkManage",
     component: MarkManage,
   },
   // 评卷设置
   {
-    path: "/mark/mark-setting",
+    path: "/mark-manage/mark-setting",
     name: "MarkSetting",
     component: MarkSetting,
   },
   // 成绩检查
   {
-    path: "/mark/score-check",
+    path: "/mark-manage/score-check",
     name: "ScoreCheck",
     component: ScoreCheck,
   },
   // 归档管理 > 成绩管理
   {
-    path: "/mark/score-entrance",
+    path: "/mark-manage/score-entrance",
     name: "ScoreManage",
     component: ScoreManage,
   },

+ 5 - 5
src/modules/stmms/router.js

@@ -7,27 +7,27 @@ import QuestionLibraryManage from "./views/QuestionLibraryManage.vue";
 
 export default [
   {
-    path: "/stmms/marker-login",
+    path: "/stmms-cloud/marker-login",
     name: "MarkerLogin",
     component: MarkerLogin,
   },
   {
-    path: "/stmms/score-archive",
+    path: "/stmms-cloud/score-archive",
     name: "ScoreArchive",
     component: ScoreArchive,
   },
   {
-    path: "/stmms/score-sync",
+    path: "/stmms-cloud/score-sync",
     name: "ScoreSync",
     component: ScoreSync,
   },
   {
-    path: "/stmms/upload-structure",
+    path: "/stmms-cloud/upload-structure",
     name: "UploadStructure",
     component: UploadStructure,
   },
   {
-    path: "/stmms/sync-manage",
+    path: "/stmms-cloud/sync-manage",
     name: "SyncManage",
     component: SyncManage,
   },