Browse Source

feat: 评卷状态修改

chenhao 2 years ago
parent
commit
7c22091fa5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/modules/marking/mark/index.vue

+ 2 - 0
src/modules/marking/mark/index.vue

@@ -138,6 +138,8 @@ const historyTaskChange = (task: TaskInfoType) => {
 
 const getNextTask = () => {
   currentTask.value = currentTaskPool.shift()
+  currentTaskType.value =
+    currentTask.value && markStatusIcon[currentTask.value.taskType] ? currentTask.value.taskType : 'FORMAL'
   if (currentTaskPool.length < 2) {
     getMarkingTask()
   }