feat(training-workspace): 优化员工培训工作区考试交互与展示
This commit is contained in:
1 parent
8bd66baa21
commit
61acbe50a7
7 files changed
+49
-23
No files matched your search
@@ -341,16 +341,10 @@ const handleStageCardClick = (stageKey: string) => {
|
||||
<div class="truncate text-sm font-semibold text-primary">
|
||||
{{ compactSummary }}
|
||||
</div>
|
||||
<div class="mt-1 text-xs leading-5 text-secondary">
|
||||
<template v-if="workspace.activeView === 'admin'">
|
||||
{{ $t('chat.training.hr.filters.keywordLabel') }}: {{ workspace.hrKeyword || $t('chat.training.hr.filters.noLimit') }}
|
||||
· {{ $t('chat.training.hr.filters.departmentLabel') }}:
|
||||
{{ workspace.hrDepartmentFilter === 'all' ? $t('chat.training.hr.filters.allDepartments') : workspace.hrDepartmentFilter }}
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ $t('chat.training.progressPercent') }}: {{ workspace.learnerProgressPercent }}%
|
||||
· {{ $t('chat.training.learnerCard.name') }}: {{ workspace.currentUserName }}
|
||||
</template>
|
||||
<div v-if="workspace.activeView === 'admin'" class="mt-1 text-xs leading-5 text-secondary">
|
||||
{{ $t('chat.training.hr.filters.keywordLabel') }}: {{ workspace.hrKeyword || $t('chat.training.hr.filters.noLimit') }}
|
||||
· {{ $t('chat.training.hr.filters.departmentLabel') }}:
|
||||
{{ workspace.hrDepartmentFilter === 'all' ? $t('chat.training.hr.filters.allDepartments') : workspace.hrDepartmentFilter }}
|
||||
</div>
|
||||
<div
|
||||
v-if="workspace.activeView === 'learner'"
|
||||
@@ -539,7 +533,6 @@ const handleStageCardClick = (stageKey: string) => {
|
||||
? 'border-emerald-300 bg-emerald-50 text-emerald-700'
|
||||
: 'border-default bg-white text-secondary hover:border-brand-200 hover:bg-brand-50/40',
|
||||
]"
|
||||
:disabled="workspace.answerLocked"
|
||||
@click="workspace.selectAnswer(option.id)"
|
||||
>
|
||||
<div class="flex items-start justify-between gap-3">
|
||||
|
||||
Reference in new issue
Block a user