qsh 3 months ago
parent aa5382f199
commit e5418f4019
  1. 12
      src/views/Pers/Employee/Comp/DialogEmployee.vue
  2. 2
      src/views/Pers/Employee/index.vue

@ -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: []
} }

@ -30,7 +30,7 @@
<el-table v-loading="loading" :data="tableList" border stripe> <el-table v-loading="loading" :data="tableList" border stripe>
<el-table-column type="index" width="50" /> <el-table-column type="index" width="50" />
<el-table-column label="用户姓名" prop="name" /> <el-table-column label="姓名" prop="name" />
<el-table-column label="职位" prop="post" /> <el-table-column label="职位" prop="post" />
<el-table-column label="手机号码" prop="mobile" width="120" /> <el-table-column label="手机号码" prop="mobile" width="120" />
<el-table-column label="考勤方案" prop="attendanceSettingName" /> <el-table-column label="考勤方案" prop="attendanceSettingName" />

Loading…
Cancel
Save