浏览代码

feat: 评卷状态修改

chenhao 2 年之前
父节点
当前提交
7c22091fa5
共有 1 个文件被更改,包括 2 次插入0 次删除
  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()
   }