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,249 @@
|
||||
"range": "Showing {start}-{end} of {total}",
|
||||
"empty": "No matching data"
|
||||
}
|
||||
},
|
||||
"training": {
|
||||
"badge": "Onboarding Training Workspace",
|
||||
"title": "Onboarding Training Agent",
|
||||
"subtitle": "Complete video learning, knowledge review, one-question-at-a-time testing, and HR reporting in the same chat page.",
|
||||
"tabs": {
|
||||
"learner": "Learner",
|
||||
"admin": "HR Admin"
|
||||
},
|
||||
"actions": {
|
||||
"syncLearnerToChat": "Sync learner context to chat",
|
||||
"syncHrToChat": "Sync HR filters to chat",
|
||||
"expandWorkspace": "Expand workspace",
|
||||
"collapseWorkspace": "Collapse workspace"
|
||||
},
|
||||
"steps": {
|
||||
"video": "Watch Video",
|
||||
"summary": "Review Key Points",
|
||||
"exam": "Take Exam",
|
||||
"result": "View Result"
|
||||
},
|
||||
"progressLabel": "Training Progress",
|
||||
"progressHint": "The employee is considered complete only after finishing the video, summary review, and exam steps.",
|
||||
"progressPercent": "Completion",
|
||||
"stepNo": "Step {value}",
|
||||
"defaultLearnerName": "Current learner",
|
||||
"unknownDepartment": "Department pending",
|
||||
"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",
|
||||
"playerHint": "This area can later connect to an enterprise video URL or internal player. The frontend container and completion action are already prepared."
|
||||
},
|
||||
"summary": {
|
||||
"title": "Step 2: Review the key points",
|
||||
"description": "Based on the HR exam paper, the system summarizes the most important points before the employee starts the test.",
|
||||
"startExam": "Start Exam",
|
||||
"keyPoints": "Key points",
|
||||
"mustKnow": "Must know before the exam"
|
||||
},
|
||||
"exam": {
|
||||
"title": "Step 3: One-question-at-a-time exam",
|
||||
"questionCounter": "Question {current} / {total}",
|
||||
"currentScore": "Current score: {score}",
|
||||
"passLine": "Pass line: 90 points",
|
||||
"correctFeedback": "Correct. Move on to the next question.",
|
||||
"wrongFeedback": "Incorrect. The correct answer is now shown.",
|
||||
"selectedAnswer": "Your answer: {answer}",
|
||||
"correctAnswer": "Correct answer: {answer}",
|
||||
"nextQuestion": "Next Question",
|
||||
"finishExam": "Finish Exam"
|
||||
},
|
||||
"result": {
|
||||
"passedTag": "Passed",
|
||||
"failedTag": "Retake required",
|
||||
"passTitle": "Congratulations, you passed the onboarding exam",
|
||||
"failTitle": "This attempt did not meet the requirement",
|
||||
"passDescription": "The frontend pass-state interaction is complete. Once the backend is connected, it can write training records and the completion date.",
|
||||
"failDescription": "According to HR rules, any score below 90 requires a full retake until the learner passes.",
|
||||
"scoreLabel": "Final score",
|
||||
"attemptsLabel": "Attempts",
|
||||
"correctCount": "Correct answers",
|
||||
"wrongCount": "Wrong answers",
|
||||
"completionDate": "Completion date",
|
||||
"retryExam": "Retake Exam",
|
||||
"sendToChat": "Send review to chat"
|
||||
},
|
||||
"learnerCard": {
|
||||
"title": "Current learner",
|
||||
"name": "Name",
|
||||
"employeeId": "Employee ID",
|
||||
"department": "Department"
|
||||
},
|
||||
"rules": {
|
||||
"title": "Exam rules",
|
||||
"rule1": "There are 20 questions, 5 points each, with a full score of 100.",
|
||||
"rule2": "The system enforces one question, one answer, one feedback. Wrong answers show the correct answer immediately.",
|
||||
"rule3": "Any score below 90 is treated as failed and requires a retake.",
|
||||
"rule4": "HR can view statistics and export Excel from the same chat page."
|
||||
},
|
||||
"hr": {
|
||||
"stats": {
|
||||
"total": "Participants",
|
||||
"passed": "Passed",
|
||||
"failed": "Failed",
|
||||
"inProgress": "In progress",
|
||||
"passRate": "Pass rate"
|
||||
},
|
||||
"filters": {
|
||||
"keywordLabel": "Name / ID",
|
||||
"keywordPlaceholder": "Filter by name or employee ID",
|
||||
"statusLabel": "Status",
|
||||
"departmentLabel": "Department",
|
||||
"allStatuses": "All statuses",
|
||||
"allDepartments": "All departments",
|
||||
"noLimit": "No limit"
|
||||
},
|
||||
"columns": {
|
||||
"joinDate": "Join date",
|
||||
"completionDate": "Completion date",
|
||||
"department": "Department",
|
||||
"name": "Name",
|
||||
"employeeId": "Employee ID",
|
||||
"score": "Score",
|
||||
"attempts": "Attempts",
|
||||
"status": "Status"
|
||||
},
|
||||
"status": {
|
||||
"passed": "Passed",
|
||||
"failed": "Failed",
|
||||
"in_progress": "In progress"
|
||||
},
|
||||
"actions": {
|
||||
"askAgent": "Ask agent for analysis",
|
||||
"export": "Export Excel"
|
||||
},
|
||||
"empty": "No training records match the current filters."
|
||||
},
|
||||
"chatPrompts": {
|
||||
"hrSummaryPrefix": "Based on the current filters, summarize the onboarding training data and list the exceptions.",
|
||||
"afterVideo": "I finished the onboarding training video. Please summarize the key knowledge points based on the exam scope.",
|
||||
"afterSummary": "I finished reviewing the knowledge points. Please switch to exam mode and ask the first question.",
|
||||
"afterPass": "I passed the onboarding training exam with a score of {score}. Please help me generate a short completion summary.",
|
||||
"afterFail": "I scored {score} in the onboarding training exam and did not pass. Please summarize the weak points and prepare a retake reminder.",
|
||||
"examInProgress": "I am taking the onboarding training exam and am currently on question {index}/{total}. Please stay in proctor mode and continue."
|
||||
},
|
||||
"summaryPoints": [
|
||||
"Salary is paid on the 15th of each month, and attendance or leave requests must go through OA.",
|
||||
"The cafeteria uses the Zhongmi meal-ordering system, and missed punches require an OA correction process.",
|
||||
"5S stands for sort, set in order, shine, standardize, and sustain.",
|
||||
"In case of fire, call 119 immediately and use a fire extinguisher from the upwind side.",
|
||||
"QC080000 is the hazardous substance process management standard, and RoHS focuses on environmental requirements for electronic products."
|
||||
],
|
||||
"summaryChecklist": [
|
||||
"Only the current question is shown during the exam to avoid exposing the whole answer set at once.",
|
||||
"A wrong answer must immediately show the correct answer and a short explanation.",
|
||||
"Only scores of 90 or above count as passing.",
|
||||
"The admin view must be able to export join date, completion date, department, name, employee ID, and score."
|
||||
],
|
||||
"booleanOptions": [
|
||||
{ "id": "true", "label": "True" },
|
||||
{ "id": "false", "label": "False" }
|
||||
],
|
||||
"questionBank": [
|
||||
{
|
||||
"id": "q1",
|
||||
"type": "single",
|
||||
"prompt": "On which day of the month is salary paid?",
|
||||
"answer": "c",
|
||||
"explanation": "According to the onboarding exam, salary is paid on the 15th of each month.",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. 8th" },
|
||||
{ "id": "b", "label": "B. 9th" },
|
||||
{ "id": "c", "label": "C. 15th" },
|
||||
{ "id": "d", "label": "D. 27th" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q2",
|
||||
"type": "single",
|
||||
"prompt": "Which system is used for cafeteria meal ordering?",
|
||||
"answer": "b",
|
||||
"explanation": "The company cafeteria uses the Zhongmi meal-ordering system, not OA or ERP.",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. OA" },
|
||||
{ "id": "b", "label": "B. Zhongmi ordering system" },
|
||||
{ "id": "c", "label": "C. ERP" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q3",
|
||||
"type": "single",
|
||||
"prompt": "Which of the following are company products?",
|
||||
"answer": "abcd",
|
||||
"explanation": "All four options listed in the exam belong to the company product scope.",
|
||||
"options": [
|
||||
{ "id": "abcd", "label": "A/B/C/D All of the above" },
|
||||
{ "id": "ab", "label": "A/B" },
|
||||
{ "id": "cd", "label": "C/D" },
|
||||
{ "id": "a", "label": "A only" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q4",
|
||||
"type": "single",
|
||||
"prompt": "Which OA form should be used for leave?",
|
||||
"answer": "c",
|
||||
"explanation": "Leave must use the OA leave application form.",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. Overtime request" },
|
||||
{ "id": "b", "label": "B. Contact form" },
|
||||
{ "id": "c", "label": "C. Leave application" },
|
||||
{ "id": "d", "label": "D. Employee request form" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q5",
|
||||
"type": "single",
|
||||
"prompt": "What is QC080000?",
|
||||
"answer": "a",
|
||||
"explanation": "QC080000 is the hazardous substance process management certification standard.",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. Hazardous substance process management standard" },
|
||||
{ "id": "b", "label": "B. Occupational health and safety management system" },
|
||||
{ "id": "c", "label": "C. Environmental management system" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q6",
|
||||
"type": "single",
|
||||
"prompt": "What does 5S refer to?",
|
||||
"answer": "a",
|
||||
"explanation": "The standard 5S terms are sort, set in order, shine, standardize, and sustain.",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. Sort, set in order, shine, standardize, sustain" },
|
||||
{ "id": "b", "label": "B. Sort, set in order, clean up, standardize, sustain" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "q7",
|
||||
"type": "single",
|
||||
"prompt": "Where should you stand when using a fire extinguisher?",
|
||||
"answer": "a",
|
||||
"explanation": "You should stand on the upwind side when using a fire extinguisher.",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. Upwind side" },
|
||||
{ "id": "b", "label": "B. Downwind side" }
|
||||
]
|
||||
},
|
||||
{ "id": "q8", "type": "boolean", "prompt": "Normal attendance requires clock-in, and overtime must be applied for in advance.", "answer": "true", "explanation": "Both attendance and overtime follow the company attendance policy." },
|
||||
{ "id": "q9", "type": "boolean", "prompt": "If you forget to clock in, you need an OA correction request.", "answer": "true", "explanation": "Missed punches must be corrected through the OA process." },
|
||||
{ "id": "q10", "type": "boolean", "prompt": "Monthly salary is calculated from the 21st of the previous month to the 20th of the current month.", "answer": "true", "explanation": "The exam explicitly defines this payroll calculation cycle." },
|
||||
{ "id": "q11", "type": "boolean", "prompt": "Cafeteria meals require advance booking, and face recognition can be used for dining.", "answer": "true", "explanation": "Advance booking and face-recognition dining are both supported." },
|
||||
{ "id": "q12", "type": "boolean", "prompt": "In the event of fire or explosion, you should immediately call 119.", "answer": "true", "explanation": "Calling the fire emergency number is the first step in this scenario." },
|
||||
{ "id": "q13", "type": "boolean", "prompt": "Dormitory residents must maintain fire awareness and must not install wires privately or use high-power appliances.", "answer": "true", "explanation": "This is a mandatory dormitory fire-safety rule." },
|
||||
{ "id": "q14", "type": "boolean", "prompt": "Following safety production regulations is a safety obligation of employees.", "answer": "true", "explanation": "Safety compliance is both a rule and an employee obligation." },
|
||||
{ "id": "q15", "type": "boolean", "prompt": "Employee badges may be lent to others freely.", "answer": "false", "explanation": "A badge is a personal identity credential and may not be lent out." },
|
||||
{ "id": "q16", "type": "boolean", "prompt": "RoHS mainly regulates materials and processes in electrical and electronic products to better protect human health and the environment.", "answer": "true", "explanation": "RoHS focuses on restricting hazardous substances and improving environmental protection." },
|
||||
{ "id": "q17", "type": "boolean", "prompt": "Our company's HSF policy is: green design, eco-friendly purchasing; resource conservation, green output.", "answer": "true", "explanation": "This is the HSF policy statement provided in the exam." },
|
||||
{ "id": "q18", "type": "boolean", "prompt": "EHS stands for Environment, Health, and Safety.", "answer": "true", "explanation": "EHS is the standard abbreviation for environment, health, and safety." },
|
||||
{ "id": "q19", "type": "boolean", "prompt": "External documents do not need to be controlled or managed by the organization.", "answer": "false", "explanation": "External documents also need controlled management." },
|
||||
{ "id": "q20", "type": "boolean", "prompt": "Product-related requirements should include legal and regulatory requirements as well as customer requirements.", "answer": "true", "explanation": "Product requirements must cover both regulations and customer requirements." }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -468,5 +468,249 @@
|
||||
"range": "แสดง {start}-{end} จากทั้งหมด {total}",
|
||||
"empty": "ไม่พบข้อมูลที่ตรงเงื่อนไข"
|
||||
}
|
||||
},
|
||||
"training": {
|
||||
"badge": "พื้นที่อบรมพนักงานใหม่",
|
||||
"title": "Onboarding Training Agent",
|
||||
"subtitle": "ทำวิดีโอเรียนรู้ ทบทวนความรู้ สอบทีละข้อ และดูสถิติ HR ได้ในหน้าแชตเดียวกัน",
|
||||
"tabs": {
|
||||
"learner": "ผู้เรียน",
|
||||
"admin": "HR Admin"
|
||||
},
|
||||
"actions": {
|
||||
"syncLearnerToChat": "ส่งบริบทผู้เรียนเข้าแชต",
|
||||
"syncHrToChat": "ส่งตัวกรอง HR เข้าแชต",
|
||||
"expandWorkspace": "ขยายพื้นที่ทำงาน",
|
||||
"collapseWorkspace": "ย่อพื้นที่ทำงาน"
|
||||
},
|
||||
"steps": {
|
||||
"video": "ดูวิดีโอ",
|
||||
"summary": "ทบทวนความรู้",
|
||||
"exam": "ทำข้อสอบ",
|
||||
"result": "ผลลัพธ์"
|
||||
},
|
||||
"progressLabel": "ความคืบหน้า",
|
||||
"progressHint": "ต้องดูวิดีโอ ทบทวนความรู้ และทำข้อสอบครบ จึงจะถือว่าจบการอบรม",
|
||||
"progressPercent": "เปอร์เซ็นต์เสร็จสิ้น",
|
||||
"stepNo": "ขั้นตอน {value}",
|
||||
"defaultLearnerName": "ผู้เรียนปัจจุบัน",
|
||||
"unknownDepartment": "ยังไม่ได้ระบุแผนก",
|
||||
"video": {
|
||||
"title": "ขั้นตอน 1: ดูวิดีโออบรม",
|
||||
"description": "พนักงานใหม่ต้องดูวิดีโออบรมก่อน แล้วจึงเข้าสู่การทบทวนความรู้และการสอบ",
|
||||
"completeAction": "ฉันดูวิดีโอเสร็จแล้ว",
|
||||
"playerTitle": "ตำแหน่งตัวเล่นวิดีโอ",
|
||||
"playerHint": "ส่วนนี้สามารถเชื่อมต่อกับลิงก์วิดีโอภายในบริษัทหรือเครื่องเล่นภายในได้ในภายหลัง"
|
||||
},
|
||||
"summary": {
|
||||
"title": "ขั้นตอน 2: ทบทวนประเด็นสำคัญ",
|
||||
"description": "ระบบสรุปประเด็นที่มักออกสอบจากชุดข้อสอบของ HR เพื่อช่วยให้พนักงานทบทวนก่อนสอบ",
|
||||
"startExam": "เริ่มสอบ",
|
||||
"keyPoints": "ประเด็นสำคัญ",
|
||||
"mustKnow": "สิ่งที่ต้องรู้ก่อนสอบ"
|
||||
},
|
||||
"exam": {
|
||||
"title": "ขั้นตอน 3: สอบทีละข้อ",
|
||||
"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} โปรดทำหน้าที่เป็นผู้คุมสอบและถามต่อ"
|
||||
},
|
||||
"summaryPoints": [
|
||||
"เงินเดือนจ่ายทุกวันที่ 15 ของเดือน และการลาหรือการลงเวลาต้องทำผ่าน OA",
|
||||
"โรงอาหารใช้ระบบสั่งอาหาร Zhongmi และการลืมลงเวลาต้องแก้ผ่าน OA",
|
||||
"5S ประกอบด้วยการสะสาง สะดวก สะอาด สุขลักษณะ และสร้างนิสัย",
|
||||
"เมื่อเกิดไฟไหม้ต้องโทร 119 ทันที และใช้ถังดับเพลิงจากด้านเหนือลม",
|
||||
"QC080000 คือมาตรฐานการจัดการกระบวนการสารอันตราย และ RoHS เน้นข้อกำหนดด้านสิ่งแวดล้อมของผลิตภัณฑ์อิเล็กทรอนิกส์"
|
||||
],
|
||||
"summaryChecklist": [
|
||||
"ระหว่างสอบ ระบบจะแสดงเฉพาะคำถามปัจจุบันเท่านั้น",
|
||||
"หากตอบผิด ระบบต้องแสดงคำตอบที่ถูกและคำอธิบายสั้น ๆ ทันที",
|
||||
"ต้องได้ 90 คะแนนขึ้นไปจึงจะถือว่าผ่าน",
|
||||
"ฝั่งจัดการต้องส่งออกวันที่เริ่มงาน วันที่เสร็จสิ้น แผนก ชื่อ รหัสพนักงาน และคะแนนได้"
|
||||
],
|
||||
"booleanOptions": [
|
||||
{ "id": "true", "label": "ถูก" },
|
||||
{ "id": "false", "label": "ผิด" }
|
||||
],
|
||||
"questionBank": [
|
||||
{
|
||||
"id": "q1",
|
||||
"type": "single",
|
||||
"prompt": "เงินเดือนจ่ายในวันที่เท่าไรของเดือน?",
|
||||
"answer": "c",
|
||||
"explanation": "ตามข้อสอบอบรมพนักงานใหม่ เงินเดือนจ่ายในวันที่ 15 ของทุกเดือน",
|
||||
"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": "โรงอาหารของบริษัทใช้ระบบสั่งอาหาร Zhongmi",
|
||||
"options": [
|
||||
{ "id": "a", "label": "A. OA" },
|
||||
{ "id": "b", "label": "B. ระบบสั่งอาหาร Zhongmi" },
|
||||
{ "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": "การแจ้งหน่วยดับเพลิงเป็นขั้นตอนแรกที่ถูกต้อง" },
|
||||
{ "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": "ข้อกำหนดของผลิตภัณฑ์ต้องครอบคลุมทั้งกฎหมายและความต้องการของลูกค้า" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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": "产品要求必须同时覆盖法规和客户要求,这是质量体系基础。"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -468,5 +468,249 @@
|
||||
"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} 題,請保持考官模式繼續出題。"
|
||||
},
|
||||
"summaryPoints": [
|
||||
"工資每月 15 號發放,考勤與請假均需走 OA 流程。",
|
||||
"餐廳訂餐使用中米新訂餐系統,忘記刷卡需走 OA 補刷卡流程。",
|
||||
"5S 包括整理、整頓、清掃、清潔和素養,是現場管理基礎要求。",
|
||||
"發生火災時要第一時間撥打 119,並在上風口使用滅火器。",
|
||||
"QC080000 對應有害物質過程管理體系,RoHS 關注電子電氣產品環保要求。"
|
||||
],
|
||||
"summaryChecklist": [
|
||||
"答題時系統只展示當前題目,避免一次性洩露完整答案。",
|
||||
"答錯題目必須立即看到標準答案與簡短解析。",
|
||||
"考試結束後只有分數達到 90 分才算通過。",
|
||||
"管理端需要能匯出入職日期、完成日期、部門、姓名、工號和分數。"
|
||||
],
|
||||
"booleanOptions": [
|
||||
{ "id": "true", "label": "正確" },
|
||||
{ "id": "false", "label": "錯誤" }
|
||||
],
|
||||
"questionBank": [
|
||||
{
|
||||
"id": "q1",
|
||||
"type": "single",
|
||||
"prompt": "工資每月幾號發放?",
|
||||
"answer": "c",
|
||||
"explanation": "根據新人培訓試卷,工資固定在每月 15 號發放。",
|
||||
"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