Explorar o código

feat: 评卷状态修改

chenhao %!s(int64=2) %!d(string=hai) anos
pai
achega
7c22091fa5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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()
   }