离职员工增加离职日期,导出字段排序修改,修复导入问题
| | |
| | | <el-upload |
| | | ref="upload" |
| | | class="upload-demo" |
| | | action="hr/empBaseInfo/importEmp" |
| | | action="http://120.24.23.155:8301/hr/empBaseInfo/importEmp" |
| | | accept=".xls, .xlsx, .excel" |
| | | :headers="headers()" |
| | | :file-list="fileList" |
| | |
| | | exportUrl: '', |
| | | checkAll: false, |
| | | isIndeterminate: false, |
| | | cityOptions: ['sexName', 'empName', 'archivesNumb', 'deptName', 'jobName', 'empTypeName', 'nationName', 'certificateNumb', 'age', 'marriageName', 'certificateValidity', 'stature', 'politicsName', 'birthdate', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'InsuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatus', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family'], |
| | | cityOptions: ['archivesNumb', 'deptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'InsuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatus', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family'], |
| | | checkedCities: [], |
| | | tableData: [], |
| | | selectDimissionType: 1 |
| | |
| | | <el-table-column prop="censusAddress" label="籍贯" /> |
| | | <el-table-column prop="telePhone" label="联系电话" /> |
| | | <el-table-column prop="entryDate" label="入职日期" width="100" /> |
| | | <el-table-column prop="dimissionDate" label="离职日期" width="100" /> |
| | | <el-table-column prop="empStatus" label="员工状态"> |
| | | <template slot-scope="{row}"> |
| | | {{ transEmpStatus(row.empStatus) }} |