feat: 同步知识库与工作台相关改动

This commit is contained in:
Jackzhou
2026-08-24 10:40:15 +08:00
parent 8d0588827d
commit 4f33b036d1
50 changed files with 8034 additions and 273 deletions
+18 -2
View File
@@ -53,11 +53,27 @@ function fmtTime(t) {
}
function typeLabel(t) {
return { exam_publish: '考试发布', exam_pass: '考试通过', position_set: '岗位设置' }[t] || '通知'
return {
exam_publish: '考试发布',
exam_pass: '考试通过',
position_set: '岗位设置',
worker_task_assign: '事项指派',
worker_artifact_review: '交付待确认',
worker_artifact_approved: '交付已确认',
worker_artifact_published: '交付已发布',
}[t] || '通知'
}
function typeTag(t) {
return { exam_publish: 'warning', exam_pass: 'success', position_set: 'primary' }[t] || 'info'
return {
exam_publish: 'warning',
exam_pass: 'success',
position_set: 'primary',
worker_task_assign: 'primary',
worker_artifact_review: 'warning',
worker_artifact_approved: 'success',
worker_artifact_published: 'success',
}[t] || 'info'
}
function openNotice(n) {