|
|
@ -114,6 +114,17 @@ |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
<el-col :span="12"> |
|
|
|
|
|
|
|
<el-form-item label="离职日期" prop="retireDate"> |
|
|
|
|
|
|
|
<el-date-picker |
|
|
|
|
|
|
|
v-model="formData.retireDate" |
|
|
|
|
|
|
|
type="date" |
|
|
|
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
|
|
|
|
placeholder="选择日期时间" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
@ -230,6 +241,7 @@ const resetForm = () => { |
|
|
|
remark: '', |
|
|
|
remark: '', |
|
|
|
status: CommonStatusEnum.ENABLE, |
|
|
|
status: CommonStatusEnum.ENABLE, |
|
|
|
hireDate: formatDate(new Date(), 'YYYY-MM-DD'), |
|
|
|
hireDate: formatDate(new Date(), 'YYYY-MM-DD'), |
|
|
|
|
|
|
|
retireDate: undefined, |
|
|
|
attendanceSettingId: undefined, |
|
|
|
attendanceSettingId: undefined, |
|
|
|
instanceIds: [] |
|
|
|
instanceIds: [] |
|
|
|
} |
|
|
|
} |
|
|
|