|
@@ -47,7 +47,7 @@ const steps = reactive(
|
|
|
{
|
|
|
title: '预划流程完成',
|
|
|
children: [
|
|
|
- { title: '预划流程完成', optional: false, description: '试卷内容和答题卡已确认,可进行考试' },
|
|
|
+ { title: '预划流程完成', optional: false, description: '试卷内容和答题卡已确认,可进行下一步' },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
@@ -266,7 +266,7 @@ const lineList: any[][][] = []
|
|
|
// })
|
|
|
// })
|
|
|
|
|
|
-function handleSwitchGid(id: number) {
|
|
|
+function handleSwitchCurrentStep(id: number) {
|
|
|
currentStep = id
|
|
|
}
|
|
|
|
|
@@ -453,14 +453,18 @@ const TaskEventMap: { [key: string]: () => void } = {
|
|
|
routerPush({ name: 'process-fjct-ze_id-zs_id', params: { ze_id: ykl_lc.ze_id, zs_id: ykl_lc.zs_id } })
|
|
|
},
|
|
|
'预划考号区域': () => {
|
|
|
- windowPushState(`${window.GLOBAL_CONFIG.base}/liankao/dtk/index.html`)
|
|
|
+ windowPushState(`${window.GLOBAL_CONFIG.build}/dtk/index.html`)
|
|
|
},
|
|
|
'制作答题卡': () => {
|
|
|
- windowPushState(`${window.GLOBAL_CONFIG.base}/liankao/dtk/index.html`)
|
|
|
+ windowPushState(`${window.GLOBAL_CONFIG.build}/dtk/index.html`)
|
|
|
},
|
|
|
'考场设置(可选)': () => {
|
|
|
windowPushState(`${window.GLOBAL_CONFIG.base}/exam-room-set.html?id=${ykl_lc.ze_id}`)
|
|
|
},
|
|
|
+ '预划流程完成': async () => {
|
|
|
+ await handleCompleteTaskAuto()
|
|
|
+ currentStep = 1
|
|
|
+ },
|
|
|
'组卷流程完成': async () => {
|
|
|
await handleCompleteTaskAuto()
|
|
|
currentStep = 1
|
|
@@ -584,10 +588,10 @@ const TaskEventMap: { [key: string]: () => void } = {
|
|
|
<div class="flex-auto w-1200px m-auto">
|
|
|
<div class="flex flex-auto justify-start divide-x-4 divide-blue-700">
|
|
|
<div class="h-full w-220px">
|
|
|
- <el-steps direction="vertical" :active="gid">
|
|
|
+ <el-steps direction="vertical" :active="currentStep">
|
|
|
<el-step
|
|
|
v-for="({ title, children }, idx) in steps" :key="title" class="cursor-pointer hover:bg-light-600"
|
|
|
- :class="idx === currentStep && 'bg-light-400'" @click="handleSwitchGid(idx)"
|
|
|
+ :class="idx === currentStep && 'bg-light-400'" @click="handleSwitchCurrentStep(idx)"
|
|
|
>
|
|
|
<template #title>
|
|
|
<div class="mb-4 font-normal">
|