yz
2021-03-07 58f4d1ab9d4e689dfdd161d7f31765720fed17f6
src/views/user/Informationinput.vue
@@ -96,7 +96,13 @@
          <el-table-column show-overflow-tooltip prop="politics" label="政治面貌" width="80" :formatter="politicsFormat" />
          <el-table-column show-overflow-tooltip prop="education" label="学历" width="80" :formatter="educationFormat" />
          <el-table-column prop="entryDate" show-overflow-tooltip label="入职日期" width="80" />
          <el-table-column prop="insuranceType" show-overflow-tooltip label="保险类型" width="80" :formatter="insuranceTypeFormat" />
          <el-table-column
            prop="insuranceType"
            show-overflow-tooltip
            label="保险类型"
            width="80"
            :formatter="insuranceTypeFormat"
          />
          <el-table-column prop="socialNumb" show-overflow-tooltip label="社保电脑号" />
          <el-table-column prop="guardNumb" show-overflow-tooltip label="保安员证号" />
          <el-table-column prop="archivesNumb" show-overflow-tooltip label="档案编号" />
@@ -164,7 +170,13 @@
          <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
          <el-table-column prop="hospital" show-overflow-tooltip label="体检医院" />
          <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="100" />
          <el-table-column show-overflow-tooltip prop="physicalExamType" label="体检类型" width="80" :formatter="typeFormat" />
          <el-table-column
            show-overflow-tooltip
            prop="physicalExamType"
            label="体检类型"
            width="80"
            :formatter="typeFormat"
          />
          <el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="60" />
          <el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="80" />
          <el-table-column prop="ecg" show-overflow-tooltip label="心电图" width="80" :formatter="ecgNameFormat" />
@@ -389,7 +401,13 @@
          <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" />
          <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" />
          <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" />
          <el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="60" :formatter="hospitalizatioFlagFormat" />
          <el-table-column
            show-overflow-tooltip
            prop="hospitalizatioFlag"
            label="是否住院"
            width="60"
            :formatter="hospitalizatioFlagFormat"
          />
          <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="40" />
          <el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="60" />
          <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" />
@@ -427,13 +445,20 @@
          <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" />
          <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" />
          <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" />
          <el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="50" :formatter="hospitalizatioFlagFormat" />
          <el-table-column
            show-overflow-tooltip
            prop="hospitalizatioFlag"
            label="是否住院"
            width="50"
            :formatter="hospitalizatioFlagFormat"
          />
          <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="40" />
          <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="60" />
          <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" />
          <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="60" />
          <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="60" />
          <el-table-column show-overflow-tooltip prop="compensated" label="已赔付医药费用" width="60" />
          <el-table-column show-overflow-tooltip prop="settleStatusName" label="是否结案" width="60" />
        </el-table>
        <el-table
          v-show="showArr[11].show"
@@ -460,12 +485,24 @@
          <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
          <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationType" label="仲裁类型" width="100" :formatter="arbitrationTypeFormat" />
          <el-table-column
            show-overflow-tooltip
            prop="arbitrationType"
            label="仲裁类型"
            width="100"
            :formatter="arbitrationTypeFormat"
          />
          <el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" />
          <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="80" />
          <el-table-column show-overflow-tooltip prop="remark" label="备注" />
          <el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationStatus" label="状态" width="80" :formatter="arbitrationStatusFormat" />
          <el-table-column
            show-overflow-tooltip
            prop="arbitrationStatus"
            label="状态"
            width="80"
            :formatter="arbitrationStatusFormat"
          />
          <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="120" />
        </el-table>
        <el-table
@@ -589,7 +626,14 @@
          </el-upload>
        </el-aside>
        <el-main>
          <el-form ref="empBaseInfoForm" class="info-input-form" :model="empBaseInfoForm" :rules="rules" label-position="right" label-width="120px">
          <el-form
            ref="empBaseInfoForm"
            class="info-input-form"
            :model="empBaseInfoForm"
            :rules="rules"
            label-position="right"
            label-width="120px"
          >
            <el-row>
              <el-col :span="11">
                <el-form-item label="档案号" prop="archivesNumb">
@@ -832,7 +876,13 @@
      </div>
    </el-dialog>
    <el-dialog title="工作经历" :visible.sync="dialogshowArr[1].show" width="50%">
      <el-form ref="workExperienceForm" :model="workExperienceForm" :rules="workExperienceRules" label-position="right" label-width="120px">
      <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">
@@ -843,8 +893,8 @@
                v-model="workExperienceForm.certificateNumb"
              />
            </el-form-item>
            <el-form-item label="性别" prop="sex">
              <el-input v-model="workExperienceForm.sex" />
            <el-form-item label="性别" prop="sexName">
              <el-input v-model="workExperienceForm.sexName" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
@@ -908,7 +958,13 @@
      </div>
    </el-dialog>
    <el-dialog title="体检信息" :visible.sync="dialogshowArr[2].show" width="50%">
      <el-form ref="physicalExamForm" :model="physicalExamForm" :rules="physicalExamRules" label-position="right" label-width="120px">
      <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">
@@ -1005,7 +1061,13 @@
      </div>
    </el-dialog>
    <el-dialog title="合同信息" :visible.sync="dialogshowArr[3].show" width="50%">
      <el-form ref="contractInfoForm" :model="contractInfoForm" :rules="contractInfoRules" label-position="right" label-width="120px">
      <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">
@@ -1087,7 +1149,13 @@
      </div>
    </el-dialog>
    <el-dialog title="离职当月考勤" :visible.sync="dialogshowArr[4].show" width="50%">
      <el-form ref="dimissionAttendForm" :model="dimissionAttendForm" :rules="dimissionAttendRules" label-position="right" label-width="120px">
      <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">
@@ -1152,12 +1220,19 @@
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="putDimissionAttend('dimissionAttendForm')">保 存</el-button>
        <el-button v-if="isAdd" type="primary" @click="putDimissionAttendContinue('dimissionAttendForm')">保存并继续新增</el-button>
        <el-button v-if="isAdd" type="primary" @click="putDimissionAttendContinue('dimissionAttendForm')">保存并继续新增
        </el-button>
        <el-button @click="dialogIsShow()">取 消</el-button>
      </div>
    </el-dialog>
    <el-dialog title="请假记录" :visible.sync="dialogshowArr[5].show" width="50%">
      <el-form ref="leaveInfoForm" :model="leaveInfoForm" :rules="leaveInfoRules" label-position="right" label-width="120px">
      <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">
@@ -1306,7 +1381,13 @@
      </div>
    </el-dialog>
    <el-dialog title="失业金领取" :visible.sync="dialogshowArr[7].show" width="50%">
      <el-form ref="unemploymentForm" :model="unemploymentForm" :rules="unemploymentRules" label-position="right" label-width="120px">
      <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">
@@ -1366,7 +1447,13 @@
      </div>
    </el-dialog>
    <el-dialog title="社保申请" :visible.sync="dialogshowArr[8].show" width="50%">
      <el-form ref="insuranceForm" :model="insuranceForm" :rules="insuranceRules" label-position="right" label-width="120px">
      <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">
@@ -1452,7 +1539,13 @@
      </div>
    </el-dialog>
    <el-dialog title="意外险案件" :visible.sync="dialogshowArr[9].show" width="50%">
      <el-form ref="accidentCasesForm" :model="accidentCasesForm" :rules="accidentCasesRules" label-position="right" label-width="120px">
      <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">
@@ -1587,12 +1680,19 @@
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="putAccidentCases('accidentCasesForm')">保 存</el-button>
        <el-button v-if="isAdd" type="primary" @click="putAccidentCasesContinue('accidentCasesForm')">保存并继续新增</el-button>
        <el-button v-if="isAdd" type="primary" @click="putAccidentCasesContinue('accidentCasesForm')">保存并继续新增
        </el-button>
        <el-button @click="dialogIsShow()">取 消</el-button>
      </div>
    </el-dialog>
    <el-dialog title="工伤案件" :visible.sync="dialogshowArr[10].show" width="50%">
      <el-form ref="occupationalForm" :model="occupationalForm" :rules="occupationalRules" label-position="right" label-width="140px">
      <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">
@@ -1777,7 +1877,13 @@
      </div>
    </el-dialog>
    <el-dialog title="劳资案件" :visible.sync="dialogshowArr[11].show" width="50%">
      <el-form ref="laborTroubleForm" :model="laborTroubleForm" :rules="laborTroubleRules" label-position="right" label-width="140px">
      <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">
@@ -1834,7 +1940,11 @@
              </el-select>
            </el-form-item>
            <el-form-item label="仲裁赔付(元)" prop="'arbitrationPay">
              <el-input v-model="laborTroubleForm.arbitrationPay" oninput="value=value.replace(/^\.+|[^\d.]/g,'')" @blur="arbitrationPayChange" />
              <el-input
                v-model="laborTroubleForm.arbitrationPay"
                oninput="value=value.replace(/^\.+|[^\d.]/g,'')"
                @blur="arbitrationPayChange"
              />
            </el-form-item>
            <el-form-item label="案结日期" prop="settleDate">
              <el-date-picker
@@ -1868,7 +1978,13 @@
      </div>
    </el-dialog>
    <el-dialog title="不良记录" :visible.sync="dialogshowArr[12].show" width="50%">
      <el-form ref="badRecordForm" :model="badRecordForm" :rules="badRecordRules" label-position="right" label-width="140px">
      <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">
@@ -2001,15 +2117,14 @@
  components: { Treeselect, Pagination },
  data() {
    return {
      baseicInformationForm: {
      },
      baseicInformationForm: {},
      dialogShowDryg: false,
      empBaseInfoImageUrl: '',
      total: 0, // 总数量
      queryParams: {}, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
        size: 12,
        size: 15,
        num: 1
      },
      tableUrl: '',
@@ -2031,12 +2146,20 @@
        certificateNumb: [{ required: true, message: '请输入身份证号', trigger: 'blur' }],
        jobName: [{ required: true, message: '请选择岗位', trigger: 'change' }],
        nativePlaceName: [{ required: true, message: '请选择籍贯', trigger: 'change' }],
        bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, { max: 36, message: '长度不超过36个字符', trigger: 'blur' }],
        bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, {
          max: 36,
          message: '长度不超过36个字符',
          trigger: 'blur'
        }],
        insuranceType: [{ required: true, message: '请选择保险类型', trigger: 'change' }],
        entryDate: [{ required: true, message: '请选择入职日期', trigger: 'change' }],
        seniority: [{ required: true, message: '请输入入司工龄', trigger: 'blur' }],
        archivesStatus: [{ required: true, message: '请选择档案情况', trigger: 'change' }],
        bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, { max: 32, message: '长度不超过32个字符', trigger: 'blur' }],
        bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, {
          max: 32,
          message: '长度不超过32个字符',
          trigger: 'blur'
        }],
        empType: [{ required: true, message: '请选择员工类型', trigger: 'change' }],
        censusAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        currentAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
@@ -2050,21 +2173,38 @@
        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 }],
        empName: [{ required: true, message: '请选择员工' }],
        workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, {
          max: 128,
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        beginDate: [{ required: true, trigger: 'blur', validator: this.startDate }],
        endDate: [{ required: true, trigger: 'blur', 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' }],
        bloodPressure: [{ required: true, message: '请输入血压', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        transaminase: [{ required: true, message: '请输入转氨酶', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        ecg: [{ required: true, message: '请选择心电图', trigger: 'change' }, { max: 16, message: '长度不超过16个字符', trigger: 'blur' }],
        conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        empName: [{ required: true, message: '请选择员工' }],
        physicalExamDate: [{ required: true, message: '请选择体检日期' }],
        hospital: [{ required: true, message: '请输入体检医院' }, {
          max: 64,
          message: '长度不超过64个字符'
        }],
        physicalExamType: [{ required: true, message: '请选择体检类型' }],
        bloodPressure: [{ required: true, message: '请输入血压' }, {
          max: 40,
          message: '长度不超过40个字符'
        }],
        transaminase: [{ required: true, message: '请输入转氨酶' }, {
          max: 40,
          message: '长度不超过40个字符'
        }],
        ecg: [{ required: true, message: '请选择心电图' }],
        conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, {
          max: 128,
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        reviewRecord: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
@@ -2080,8 +2220,15 @@
      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位小数' }],
        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位小数'
        }],
        overtimeDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(天)精确到1位小数' }],
        overtimeHour: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(小时)精确到1位小数' }],
        leaveDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '请假(天)精确到1位小数' }],
@@ -2100,14 +2247,22 @@
      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' }],
        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' }],
        applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, {
          max: 128,
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
@@ -2115,7 +2270,11 @@
      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' }],
        proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        insuranceGaers: [{ required: true, message: '请选择社保档位', trigger: 'change' }],
        auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
@@ -2124,10 +2283,26 @@
      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' }],
        injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', 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'
        }],
        injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, {
          max: 512,
          message: '长度不超过512个字符',
          trigger: 'blur'
        }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }],
        innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }],
        expensesFee: [{ required: true, message: '请输入医疗总费用', trigger: 'blur' }],
@@ -2140,9 +2315,21 @@
      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' }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', 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'
        }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }],
        innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }],
        settleDate: [{ required: true, message: '请选择案结时间', trigger: 'change' }],
@@ -2156,7 +2343,11 @@
        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' }],
        arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, {
          max: 1024,
          message: '长度不超过1024个字符',
          trigger: 'blur'
        }],
        arbitrationStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
        reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }]
@@ -2359,6 +2550,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        JobId: '',
        deptId: '',
@@ -2380,6 +2572,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2407,6 +2600,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2454,6 +2648,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2482,7 +2677,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        delFlag: '2',
        empStatus: 0,
        version: ''
      },
@@ -2492,6 +2687,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2518,6 +2714,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2542,6 +2739,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2565,6 +2763,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2592,6 +2791,7 @@
        empName: '',
        certificateNumb: '',
        sex: '',
        sexName: '',
        deptId: '',
        deptName: '',
        JobId: '',
@@ -2617,6 +2817,7 @@
        empNumb: '',
        empName: '',
        sex: '',
        sexName: '',
        deptId: '',
        deptName: '',
        JobId: '',
@@ -2645,6 +2846,7 @@
        empName: '',
        certificateNumb: '',
        sex: '',
        sexName: '',
        deptId: '',
        deptName: '',
        JobId: '',
@@ -2673,6 +2875,7 @@
        empName: '',
        certificateNumb: '',
        sex: '',
        sexName: '',
        deptId: '',
        deptName: '',
        JobId: '',
@@ -2699,6 +2902,7 @@
        empNumb: '',
        empName: '',
        sex: '1',
        sexName: '男',
        JobId: '',
        jobName: '',
        empType: '01',
@@ -2746,6 +2950,7 @@
        empName: '',
        empNumb: '',
        sex: '',
        sexName: '',
        certificateNumb: '',
        deptId: '',
        deptName: '',
@@ -2974,10 +3179,50 @@
      })
    },
    dialogIsShow(val) {
      if (val === '0') {
        this.isAdd = true
      } else {
        this.isAdd = false
      this.isAdd = val === '0'
      switch (this.thisShowIndex) {
        case 0:
          this.cleanEmpBase()
          break
        case 1:
          this.cleanWorkExperience()
          break
        case 2:
          this.cleanPhysicalExam()
          break
        case 3:
          this.cleanContractInfo()
          break
        case 4:
          this.cleanDimissionAttend()
          break
        case 5:
          this.cleanLeaveInfo()
          break
        case 6:
          this.cleanResign()
          break
        case 7:
          this.cleanUnemployment()
          break
        case 8:
          this.cleanInsurance()
          break
        case 9:
          this.cleanAccidentCases()
          break
        case 10:
          this.cleanOccupational()
          break
        case 11:
          this.cleanLaborTrouble()
          break
        case 12:
          this.cleanBadRecord()
          break
        case 13:
          this.cleanRemarkInfo()
          break
      }
      this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex]
        .show
@@ -4102,6 +4347,16 @@
      })
    },
    cleanWorkExperience() {
      this.workExperienceForm.empId = ''
      this.workExperienceForm.archivesNumb = ''
      this.workExperienceForm.deptId = ''
      this.workExperienceForm.deptName = ''
      this.workExperienceForm.empNumb = ''
      this.workExperienceForm.empName = ''
      this.workExperienceForm.sex = ''
      this.workExperienceForm.JobId = ''
      this.workExperienceForm.jobName = ''
      this.workExperienceForm.certificateNumb = ''
      this.workExperienceForm.workUnit = ''
      this.workExperienceForm.beginDate = ''
      this.workExperienceForm.endDate = ''
@@ -4189,6 +4444,16 @@
      })
    },
    cleanPhysicalExam() {
      this.physicalExamForm.empId = ''
      this.physicalExamForm.archivesNumb = ''
      this.physicalExamForm.deptId = ''
      this.physicalExamForm.deptName = ''
      this.physicalExamForm.empNumb = ''
      this.physicalExamForm.empName = ''
      this.physicalExamForm.sex = ''
      this.physicalExamForm.JobId = ''
      this.physicalExamForm.jobName = ''
      this.physicalExamForm.certificateNumb = ''
      this.physicalExamForm.hospital = ''
      this.physicalExamForm.physicalExamDate = ''
      this.physicalExamForm.physicalExamType = ''
@@ -4281,6 +4546,16 @@
      })
    },
    cleanContractInfo() {
      this.contractInfoForm.empId = ''
      this.contractInfoForm.archivesNumb = ''
      this.contractInfoForm.deptId = ''
      this.contractInfoForm.deptName = ''
      this.contractInfoForm.empNumb = ''
      this.contractInfoForm.empName = ''
      this.contractInfoForm.sex = ''
      this.contractInfoForm.JobId = ''
      this.contractInfoForm.jobName = ''
      this.contractInfoForm.certificateNumb = ''
      this.contractInfoForm.contractId = ''
      this.contractInfoForm.beginDate = ''
      this.contractInfoForm.endDate = ''
@@ -4377,6 +4652,16 @@
      })
    },
    cleanDimissionAttend() {
      this.dimissionAttendForm.empId = ''
      this.dimissionAttendForm.archivesNumb = ''
      this.dimissionAttendForm.deptId = ''
      this.dimissionAttendForm.deptName = ''
      this.dimissionAttendForm.empNumb = ''
      this.dimissionAttendForm.empName = ''
      this.dimissionAttendForm.sex = ''
      this.dimissionAttendForm.JobId = ''
      this.dimissionAttendForm.jobName = ''
      this.dimissionAttendForm.certificateNumb = ''
      this.dimissionAttendForm.dimissionAttendId = ''
      this.dimissionAttendForm.attendMonth = ''
      this.dimissionAttendForm.overtimeHour = ''
@@ -4471,6 +4756,16 @@
      })
    },
    cleanLeaveInfo() {
      this.leaveInfoForm.empId = ''
      this.leaveInfoForm.archivesNumb = ''
      this.leaveInfoForm.deptId = ''
      this.leaveInfoForm.deptName = ''
      this.leaveInfoForm.empNumb = ''
      this.leaveInfoForm.empName = ''
      this.leaveInfoForm.sex = ''
      this.leaveInfoForm.JobId = ''
      this.leaveInfoForm.jobName = ''
      this.leaveInfoForm.certificateNumb = ''
      this.leaveInfoForm.leaveId = ''
      this.leaveInfoForm.beginTime = ''
      this.leaveInfoForm.endTime = ''
@@ -4567,6 +4862,16 @@
      })
    },
    cleanResign() {
      this.resignForm.empId = ''
      this.resignForm.archivesNumb = ''
      this.resignForm.deptId = ''
      this.resignForm.deptName = ''
      this.resignForm.empNumb = ''
      this.resignForm.empName = ''
      this.resignForm.sex = ''
      this.resignForm.JobId = ''
      this.resignForm.jobName = ''
      this.resignForm.certificateNumb = ''
      this.resignForm.resignId = ''
      this.resignForm.applayDate = ''
      this.resignForm.reporter = ''
@@ -4657,6 +4962,16 @@
      })
    },
    cleanUnemployment() {
      this.unemploymentForm.empId = ''
      this.unemploymentForm.archivesNumb = ''
      this.unemploymentForm.deptId = ''
      this.unemploymentForm.deptName = ''
      this.unemploymentForm.empNumb = ''
      this.unemploymentForm.empName = ''
      this.unemploymentForm.sex = ''
      this.unemploymentForm.JobId = ''
      this.unemploymentForm.jobName = ''
      this.unemploymentForm.certificateNumb = ''
      this.unemploymentForm.unemploymentId = ''
      this.unemploymentForm.applayDate = ''
      this.unemploymentForm.applayReason = ''
@@ -4749,6 +5064,16 @@
      })
    },
    cleanInsurance() {
      this.insuranceForm.empId = ''
      this.insuranceForm.archivesNumb = ''
      this.insuranceForm.deptId = ''
      this.insuranceForm.deptName = ''
      this.insuranceForm.empNumb = ''
      this.insuranceForm.empName = ''
      this.insuranceForm.sex = ''
      this.insuranceForm.JobId = ''
      this.insuranceForm.jobName = ''
      this.insuranceForm.certificateNumb = ''
      this.insuranceForm.insuranceId = ''
      this.insuranceForm.applayDate = ''
      this.insuranceForm.proposer = ''
@@ -4844,6 +5169,16 @@
      })
    },
    cleanAccidentCases() {
      this.accidentCasesForm.empId = ''
      this.accidentCasesForm.archivesNumb = ''
      this.accidentCasesForm.deptId = ''
      this.accidentCasesForm.deptName = ''
      this.accidentCasesForm.empNumb = ''
      this.accidentCasesForm.empName = ''
      this.accidentCasesForm.sex = ''
      this.accidentCasesForm.JobId = ''
      this.accidentCasesForm.jobName = ''
      this.accidentCasesForm.certificateNumb = ''
      this.accidentCasesForm.accidentId = ''
      this.accidentCasesForm.injuredTime = ''
      this.accidentCasesForm.injuredAddress = ''
@@ -4901,7 +5236,7 @@
      this.accidentCasesForm.innsureFee = row.innsureFee
      this.accidentCasesForm.hrDoDate = row.hrDoDate
      this.accidentCasesForm.settleDate = row.settleDate
      this.accidentCasesForm.settleStatus = row.settleStatus
      this.accidentCasesForm.settleStatus = row.settleStatus + ''
      this.accidentCasesForm.remark = row.remark
      this.accidentCasesForm.createTime = row.createTime
      this.accidentCasesForm.creator = row.creator
@@ -4964,6 +5299,16 @@
      })
    },
    cleanOccupational() {
      this.occupationalForm.empId = ''
      this.occupationalForm.archivesNumb = ''
      this.occupationalForm.deptId = ''
      this.occupationalForm.deptName = ''
      this.occupationalForm.empNumb = ''
      this.occupationalForm.empName = ''
      this.occupationalForm.sex = ''
      this.occupationalForm.JobId = ''
      this.occupationalForm.jobName = ''
      this.occupationalForm.certificateNumb = ''
      this.occupationalForm.occupationalId = ''
      this.occupationalForm.injuredTime = ''
      this.occupationalForm.injuredAddress = ''
@@ -5039,7 +5384,7 @@
      this.occupationalForm.companySubsidy = row.companySubsidy
      this.occupationalForm.companyCompensation = row.companyCompensation
      this.occupationalForm.jobSubsidy = row.jobSubsidy
      this.occupationalForm.settleStatus = row.settleStatus
      this.occupationalForm.settleStatus = row.settleStatus + ''
      this.occupationalForm.createTime = row.createTime
      this.occupationalForm.creator = row.creator
      this.occupationalForm.modifyTime = row.modifyTime
@@ -5104,6 +5449,16 @@
      })
    },
    cleanLaborTrouble() {
      this.laborTroubleForm.empId = ''
      this.laborTroubleForm.archivesNumb = ''
      this.laborTroubleForm.deptId = ''
      this.laborTroubleForm.deptName = ''
      this.laborTroubleForm.empNumb = ''
      this.laborTroubleForm.empName = ''
      this.laborTroubleForm.sex = ''
      this.laborTroubleForm.JobId = ''
      this.laborTroubleForm.jobName = ''
      this.laborTroubleForm.certificateNumb = ''
      this.laborTroubleForm.arbitrationId = ''
      this.laborTroubleForm.arbitrationDate = ''
      this.laborTroubleForm.arbitrationType = ''
@@ -5156,6 +5511,16 @@
      this.search()
    },
    cleanBadRecord() {
      this.badRecordForm.empId = ''
      this.badRecordForm.archivesNumb = ''
      this.badRecordForm.deptId = ''
      this.badRecordForm.deptName = ''
      this.badRecordForm.empNumb = ''
      this.badRecordForm.empName = ''
      this.badRecordForm.sex = ''
      this.badRecordForm.JobId = ''
      this.badRecordForm.jobName = ''
      this.badRecordForm.certificateNumb = ''
      this.badRecordForm.badId = ''
      this.badRecordForm.badDate = ''
      this.badRecordForm.reporter = ''
@@ -5289,6 +5654,16 @@
      })
    },
    cleanRemarkInfo() {
      this.remarkInfoForm.empId = ''
      this.remarkInfoForm.archivesNumb = ''
      this.remarkInfoForm.deptId = ''
      this.remarkInfoForm.deptName = ''
      this.remarkInfoForm.empNumb = ''
      this.remarkInfoForm.empName = ''
      this.remarkInfoForm.sex = ''
      this.remarkInfoForm.JobId = ''
      this.remarkInfoForm.jobName = ''
      this.remarkInfoForm.certificateNumb = ''
      this.remarkInfoForm.remarkId = ''
      this.remarkInfoForm.remarkContent = ''
      this.remarkInfoForm.remarkDate = ''
@@ -5380,7 +5755,8 @@
        this[this.inputForName].deptName = data.deptName
        this[this.inputForName].JobId = data.jobId
        this[this.inputForName].jobName = data.jobName
        this[this.inputForName].sex = data.sex === '0' ? '男' : '女'
        this[this.inputForName].sex = data.sex === '1' ? '男' : '女'
        this[this.inputForName].sexName = data.sex === '1' ? '男' : '女'
      }
      this.dialogShowXzyg = false
    },
@@ -5440,8 +5816,8 @@
}
</script>
<style lang="scss" scoped>
.baseinfo .el-container{
    .el-aside {
.baseinfo .el-container {
  .el-aside {
    background-color: #fff;
  }
@@ -5450,6 +5826,7 @@
  }
}
.el-container {
  height: 86.7vh;
  background-color: #fff;
@@ -5464,12 +5841,14 @@
  .el-main {
    color: #333;
    height: 100%;
    .el-table{
    .el-table {
      margin-top: 10px;
    }
  }
  .el-timeline-item{
      padding-bottom: 5px;
  .el-timeline-item {
    padding-bottom: 5px;
  }
}
@@ -5526,6 +5905,7 @@
    color: #a00515;
    cursor: pointer;
    top: -5px;
    .el-timeline-item__content {
      &:hover {
        color: #a00515;