| | |
| | | <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> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="" label="照片" width="60" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="empName" label="姓名" width="100" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="100" /> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="100" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="workUnit" label="工作单位" width="240" /> |
| | | <el-table-column prop="beginDate" label="开始日期" width="100" /> |
| | | <el-table-column prop="endDate" label="结束日期" width="100" /> |
| | |
| | | <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="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="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="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="jobName" label="岗位名" width="180" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="applayDate" label="辞职申请日期" width="180" /> |
| | | <el-table-column prop="reason" label="辞职事由" width="180" /> |
| | | <el-table-column prop="reporter" 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="社保档位" width="250"> |
| | | <template slot-scope="{row}"> |
| | | {{ transinsuranceGaers(row.insuranceGaers) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="reportStatus " label="是否已报告" width="180"> |
| | | <template slot-scope="{row}"> |
| | | {{ row.reportStatus === 0?'未报告':'已报告' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="applayStatus" label="状态"> |
| | | <template slot-scope="{row}"> |
| | | {{ row.applayStatus === 0?'未申请':'已申请' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="auditor" label="审核人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="280" /> |
| | | </el-table> |
| | |
| | | <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="是否住院" width="180"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.hospitalizatioFlag ===1?'已住院':'未住院' }} |
| | | </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="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="是否住院" width="180"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.hospitalizatioFlag ===1?'已住院':'未住院' }} |
| | | </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="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" /> |
| | |
| | | <el-upload |
| | | class="avatar-uploader" |
| | | action="#" |
| | | accept=".jpg, .jpeg, .png" |
| | | :show-file-list="false" |
| | | auto-upload="false" |
| | | :on-success="handleAvatarSuccess" |
| | | :on-change="handlePictureCardPreview" |
| | | :auto-upload="false" |
| | | > |
| | | <img v-if="empBaseInfoForm.mageUrl" :src="empBaseInfoForm.imageUrl" class="avatar"> |
| | | <i v-else class="el-icon-plus avatar-uploader-icon" /></el-upload></el-aside> |
| | | <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-aside> |
| | | <el-main> <el-form ref="empBaseInfoForm" :model="empBaseInfoForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="员工类别" prop="empType"> |
| | | <el-select v-model="empBaseInfoForm.empType" placeholder="请选择员工类型"> |
| | | <el-option label="正式工" value="1" /> |
| | | <el-option label="临时工" value="2" /> |
| | | <el-option label="高层" value="01" /> |
| | | <el-option label="高级管理人员" value="02" /> |
| | | <el-option label="中级管理人员" value="03" /> |
| | | <el-option label="初级管理人员" value="04" /> |
| | | <el-option label="文职人员" value="05" /> |
| | | <el-option label="一般人员" value="06" /> |
| | | <el-option label="其他" value="07" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="民族" prop="nation"> |
| | |
| | | > |
| | | <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="审批人"> |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="选择员工" :visible.sync="dialogShowXzyg"> |
| | | |
| | | <el-dialog title="选择员工" :visible.sync="dialogShowXzyg" width="60%"> |
| | | <Selectuser @selectedUser="selectedUser" @cancleChooseUser="cancleChooseUser" /> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | import Treeselect from '@riophae/vue-treeselect' |
| | | import '@riophae/vue-treeselect/dist/vue-treeselect.css' |
| | | import Pagination from '@/components/Pagination' |
| | | import { pages } from '@/settings' |
| | | |
| | | export default { |
| | | components: { Treeselect, Pagination }, |
| | | data() { |
| | | return { |
| | | empBaseInfoImageUrl: '', |
| | | total: 0, // 总数量 |
| | | queryParams: {}, // 查询参数 |
| | | sort: {}, // 排序 |
| | | pagination: { // 分页参数 |
| | | size: 20, |
| | | size: 10, |
| | | num: 1 |
| | | }, |
| | | tableUrl: '', |
| | |
| | | version: '' |
| | | }, |
| | | empBaseInfoForm: { |
| | | imageUrl: '', |
| | | imagePath: '', |
| | | empId: '', |
| | | customerId: '', |
| | | archivesNumb: '', |
| | | deptId: '', |
| | | deptId: '1', |
| | | deptName: '', |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '1', |
| | | JobId: '', |
| | | jobName: '', |
| | | empType: '1', |
| | | empType: '01', |
| | | certificateType: '', |
| | | certificateNumb: '', |
| | | nation: '01', |
| | |
| | | this.isShow(false, 0) |
| | | }, |
| | | methods: { |
| | | // 获取图片的Blob值 |
| | | getImageBlob(url, cb) { |
| | | var xhr = new XMLHttpRequest() |
| | | xhr.open('get', url, true) |
| | | xhr.responseType = 'blob' |
| | | xhr.onload = function() { |
| | | if (this.status === 200) { |
| | | if (cb) cb(this.response) |
| | | } |
| | | } |
| | | xhr.send() |
| | | }, |
| | | preView(url) { |
| | | var this_ = this |
| | | const reader = new FileReader() |
| | | this.getImageBlob(url, function(blob) { |
| | | reader.readAsDataURL(blob) |
| | | }) |
| | | reader.onload = function(e) { |
| | | // 获取bolb里面数据时,生成预览 |
| | | var img = document.createElement('img') |
| | | img.src = e.target.result |
| | | this_.empBaseInfoForm.imagePath = e.target.result |
| | | } |
| | | }, |
| | | // 图片预览 |
| | | handlePictureCardPreview(file) { |
| | | this.empBaseInfoImageUrl = URL.createObjectURL(file.raw) // 获取URL |
| | | // 判断图片大小 |
| | | if (file.size < 4400000) { |
| | | // 判断图片格式是否为jpg,png,jepg,gif |
| | | var fileName = file.name |
| | | // var suffixIndex=fileName.lastIndexOf(".") |
| | | // var suffix=fileName.substring(suffixIndex+1).toUpperCase() |
| | | var suffix = fileName.substring(fileName.lastIndexOf('.') + 1).toUpperCase() |
| | | if (suffix === 'JPG' || suffix === 'PNG') { |
| | | this.preView(this.empBaseInfoImageUrl) |
| | | } else { |
| | | this.$message.error('只能上传jpg/png文件,且不超过4MB,请重新上传!') |
| | | } |
| | | } else { |
| | | this.$message.error('图片大小超过4M,请重新上传') |
| | | } |
| | | }, |
| | | // 翻页插件翻页方法 |
| | | search() { |
| | | this.fetch({ |
| | |
| | | }) |
| | | 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.modifier = '' |
| | | this.empBaseInfoForm.delFlag = '' |
| | | this.empBaseInfoForm.version = '' |
| | | this.empBaseInfoForm.imagePath = '' |
| | | this.empBaseInfoImageUrl = '' |
| | | }, |
| | | editEmpBase(row) { |
| | | this.isAdd = false |
| | |
| | | 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 |
| | |
| | | this.empBaseInfoForm.delFlag = row.delFlag |
| | | this.empBaseInfoForm.version = row.version |
| | | this.dialogshowArr[0].show = true |
| | | this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId |
| | | }, |
| | | putEmpBase(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | this.accidentCasesForm.injuredDescribe = row.injuredDescribe |
| | | this.accidentCasesForm.hospitalName = row.hospitalName |
| | | this.accidentCasesForm.treatmentName = row.treatmentName |
| | | this.accidentCasesForm.hospitalizatioFlag = row.hospitalizatioFlag |
| | | this.accidentCasesForm.hospitalizatioFlag = row.hospitalizatioFlag + '' |
| | | this.accidentCasesForm.bedNumb = row.bedNumb |
| | | this.accidentCasesForm.reprotTime = row.reprotTime |
| | | this.accidentCasesForm.submitTime = row.submitTime |
| | |
| | | }, |
| | | 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.injuredDescribe = row.injuredDescribe |
| | | this.occupationalForm.hospitalName = row.hospitalName |
| | | this.occupationalForm.treatmentName = row.treatmentName |
| | | this.occupationalForm.hospitalizatioFlag = row.hospitalizatioFlag |
| | | this.occupationalForm.hospitalizatioFlag = row.hospitalizatioFlag + '' |
| | | this.occupationalForm.bedNumb = row.bedNumb |
| | | this.occupationalForm.reportTime = row.reportTime |
| | | this.occupationalForm.submitTime = row.submitTime |
| | |
| | | this.occupationalForm.delFlag = row.delFlag |
| | | this.occupationalForm.version = row.version |
| | | this.occupationalForm.remark = row.remark |
| | | |
| | | this.dialogshowArr[10].show = true |
| | | }, |
| | | selectLaborTrouble() { |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | }, |
| | | editLaborTrouble(row) { |
| | | this.isAdd = false |
| | | |
| | | this.laborTroubleForm.arbitrationId = row.arbitrationId |
| | | this.laborTroubleForm.empId = row.empId |
| | | this.laborTroubleForm.empNumb = row.empNumb |
| | |
| | | this.laborTroubleForm.arbitrationReason = row.arbitrationReason |
| | | this.laborTroubleForm.reporter = row.reporter |
| | | this.laborTroubleForm.arbitrationPay = row.arbitrationPay |
| | | this.laborTroubleForm.arbitrationStatus = row.arbitrationStatus |
| | | this.laborTroubleForm.arbitrationStatus = row.arbitrationStatus + '' |
| | | this.laborTroubleForm.settleDate = row.settleDate |
| | | this.laborTroubleForm.createTime = row.createTime |
| | | this.laborTroubleForm.creator = row.creator |
| | |
| | | }, |
| | | 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 = '' |
| | |
| | | calculateSeniority(val) { |
| | | this.empBaseInfoForm.seniority = calculateSeniority(val) |
| | | }, |
| | | handleAvatarSuccess(res, file) { |
| | | this.empBaseInfoForm.imageUrl = URL.createObjectURL(file.raw) |
| | | transinsuranceGaers(val) { |
| | | switch (val) { |
| | | case '1': |
| | | return '(深户)五险一档' |
| | | case '2': |
| | | return '(非深户)五险一档' |
| | | case '3': |
| | | return '(非深户)五险二档' |
| | | case '4': |
| | | return '(非深户)五险三档' |
| | | case '5': |
| | | return '(非深户)四险一档' |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | .el-main { |
| | | background-color: #fff; |
| | | } |
| | | |
| | | } |
| | | .el-container { |
| | | height: 770px; |
| | |
| | | background-color: #e9eef3; |
| | | color: #333; |
| | | height: 100%; |
| | | .el-table{ |
| | | margin-top: 10px; |
| | | } |
| | | } |
| | | .el-timeline-item{ |
| | | padding-bottom: 5px; |
| | | } |
| | | } |
| | | |