feat(training): 新增精益培训周任务视频推送与定向提醒闭环

- 后端:新增周任务视频推送服务与定时任务,新增模型迁移 fb26bc033d27
- 配置:WECOM_NOTIFY_EVENTS 追加 training_lean_video_push 事件(dev/test/prod/shared 同步)
- 管理端:培训配置页新增定向目标弹窗 LeanTargetModal
- 工作台:完成看板提醒按钮按 sent/failed 实发统计如实提示(部分成功/失败/未发送),避免企微发送失败误报成功
- 文档:更新功能清单与技术架构,新增精益管理周任务规则手册;四语言 i18n 同步补齐
This commit is contained in:
runny committed 2026-09-10 21:57:31 +08:00
1 parent a0e4351e9a
commit 7927556ee2
34 files changed
+2039 -254

No files matched your search

+42 -6
View File
@@ -4955,7 +4955,7 @@
"reviewTitle": "Review & Checklist",
"reviewDesc": "Configure review points, pre-exam checklists, and guided chat questions",
"leanTitle": "Lean Weekly Task",
"leanDesc": "Choose two videos for a calendar week and set its Sunday deadline"
"leanDesc": "Choose the weekly video list, set videos per week, and configure the deadline for that week"
},
"guideGroups": {
"company": "Company-level Safety Training",
@@ -5022,15 +5022,51 @@
"lean": {
"weekKey": "Task week (Monday)",
"dueAt": "Due time",
"weekMustBeMonday": "The task week must be a Monday",
"weeklyCount": "Videos per week",
"weeklyCountHint": "Every Monday 09:00, the next batch of this many videos is pushed in selection order ({pushed}/{total} pushed); trainees get access immediately after publishing",
"videosTitle": "Required training videos",
"videosHint": "{count}/2 videos selected",
"videosHint": "{count} videos selected (pushed weekly in batches by selection order)",
"targetsTitle": "Training targets",
"targetsHint": "Select roles or users; both scopes are combined.",
"targetRoles": "Target roles",
"targetUsers": "Target users",
"videosFrozen": "Videos for this week are frozen",
"noVideoResources": "Save at least two video resources in Training Materials first",
"summaryRule": "Employees must watch both videos and submit a learning reflection of at least {count} characters",
"addTarget": "Add trainees",
"targetEmpty": "No training targets selected yet. Click \"Add trainees\" to configure by role or employee.",
"targetModalTitle": "Add training targets",
"targetSearchPlaceholder": "Search name / username / department",
"targetSelectedCount": "{roles} roles · {users} employees selected",
"targetUsersCount": "Target users ({count})",
"targetRolesEmpty": "No roles available",
"targetUsersEmpty": "No matching employees found",
"removeTarget": "Remove",
"targetConfirm": "Confirm",
"noVideoResources": "Save at least one video resource in Training Materials first",
"summaryRule": "Employees must watch the assigned videos and submit a learning reflection of at least {count} characters",
"pushNow": "Push new-task supplement now",
"pushing": "Pushing…",
"weekRangeLabel": "Week {index} · {range}",
"videoPagePrev": "Previous",
"videoPageNext": "Next",
"videoPageInfo": "Page {page} / {total}",
"pushCompleted": "All videos have been pushed",
"pushSuccess": "Pushed {count} videos and notified trainees",
"pushFailed": "Video push failed, please retry later",
"pushLogsTitle": "Push logs",
"pushLogsEmpty": "No push logs yet",
"pushProgress": "{pushed}/{total} videos pushed",
"pushBatch": "Pushed {count} videos · sent {sent} · failed {failed} · {recipients} recipients",
"pushStatus": {
"sent": "All sent",
"partial": "Partially failed",
"failed": "Push failed",
"completed": "Fully pushed"
},
"pushTrigger": {
"publish": "On publish",
"schedule": "Weekly schedule",
"manual": "Manual push"
},
"saveTask": "Publish weekly task",
"publishRequired": "Save and publish the Lean Management configuration before creating a weekly task",
"unnamedVideo": "Unnamed video"
@@ -5050,7 +5086,7 @@
"parseFailed": "Question bank parsing failed",
"saved": "Training configuration saved",
"deleted": "Training configuration deleted",
"leanVideoCount": "Select exactly two training videos",
"leanVideoCount": "Select at least one training video",
"leanTaskSaved": "Lean weekly task published",
"videoFileRequired": "Please select a video file",
"trainingAgentRequired": "The Employee Training agent was not found, so a video resource cannot be created",