孔祥富
2021-03-01 e9e7c2b4498042c43e5978f483abbbbdc6cd1480
src/views/user/Informationinput.vue
@@ -16,7 +16,7 @@
            <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>
@@ -72,7 +72,6 @@
              </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" />
@@ -110,7 +109,7 @@
          </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" />
@@ -209,17 +208,17 @@
              <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%;">
@@ -233,7 +232,7 @@
          <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" />
@@ -276,9 +275,21 @@
          <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>
@@ -306,7 +317,11 @@
          <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" />
@@ -338,7 +353,11 @@
          <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" />
@@ -365,7 +384,7 @@
          <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" />
@@ -441,13 +460,15 @@
          <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">
@@ -465,8 +486,13 @@
              </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">
@@ -825,6 +851,7 @@
              >
                <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">
@@ -1062,8 +1089,20 @@
            <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>
@@ -1274,8 +1313,8 @@
            </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>
@@ -1294,8 +1333,8 @@
            </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="审批人">
@@ -1826,7 +1865,8 @@
        <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>
@@ -1836,16 +1876,18 @@
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: '',
@@ -2526,18 +2568,18 @@
        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',
@@ -2607,6 +2649,50 @@
    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({
@@ -2761,6 +2847,11 @@
              })
              this.selectEmpBase()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 1:
@@ -2776,6 +2867,11 @@
                type: 'success'
              })
              this.selectWorkExperience()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
@@ -2793,6 +2889,11 @@
              })
              this.selectPhysicalExam()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 3:
@@ -2808,6 +2909,11 @@
                type: 'success'
              })
              this.selectContractInfo()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
@@ -2841,6 +2947,11 @@
              })
              this.selectLeaveInfo()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 6:
@@ -2856,6 +2967,11 @@
                type: 'success'
              })
              this.selectResign()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
@@ -2873,6 +2989,11 @@
              })
              this.selectUnemployment()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 8:
@@ -2888,6 +3009,11 @@
                type: 'success'
              })
              this.selectInsurance()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
@@ -2905,6 +3031,11 @@
              })
              this.selectAccidentCases()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 10:
@@ -2920,6 +3051,11 @@
                type: 'success'
              })
              this.selectOccupational()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
@@ -2937,6 +3073,11 @@
              })
              this.selectLaborTrouble()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 12:
@@ -2953,6 +3094,11 @@
              })
              this.selectBadRecord()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
        case 13:
@@ -2968,6 +3114,11 @@
                type: 'success'
              })
              this.selectBadRecord()
            })
          } else {
            this.$message({
              message: '请先选中需要删除的记录',
              type: 'error'
            })
          }
          break
@@ -3102,6 +3253,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 1:
@@ -3120,6 +3276,11 @@
              this.tableDataName = 'workExperienceData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3140,6 +3301,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 3:
@@ -3158,6 +3324,11 @@
              this.tableDataName = 'contractInfoData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3178,6 +3349,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 5:
@@ -3196,6 +3372,11 @@
              this.tableDataName = 'leaveInfoData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3216,6 +3397,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 7:
@@ -3234,6 +3420,11 @@
              this.tableDataName = 'unemploymentData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3254,6 +3445,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 9:
@@ -3272,6 +3468,11 @@
              this.tableDataName = 'accidentCasesData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3292,6 +3493,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 11:
@@ -3310,6 +3516,11 @@
              this.tableDataName = 'laborTroubleData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3330,6 +3541,11 @@
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
        case 13:
@@ -3348,6 +3564,11 @@
              this.tableDataName = 'remarkInfoData'
              this.queryParams.delFlag = 2
              this.search()
            })
          } else {
            this.$message({
              message: '请先选中需要提交的记录',
              type: 'error'
            })
          }
          break
@@ -3407,6 +3628,8 @@
      this.empBaseInfoForm.modifier = ''
      this.empBaseInfoForm.delFlag = ''
      this.empBaseInfoForm.version = ''
      this.empBaseInfoForm.imagePath = ''
      this.empBaseInfoImageUrl = ''
    },
    editEmpBase(row) {
      this.isAdd = false
@@ -3434,6 +3657,7 @@
      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
@@ -3457,6 +3681,7 @@
      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) => {
@@ -3735,15 +3960,6 @@
    },
    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 = ''
@@ -3840,15 +4056,6 @@
    },
    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 = ''
@@ -3943,15 +4150,6 @@
    },
    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 = ''
@@ -4048,15 +4246,6 @@
    },
    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 = ''
@@ -4147,15 +4336,6 @@
    },
    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 = ''
@@ -4248,15 +4428,6 @@
    },
    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 = ''
@@ -4353,15 +4524,6 @@
    },
    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 = ''
@@ -4408,7 +4570,7 @@
      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
@@ -4482,15 +4644,6 @@
    },
    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 = ''
@@ -4546,7 +4699,7 @@
      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
@@ -4573,7 +4726,6 @@
      this.occupationalForm.delFlag = row.delFlag
      this.occupationalForm.version = row.version
      this.occupationalForm.remark = row.remark
      this.dialogshowArr[10].show = true
    },
    selectLaborTrouble() {
@@ -4632,15 +4784,6 @@
    },
    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 = ''
@@ -4658,7 +4801,6 @@
    },
    editLaborTrouble(row) {
      this.isAdd = false
      this.laborTroubleForm.arbitrationId = row.arbitrationId
      this.laborTroubleForm.empId = row.empId
      this.laborTroubleForm.empNumb = row.empNumb
@@ -4674,7 +4816,7 @@
      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
@@ -4694,15 +4836,6 @@
    },
    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 = ''
@@ -4836,15 +4969,6 @@
    },
    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 = ''
@@ -4977,8 +5101,19 @@
    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 '(非深户)四险一档'
      }
    }
  }
}
@@ -4992,6 +5127,7 @@
  .el-main {
    background-color: #fff;
  }
}
.el-container {
  height: 770px;
@@ -5007,6 +5143,12 @@
    background-color: #e9eef3;
    color: #333;
    height: 100%;
    .el-table{
      margin-top: 10px;
    }
  }
  .el-timeline-item{
      padding-bottom: 5px;
  }
}