| | |
| | | <span :class="thisShowIndex===3?'selectedTimeline':''">合同信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[4].show, 4)"> |
| | | <span :class="thisShowIndex===4?'selectedTimeline':''">考勤情况</span> |
| | | <span :class="thisShowIndex===4?'selectedTimeline':''">离职当月考勤</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[5].show, 5)"> |
| | | <span :class="thisShowIndex===5?'selectedTimeline':''">请假记录</span> |
| | |
| | | <el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="120" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="120" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="120" /> |
| | | <el-table-column prop="certificateNumb" 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="returnDate" label="到岗时间" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="beginTime" label="开始时间" width="150" /> |
| | | <el-table-column prop="endTime" label="结束时间" width="150" /> |
| | | <el-table-column prop="leaveDay" label="请假天数" width="100" /> |
| | | <el-table-column prop="leaveTypeName" label="请假类型" width="120" /> |
| | | <el-table-column prop="returnDate" label="到岗时间" width="150" /> |
| | | <el-table-column prop="reporter" label="报备人" width="120" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[6].show" ref="resignTable" :data="resignData" style="width: 100%;"> |
| | |
| | | <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="arbitrationTypeName" label="仲裁类型" width="180" /> |
| | | <el-table-column prop="arbitrationReason" label="仲裁事由" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | |
| | | :on-change="handlePictureCardPreview" |
| | | :auto-upload="false" |
| | | > |
| | | <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过4MB</div> |
| | | <img v-if="empBaseInfoImageUrl" :src="empBaseInfoImageUrl" class="avatar"> |
| | | <i v-else class="el-icon-plus avatar-uploader-icon" /> |
| | | </el-upload> |
| | |
| | | > |
| | | <el-option label="普通体检" value="1" /> |
| | | <el-option label="员工体检" value="2" /> |
| | | <el-option label="入职体检" value="03" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="转氨酶" prop="transaminase"> |
| | |
| | | |
| | | <el-form-item label="请假类型" prop="leaveType"> |
| | | <el-select v-model="leaveInfoForm.leaveType" placeholder="请选择请假类型"> |
| | | <el-option label="事假" value="1" /> |
| | | <el-option label="病假" value="2" /> |
| | | <el-option label="事假" value="05" /> |
| | | <el-option label="病假" value="06" /> |
| | | <el-option label="公假" value="07" /> |
| | | <el-option label="婚假" value="08" /> |
| | | <el-option label="孕假" value="09" /> |
| | | <el-option label="产假" value="10" /> |
| | | <el-option label="陪产假" value="11" /> |
| | | <el-option label="探亲假" value="12" /> |
| | | <el-option label="探配偶假" value="13" /> |
| | | <el-option label="丧假" value="14" /> |
| | | <el-option label="工伤假" value="15" /> |
| | | <el-option label="节育假" value="16" /> |
| | | <el-option label="年休假" value="17" /> |
| | | <el-option label="其它假" value="18" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="applayStatus"> |
| | | <el-select v-model="insuranceForm.applayStatus" placeholder="请选择状态"> |
| | | <el-option label="未申请" value="1" /> |
| | | <el-option label="已申请" value="2" /> |
| | | <el-option label="未申请" value="0" /> |
| | | <el-option label="已申请" value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="是否已经报告"> |
| | | <el-select v-model="insuranceForm.reportStatus" placeholder="是否已经报告"> |
| | | <el-option label="未报告" value="1" /> |
| | | <el-option label="已报告" value="2" /> |
| | | <el-option label="未报告" value="0" /> |
| | | <el-option label="已报告" value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="审批人"> |
| | |
| | | empId: '', |
| | | customerId: '', |
| | | archivesNumb: '', |
| | | deptId: '', |
| | | deptId: '1', |
| | | deptName: '', |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '1', |
| | | JobId: '', |
| | | jobName: '', |
| | | empType: '1', |
| | | empType: '01', |
| | | certificateType: '', |
| | | certificateNumb: '', |
| | | nation: '01', |
| | |
| | | // var suffixIndex=fileName.lastIndexOf(".") |
| | | // var suffix=fileName.substring(suffixIndex+1).toUpperCase() |
| | | var suffix = fileName.substring(fileName.lastIndexOf('.') + 1).toUpperCase() |
| | | if (suffix === 'JPG' || suffix === 'JPEG' || suffix === 'PNG') { |
| | | if (suffix === 'JPG' || suffix === 'PNG') { |
| | | this.preView(this.empBaseInfoImageUrl) |
| | | } else { |
| | | this.$message.error('文件类型不正确,请重新上传!') |
| | | this.$message.error('只能上传jpg/png文件,且不超过4MB,请重新上传!') |
| | | } |
| | | } else { |
| | | this.$message.error('图片大小超过4M,请重新上传') |
| | |
| | | }) |
| | | this.selectEmpBase() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 1: |
| | |
| | | type: 'success' |
| | | }) |
| | | this.selectWorkExperience() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | }) |
| | | this.selectPhysicalExam() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 3: |
| | |
| | | type: 'success' |
| | | }) |
| | | this.selectContractInfo() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | }) |
| | | this.selectLeaveInfo() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 6: |
| | |
| | | type: 'success' |
| | | }) |
| | | this.selectResign() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | }) |
| | | this.selectUnemployment() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 8: |
| | |
| | | type: 'success' |
| | | }) |
| | | this.selectInsurance() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | }) |
| | | this.selectAccidentCases() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 10: |
| | |
| | | type: 'success' |
| | | }) |
| | | this.selectOccupational() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | }) |
| | | this.selectLaborTrouble() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 12: |
| | |
| | | }) |
| | | this.selectBadRecord() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 13: |
| | |
| | | type: 'success' |
| | | }) |
| | | this.selectBadRecord() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 1: |
| | |
| | | this.tableDataName = 'workExperienceData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 3: |
| | |
| | | this.tableDataName = 'contractInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 5: |
| | |
| | | this.tableDataName = 'leaveInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 7: |
| | |
| | | this.tableDataName = 'unemploymentData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 9: |
| | |
| | | this.tableDataName = 'accidentCasesData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 11: |
| | |
| | | this.tableDataName = 'laborTroubleData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 13: |
| | |
| | | this.tableDataName = 'remarkInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | |
| | | this.empBaseInfoForm.education = row.education |
| | | this.empBaseInfoForm.seniority = row.seniority |
| | | this.empBaseInfoForm.nativePlace = row.nativePlace |
| | | this.empBaseInfoForm.nativePlaceName = row.nativePlaceName |
| | | this.empBaseInfoForm.censusAddress = row.censusAddress |
| | | this.empBaseInfoForm.currentAddress = row.currentAddress |
| | | this.empBaseInfoForm.guardNumb = row.guardNumb |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | 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 = '' |