文件
hyb-oa/issues/2026-03-21_12-10-00-r14-people-lifecycle.csv
T

4.0 KiB

1IDTitleDescriptionAcceptanceTest_MethodToolsDev_StatusReview1_StatusRegression_StatusFilesDependenciesNotes
2R14-0R14执行合同建档与范围冻结创建并校验入转离与资产闭环合同 CSV 并冻结本阶段只做人员生命周期与资产交接闭环CSV 校验通过且明确不引入绩效 薪酬 打卡等 HR 深水区python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-03-21_12-10-00-r14-people-lifecycle.csvmanualDONEDONEDONEissues/2026-03-21_12-10-00-r14-people-lifecycle.csv|issues/2026-03-21_12-00-00-r13-small-team-profile.csv[]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive
3R14-1员工档案字段扩展为 Employee 扩展 employment_status probation_end_date last_working_date work_location emergency_contact 与 notes 字段员工档案支持入职期 在职 离职中 停用等状态与小团队必要档案字段cd server && npm run prisma:validate && npm testmanualDONEDONEDONEserver/prisma/schema.prisma|server/prisma/migrations|server/src/routes/users.js|server/src/routes/employees.js["R14-0"]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive
4R14-2生命周期事件与 checklist新增 EmployeeLifecycleEvent 和 EmployeeChecklistTask 并支持入职 转正 调岗 离职事件留痕与 checklist 管理发起 onboarding transfer regularize offboarding 后都能生成事件记录和 checklist 项cd server && npm test && git diff --checkmanualDONEDONEDONEserver/prisma/schema.prisma|server/src/routes/employeeLifecycle.js|server/src/app.js|server/tests["R14-1"]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive
5R14-3离职资产交接与账号停用约束在离职完成前校验未归还资产和未处理待办 并在完成离职时停用账号与主导航业务入口未归还资产或未处理待办时离职不可完成 完成离职后账号不可再访问主业务入口cd server && npm test && ./scripts/regression-workflow-actions.shmanualDONEDONEDONEserver/src/routes/employeeLifecycle.js|server/src/routes/assets.js|server/src/routes/workflow.js|server/src/plugins/auth.js|server/tests["R14-2"]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive
6R14-4团队页与员工档案页新增 PeoplePage 和 EmployeeProfilePage 支持人员列表 生命周期面板 资产关联与员工自助档案管理员可查看人员列表 生命周期和资产关联 员工可查看并维护自助档案字段cd client && npm run typecheck && npm run buildmanualDONEDONEDONEclient/src/pages/PeoplePage.tsx|client/src/pages/EmployeeProfilePage.tsx|client/src/router/index.tsx|client/src/api/employees.ts|client/src/pages/AssetRegistryPage.tsx["R14-2"]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive
7R14-5文档与 runbook 同步补齐管理员关于入职 离职 资产交接和账号回收的操作手册与上线步骤管理员手册和试运行 runbook 可指导真实执行入职和离职演练git diff --checkmanualDONEDONEDONEdeploy/trialrun/runbook.md|deploy/trialrun/checklist.md|docs/admin-handbook.md|docs/employee-quickstart.md["R14-3"]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive
8R14-6R14回归与验收收口完成员工生命周期 档案 资产交接和账号停用后的整体验收入职和离职至少各跑通一条真实链路 且报销 请假 资产零回归cd server && npm test && ./scripts/regression-all.sh && cd ../client && npm run typecheck && npm run buildmanualDONEDONEDONEissues/2026-03-21_12-10-00-r14-people-lifecycle.csv|server/scripts/regression-all.sh|client/src/pages/PeoplePage.tsx["R14-4","R14-5"]已补管理端 profile 验证:[email protected] -> status=archived, employmentStatus=inactive