| | |
| | | </el-col> |
| | | <el-col :span="24"> |
| | | <el-form-item label="相关证件" prop="certificateList"> |
| | | <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件"> |
| | | <el-select v-model="empBaseInfoForm.certificateList" multiple placeholder="请选择相关证件"> |
| | | <el-option |
| | | v-for="dict in certificateListOptions" |
| | | :key="dict.dicItemCode" |
| | |
| | | empId: '', |
| | | customerId: '', |
| | | archivesNumb: '', |
| | | deptId: '', |
| | | deptId: null, |
| | | deptName: '', |
| | | allDeptName: '', |
| | | empNumb: '', |
| | |
| | | this.empBaseInfoForm.empId = '' |
| | | this.empBaseInfoForm.customerId = '' |
| | | this.empBaseInfoForm.archivesNumb = '' |
| | | this.empBaseInfoForm.deptId = '' |
| | | this.empBaseInfoForm.deptId = null |
| | | this.empBaseInfoForm.deptName = '' |
| | | this.empBaseInfoForm.allDeptName = '' |
| | | this.empBaseInfoForm.empNumb = '' |
| | |
| | | }, |
| | | editEmpBase(row) { |
| | | this.isAdd = false |
| | | let certificateList = [] |
| | | if (row.certificateList && typeof row.certificateList === 'string') { |
| | | certificateList = row.certificateList.split(',') |
| | | row.certificateList = certificateList |
| | | } |
| | | this.empBaseInfoForm.empId = row.empId |
| | | this.empBaseInfoForm.customerId = row.customerId |
| | | this.empBaseInfoForm.archivesNumb = row.archivesNumb |
| | |
| | | this[this.inputForName].certificateNumb = data.certificateNumb |
| | | this[this.inputForName].deptId = data.deptId |
| | | this[this.inputForName].deptName = data.deptName |
| | | this[this.inputForName].allDeptName = data.allDeptName |
| | | this[this.inputForName].JobId = data.jobId |
| | | this[this.inputForName].jobName = data.jobName |
| | | this[this.inputForName].sex = data.sex === '1' ? '男' : '女' |