luoyb
2021-03-17 8d95aee609c522dce194c1c288a3073ddd899c11
src/views/user/Informationinput.vue
@@ -909,7 +909,7 @@
              </el-col>
              <el-col :span="24">
                <el-form-item label="相关证件" prop="certificateList">
                  <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件">
                  <el-select v-model="empBaseInfoForm.certificateList" multiple placeholder="请选择相关证件">
                    <el-option
                      v-for="dict in certificateListOptions"
                      :key="dict.dicItemCode"
@@ -4284,6 +4284,11 @@
    },
    editEmpBase(row) {
      this.isAdd = false
      let certificateList = []
      if (row.certificateList && typeof row.certificateList === 'string') {
        certificateList = row.certificateList.split(',')
        row.certificateList = certificateList
      }
      this.empBaseInfoForm.empId = row.empId
      this.empBaseInfoForm.customerId = row.customerId
      this.empBaseInfoForm.archivesNumb = row.archivesNumb
@@ -4379,6 +4384,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    selectWorkExperience() {
      this.tableUrl = 'hr/empWorkExperience/list'
@@ -4432,6 +4440,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanWorkExperience() {
      this.workExperienceForm.empId = ''
@@ -4531,6 +4542,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanPhysicalExam() {
      this.physicalExamForm.empId = ''
@@ -4635,6 +4649,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanContractInfo() {
      this.contractInfoForm.empId = ''
@@ -4743,6 +4760,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanDimissionAttend() {
      this.dimissionAttendForm.empId = ''
@@ -4849,6 +4869,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanLeaveInfo() {
      this.leaveInfoForm.empId = ''
@@ -4957,6 +4980,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanResign() {
      this.resignForm.empId = ''
@@ -5059,6 +5085,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanUnemployment() {
      this.unemploymentForm.empId = ''
@@ -5163,6 +5192,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanInsurance() {
      this.insuranceForm.empId = ''
@@ -5270,6 +5302,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanAccidentCases() {
      this.accidentCasesForm.empId = ''
@@ -5402,6 +5437,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanOccupational() {
      this.occupationalForm.empId = ''
@@ -5554,6 +5592,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanLaborTrouble() {
      this.laborTroubleForm.empId = ''
@@ -5687,6 +5728,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    editBadRecord(row) {
      this.isAdd = false
@@ -5763,6 +5807,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanRemarkInfo() {
      this.remarkInfoForm.empId = ''
@@ -5866,6 +5913,7 @@
        this[this.inputForName].certificateNumb = data.certificateNumb
        this[this.inputForName].deptId = data.deptId
        this[this.inputForName].deptName = data.deptName
        this[this.inputForName].allDeptName = data.allDeptName
        this[this.inputForName].JobId = data.jobId
        this[this.inputForName].jobName = data.jobName
        this[this.inputForName].sex = data.sex === '1' ? '男' : '女'