feat(training): 新增精益培训周任务视频推送与定向提醒闭环
- 后端:新增周任务视频推送服务与定时任务,新增模型迁移 fb26bc033d27 - 配置:WECOM_NOTIFY_EVENTS 追加 training_lean_video_push 事件(dev/test/prod/shared 同步) - 管理端:培训配置页新增定向目标弹窗 LeanTargetModal - 工作台:完成看板提醒按钮按 sent/failed 实发统计如实提示(部分成功/失败/未发送),避免企微发送失败误报成功 - 文档:更新功能清单与技术架构,新增精益管理周任务规则手册;四语言 i18n 同步补齐
This commit is contained in:
1 parent
a0e4351e9a
commit
7927556ee2
34 files changed
+2039
-254
No files matched your search
@@ -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",
|
||||
|
||||
@@ -1016,11 +1016,26 @@
|
||||
"lean": {
|
||||
"learner": {
|
||||
"title": "Lean Management Weekly Training",
|
||||
"description": "Complete {count} required videos and submit a learning reflection of at least {minSummaryLength} characters this week."
|
||||
"taskTitle": "Session {index}",
|
||||
"description": "Complete {count} required videos and submit a learning reflection of at least {minSummaryLength} characters for this session.",
|
||||
"taskPeriod": "Task period: {start} to {end}",
|
||||
"completedSummary": "Learning Reflection",
|
||||
"completedAt": "Completed at: {time}",
|
||||
"empty": "No lean training tasks yet"
|
||||
},
|
||||
"taskStatus": {
|
||||
"in_progress": "In Progress",
|
||||
"overdue": "Overdue",
|
||||
"completed": "Completed"
|
||||
},
|
||||
"videoUnavailable": "This video has no playable URL yet",
|
||||
"dueAt": "Due {time}",
|
||||
"watchedAt": "Watched: {time}",
|
||||
"markVideoWatched": "Click to record video completion",
|
||||
"videoWatchedToast": "Video watching completed",
|
||||
"videoWatchedBadge": "Completed",
|
||||
"completeVideosFirst": "Please watch all required videos of this session in full before submitting your reflection",
|
||||
"summaryTooShort": "The learning reflection must be at least {minSummaryLength} characters. Please keep writing",
|
||||
"summaryPlaceholder": "Enter this week's learning reflection (at least {minSummaryLength} characters)",
|
||||
"summaryLength": "{current}/{minSummaryLength} characters",
|
||||
"submitSummary": "Submit Learning Reflection",
|
||||
@@ -1030,7 +1045,9 @@
|
||||
"completed": "Completed",
|
||||
"incomplete": "Incomplete",
|
||||
"count": "{count} people",
|
||||
"empty": "No personnel data"
|
||||
"empty": "No personnel data",
|
||||
"passRate": "Completion Rate",
|
||||
"periodLabel": "Period {index}"
|
||||
},
|
||||
"columns": {
|
||||
"employeeId": "Employee ID",
|
||||
@@ -1046,13 +1063,23 @@
|
||||
},
|
||||
"status": {
|
||||
"completed": "Completed",
|
||||
"in_progress": "In Progress",
|
||||
"overdue": "Overdue",
|
||||
"incomplete": "Incomplete"
|
||||
},
|
||||
"reminder": {
|
||||
"action": "Remind",
|
||||
"sending": "Sending...",
|
||||
"success": "Reminder sent ({count} people)",
|
||||
"partial": "Reminder sent ({sent} people), {failed} failed. See the WeCom notify audit in the admin console for details.",
|
||||
"sendFailed": "Failed to send reminder ({count} people). Check the WeCom notification settings, or see the notify audit in the admin console.",
|
||||
"notSent": "No reminder sent: the member may have completed the training or is not bound to WeCom.",
|
||||
"failed": "Failed to send reminder. Please try again later."
|
||||
},
|
||||
"summaryModal": {
|
||||
"title": "Summary Details",
|
||||
"viewHint": "Click to view the full summary",
|
||||
"close": "Close"
|
||||
}
|
||||
},
|
||||
"video": {
|
||||
@@ -1120,6 +1147,10 @@
|
||||
"rule4": "HR can view statistics and export Excel from the same chat page."
|
||||
},
|
||||
"hr": {
|
||||
"tabs": {
|
||||
"allTraining": "All Training",
|
||||
"leanManagement": "Lean Management"
|
||||
},
|
||||
"stats": {
|
||||
"total": "Participants",
|
||||
"passed": "Passed",
|
||||
|
||||
Reference in new issue
Block a user