| | |
| | | <td class="td-group"> |
| | | <el-checkbox-group v-model="queryParams.dimissionType" class="fj-checkbox"> |
| | | <el-checkbox label="" @change="selectAllDimissionType">全部</el-checkbox> |
| | | <el-checkbox :label="1">正常离职</el-checkbox> |
| | | <el-checkbox :label="2">自动离职</el-checkbox> |
| | | <el-checkbox :label="6">正常离职</el-checkbox> |
| | | <el-checkbox :label="4">自动离职</el-checkbox> |
| | | <el-checkbox :label="2">公司劝退</el-checkbox> |
| | | <el-checkbox :label="1">合同期满</el-checkbox> |
| | | <el-checkbox :label="3">公司辞退</el-checkbox> |
| | | <el-checkbox :label="5">试用期内</el-checkbox> |
| | | <!-- <el-checkbox--> |
| | | <!-- v-for="data in dimissionTypeOptions"--> |
| | | <!-- :key="data.dicItemName"--> |
| | |
| | | >编辑</span> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="allDeptName" label="部门(护卫点)" width="280" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="80" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" width="160" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="sex" label="性别" width="50" :formatter="sexFormat" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="50" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="280" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="sex" label="性别" width="50" :formatter="sexFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="age" label="年龄" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column |
| | | show-overflow-tooltip="true" |
| | | show-overflow-tooltip |
| | | prop="education" |
| | | label="学历" |
| | | width="60" |
| | | :formatter="educationFormat" |
| | | ortable="custom" |
| | | :sort-orders="['ascending', 'descending']" |
| | | /> |
| | | <el-table-column show-overflow-tooltip="true" prop="nativePlaceName" label="籍贯" width="70" /> |
| | | <el-table-column show-overflow-tooltip prop="nativePlaceName" label="籍贯" width="70" /> |
| | | <el-table-column show-overflow-tooltip prop="telePhone" label="联系电话" width="110" /> |
| | | <el-table-column |
| | | show-overflow-tooltip="true" |
| | | show-overflow-tooltip |
| | | prop="empType" |
| | | label="员工类型" |
| | | width="80" |
| | | :formatter="empTypeFormat" |
| | | /> |
| | | <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" width="110" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" width="110" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="dimissionDate" label="离职日期" width="110" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip="true" prop="empStatus" label="员工状态" width="80"> |
| | | <el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" width="110" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" width="110" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="empStatus" label="员工状态" width="80"> |
| | | <template slot-scope="{row}"> |
| | | {{ transEmpStatus(row.empStatus) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dimissionTypeName" label="离职类型" width="80" /> |
| | | <el-table-column prop="dimissionType" label="离职类型" width="120" sortable="custom" :sort-orders="['ascending', 'descending']"> |
| | | <template slot-scope="{row}"> |
| | | {{ transEntryType(row.dimissionType) }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | v-show="total>0" |
| | |
| | | <el-col span="24"> |
| | | <el-form-item label="打开类型" prop="region"> |
| | | <el-radio-group v-model="baseicInformationForm.openType"> |
| | | <el-radio :label="5">重新入职</el-radio> |
| | | <el-radio :label="6">返聘</el-radio> |
| | | <el-radio :label="21">重新入职</el-radio> |
| | | <el-radio :label="22">返聘</el-radio> |
| | | </el-radio-group> |
| | | (主要对已退休员工返聘) |
| | | </el-form-item> |
| | |
| | | <el-checkbox label="handbookStatusName"><span /></el-checkbox> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td>入职类型</td> |
| | | <td> |
| | | <el-checkbox label="entryTypeName"><span /></el-checkbox> |
| | | </td> |
| | | <td>离职类型</td> |
| | | <td> |
| | | <el-checkbox label="dimissionTypeName"><span /></el-checkbox> |
| | | </td> |
| | | <td>编号</td> |
| | | <td> |
| | | <el-checkbox label="empNumb"><span /></el-checkbox> |
| | | </td> |
| | | </tr> |
| | | </el-checkbox-group> |
| | | </table> |
| | | <div slot="footer" class="dialog-footer"> |
| | |
| | | archivesStatusOptions: [], |
| | | sexOptions: [], |
| | | empTypeOptions: [], |
| | | cityOptions: ['archivesNumb', 'allDeptName', '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', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate'], |
| | | cityOptions: ['archivesNumb', 'allDeptName', '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', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate', 'entryTypeName', 'dimissionTypeName', 'empNumb'], |
| | | checkedCities: [] |
| | | } |
| | | }, |
| | |
| | | return '退休' |
| | | } |
| | | }, |
| | | transEntryType(entryType) { |
| | | switch (entryType) { |
| | | case '1': |
| | | return '合同期满' |
| | | case '2': |
| | | return '公司劝退' |
| | | case '3': |
| | | return '公司辞退' |
| | | case '4': |
| | | return '自动离职' |
| | | case '5': |
| | | return '试用期内' |
| | | case '6': |
| | | return '正常离职' |
| | | } |
| | | }, |
| | | transDimissionType(dimissionType) { |
| | | switch (dimissionType) { |
| | | case '1': |
| | |
| | | case '2': |
| | | return '自动离职' |
| | | case '3': |
| | | return '公司劝退' |
| | | case '4': |
| | | return '公司辞退' |
| | | case '5': |
| | | return '试用期内' |
| | | // case '4': |
| | | // return '公司辞退' |
| | | // case '5': |
| | | // return '试用期内' |
| | | } |
| | | }, |
| | | advancedQueryShowMethods() { |
| | |
| | | empId: id, |
| | | empName: name, |
| | | certificateNumb: number, |
| | | openType: 2, |
| | | openType: 5, |
| | | openDate: year + '-' + month + '-' + day, |
| | | remark: '' |
| | | } |
| | |
| | | }, |
| | | selectAllDimissionType(val) { |
| | | if (val) { |
| | | this.queryParams.dimissionType = [1, 2, 3] |
| | | this.queryParams.dimissionType = [1, 2, 3, 4, 5, 6] |
| | | } else { |
| | | this.queryParams.dimissionType = [] |
| | | } |