luoyb
2021-06-18 c762da1052cc336399ffb77e2de5dc18585653a8
src/views/user/archivesEdit.vue
@@ -464,8 +464,8 @@
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="保险类型" prop="insuranceType">
                      <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择保险类型" :disabled="readon ? false : true">
                    <el-form-item label="社保档位" prop="insuranceType">
                      <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择社保档位" :disabled="readon ? false : true">
                        <el-option
                          v-for="dict in insuranceTypeOptions"
                          :key="dict.dicItemCode"
@@ -678,6 +678,7 @@
                <el-table-column show-overflow-tooltip prop="contractPeriod" label="合同期限(年)" />
                <el-table-column show-overflow-tooltip prop="contractStatus" label="合同状态" :formatter="contractStatusFormat" />
                <el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="contractInfoDatatotal>0"
@@ -2874,7 +2875,7 @@
          message: '长度不超过36个字符',
          trigger: 'blur'
        }],
        insuranceType: [{ required: true, message: '请选择保险类型', trigger: 'change' }],
        insuranceType: [{ required: true, message: '请选择社保档位', trigger: 'change' }],
        entryDate: [{ required: true, message: '请选择入职日期', trigger: 'change' }],
        seniority: [{ required: true, message: '请输入入司工龄', trigger: 'blur' }],
        archivesStatus: [{ required: true, message: '请选择档案情况', trigger: 'change' }],
@@ -2955,10 +2956,10 @@
          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位小数' }],
        absenteeism: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '旷工(天)精确到1位小数' }],
        overtimeDay: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '加班(天)精确到1位小数' }],
        overtimeHour: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '加班(小时)精确到1位小数' }],
        leaveDay: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '请假(天)精确到1位小数' }],
        absenteeism: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '旷工(天)精确到1位小数' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      leaveInfoRules: {
@@ -3689,7 +3690,7 @@
    this.getDicts('LEAVETYPE').then(response => {
      this.leaveTypeOptions = response.data
    })
    this.getDicts('insuranceGaers').then(response => {
    this.getDicts('INSURANCETYPE').then(response => {
      this.insuranceGaersOptions = response.data
    })
    this.getDicts('applayStatus').then(response => {
@@ -4126,12 +4127,13 @@
      }
      const remarks = ''
      val.remark = remarks
      this.readon = false
      this.empBaseInfoForm = { ...val }
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + this.empBaseInfoForm.empId
      this.fileDate.empId = this.empBaseInfoForm.empId
      this.labelfrom.empId = this.empBaseInfoForm.empId
      this.remarkInfoForm.allDeptName = val.allDeptName
      this.remarkInfoForm.certificateNumb = val.certificateNumb
      this.remarkInfoForm.empId = val.empId
      this.remarkInfoForm.empName = val.empName
@@ -4144,6 +4146,7 @@
      this.remarkInfoForm.delFlag = 0
      this.$set(this.remarkInfoForm, 'delFlag', 0)
      this.laborTroubleForm.allDeptName = val.allDeptName
      this.laborTroubleForm.certificateNumb = val.certificateNumb
      this.laborTroubleForm.empId = val.empId
      this.laborTroubleForm.empName = val.empName
@@ -4155,6 +4158,7 @@
      this.laborTroubleForm.sex = val.sex
      this.$set(this.laborTroubleForm, 'delFlag', 0)
      this.occupationalForm.allDeptName = val.allDeptName
      this.occupationalForm.certificateNumb = val.certificateNumb
      this.occupationalForm.empId = val.empId
      this.occupationalForm.empName = val.empName
@@ -4166,6 +4170,7 @@
      this.occupationalForm.sex = val.sex
      this.$set(this.occupationalForm, 'delFlag', 0)
      this.insuranceForm.allDeptName = val.allDeptName
      this.insuranceForm.certificateNumb = val.certificateNumb
      this.insuranceForm.empId = val.empId
      this.insuranceForm.empName = val.empName
@@ -4177,6 +4182,7 @@
      this.insuranceForm.sex = val.sex
      this.$set(this.insuranceForm, 'delFlag', 0)
      this.unemploymentForm.allDeptName = val.allDeptName
      this.unemploymentForm.certificateNumb = val.certificateNumb
      this.unemploymentForm.empId = val.empId
      this.unemploymentForm.empName = val.empName
@@ -4188,6 +4194,7 @@
      this.unemploymentForm.sex = val.sex
      this.$set(this.unemploymentForm, 'delFlag', 0)
      this.resignForm.allDeptName = val.allDeptName
      this.resignForm.certificateNumb = val.certificateNumb
      this.resignForm.empId = val.empId
      this.resignForm.empName = val.empName
@@ -4199,6 +4206,7 @@
      this.resignForm.sex = val.sex
      this.$set(this.resignForm, 'delFlag', 0)
      this.leaveInfoForm.allDeptName = val.allDeptName
      this.leaveInfoForm.certificateNumb = val.certificateNumb
      this.leaveInfoForm.empId = val.empId
      this.leaveInfoForm.empName = val.empName
@@ -4210,6 +4218,7 @@
      this.leaveInfoForm.sex = val.sex
      this.$set(this.leaveInfoForm, 'delFlag', 0)
      this.contractInfoForm.allDeptName = val.allDeptName
      this.contractInfoForm.certificateNumb = val.certificateNumb
      this.contractInfoForm.empId = val.empId
      this.contractInfoForm.empName = val.empName
@@ -4221,6 +4230,7 @@
      this.contractInfoForm.sex = val.sex
      this.$set(this.contractInfoForm, 'delFlag', 0)
      this.dimissionAttendForm.allDeptName = val.allDeptName
      this.dimissionAttendForm.certificateNumb = val.certificateNumb
      this.dimissionAttendForm.empId = val.empId
      this.dimissionAttendForm.empName = val.empName
@@ -4232,6 +4242,7 @@
      this.dimissionAttendForm.sex = val.sex
      this.$set(this.dimissionAttendForm, 'delFlag', 0)
      this.physicalExamForm.allDeptName = val.allDeptName
      this.physicalExamForm.certificateNumb = val.certificateNumb
      this.physicalExamForm.empId = val.empId
      this.physicalExamForm.empName = val.empName
@@ -4243,6 +4254,7 @@
      this.physicalExamForm.sex = val.sex
      this.$set(this.physicalExamForm, 'delFlag', 0)
      this.workExperienceForm.allDeptName = val.allDeptName
      this.workExperienceForm.certificateNumb = val.certificateNumb
      this.workExperienceForm.empId = val.empId
      this.workExperienceForm.empName = val.empName
@@ -4254,6 +4266,7 @@
      this.workExperienceForm.sex = val.sex
      this.$set(this.workExperienceForm, 'delFlag', 0)
      this.badRecordForm.allDeptName = val.allDeptName
      this.badRecordForm.certificateNumb = val.certificateNumb
      this.badRecordForm.empId = val.empId
      this.badRecordForm.empName = val.empName
@@ -4265,6 +4278,7 @@
      this.badRecordForm.sex = val.sex
      this.$set(this.badRecordForm, 'delFlag', 0)
      this.accidentCasesForm.allDeptName = val.allDeptName
      this.accidentCasesForm.certificateNumb = val.certificateNumb
      this.accidentCasesForm.empId = val.empId
      this.accidentCasesForm.empName = val.empName
@@ -5419,8 +5433,8 @@
      this.insuranceForm.applayDate = row.applayDate
      this.insuranceForm.proposer = row.proposer
      this.insuranceForm.insuranceGaers = row.insuranceGaers
      this.insuranceForm.reportStatus = row.reportStatus
      this.insuranceForm.applayStatus = row.applayStatus
      this.insuranceForm.reportStatus = row.reportStatus === 0 ? '' : '' + row.reportStatus
      this.insuranceForm.applayStatus = row.applayStatus === 0 ? '' : '' + row.applayStatus
      this.insuranceForm.auditor = row.auditor
      this.insuranceForm.createTime = row.createTime
      this.insuranceForm.creator = row.creator
@@ -5452,7 +5466,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
@@ -5462,7 +5476,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
@@ -5493,7 +5507,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
@@ -5512,7 +5526,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
@@ -5541,7 +5555,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