| | |
| | | width="80%" |
| | | height="80%" |
| | | top="80px" |
| | | fullscreen="true" |
| | | :close-on-click-modal="false" |
| | | :close-on-press-escape="false" |
| | | :visible.sync="isVisible" |
| | |
| | | <div class="jbxxTitle"> |
| | | 基本信息 |
| | | </div> |
| | | <el-button class="filter-item" type="primary" @click.native="gzupdate"> |
| | | 编辑 |
| | | </el-button> |
| | | <div class="jbxxCon"> |
| | | <el-form ref="empBaseInfoForm" :model="empBaseInfoForm" class="formjbxx" label-width="80px"> |
| | | <el-form-item label="档案号" prop="archivesNumb"> |
| | |
| | | <div class="jbxxCon"> |
| | | <el-table |
| | | ref="workExperienceTable" |
| | | :key="tableKey" |
| | | :data="workExperienceData" |
| | | :highlight-current-row="true" |
| | | @selection-change="onworkExperienceDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column type="workExperienceDataselection" align="center" width="55" /> |
| | | <el-table-column v-if="fsnumShow" prop="workExperienceId" label="工作单位" /> |
| | | <el-table-column prop="workUnit" label="工作单位" /> |
| | | <el-table-column prop="workUnit" label="工作单位" /> |
| | | <el-table-column prop="beginDate" label="开始日期" /> |
| | | <el-table-column prop="endDate" label="结束日期" /> |
| | | <el-table-column prop="jobContent" label="主要工作内容" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="{row}"> |
| | | <i class="el-icon-setting table-operation" style="color: #2db7f5;" @click="editWorkExperience(row)" /> |
| | | <!-- <i class="el-icon-delete table-operation" style="color: #f50;" @click="singleDelete(row)" />--> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editWorkExperience(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'workExperienceDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | v-show="workExperienceDatatotal>0" |
| | | :total="workExperienceDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="tjxx" class="tjxx"> |
| | |
| | | ref="physicalExamTable" |
| | | :data="physicalExamData" |
| | | style="width: 100%;" |
| | | @selection-change="onphysicalExamDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="physicalExamDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | |
| | | @click="editPhysicalExam(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'physicalExamDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="physicalExamId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="150" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="100" /> |
| | |
| | | <el-table-column prop="reviewRecord" label="复查记录" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="physicalExamDatatotal>0" |
| | | :total="physicalExamDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="htxx" class="htxx"> |
| | |
| | | <el-button class="filter-item" type="primary" @click.native="gzadd(3)"> |
| | | {{ $t('table.add') }} |
| | | </el-button> |
| | | |
| | | <div class="jbxxCon"> |
| | | <el-table |
| | | ref="contractInfoTable" |
| | | :data="contractInfoData" |
| | | style="width: 100%;" |
| | | @selection-change="oncontractInfoDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="contractInfoDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | |
| | | @click="editContractInfo(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'contractInfoDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="contractId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="150" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="100" /> |
| | |
| | | <el-table-column prop="contractStatusName" label="合同状态" width="100" /> |
| | | <el-table-column prop="transactor" label="合同办理人" width="100" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="contractInfoDatatotal>0" |
| | | :total="contractInfoDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="tgjl" class="tgjl"> |
| | | <div class="jbxxTitle"> |
| | | 调岗记录 |
| | | </div> |
| | | <el-button class="filter-item" type="primary" @click.native="gzadd"> |
| | | {{ $t('table.add') }} |
| | | </el-button> |
| | | <div class="jbxxCon"> |
| | | <el-table |
| | | ref="jobChangeTable" |
| | | :data="jobChangeData" |
| | | style="width: 100%;" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100" /> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="newDeptName" label="现部门" /> |
| | | <el-table-column prop="newJobName" label="现岗位" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="oldDeptName" label="原部门" /> |
| | | <el-table-column prop="oldJobName" label="原岗位" /> |
| | | <el-table-column prop="changeDate" label="调岗日期" /> |
| | | <el-table-column prop="changeType" label="调岗类型" /> |
| | | <el-table-column prop="changeType" label="调岗类型"> |
| | | <template scope="scope"> |
| | | {{ scope.row.changeType === '2' ? '升职': '' }} |
| | | {{ scope.row.changeType === '3' ? '调动': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | v-show="jobChangeDatatotal>0" |
| | | :total="jobChangeDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="qjjl" class="qjjl"> |
| | |
| | | {{ $t('table.add') }} |
| | | </el-button> |
| | | <div class="jbxxCon"> |
| | | <el-table ref="leaveInfoTable" :data="leaveInfoData" style="width: 100%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table ref="leaveInfoTable" :data="leaveInfoData" style="width: 100%;" @selection-change="onleaveInfoDataselection"> |
| | | <el-table-column type="leaveInfoDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'onleaveInfoDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="leaveId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | |
| | | <el-table-column prop="beginTime" label="开始时间" width="180" /> |
| | | <el-table-column prop="endTime" label="结束时间" width="180" /> |
| | | <el-table-column prop="leaveDay" label="请假天数" width="180" /> |
| | | <el-table-column prop="leaveType" label="请假类型" width="180" /> |
| | | <el-table-column prop="leaveType" label="请假类型"> |
| | | <template scope="scope"> |
| | | {{ scope.row.leaveType === '1' ? '事假': '' }} |
| | | {{ scope.row.leaveType === '2' ? '病假': '' }} |
| | | {{ scope.row.leaveType === '3' ? '调休假': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="returnDate" label="到岗时间" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="leaveInfoDatatotal>0" |
| | | :total="leaveInfoDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="czsq" class="czsq"> |
| | |
| | | {{ $t('table.add') }} |
| | | </el-button> |
| | | <div class="jbxxCon"> |
| | | <el-table ref="resignTable" :data="resignData" style="width: 100%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table ref="resignTable" :data="resignData" style="width: 100%;" @selection-change="onresignDataselection"> |
| | | <el-table-column type="resignDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editResign(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'onresignDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="resignId" label="" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名" width="180" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | |
| | | <el-table-column prop="reporter" label="汇报人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="resignDatatotal>0" |
| | | :total="resignDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="lzdykq" class="lzdykq"> |
| | |
| | | ref="dimissionAttendTable" |
| | | :data="dimissionAttendData" |
| | | style="width: 100%;" |
| | | @selection-change="ondimissionAttendDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="dimissionAttendDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editDimissionAttend(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'dimissionAttendDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="dimissionAttendId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="150" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="100" /> |
| | |
| | | <el-table-column prop="absenteeism" label="旷工(天)" width="120" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="dimissionAttendDatatotal>0" |
| | | :total="dimissionAttendDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="rlzjl" class="rlzjl"> |
| | | <div class="jbxxTitle"> |
| | | 入离职记录 |
| | | </div> |
| | | <el-button class="filter-item" type="primary" @click.native="gzadd"> |
| | | {{ $t('table.add') }} |
| | | </el-button> |
| | | <div class="jbxxCon"> |
| | | <el-table |
| | | ref="dimissionLogTable" |
| | | :data="dimissionLogData" |
| | | style="width: 100%;" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <!--<template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editDimissionAttend(scope.row)">编辑</el-button> |
| | | </template>--> |
| | | </el-table-column> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="newDeptName" label="现部门" /> |
| | | <el-table-column prop="newJobName" label="现岗位" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="entryDate" label="入职日期" /> |
| | | <el-table-column prop="dimissionDate" label="离职日期" /> |
| | | <el-table-column prop="selfLeaveDay" label="自离天数" /> |
| | | <el-table-column prop="reporter" label="报备人" /> |
| | | <el-table-column prop="remark" label="备注" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="dimissionLogDatatotal>0" |
| | | :total="dimissionLogDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="syjlq" class="syjlq"> |
| | |
| | | ref="unemploymentTable" |
| | | :data="unemploymentData" |
| | | style="width: 100%;" |
| | | @selection-change="onunemploymentDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="unemploymentDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editUnemployment(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'unemploymentDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="unemploymentId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | |
| | | <el-table-column prop="auditor" label="审核人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="unemploymentDatatotal>0" |
| | | :total="unemploymentDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="sbsq" class="sbsq"> |
| | |
| | | {{ $t('table.add') }} |
| | | </el-button> |
| | | <div class="jbxxCon"> |
| | | <el-table ref="insuranceTable" :data="insuranceData" style="width: 100%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table ref="insuranceTable" :data="insuranceData" style="width: 100%;" @selection-change="oninsuranceDataselection"> |
| | | <el-table-column type="insuranceDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editInsurance(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'oninsuranceDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="insuranceId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="applayDate" label="社保申请日期" width="180" /> |
| | | <el-table-column prop="proposer" label="申请人" width="180" /> |
| | | <el-table-column prop="insuranceGaers" label="社保档位" width="180" /> |
| | | <el-table-column prop="reportStatus " label="是否已报告" width="180" /> |
| | | <el-table-column prop="applayStatus" label="状态" width="180" /> |
| | | <el-table-column prop="insuranceGaers" label="社保档位"> |
| | | <template scope="scope"> |
| | | {{ scope.row.insuranceGaers === '1' ? '深户(五险一档)': '' }} |
| | | {{ scope.row.insuranceGaers === '2' ? '非深户(五险一档)': '' }} |
| | | {{ scope.row.insuranceGaers === '3' ? '非深户(五险二档)': '' }} |
| | | {{ scope.row.insuranceGaers === '4' ? '调休假': '' }} |
| | | {{ scope.row.insuranceGaers === '5' ? '调休假': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="reportStatus" label="是否已报告"> |
| | | <template scope="scope"> |
| | | {{ scope.row.reportStatus === 1 ? '未报告': '' }} |
| | | {{ scope.row.reportStatus === 2 ? '已报告': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="applayStatus" label="状态"> |
| | | <template scope="scope"> |
| | | {{ scope.row.applayStatus === 1 ? '未申请': '' }} |
| | | {{ scope.row.applayStatus === 2 ? '已申请': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="auditor" label="审核人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="280" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="insuranceDatatotal>0" |
| | | :total="insuranceDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="ywxaj" class="ywxaj"> |
| | |
| | | ref="accidentCasesTable" |
| | | :data="accidentCasesData" |
| | | style="width: 100%;" |
| | | @selection-change="onaccidentCasesDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="accidentCasesDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editAccidentCases(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'accidentCasesDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="accidentId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | |
| | | <el-table-column prop="injuredDiacrisis" label="意外险诊断" width="180" /> |
| | | <el-table-column prop="hospitalName" label="就诊医院" width="180" /> |
| | | <el-table-column prop="treatmentName" label="就诊科室" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院"> |
| | | <template scope="scope"> |
| | | {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }} |
| | | {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="bedNumb" label="床号" width="180" /> |
| | | <el-table-column prop="reprotTime" label="报案时间" width="180" /> |
| | | <el-table-column prop="submitTime" label="递交资料时间" width="180" /> |
| | |
| | | <el-table-column prop="expensesFee" label="医疗总费用" width="180" /> |
| | | <el-table-column prop="innsureFee" label="保险赔付费用" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="accidentCasesDatatotal>0" |
| | | :total="accidentCasesDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="gsaj" class="gsaj"> |
| | |
| | | ref="occupationalTable" |
| | | :data="occupationalData" |
| | | style="width: 100%;" |
| | | @selection-change="onoccupationalDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="occupationalDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editOccupational(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'occupationalDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="occupationalId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | |
| | | <el-table-column prop="injuredDiacrisis" label="工伤诊断" width="180" /> |
| | | <el-table-column prop="hospitalName" label="就诊医院" width="180" /> |
| | | <el-table-column prop="treatmentName" label="就诊科室" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院"> |
| | | <template scope="scope"> |
| | | {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }} |
| | | {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="bedNumb" label="床号" width="180" /> |
| | | <el-table-column prop="reportTime" label="报案时间" width="180" /> |
| | | <el-table-column prop="submitTime" label="递交资料时间" width="180" /> |
| | |
| | | <el-table-column prop="expensesFee" label="医疗总费用" width="180" /> |
| | | <el-table-column prop="compensated" label="已赔付医药费用" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="occupationalDatatotal>0" |
| | | :total="occupationalDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="lzaj" class="lzaj"> |
| | |
| | | ref="laborTroubleTable" |
| | | :data="laborTroubleData" |
| | | style="width: 100%;" |
| | | @selection-change="onlaborTroubleDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="laborTroubleDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editLaborTrouble(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'laborTroubleDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="arbitrationId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" /> |
| | | <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" /> |
| | | <el-table-column prop="arbitrationType" label="仲裁类型" width="180" /> |
| | | <el-table-column prop="arbitrationType" label="仲裁类型"> |
| | | <template scope="scope"> |
| | | {{ scope.row.arbitrationType === '01' ? '劳资纠纷': '' }} |
| | | {{ scope.row.arbitrationType === '02' ? '民事纠纷': '' }} |
| | | {{ scope.row.arbitrationType === '03' ? '合同纠纷': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="arbitrationReason" label="仲裁事由" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column prop="arbitrationPay" label="仲裁赔付(元)" width="180" /> |
| | | <el-table-column prop="arbitrationStatus" label="状态" width="180" /> |
| | | <el-table-column prop="arbitrationStatus" label="状态"> |
| | | <template scope="scope"> |
| | | {{ scope.row.arbitrationStatus === 0 ? '未结案': '' }} |
| | | {{ scope.row.arbitrationStatus === 1 ? '已结案': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="settleDate" label="案结日期" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="laborTroubleDatatotal>0" |
| | | :total="laborTroubleDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="bljl" class="bljl"> |
| | |
| | | ref="badRecordTable" |
| | | :data="badRecordData" |
| | | style="width: 100%;" |
| | | @selection-change="onbadRecordDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="onbadRecordDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | |
| | | @click="editBadRecord(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'onbadRecordDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="badId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | |
| | | <el-table-column prop="reporter" label="汇报人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="badRecordDatatotal>0" |
| | | :total="badRecordDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div ref="bz" class="bz"> |
| | | <div class="jbxxTitle"> |
| | | 不良记录 |
| | | 备注 |
| | | </div> |
| | | <el-button class="filter-item" type="primary" @click.native="gzadd(13)"> |
| | | {{ $t('table.add') }} |
| | |
| | | ref="remarkInfoTable" |
| | | :data="remarkInfoData" |
| | | style="width: 100%;" |
| | | @selection-change="onremarkInfoDataselection" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="onremarkInfoDataselection" width="55" /> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editRemarkInfo(scope.row)">编辑</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="singleDelete(scope.row, 'onremarkInfoDataselection')" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" prop="remarkId" label="" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | |
| | | <el-table-column prop="remarkDate" label="备注日期" width="180" /> |
| | | <el-table-column prop="remarkContent" label="备注信息" width="400" /> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | v-show="remarkInfoDatatotal>0" |
| | | :total="remarkInfoDatatotal" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | @pagination="search" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <el-dialog title="工作经历" :visible.sync="dialogshowArr[1].show" width="50%"> |
| | | |
| | | </div> |
| | | </div> |
| | | <el-dialog title="工作经历" append-to-body="true" :visible.sync="dialogshowArr[1].show" width="50%"> |
| | | <el-form ref="workExperienceForm" :model="workExperienceForm" :rules="workExperienceRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.workExperienceForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.workExperienceForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="workExperienceForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.workExperienceForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.workExperienceForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.workExperienceForm.jobName" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="体检信息" :visible.sync="dialogshowArr[2].show" width="50%"> |
| | | <el-dialog title="体检信息" append-to-body="true" :visible.sync="dialogshowArr[2].show" width="50%"> |
| | | <el-form ref="physicalExamForm" :model="physicalExamForm" :rules="physicalExamRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.physicalExamForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.physicalExamForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="physicalExamForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="体检医院" prop="hospital"> |
| | | <el-input v-model="physicalExamForm.hospital" /> |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.physicalExamForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.physicalExamForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.physicalExamForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检日期" prop="physicalExamDate"> |
| | | <el-date-picker |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="合同信息" :visible.sync="dialogshowArr[3].show" width="50%"> |
| | | <el-dialog title="合同信息" append-to-body="true" :visible.sync="dialogshowArr[3].show" width="50%"> |
| | | <el-form ref="contractInfoForm" :model="contractInfoForm" :rules="contractInfoRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.contractInfoForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.contractInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" this-emp-base-info-form="sex"> |
| | | <el-input v-model="contractInfoForm.sex" /> |
| | | <el-select v-model="contractInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="合同签订日期" prop="signingDate"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.contractInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.contractInfoForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.contractInfoForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="合同结束日期" prop="endDate"> |
| | | <el-date-picker |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="离职当月考勤" :visible.sync="dialogshowArr[4].show" width="50%"> |
| | | <el-dialog title="离职当月考勤" append-to-body="true" :visible.sync="dialogshowArr[4].show" width="50%"> |
| | | <el-form ref="dimissionAttendForm" :model="dimissionAttendForm" :rules="dimissionAttendRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.dimissionAttendForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-this.empBaseInfoForm |
| | | <el-input |
| | | v-model="dimissionAttendForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="dimissionAttendForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="离职考勤月份" prop="attendMonth"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.dimissionAttendForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.dimissionAttendForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.dimissionAttendForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="出勤天数" prop="attendDays"> |
| | | <el-input v-model="dimissionAttendForm.attendDays" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="请假记录" :visible.sync="dialogshowArr[5].show" width="50%"> |
| | | <el-dialog title="请假记录" append-to-body="true" :visible.sync="dialogshowArr[5].show" width="50%"> |
| | | <el-form ref="leaveInfoForm" :model="leaveInfoForm" :rules="leaveInfoRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.leaveInfoForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.leaveInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="leaveInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="请假开始时间" prop="beginTime"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.leaveInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.leaveInfoForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.leaveInfoForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="请假结束时间" prop="endTime"> |
| | | <el-date-picker |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="辞职申请" :visible.sync="dialogshowArr[6].show" width="50%"> |
| | | <el-dialog title="辞职申请" append-to-body="true" :visible.sync="dialogshowArr[6].show" width="50%"> |
| | | <el-form ref="resignForm" :model="resignForm" :rules="resignRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.resignForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.resignForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="resignForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="辞职申请日期" prop="applayDate"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.resignForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.resignForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.resignForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="报备人"> |
| | | <el-input v-model="resignForm.reporter" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="失业金领取" :visible.sync="dialogshowArr[7].show" width="50%"> |
| | | <el-dialog title="失业金领取" append-to-body="true" :visible.sync="dialogshowArr[7].show" width="50%"> |
| | | <el-form ref="unemploymentForm" :model="unemploymentForm" :rules="unemploymentRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.unemploymentForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.unemploymentForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="unemploymentForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="失业金申请日期" prop="applayDate" label-width="130px"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.unemploymentForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.unemploymentForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.unemploymentForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人"> |
| | | <el-input v-model="unemploymentForm.reporter" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="社保申请" :visible.sync="dialogshowArr[8].show" width="50%"> |
| | | <el-dialog title="社保申请" append-to-body="true" :visible.sync="dialogshowArr[8].show" width="50%"> |
| | | <el-form ref="insuranceForm" :model="insuranceForm" :rules="insuranceRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.insuranceForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.insuranceForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="insuranceForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="社保申请日期" prop="applayDate"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.insuranceForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.insuranceForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.insuranceForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="申请人" prop="proposer"> |
| | | <el-input v-model="insuranceForm.proposer" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="意外险案件" :visible.sync="dialogshowArr[9].show" width="50%"> |
| | | <el-dialog title="意外险案件" append-to-body="true" :visible.sync="dialogshowArr[9].show" width="50%"> |
| | | <el-form ref="accidentCasesForm" :model="accidentCasesForm" :rules="accidentCasesRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.accidentCasesForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.accidentCasesForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="accidentCasesForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="受伤时间" prop="injuredTime"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.accidentCasesForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.accidentCasesForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.accidentCasesForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤地点"> |
| | | <el-input v-model="accidentCasesForm.injuredAddress" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="工伤案件" :visible.sync="dialogshowArr[10].show" width="50%"> |
| | | <el-dialog title="工伤案件" append-to-body="true" :visible.sync="dialogshowArr[10].show" width="50%"> |
| | | <el-form ref="occupationalForm" :model="occupationalForm" :rules="occupationalRules" label-position="right" label-width="140px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.occupationalForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.occupationalForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="occupationalForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="受伤时间" prop="injuredTime"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.occupationalForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.occupationalForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.occupationalForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤地点" prop="injuredAddress"> |
| | | <el-input v-model="occupationalForm.injuredAddress" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="劳资案件" :visible.sync="dialogshowArr[11].show" width="50%"> |
| | | <el-dialog title="劳资案件" append-to-body="true" :visible.sync="dialogshowArr[11].show" width="50%"> |
| | | <el-form ref="laborTroubleForm" :model="laborTroubleForm" :rules="laborTroubleRules" label-position="right" label-width="140px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.laborTroubleForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.laborTroubleForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="laborTroubleForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁日期" prop="arbitrationDate"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.laborTroubleForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.laborTroubleForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.laborTroubleForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁类型" prop="arbitrationType"> |
| | | <el-select v-model="laborTroubleForm.arbitrationType" placeholder="请选择仲裁类型"> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="不良记录" :visible.sync="dialogshowArr[12].show" width="50%"> |
| | | <el-dialog title="不良记录" append-to-body="true" :visible.sync="dialogshowArr[12].show" width="50%"> |
| | | <el-form ref="badRecordForm" :model="badRecordForm" :rules="badRecordRules" label-position="right" label-width="140px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.badRecordForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.badRecordForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="badRecordForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="不良记录日期" prop="badDate"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.badRecordForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.badRecordForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.badRecordForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人" prop="reporter"> |
| | | <el-input v-model="badRecordForm.reporter" /> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="备注信息" :visible.sync="dialogshowArr[13].show" width="50%"> |
| | | <el-dialog title="备注信息" append-to-body="true" :visible.sync="dialogshowArr[13].show" width="50%"> |
| | | <el-form |
| | | ref="remarkInfoForm" |
| | | :model="remarkInfoForm" |
| | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="this.empBaseInfoForm.empName" suffix-icon="el-icon-search" /> |
| | | <el-input v-model="this.remarkInfoForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="this.empBaseInfoForm.certificateNumb" |
| | | v-model="this.remarkInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="this.empBaseInfoForm.sex" /> |
| | | <el-select v-model="remarkInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="备注日期" prop="remarkDate"> |
| | | <el-date-picker |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号" prop="empNumb"> |
| | | <el-input v-model="this.empBaseInfoForm.empNumb" /> |
| | | <el-input v-model="this.remarkInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="deptName"> |
| | | <el-input v-model="this.empBaseInfoForm.deptName" /> |
| | | <el-input v-model="this.remarkInfoForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="this.empBaseInfoForm.jobName" /> |
| | | <el-input v-model="this.remarkInfoForm.jobName" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | total: 0, // 总数量 |
| | | queryParams: {}, // 查询参数 |
| | | sort: {}, // 排序 |
| | | pagination: { // 分页参数 |
| | | size: 20, |
| | | num: 1 |
| | | }, |
| | | workExperienceModal: true, |
| | | dialogshowArr: [ |
| | | { |
| | | show: false |
| | |
| | | urgencyPhone: [{ max: 30, message: '长度不超过30个字符', trigger: 'blur' }] |
| | | }, |
| | | workExperienceRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | beginDate: [{ required: true, validator: this.startDate }], |
| | | endDate: [{ required: true, validator: this.endDate }], |
| | | jobContent: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | physicalExamRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | physicalExamDate: [{ required: true, message: '请选择体检日期', trigger: 'change' }], |
| | | hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }], |
| | | physicalExamType: [{ required: true, message: '请选择体检类型', trigger: 'change' }], |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | contractInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | signingDate: [{ required: true, validator: this.startDate }], |
| | | contractStatus: [{ required: true, message: '请选择合同状态', trigger: 'change' }], |
| | | transactor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | dimissionAttendRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | attendMonth: [{ required: true, message: '请选择出勤月份', trigger: 'change' }], |
| | | deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }, { max: 100, message: '长度不超过100个字符', trigger: 'blur' }], |
| | | attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }, { pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '出勤天数精确到1位小数' }], |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | leaveInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | beginTime: [{ required: true, validator: this.startDate }], |
| | | leaveType: [{ required: true, message: '请选择请假类型', trigger: 'change' }], |
| | | endTime: [{ required: true, validator: this.endDate }], |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | resignRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | reason: [{ required: true, message: '请输入事由', trigger: 'blur' }, { max: 256, message: '长度不超过256个字符', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | | reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }] |
| | | }, |
| | | unemploymentRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | insuranceRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | insuranceGaers: [{ required: true, message: '请选择社保档位', trigger: 'change' }], |
| | |
| | | applayStatus: [{ required: true, message: '请选择申请状态', trigger: 'change' }] |
| | | }, |
| | | accidentCasesRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }], |
| | | injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }], |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | occupationalRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }], |
| | | injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | |
| | | companyCompensation: [{ required: true, message: '请输入公司赔偿总费用', trigger: 'blur' }] |
| | | }, |
| | | laborTroubleRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | arbitrationType: [{ required: true, message: '请选择仲裁类型', trigger: 'change' }], |
| | | arbitrationDate: [{ required: true, message: '请选择仲裁日期', trigger: 'change' }], |
| | | arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, { max: 1024, message: '长度不超过1024个字符', trigger: 'blur' }], |
| | |
| | | reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }] |
| | | }, |
| | | badRecordRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | badDate: [{ required: true, message: '请选择不良记录日期', trigger: 'change' }], |
| | | badContent: [{ required: true, message: '请输入不良记录描述', trigger: 'blur' }, { |
| | | max: 512, |
| | |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | remarkInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | remarkDate: [{ required: true, message: '请选择备注日期', trigger: 'change' }], |
| | | remarkContent: [{ required: true, message: '请输入备注内容', trigger: 'blur' }, |
| | | { max: 512, message: this.$t('rules.noMoreThan512'), trigger: 'blur' }] |
| | |
| | | { value: '员工', code: '2942725270000028' }], |
| | | types: '', |
| | | physicalExamData: [], |
| | | physicalExamDataselection: [], |
| | | physicalExamDatatotal: 0, // 总数量 |
| | | workExperienceData: [], |
| | | workExperienceDataselection: [], |
| | | workExperienceDatatotal: 0, // 总数量 |
| | | basicInformationData: [], |
| | | basicInformationDataselection: [], |
| | | basicInformationDatatotal: 0, // 总数量 |
| | | jobChangeData: [], |
| | | jobChangeDatatotal: 0, // 总数量 |
| | | dimissionLogData: [], |
| | | dimissionLogDatatotal: 0, // 总数量 |
| | | contractInfoData: [], |
| | | contractInfoDataselection: [], |
| | | contractInfoDatatotal: 0, // 总数量 |
| | | attendanceData: [], |
| | | attendanceDataselection: [], |
| | | attendanceDatatotal: 0, // 总数量 |
| | | leaveInfoData: [], |
| | | leaveInfoDataselection: [], |
| | | leaveInfoDatatotal: 0, // 总数量 |
| | | resignData: [], |
| | | resignDataselection: [], |
| | | resignDatatotal: 0, // 总数量 |
| | | unemploymentData: [], |
| | | unemploymentDataselection: [], |
| | | unemploymentDatatotal: 0, // 总数量 |
| | | insuranceData: [], |
| | | insuranceDataselection: [], |
| | | insuranceDatatotal: 0, // 总数量 |
| | | remarkInfoData: [], |
| | | remarkInfoDataselection: [], |
| | | remarkInfoDatatotal: 0, // 总数量 |
| | | laborTroubleData: [], |
| | | laborTroubleDataselection: [], |
| | | laborTroubleDatatotal: 0, // 总数量 |
| | | occupationalData: [], |
| | | occupationalDataselection: [], |
| | | occupationalDatatotal: 0, // 总数量 |
| | | badRecordData: [], |
| | | tableKey: 0, |
| | | badRecordDataselection: [], |
| | | badRecordDatatotal: 0, // 总数量 |
| | | accidentCasesData: [], |
| | | accidentCasesDataselection: [], |
| | | accidentCasesDatatotal: 0, // 总数量 |
| | | dimissionAttendData: [], |
| | | dimissionAttendDataselection: [], |
| | | dimissionAttendDatatotal: 0, // 总数量 |
| | | remarkInfoForm: { |
| | | remarkId: '', |
| | | empId: '', |
| | |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | fsnumShow: false, |
| | | badRecordForm: { |
| | | badId: '', |
| | | empId: '', |
| | |
| | | this.initDept() |
| | | }, |
| | | methods: { |
| | | arbitrationPayChange(e) { |
| | | this.laborTroubleForm.arbitrationPay = e.target.value |
| | | onremarkInfoDataselection(selection) { |
| | | this.remarkInfoDataselection = selection |
| | | }, |
| | | search() { |
| | | this.fetch({ |
| | | ...this.queryParams, |
| | | ...this.sort |
| | | }) |
| | | onbadRecordDataselection(selection) { |
| | | this.badRecordDataselection = selection |
| | | }, |
| | | // 公用查询 |
| | | fetch(params = {}) { |
| | | onlaborTroubleDataselection(selection) { |
| | | this.laborTroubleDataselection = selection |
| | | }, |
| | | onoccupationalDataselection(selection) { |
| | | this.occupationalDataselection = selection |
| | | }, |
| | | onaccidentCasesDataselection(selection) { |
| | | this.accidentCasesDataselection = selection |
| | | }, |
| | | oninsuranceDataselection(selection) { |
| | | this.insuranceDataselection = selection |
| | | }, |
| | | onunemploymentDataselection(selection) { |
| | | this.unemploymentDataselection = selection |
| | | }, |
| | | ondimissionAttendDataselection(selection) { |
| | | this.dimissionAttendDataselection = selection |
| | | }, |
| | | onresignDataselection(selection) { |
| | | this.resignDataselection = selection |
| | | }, |
| | | onleaveInfoDataselection(selection) { |
| | | this.leaveInfoDataselection = selection |
| | | }, |
| | | onworkExperienceDataselection(selection) { |
| | | this.workExperienceDataselection = selection |
| | | }, |
| | | onphysicalExamDataselection(selection) { |
| | | this.physicalExamDataselection = selection |
| | | }, |
| | | oncontractInfoDataselection(selection) { |
| | | this.contractInfoDataselection = selection |
| | | }, |
| | | setArchives(val) { |
| | | this.empBaseInfoForm = { ...val } |
| | | this.remarkInfoForm = { ...val } |
| | | this.laborTroubleForm = { ...val } |
| | | this.occupationalForm = { ...val } |
| | | this.accidentCasesForm = { ...val } |
| | | this.insuranceForm = { ...val } |
| | | this.unemploymentForm = { ...val } |
| | | this.resignForm = { ...val } |
| | | this.leaveInfoForm = { ...val } |
| | | this.contractInfoForm = { ...val } |
| | | this.dimissionAttendForm = { ...val } |
| | | this.physicalExamForm = { ...val } |
| | | this.workExperienceForm = { ...val } |
| | | this.badRecordForm = { ...val } |
| | | |
| | | this.initphysicalExamData() |
| | | this.initList() // 工作经历 |
| | | this.initjobChangeData() // 调岗记录 |
| | | this.initdimissionLogData() // 入离职记录 |
| | | this.initcontractInfoData() // 合同信息 |
| | | this.initleaveInfoData() // 请假记录 |
| | | this.initresignData() // 辞职申请 |
| | | this.initunemploymentData() // 失业金领取 |
| | | this.initinsuranceData() // 社保申请 |
| | | this.initremarkInfoData() // 备注 |
| | | this.initlaborTroubleData() // 劳资案件 |
| | | this.initoccupationalData() // 工伤案件 |
| | | this.initbadRecordData() // 不良记录 |
| | | this.initaccidentCasesData() // 意外险案件 |
| | | this.initdimissionAttendData() // 考勤情况 |
| | | }, |
| | | initphysicalExamData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | this.$get(this.tableUrl, { |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empPhysicalExam/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.total = data.total |
| | | this[this.tableDataName] = data.rows |
| | | this.physicalExamDatatotal = data.total |
| | | this.physicalExamData = data.rows |
| | | }) |
| | | }, |
| | | initjobChangeData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empJobChange/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.jobChangeDatatotal = data.total |
| | | this.jobChangeData = data.rows |
| | | }) |
| | | }, |
| | | initdimissionLogData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empDimissionlog/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.dimissionLogDatatotal = data.total |
| | | this.dimissionLogData = data.rows |
| | | }) |
| | | }, |
| | | initcontractInfoData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empContractInfo/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.contractInfoDatatotal = data.total |
| | | this.contractInfoData = data.rows |
| | | }) |
| | | }, |
| | | gzupdate() { |
| | | this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | }) |
| | | }, |
| | | initleaveInfoData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empLeaveInfo/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.leaveInfoDatatotal = data.total |
| | | this.leaveInfoData = data.rows |
| | | }) |
| | | }, |
| | | initresignData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empResign/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.resignDatatotal = data.total |
| | | this.resignData = data.rows |
| | | }) |
| | | }, |
| | | initunemploymentData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empUnemployment/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.unemploymentDatatotal = data.total |
| | | this.unemploymentData = data.rows |
| | | }) |
| | | }, |
| | | initinsuranceData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empInsurance/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | debugger |
| | | const data = r.data.data |
| | | this.insuranceDatatotal = data.total |
| | | this.insuranceData = data.rows |
| | | }) |
| | | }, |
| | | initremarkInfoData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empRemarkInfo/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.remarkInfoDatatotal = data.total |
| | | this.remarkInfoData = data.rows |
| | | }) |
| | | }, |
| | | initlaborTroubleData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empLaborTrouble/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.laborTroubleDatatotal = data.total |
| | | this.laborTroubleData = data.rows |
| | | }) |
| | | }, |
| | | initoccupationalData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empOccupational/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.toccupationalDataotal = data.total |
| | | this.occupationalData = data.rows |
| | | }) |
| | | }, |
| | | initbadRecordData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empBadRecord/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.badRecordDatatotal = data.total |
| | | this.badRecordData = data.rows |
| | | }) |
| | | }, |
| | | initaccidentCasesData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empAccidentCases/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.accidentCasesDatatotal = data.total |
| | | this.accidentCasesData = data.rows |
| | | }) |
| | | }, |
| | | initdimissionAttendData(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empDimissionAttend/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.dimissionAttendDatatotal = data.total |
| | | this.dimissionAttendData = data.rows |
| | | }) |
| | | }, |
| | | initList(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | params.empNumb = this.empBaseInfoForm.empNumb |
| | | params.delFlag = '0' |
| | | this.$get('hr/empWorkExperience/list', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.workExperienceDatatotal = data.total |
| | | this.workExperienceData = data.rows |
| | | }) |
| | | }, |
| | | arbitrationPayChange(e) { |
| | | this.laborTroubleForm.arbitrationPay = e.target.value |
| | | }, |
| | | putPhysicalExam(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanPhysicalExam() |
| | | this.selectPhysicalExam() |
| | | this.initphysicalExamData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empPhysicalExam', { ...this.physicalExamForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanPhysicalExam() |
| | | this.selectPhysicalExam() |
| | | this.initphysicalExamData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanPhysicalExam() { |
| | | this.physicalExamForm.hospital = '' |
| | | this.physicalExamForm.physicalExamDate = '' |
| | | this.physicalExamForm.physicalExamType = '' |
| | | this.physicalExamForm.bloodPressure = '' |
| | | this.physicalExamForm.transaminase = '' |
| | | this.physicalExamForm.ecg = '' |
| | | this.physicalExamForm.conclusion = '' |
| | | this.physicalExamForm.reviewRecord = '' |
| | | this.physicalExamForm.remark = '' |
| | | }, |
| | | putContractInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanContractInfo() |
| | | this.selectContractInfo() |
| | | this.initcontractInfoData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empContractInfo', { ...this.contractInfoForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanContractInfo() |
| | | this.selectContractInfo() |
| | | this.initcontractInfoData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanContractInfo() { |
| | | this.contractInfoForm.contractId = '' |
| | | this.contractInfoForm.empId = '' |
| | | this.contractInfoForm.empNumb = '' |
| | | this.contractInfoForm.empName = '' |
| | | this.contractInfoForm.certificateNumb = '' |
| | | this.contractInfoForm.sex = '' |
| | | this.contractInfoForm.deptId = '' |
| | | this.contractInfoForm.deptName = '' |
| | | this.contractInfoForm.JobId = '' |
| | | this.contractInfoForm.jobName = '' |
| | | this.contractInfoForm.beginDate = '' |
| | | this.contractInfoForm.endDate = '' |
| | | this.contractInfoForm.contractStatus = '' |
| | | this.contractInfoForm.contractPeriod = '' |
| | | this.contractInfoForm.transactor = '' |
| | | this.contractInfoForm.signingDate = '' |
| | | this.contractInfoForm.remark = '' |
| | | this.contractInfoForm.createTime = '' |
| | | this.contractInfoForm.creator = '' |
| | | this.contractInfoForm.modifyTime = '' |
| | | this.contractInfoForm.modifier = '' |
| | | this.contractInfoForm.delFlag = '' |
| | | this.contractInfoForm.version = '' |
| | | }, |
| | | putDimissionAttend(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanDimissionAttend() |
| | | this.selectDimissionAttend() |
| | | this.initdimissionAttendData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empDimissionAttend', { ...this.dimissionAttendForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanDimissionAttend() |
| | | this.selectDimissionAttend() |
| | | this.initdimissionAttendData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanDimissionAttend() { |
| | | this.dimissionAttendForm.dimissionAttendId = '' |
| | | this.dimissionAttendForm.empId = '' |
| | | this.dimissionAttendForm.empNumb = '' |
| | | this.dimissionAttendForm.empName = '' |
| | | this.dimissionAttendForm.sex = '' |
| | | this.dimissionAttendForm.certificateNumb = '' |
| | | this.dimissionAttendForm.deptId = '' |
| | | this.dimissionAttendForm.deptName = '' |
| | | this.dimissionAttendForm.JobId = '' |
| | | this.dimissionAttendForm.jobName = '' |
| | | this.dimissionAttendForm.attendMonth = '' |
| | | this.dimissionAttendForm.overtimeHour = '' |
| | | this.dimissionAttendForm.overtimeDay = '' |
| | | this.dimissionAttendForm.leaveDay = '' |
| | | this.dimissionAttendForm.deduct = '' |
| | | this.dimissionAttendForm.absenteeism = '' |
| | | this.dimissionAttendForm.createTime = '' |
| | | this.dimissionAttendForm.creator = '' |
| | | this.dimissionAttendForm.modifyTime = '' |
| | | this.dimissionAttendForm.modifier = '' |
| | | this.dimissionAttendForm.delFlag = '' |
| | | this.dimissionAttendForm.version = '' |
| | | this.dimissionAttendForm.remark = '' |
| | | }, |
| | | putLeaveInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanLeaveInfo() |
| | | this.selectLeaveInfo() |
| | | this.initleaveInfoData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empLeaveInfo', { ...this.leaveInfoForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanLeaveInfo() |
| | | this.selectLeaveInfo() |
| | | this.initleaveInfoData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanLeaveInfo() { |
| | | this.leaveInfoForm.leaveId = '' |
| | | this.leaveInfoForm.empId = '' |
| | | this.leaveInfoForm.empNumb = '' |
| | | this.leaveInfoForm.empName = '' |
| | | this.leaveInfoForm.sex = '' |
| | | this.leaveInfoForm.certificateNumb = '' |
| | | this.leaveInfoForm.deptId = '' |
| | | this.leaveInfoForm.deptName = '' |
| | | this.leaveInfoForm.JobId = '' |
| | | this.leaveInfoForm.jobName = '' |
| | | this.leaveInfoForm.beginTime = '' |
| | | this.leaveInfoForm.endTime = '' |
| | | this.leaveInfoForm.leaveType = '' |
| | | this.leaveInfoForm.leaveDay = '' |
| | | this.leaveInfoForm.reporter = '' |
| | | this.leaveInfoForm.returnDate = '' |
| | | this.leaveInfoForm.createTime = '' |
| | | this.leaveInfoForm.creator = '' |
| | | this.leaveInfoForm.modifyTime = '' |
| | | this.leaveInfoForm.modifier = '' |
| | | this.leaveInfoForm.delFlag = '' |
| | | this.leaveInfoForm.version = '' |
| | | this.leaveInfoForm.remark = '' |
| | | }, |
| | | putResign(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanResign() |
| | | this.selectResign() |
| | | this.initresignData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empResign', { ...this.resignForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanResign() |
| | | this.selectResign() |
| | | this.initresignData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanResign() { |
| | | this.resignForm.resignId = '' |
| | | this.resignForm.empId = '' |
| | | this.resignForm.empNumb = '' |
| | | this.resignForm.empName = '' |
| | | this.resignForm.sex = '' |
| | | this.resignForm.certificateNumb = '' |
| | | this.resignForm.deptId = '' |
| | | this.resignForm.deptName = '' |
| | | this.resignForm.JobId = '' |
| | | this.resignForm.jobName = '' |
| | | this.resignForm.applayDate = '' |
| | | this.resignForm.reporter = '' |
| | | this.resignForm.reason = '' |
| | | this.resignForm.createTime = '' |
| | | this.resignForm.creator = '' |
| | | this.resignForm.modifyTime = '' |
| | | this.resignForm.modifier = '' |
| | | this.resignForm.delFlag = '' |
| | | this.resignForm.version = '' |
| | | this.resignForm.remark = '' |
| | | }, |
| | | putUnemployment(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanUnemployment() |
| | | this.selectUnemployment() |
| | | this.initunemploymentData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empUnemployment', { ...this.unemploymentForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanUnemployment() |
| | | this.selectUnemployment() |
| | | this.initunemploymentData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanUnemployment() { |
| | | this.unemploymentForm.unemploymentId = '' |
| | | this.unemploymentForm.empId = '' |
| | | this.unemploymentForm.empNumb = '' |
| | | this.unemploymentForm.empName = '' |
| | | this.unemploymentForm.sex = '' |
| | | this.unemploymentForm.certificateNumb = '' |
| | | this.unemploymentForm.deptId = '' |
| | | this.unemploymentForm.deptName = '' |
| | | this.unemploymentForm.JobId = '' |
| | | this.unemploymentForm.jobName = '' |
| | | this.unemploymentForm.applayDate = '' |
| | | this.unemploymentForm.applayReason = '' |
| | | this.unemploymentForm.reporter = '' |
| | | this.unemploymentForm.auditor = '' |
| | | this.unemploymentForm.remark = '' |
| | | this.unemploymentForm.createTime = '' |
| | | this.unemploymentForm.creator = '' |
| | | this.unemploymentForm.modifyTime = '' |
| | | this.unemploymentForm.modifier = '' |
| | | this.unemploymentForm.delFlag = '' |
| | | this.unemploymentForm.version = '' |
| | | }, |
| | | putInsurance(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanInsurance() |
| | | this.selectInsurance() |
| | | this.initinsuranceData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empInsurance', { ...this.insuranceForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanInsurance() |
| | | this.selectInsurance() |
| | | this.initinsuranceData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanInsurance() { |
| | | this.insuranceForm.insuranceId = '' |
| | | this.insuranceForm.empId = '' |
| | | this.insuranceForm.empNumb = '' |
| | | this.insuranceForm.empName = '' |
| | | this.insuranceForm.sex = '' |
| | | this.insuranceForm.certificateNumb = '' |
| | | this.insuranceForm.deptId = '' |
| | | this.insuranceForm.deptName = '' |
| | | this.insuranceForm.JobId = '' |
| | | this.insuranceForm.jobName = '' |
| | | this.insuranceForm.applayDate = '' |
| | | this.insuranceForm.proposer = '' |
| | | this.insuranceForm.insuranceGaers = '' |
| | | this.insuranceForm.reportStatus = '' |
| | | this.insuranceForm.applayStatus = '' |
| | | this.insuranceForm.auditor = '' |
| | | this.insuranceForm.createTime = '' |
| | | this.insuranceForm.creator = '' |
| | | this.insuranceForm.modifyTime = '' |
| | | this.insuranceForm.modifier = '' |
| | | this.insuranceForm.delFlag = '' |
| | | this.insuranceForm.version = '' |
| | | this.insuranceForm.remark = '' |
| | | }, |
| | | putAccidentCases(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanAccidentCases() |
| | | this.selectAccidentCases() |
| | | this.initaccidentCasesData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empAccidentCases', { ...this.accidentCasesForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanAccidentCases() |
| | | this.selectAccidentCases() |
| | | this.initaccidentCasesData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanAccidentCases() { |
| | | this.accidentCasesForm.accidentId = '' |
| | | this.accidentCasesForm.empId = '' |
| | | this.accidentCasesForm.empNumb = '' |
| | | this.accidentCasesForm.empName = '' |
| | | this.accidentCasesForm.sex = '' |
| | | this.accidentCasesForm.certificateNumb = '' |
| | | this.accidentCasesForm.deptId = '' |
| | | this.accidentCasesForm.deptName = '' |
| | | this.accidentCasesForm.JobId = '' |
| | | this.accidentCasesForm.jobName = '' |
| | | this.accidentCasesForm.injuredTime = '' |
| | | this.accidentCasesForm.injuredAddress = '' |
| | | this.accidentCasesForm.injuredPart = '' |
| | | this.accidentCasesForm.injuredDiacrisis = '' |
| | | this.accidentCasesForm.injuredDescribe = '' |
| | | this.accidentCasesForm.hospitalName = '' |
| | | this.accidentCasesForm.treatmentName = '' |
| | | this.accidentCasesForm.hospitalizatioFlag = '' |
| | | this.accidentCasesForm.bedNumb = '' |
| | | this.accidentCasesForm.reprotTime = '' |
| | | this.accidentCasesForm.submitTime = '' |
| | | this.accidentCasesForm.sbumitBy = '' |
| | | this.accidentCasesForm.expensesFee = '' |
| | | this.accidentCasesForm.expenseReport = '' |
| | | this.accidentCasesForm.innsureFee = '' |
| | | this.accidentCasesForm.hrDoDate = '' |
| | | this.accidentCasesForm.settleDate = '' |
| | | this.accidentCasesForm.settleStatus = '' |
| | | this.accidentCasesForm.remark = '' |
| | | this.accidentCasesForm.createTime = '' |
| | | this.accidentCasesForm.creator = '' |
| | | this.accidentCasesForm.modifyTime = '' |
| | | this.accidentCasesForm.modifier = '' |
| | | this.accidentCasesForm.delFlag = '' |
| | | this.accidentCasesForm.version = '' |
| | | }, |
| | | putOccupational(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanOccupational() |
| | | this.selectOccupational() |
| | | this.initoccupationalData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empOccupational', { ...this.occupationalForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanOccupational() |
| | | this.selectOccupational() |
| | | this.initoccupationalData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanOccupational() { |
| | | this.occupationalForm.occupationalId = '' |
| | | this.occupationalForm.empId = '' |
| | | this.occupationalForm.empNumb = '' |
| | | this.occupationalForm.empName = '' |
| | | this.occupationalForm.sex = '' |
| | | this.occupationalForm.certificateNumb = '' |
| | | this.occupationalForm.deptId = '' |
| | | this.occupationalForm.deptName = '' |
| | | this.occupationalForm.JobId = '' |
| | | this.occupationalForm.jobName = '' |
| | | this.occupationalForm.injuredTime = '' |
| | | this.occupationalForm.injuredAddress = '' |
| | | this.occupationalForm.injuredPart = '' |
| | | this.occupationalForm.injuredDiacrisis = '' |
| | | this.occupationalForm.injuredDescribe = '' |
| | | this.occupationalForm.hospitalName = '' |
| | | this.occupationalForm.treatmentName = '' |
| | | this.occupationalForm.hospitalizatioFlag = '' |
| | | this.occupationalForm.bedNumb = '' |
| | | this.occupationalForm.reportTime = '' |
| | | this.occupationalForm.submitTime = '' |
| | | this.occupationalForm.sbumitBy = '' |
| | | this.occupationalForm.hrDoDate = '' |
| | | this.occupationalForm.expensesFee = '' |
| | | this.occupationalForm.eliminate = '' |
| | | this.occupationalForm.socialDisability = '' |
| | | this.occupationalForm.socialAllowance = '' |
| | | this.occupationalForm.socialSubsidy = '' |
| | | this.occupationalForm.socialCompensation = '' |
| | | this.occupationalForm.compensated = '' |
| | | this.occupationalForm.otherCompensated = '' |
| | | this.occupationalForm.companylDisability = '' |
| | | this.occupationalForm.companyAllowance = '' |
| | | this.occupationalForm.companySubsidy = '' |
| | | this.occupationalForm.companyCompensation = '' |
| | | this.occupationalForm.jobSubsidy = '' |
| | | this.occupationalForm.settleStatus = '' |
| | | this.occupationalForm.createTime = '' |
| | | this.occupationalForm.creator = '' |
| | | this.occupationalForm.modifyTime = '' |
| | | this.occupationalForm.modifier = '' |
| | | this.occupationalForm.delFlag = '' |
| | | this.occupationalForm.version = '' |
| | | this.occupationalForm.remark = '' |
| | | }, |
| | | putWorkExperience(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanWorkExperience() |
| | | this.selectWorkExperience() |
| | | this.initList() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanWorkExperience() |
| | | this.selectWorkExperience() |
| | | this.initList() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanWorkExperience() { |
| | | this.workExperienceForm.workUnit = '' |
| | | this.workExperienceForm.beginDate = '' |
| | | this.workExperienceForm.endDate = '' |
| | | this.workExperienceForm.jobContent = '' |
| | | this.workExperienceForm.createTime = '' |
| | | this.workExperienceForm.creator = '' |
| | | this.workExperienceForm.modifyTime = '' |
| | | this.workExperienceForm.modifier = '' |
| | | this.workExperienceForm.delFlag = '' |
| | | this.workExperienceForm.version = '' |
| | | }, |
| | | putLaborTrouble(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanLaborTrouble() |
| | | this.selectLaborTrouble() |
| | | this.initlaborTroubleData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empLaborTrouble', { ...this.laborTroubleForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanLaborTrouble() |
| | | this.selectLaborTrouble() |
| | | this.initlaborTroubleData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanLaborTrouble() { |
| | | this.laborTroubleForm.arbitrationId = '' |
| | | this.laborTroubleForm.empId = '' |
| | | this.laborTroubleForm.empNumb = '' |
| | | this.laborTroubleForm.empName = '' |
| | | this.laborTroubleForm.sex = '' |
| | | this.laborTroubleForm.certificateNumb = '' |
| | | this.laborTroubleForm.deptId = '' |
| | | this.laborTroubleForm.deptName = '' |
| | | this.laborTroubleForm.JobId = '' |
| | | this.laborTroubleForm.jobName = '' |
| | | this.laborTroubleForm.arbitrationDate = '' |
| | | this.laborTroubleForm.arbitrationType = '' |
| | | this.laborTroubleForm.arbitrationReason = '' |
| | | this.laborTroubleForm.reporter = '' |
| | | this.laborTroubleForm.arbitrationPay = '' |
| | | this.laborTroubleForm.arbitrationStatus = '' |
| | | this.laborTroubleForm.settleDate = '' |
| | | this.laborTroubleForm.createTime = '' |
| | | this.laborTroubleForm.creator = '' |
| | | this.laborTroubleForm.modifyTime = '' |
| | | this.laborTroubleForm.modifier = '' |
| | | this.laborTroubleForm.delFlag = '' |
| | | this.laborTroubleForm.version = '' |
| | | this.laborTroubleForm.remark = '' |
| | | }, |
| | | putBadRecord(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanBadRecord() |
| | | this.selectBadRecord() |
| | | this.initbadRecordData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empBadRecord', { ...this.badRecordForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanBadRecord() |
| | | this.selectBadRecord() |
| | | this.initbadRecordData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanBadRecord() { |
| | | this.badRecordForm.badId = '' |
| | | this.badRecordForm.empId = '' |
| | | this.badRecordForm.empName = '' |
| | | this.badRecordForm.empNumb = '' |
| | | this.badRecordForm.sex = '' |
| | | this.badRecordForm.certificateNumb = '' |
| | | this.badRecordForm.deptId = '' |
| | | this.badRecordForm.deptName = '' |
| | | this.badRecordForm.JobId = '' |
| | | this.badRecordForm.jobName = '' |
| | | this.badRecordForm.badDate = '' |
| | | this.badRecordForm.reporter = '' |
| | | this.badRecordForm.badContent = '' |
| | | this.badRecordForm.createTime = '' |
| | | this.badRecordForm.creator = '' |
| | | this.badRecordForm.modifyTime = '' |
| | | this.badRecordForm.modifier = '' |
| | | this.badRecordForm.delFlag = '' |
| | | this.badRecordForm.version = '' |
| | | this.badRecordForm.remark = '' |
| | | }, |
| | | putRemarkInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | type: 'success' |
| | | }) |
| | | this.cleanRemarkInfo() |
| | | this.selectRemarkInfo() |
| | | this.initremarkInfoData() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empRemarkInfo', { ...this.remarkInfoForm }).then(() => { |
| | |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanRemarkInfo() |
| | | this.selectRemarkInfo() |
| | | this.initremarkInfoData() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | cleanRemarkInfo() { |
| | | this.remarkInfoForm.remarkId = '' |
| | | this.remarkInfoForm.empId = '' |
| | | this.remarkInfoForm.empNumb = '' |
| | | this.remarkInfoForm.empName = '' |
| | | this.remarkInfoForm.sex = '' |
| | | this.remarkInfoForm.certificateNumb = '' |
| | | this.remarkInfoForm.JobId = '' |
| | | this.remarkInfoForm.deptId = '' |
| | | this.remarkInfoForm.deptName = '' |
| | | this.remarkInfoForm.jobName = '' |
| | | this.remarkInfoForm.remarkContent = '' |
| | | this.remarkInfoForm.remarkDate = '' |
| | | this.remarkInfoForm.createTime = '' |
| | | this.remarkInfoForm.creator = '' |
| | | this.remarkInfoForm.modifyTime = '' |
| | | this.remarkInfoForm.modifier = '' |
| | | this.remarkInfoForm.delFlag = '' |
| | | this.remarkInfoForm.version = '' |
| | | }, |
| | | dialogIsShow() { |
| | | this.workExperienceModal = false |
| | | this.isAdd = true |
| | | this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex] |
| | | .show |
| | |
| | | gzadd(index) { |
| | | this.isAdd = true |
| | | this.thisShowIndex = index |
| | | this.dialogshowArr[index].show = !this.dialogshowArr[index].show |
| | | this.dialogshowArr[index].show = true |
| | | }, |
| | | gzdelete(tables, selection, Id) { |
| | | debugger |
| | | if (!selection.length) { |
| | | this.$message({ |
| | | message: this.$t('tips.noDataSelected'), |
| | | type: 'warning' |
| | | }) |
| | | return |
| | | } |
| | | this.$confirm(this.$t('tips.confirmDelete'), this.$t('common.tips'), { |
| | | confirmButtonText: this.$t('common.confirm'), |
| | | cancelButtonText: this.$t('common.cancel'), |
| | | type: 'warning' |
| | | }).then(() => { |
| | | const Ids = [] |
| | | // eslint-disable-next-line no-unused-vars |
| | | let urls = '' |
| | | selection.forEach((c) => { |
| | | if (selection === 'onremarkInfoDataselection') { |
| | | Ids.push(c.remarkId) |
| | | urls = 'empRemarkInfo' |
| | | } else if (selection === 'onbadRecordDataselection') { |
| | | Ids.push(c.badId) |
| | | urls = 'empBadRecord' |
| | | } else if (selection === 'laborTroubleDataselection') { |
| | | Ids.push(c.arbitrationId) |
| | | urls = 'empLaborTrouble' |
| | | } else if (selection === 'occupationalDataselection') { |
| | | Ids.push(c.occupationalId) |
| | | urls = 'empOccupational' |
| | | } else if (selection === 'accidentCasesDataselection') { |
| | | Ids.push(c.accidentId) |
| | | urls = 'empAccidentCases' |
| | | } else if (selection === 'insuranceDataselection') { |
| | | Ids.push(c.insuranceId) |
| | | urls = 'empInsurance' |
| | | } else if (selection === 'unemploymentDataselection') { |
| | | Ids.push(c.unemploymentId) |
| | | urls = 'empUnemployment' |
| | | } else if (selection === 'dimissionAttendDataselection') { |
| | | Ids.push(c.dimissionAttendId) |
| | | urls = 'empDimissionAttend' |
| | | } else if (selection === 'resignDataselection') { |
| | | Ids.push(c.resignId) |
| | | urls = 'empResign' |
| | | } else if (selection === 'leaveInfoDataselection') { |
| | | Ids.push(c.leaveId) |
| | | urls = 'empLeaveInfo' |
| | | } else if (selection === 'contractInfoDataselection') { |
| | | Ids.push(c.contractId) |
| | | urls = 'empContractInfo' |
| | | } else if (selection === 'physicalExamDataselection') { |
| | | Ids.push(c.physicalExamId) |
| | | urls = 'empPhysicalExam' |
| | | } else if (selection === 'workExperienceDataselection') { |
| | | Ids.push(c.workExperienceId) |
| | | urls = 'empWorkExperience' |
| | | } |
| | | }) |
| | | this.delete(Ids, urls, selection) |
| | | }).catch(() => { |
| | | this.clearSelections(tables) |
| | | }) |
| | | }, |
| | | clearSelections(tabless) { |
| | | this.$refs.tabless.clearSelection() |
| | | }, |
| | | delete(ids, urls, selection) { |
| | | this.loading = true |
| | | this.$delete(`hr/${urls}/${ids}`).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.deleteSuccess'), |
| | | type: 'success' |
| | | }) |
| | | if (selection === 'onremarkInfoDataselection') { |
| | | this.initremarkInfoData() |
| | | } else if (selection === 'onbadRecordDataselection') { |
| | | this.initbadRecordData() |
| | | } else if (selection === 'laborTroubleDataselection') { |
| | | this.initlaborTroubleData() |
| | | } else if (selection === 'occupationalDataselection') { |
| | | this.initoccupationalData() |
| | | } else if (selection === 'accidentCasesDataselection') { |
| | | this.initaccidentCasesData() |
| | | } else if (selection === 'insuranceDataselection') { |
| | | this.initinsuranceData() |
| | | } else if (selection === 'unemploymentDataselection') { |
| | | this.initunemploymentData() |
| | | } else if (selection === 'dimissionAttendDataselection') { |
| | | this.initdimissionAttendData() |
| | | } else if (selection === 'resignDataselection') { |
| | | this.initresignData() |
| | | } else if (selection === 'leaveInfoDataselection') { |
| | | this.initleaveInfoData() |
| | | } else if (selection === 'contractInfoDataselection') { |
| | | this.initcontractInfoData() |
| | | } else if (selection === 'physicalExamDataselection') { |
| | | this.initphysicalExamData() |
| | | } else if (selection === 'workExperienceDataselection') { |
| | | this.initList() |
| | | } |
| | | }) |
| | | }, |
| | | initDept() { |
| | | this.$get('system/dept').then((r) => { |
| | |
| | | remark: '' |
| | | } |
| | | }, |
| | | setArchives(val) { |
| | | this.empBaseInfoForm = { ...val } |
| | | singleDelete(row, names) { |
| | | let ids = '' |
| | | let urls = '' |
| | | if (names === 'onremarkInfoDataselection') { |
| | | ids = row.remarkId |
| | | urls = 'empRemarkInfo' |
| | | } else if (names === 'onbadRecordDataselection') { |
| | | ids = row.badId |
| | | urls = 'empBadRecord' |
| | | } else if (names === 'laborTroubleDataselection') { |
| | | ids = row.arbitrationId |
| | | urls = 'empLaborTrouble' |
| | | } else if (names === 'occupationalDataselection') { |
| | | ids = row.occupationalId |
| | | urls = 'empOccupational' |
| | | } else if (names === 'accidentCasesDataselection') { |
| | | ids = row.accidentId |
| | | urls = 'empAccidentCases' |
| | | } else if (names === 'insuranceDataselection') { |
| | | ids = row.insuranceId |
| | | urls = 'empInsurance' |
| | | } else if (names === 'unemploymentDataselection') { |
| | | ids = row.unemploymentId |
| | | urls = 'empUnemployment' |
| | | } else if (names === 'dimissionAttendDataselection') { |
| | | ids = row.dimissionAttendId |
| | | urls = 'empDimissionAttend' |
| | | } else if (names === 'resignDataselection') { |
| | | ids = row.resignId |
| | | urls = 'empResign' |
| | | } else if (names === 'leaveInfoDataselection') { |
| | | ids = row.leaveId |
| | | urls = 'empLeaveInfo' |
| | | } else if (names === 'contractInfoDataselection') { |
| | | ids = row.contractId |
| | | urls = 'empContractInfo' |
| | | } else if (names === 'physicalExamDataselection') { |
| | | ids = row.physicalExamId |
| | | urls = 'empPhysicalExam' |
| | | } else if (names === 'workExperienceDataselection') { |
| | | ids = row.workExperienceId |
| | | urls = 'empWorkExperience' |
| | | } |
| | | this.delete(ids, urls, names) |
| | | }, |
| | | submitForm() { |
| | | this.$refs.form.validate((valid) => { |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .dadetails{ |
| | | width: 100px; |
| | | width: 200px; |
| | | padding: 10px ; |
| | | box-sizing: border-box; |
| | | .jbxxImg{ |
| | | width: 80px; |
| | | width: 100px; |
| | | height: 80px; |
| | | } |
| | | .title-da{ |
| | | margin-left: -102px; |
| | | text-align: center; |
| | | padding: 10px; |
| | | padding-bottom: 0px; |
| | | margin-bottom: -10px; |
| | | padding-bottom: 7px; |
| | | margin-bottom: 19px; |
| | | } |
| | | ul{ |
| | | padding: 0px; |
| | |
| | | .jbxxTitle{ |
| | | padding: 0px 10px 10px 10px; |
| | | } |
| | | .gzjl{ |
| | | height: 1200px; |
| | | } |
| | | .el-table__header{ |
| | | width: 100%; |
| | | } |
| | | .jbxx{ |
| | | height: 1000px; |
| | | /deep/.el-form-item{ |
| | | display: flex; |
| | | } |