Merge branch 'dev' into hugo-shipping-notice
This commit is contained in:
commit
9f5493185d
29 files changed
+3957
-12
No files matched your search
@@ -468,5 +468,327 @@
|
||||
"range": "显示第 {start}-{end} 条,共 {total} 条",
|
||||
"empty": "暂无符合条件的数据"
|
||||
}
|
||||
},
|
||||
"training": {
|
||||
"badge": "新人培训工作区",
|
||||
"title": "新人入职培训 Agent",
|
||||
"subtitle": "在同一个 Chat 页面内完成视频学习、知识点复盘、逐题考试以及 HR 管理统计。",
|
||||
"tabs": {
|
||||
"learner": "学员端",
|
||||
"admin": "HR 管理"
|
||||
},
|
||||
"actions": {
|
||||
"syncLearnerToChat": "同步学员上下文到聊天",
|
||||
"syncHrToChat": "同步 HR 筛选到聊天",
|
||||
"expandWorkspace": "展开工作区",
|
||||
"collapseWorkspace": "收起工作区"
|
||||
},
|
||||
"steps": {
|
||||
"video": "观看视频",
|
||||
"summary": "复盘知识点",
|
||||
"exam": "逐题考试",
|
||||
"result": "结算结果"
|
||||
},
|
||||
"progressLabel": "培训进度",
|
||||
"progressHint": "按 HR 要求完成视频、知识点、考试三个环节后才能视为完成。",
|
||||
"progressPercent": "完成度",
|
||||
"stepNo": "步骤 {value}",
|
||||
"defaultLearnerName": "当前学员",
|
||||
"unknownDepartment": "待补充部门",
|
||||
"video": {
|
||||
"title": "第一步:观看培训视频",
|
||||
"description": "员工先完成入职培训视频学习,再进入知识点复盘和考试环节。",
|
||||
"completeAction": "我已完成视频学习",
|
||||
"playerTitle": "视频播放位",
|
||||
"playerHint": "这里可接入企业视频链接或内部播放器。当前前端已预留完整容器与学习完成按钮。"
|
||||
},
|
||||
"summary": {
|
||||
"title": "第二步:知识点复盘",
|
||||
"description": "根据 HR 提供的试卷,系统先提炼考试重点,帮助员工在答题前完成记忆强化。",
|
||||
"startExam": "开始考试",
|
||||
"keyPoints": "重点知识",
|
||||
"mustKnow": "考前必知"
|
||||
},
|
||||
"exam": {
|
||||
"title": "第三步:逐题考试",
|
||||
"questionCounter": "第 {current} / {total} 题",
|
||||
"currentScore": "当前分数:{score} 分",
|
||||
"passLine": "及格线:90 分",
|
||||
"correctFeedback": "回答正确,继续下一题",
|
||||
"wrongFeedback": "回答错误,已显示正确答案",
|
||||
"selectedAnswer": "你的答案:{answer}",
|
||||
"correctAnswer": "正确答案:{answer}",
|
||||
"nextQuestion": "下一题",
|
||||
"finishExam": "完成考试"
|
||||
},
|
||||
"result": {
|
||||
"passedTag": "已通过",
|
||||
"failedTag": "需补考",
|
||||
"passTitle": "恭喜,你已通过新人培训考试",
|
||||
"failTitle": "本次考试未达标,需要重新考试",
|
||||
"passDescription": "前端已完成通过态交互,后续接入后端后可直接回写培训记录与完成日期。",
|
||||
"failDescription": "按照 HR 规则,未达到 90 分必须重新考试,直到最终通过为止。",
|
||||
"scoreLabel": "最终得分",
|
||||
"attemptsLabel": "考试次数",
|
||||
"correctCount": "答对题数",
|
||||
"wrongCount": "答错题数",
|
||||
"completionDate": "完成日期",
|
||||
"retryExam": "重新考试",
|
||||
"sendToChat": "发送复盘到聊天"
|
||||
},
|
||||
"learnerCard": {
|
||||
"title": "当前学员",
|
||||
"name": "姓名",
|
||||
"employeeId": "工号",
|
||||
"department": "部门"
|
||||
},
|
||||
"rules": {
|
||||
"title": "考试规则",
|
||||
"rule1": "共 20 题,每题 5 分,满分 100 分。",
|
||||
"rule2": "系统按“一题一答一反馈”执行,答错立即展示正确答案。",
|
||||
"rule3": "低于 90 分判定为未通过,必须重新考试。",
|
||||
"rule4": "HR 管理端可在同一聊天页查看统计并导出 Excel。"
|
||||
},
|
||||
"hr": {
|
||||
"stats": {
|
||||
"total": "参训人数",
|
||||
"passed": "已通过",
|
||||
"failed": "未通过",
|
||||
"inProgress": "进行中",
|
||||
"passRate": "通过率"
|
||||
},
|
||||
"filters": {
|
||||
"keywordLabel": "姓名 / 工号",
|
||||
"keywordPlaceholder": "输入姓名或工号筛选",
|
||||
"statusLabel": "状态",
|
||||
"departmentLabel": "部门",
|
||||
"allStatuses": "全部状态",
|
||||
"allDepartments": "全部部门",
|
||||
"noLimit": "不限"
|
||||
},
|
||||
"columns": {
|
||||
"joinDate": "入职日期",
|
||||
"completionDate": "完成日期",
|
||||
"department": "部门",
|
||||
"name": "姓名",
|
||||
"employeeId": "工号",
|
||||
"score": "分数",
|
||||
"attempts": "考试次数",
|
||||
"status": "状态"
|
||||
},
|
||||
"status": {
|
||||
"passed": "已通过",
|
||||
"failed": "未通过",
|
||||
"in_progress": "进行中"
|
||||
},
|
||||
"actions": {
|
||||
"askAgent": "让 Agent 生成分析",
|
||||
"export": "导出 Excel"
|
||||
},
|
||||
"empty": "当前筛选条件下暂无培训记录。"
|
||||
},
|
||||
"chatPrompts": {
|
||||
"hrSummaryPrefix": "请基于当前筛选条件,帮我总结新人培训数据并给出异常名单。",
|
||||
"afterVideo": "我已完成新人培训视频,请结合考试范围帮我总结重点知识。",
|
||||
"afterSummary": "我已完成知识点复盘,请切换到考试模式并开始第一题。",
|
||||
"afterPass": "我已经通过新人培训考试,得分 {score} 分,请帮我生成一段培训完成总结。",
|
||||
"afterFail": "我本次新人培训考试得分 {score} 分,未达到及格线,请帮我总结错题重点并安排重考提醒。",
|
||||
"examInProgress": "我正在进行新人培训考试,目前做到第 {index}/{total} 题。题目是:{question}。请保持考官模式,评价我的表现并引导我继续。"
|
||||
},
|
||||
"summaryPoints": [
|
||||
"工资每月 15 号发放,考勤与请假均需要走 OA 流程。",
|
||||
"餐厅订餐使用中米新订餐系统,忘记刷卡需走 OA 补刷卡流程。",
|
||||
"5S 包括整理、整顿、清扫、清洁和素养,属于现场管理基础要求。",
|
||||
"发生火灾时要第一时间拨打 119,并使用灭火器站在上风口操作。",
|
||||
"QC080000 对应有害物质过程管理体系,RoHS 关注电子电气产品环保要求。"
|
||||
],
|
||||
"summaryChecklist": [
|
||||
"答题时系统只展示当前题目,避免一次性泄露完整答案。",
|
||||
"答错题目必须立即看到标准答案和简短解析。",
|
||||
"考试结束后只有分数达到 90 分才算通过。",
|
||||
"管理端需要能导出入职日期、完成日期、部门、姓名、工号和分数。"
|
||||
],
|
||||
"booleanOptions": [
|
||||
{ "id": "true", "label": "正确" },
|
||||
{ "id": "false", "label": "错误" }
|
||||
],
|
||||
"questionBank": [
|
||||
{
|
||||
"id": "q1",
|
||||
"type": "single",
|
||||
"prompt": "工资每月几号发放?",
|
||||
"answer": "a",
|
||||
"explanation": "根据新人培训试卷答案,工资固定在每月 8 号发放。",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. 8号" },
|
||||
{ "id": "b", "label": "B. 9号" },
|
||||
{ "id": "c", "label": "C. 15号" },
|
||||
{ "id": "d", "label": "D. 27号" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q2",
|
||||
"type": "single",
|
||||
"prompt": "餐厅订餐的系统是?",
|
||||
"answer": "b",
|
||||
"explanation": "公司餐厅订餐使用中米新订餐系统,不是 OA 或 ERP。",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. OA" },
|
||||
{ "id": "b", "label": "B. 中米新订餐系统" },
|
||||
{ "id": "c", "label": "C. ERP" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q3",
|
||||
"type": "single",
|
||||
"prompt": "公司的产品有?",
|
||||
"answer": "abcd",
|
||||
"explanation": "试卷给出的四个选项都是公司产品范畴,前端以组合选项形式展示为全选。",
|
||||
"options": [
|
||||
{ "id": "abcd", "label": "A/B/C/D 全部都是" },
|
||||
{ "id": "ab", "label": "A/B" },
|
||||
{ "id": "cd", "label": "C/D" },
|
||||
{ "id": "a", "label": "仅 A" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q4",
|
||||
"type": "single",
|
||||
"prompt": "请假需要开什么 OA 单?",
|
||||
"answer": "c",
|
||||
"explanation": "请假必须发起 OA 请假申请单,不能使用加班申请单或联络单。",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. 加班申请单" },
|
||||
{ "id": "b", "label": "B. 联络单" },
|
||||
{ "id": "c", "label": "C. 请假申请单" },
|
||||
{ "id": "d", "label": "D. 员工需求单" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q5",
|
||||
"type": "single",
|
||||
"prompt": "QC080000 是什么?",
|
||||
"answer": "a",
|
||||
"explanation": "QC080000 对应有害物质过程管理体系认证标准。",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. 有害物质过程管理体系认证标准" },
|
||||
{ "id": "b", "label": "B. 职业健康安全管理体系" },
|
||||
{ "id": "c", "label": "C. 环境管理体系" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q6",
|
||||
"type": "single",
|
||||
"prompt": "5S 指的是?",
|
||||
"answer": "a",
|
||||
"explanation": "5S 标准表述为整理、整顿、清扫、清洁和素养。",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. 整理、整顿、清扫、清洁和素养" },
|
||||
{ "id": "b", "label": "B. 整理、整顿、打扫、清洁和素养" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q7",
|
||||
"type": "single",
|
||||
"prompt": "使用灭火器应站在火源的哪里?",
|
||||
"answer": "a",
|
||||
"explanation": "使用灭火器要站在上风口,避免烟雾和火势倒灌。",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. 上风口" },
|
||||
{ "id": "b", "label": "B. 下风口" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q8",
|
||||
"type": "boolean",
|
||||
"prompt": "正常出勤必须打卡,加班需要提前申请提报。",
|
||||
"answer": "true",
|
||||
"explanation": "出勤和加班都需要遵循公司考勤制度,这是基础要求。"
|
||||
},
|
||||
{
|
||||
"id": "q9",
|
||||
"type": "boolean",
|
||||
"prompt": "忘记刷卡需要 OA 开补刷卡单。",
|
||||
"answer": "true",
|
||||
"explanation": "漏打卡需要通过 OA 补刷卡流程修正考勤记录。"
|
||||
},
|
||||
{
|
||||
"id": "q10",
|
||||
"type": "boolean",
|
||||
"prompt": "每月工资从上月 21 日至本月 20 日为止计算。",
|
||||
"answer": "true",
|
||||
"explanation": "试卷中明确了工资核算周期的起止时间。"
|
||||
},
|
||||
{
|
||||
"id": "q11",
|
||||
"type": "boolean",
|
||||
"prompt": "餐厅用餐需提前预定,可以直接刷脸用餐。",
|
||||
"answer": "true",
|
||||
"explanation": "公司餐厅支持提前预定并刷脸用餐。"
|
||||
},
|
||||
{
|
||||
"id": "q12",
|
||||
"type": "boolean",
|
||||
"prompt": "发生火灾、爆炸事故时,应立即拨打 119。",
|
||||
"answer": "true",
|
||||
"explanation": "火灾事故首先要联系消防,119 是基本应急要求。"
|
||||
},
|
||||
{
|
||||
"id": "q13",
|
||||
"type": "boolean",
|
||||
"prompt": "住宿人员应保持高度防火意识,不准私拉乱接电线和使用高功率电器。",
|
||||
"answer": "true",
|
||||
"explanation": "宿舍防火是红线要求,私拉电线和使用大功率电器都被禁止。"
|
||||
},
|
||||
{
|
||||
"id": "q14",
|
||||
"type": "boolean",
|
||||
"prompt": "遵守安全生产规章制度是从业人员应履行的安全生产义务。",
|
||||
"answer": "true",
|
||||
"explanation": "安全制度不仅是要求,也是员工必须履行的义务。"
|
||||
},
|
||||
{
|
||||
"id": "q15",
|
||||
"type": "boolean",
|
||||
"prompt": "工牌可以随意借由他人使用。",
|
||||
"answer": "false",
|
||||
"explanation": "工牌属于个人身份凭证,严禁外借。"
|
||||
},
|
||||
{
|
||||
"id": "q16",
|
||||
"type": "boolean",
|
||||
"prompt": "RoHS 主要用于规范电子电气产品的材料及工艺标准,使之更加有利于人体健康及环境保护。",
|
||||
"answer": "true",
|
||||
"explanation": "RoHS 的核心目标就是限制有害物质、降低环境与人体风险。"
|
||||
},
|
||||
{
|
||||
"id": "q17",
|
||||
"type": "boolean",
|
||||
"prompt": "我们公司的 HSF 方针是:绿色设计,环保采购;节约资源,绿色产出。",
|
||||
"answer": "true",
|
||||
"explanation": "这是试卷给出的公司 HSF 方针原文。"
|
||||
},
|
||||
{
|
||||
"id": "q18",
|
||||
"type": "boolean",
|
||||
"prompt": "EHS(Environment、Health、Safety)指环境健康安全。",
|
||||
"answer": "true",
|
||||
"explanation": "EHS 是环境、健康、安全三个维度的统一简称。"
|
||||
},
|
||||
{
|
||||
"id": "q19",
|
||||
"type": "boolean",
|
||||
"prompt": "对于外来文件,组织不需对其进行控制与管理。",
|
||||
"answer": "false",
|
||||
"explanation": "外来文件同样需要受控管理,确保版本和使用正确。"
|
||||
},
|
||||
{
|
||||
"id": "q20",
|
||||
"type": "boolean",
|
||||
"prompt": "与产品有关的要求应包括有关法律法规规定的要求及顾客的要求等。",
|
||||
"answer": "true",
|
||||
"explanation": "产品要求必须同时覆盖法规和客户要求,这是质量体系基础。"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user