优化: 重新入职弹窗对齐添加员工
1. 移除孕期/医疗期/工伤复选框(重新入职自动重置为false) 2. 缺省入职日期和合同开始日期为今天,默认3年合同结束日期 3. 签约时长与合同结束日期双向自动计算 4. 试用期长度按劳动合同法校验+试用期工资必填及80%校验 5. 试用期工资校验使用员工已有月工资作为基准
This commit is contained in:
@@ -232,9 +232,9 @@ export async function rehireEmployee(orgId: string, userId: string, id: string,
|
||||
data: {
|
||||
hireDate: newHireDate,
|
||||
status: 'ACTIVE',
|
||||
isPregnant: data.isPregnant || false,
|
||||
isInMedicalPeriod: data.isInMedicalPeriod || false,
|
||||
isWorkInjured: data.isWorkInjured || false,
|
||||
isPregnant: false,
|
||||
isInMedicalPeriod: false,
|
||||
isWorkInjured: false,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user