fix: 补充社保截止月自动推导+草稿schema字段+面包屑文案
测试验证发现3个问题并修复: 1. TASK-007 社保联动:Organization.socialInsCutoffDay 字段缺失, createDraft 未自动推导社保/公积金截止月。 - 新增 Organization.socialInsCutoffDay 字段(默认15日) - createDraft 中根据离职日期与截止日比较,自动推导截止月 - cutoffDay 日前离职 → 截止月=离职月-1,日后 → 截止月=离职月 2. TASK-002 补偿金合计:createTerminationDraftSchema 缺少 compensationBreakdown 和 checklistOverrides 字段,导致 zod parse 时被过滤。已补充字段声明。 3. TASK-028 去掉用工办理:Breadcrumb 中 /work-process 标签仍为 "用工办理",已改为"批量流程"。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@ const ROUTE_MAP: Record<string, BreadcrumbItem> = {
|
||||
'/': { group: '工作台', label: '总览' },
|
||||
'/calendar': { group: '工作台', label: '工作日历' },
|
||||
'/roster': { group: '员工管理', label: '花名册' },
|
||||
'/work-process': { group: '员工管理', label: '用工办理' },
|
||||
'/work-process': { group: '员工管理', label: '批量流程' },
|
||||
'/attendance': { group: '员工管理', label: '考勤确认' },
|
||||
'/leave-approval': { group: '员工管理', label: '休假审批' },
|
||||
'/termination': { group: '员工管理', label: '解聘补偿' },
|
||||
|
||||
Reference in New Issue
Block a user