feat(training): 新增精益培训视频与周任务管理

This commit is contained in:
runny committed 2026-09-08 17:10:14 +08:00
1 parent e5ede471fd
commit a69814c409
32 files changed
+1619 -55

No files matched your search

+40 -2
View File
@@ -1212,10 +1212,15 @@
"username": "Username",
"email": "Email",
"department": "Department",
"team": "Team",
"jobTitle": "Job title",
"isTeamLeader": "Team leader",
"role": "Role",
"featurePermissions": "Feature Permissions",
"trainingHrManage": "Training HR Admin",
"trainingHrManageHint": "Allows this user to open the employee training agent HR Management view for stats, filtering, and Excel export.",
"trainingLeanManage": "Lean training full management",
"trainingLeanTeamManage": "Lean training team management",
"contractPaymentAccess": "Contract payment alert access",
"contractPaymentAccessHint": "Allows this user to open the contract payment workbench (ledger, review, weekly batches) and trigger sync or scans.",
"password": "Password",
@@ -4974,7 +4979,9 @@
"examTitle": "Question Bank",
"examDesc": "Maintain structured question data for controlled examinations",
"reviewTitle": "Review & Checklist",
"reviewDesc": "Configure review points, pre-exam checklists, and guided chat questions"
"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"
},
"guideGroups": {
"company": "Company-level Safety Training",
@@ -5001,6 +5008,7 @@
"progressItemLabel": "Progress item label",
"progressHintText": "Training progress note",
"stepIntroText": "Training step guide copy",
"requiredDuration": "Required time (minutes)",
"summaryPoints": "Review points",
"summaryChecklist": "Pre-exam checklist",
"employeeQuestions": "Employee FAQs",
@@ -5029,6 +5037,30 @@
"guide": "Guide resource",
"document": "Knowledge document"
},
"directVideo": {
"title": "Training Videos",
"hint": "Upload videos directly. Uploaded videos are automatically added to this training configuration.",
"upload": "Upload Video",
"uploading": "Uploading...",
"empty": "No training videos uploaded",
"unnamed": "Unnamed video"
},
"lean": {
"weekKey": "Task week (Monday)",
"dueAt": "Due time",
"videosTitle": "Required training videos",
"videosHint": "{count}/2 videos selected",
"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",
"saveTask": "Publish weekly task",
"publishRequired": "Save and publish the Lean Management configuration before creating a weekly task",
"unnamedVideo": "Unnamed video"
},
"messages": {
"loadFailed": "Failed to load training configurations",
"saveFailed": "Failed to save training configuration",
@@ -5043,7 +5075,13 @@
"parseSuccess": "Parsed {count} questions. Review before saving.",
"parseFailed": "Question bank parsing failed",
"saved": "Training configuration saved",
"deleted": "Training configuration deleted"
"deleted": "Training configuration deleted",
"leanVideoCount": "Select exactly two training videos",
"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",
"videoUploaded": "Training video uploaded and added to configuration resources",
"videoUploadFailed": "Failed to upload training video"
}
}
}
+43
View File
@@ -1019,11 +1019,54 @@
"defaultLearnerName": "Current learner",
"noContent": { "loading": "Loading training content...", "title": "No training content", "description": "The administrator has not published the current training configuration yet." },
"unknownDepartment": "Department pending",
"lean": {
"learner": {
"title": "Lean Management Weekly Training",
"description": "Complete {count} required videos and submit a learning reflection of at least {minSummaryLength} characters this week."
},
"dueAt": "Due {time}",
"watchedAt": "Watched: {time}",
"markVideoWatched": "Click to record video completion",
"summaryPlaceholder": "Enter this week's learning reflection (at least {minSummaryLength} characters)",
"summaryLength": "{current}/{minSummaryLength} characters",
"submitSummary": "Submit Learning Reflection",
"dashboard": {
"title": "Lean Training Completion Lists",
"week": "Training week: {week}",
"completed": "Completed",
"incomplete": "Incomplete",
"count": "{count} people",
"empty": "No personnel data"
},
"columns": {
"employeeId": "Employee ID",
"name": "Name",
"department": "Department",
"team": "Team",
"jobTitle": "Job Title",
"videoName": "Video Name",
"watchedAt": "Watch Time",
"status": "Status",
"summary": "Summary",
"action": "Action"
},
"status": {
"completed": "Completed",
"incomplete": "Incomplete"
},
"reminder": {
"action": "Remind",
"sending": "Sending...",
"success": "Reminder sent ({count} people)",
"failed": "Failed to send reminder. Please try again later."
}
},
"video": {
"title": "Step 1: Watch the training video",
"description": "Employees first complete the onboarding video, then move on to the knowledge review and exam.",
"completeAction": "I finished watching the video",
"playerTitle": "Video player slot",
"empty": "No playable training video is configured yet",
"playerHint": "This area can later connect to an enterprise video URL or internal player. The frontend container and completion action are already prepared."
},
"summary": {