yijiusmile
2021-03-17 9a9031d71c37247e66326389dd4b3be216719468
修复档案照片上传问题
2个文件已修改
12 ■■■■ 已修改文件
src/views/user/archivesEdit.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/inemployees.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/archivesEdit.vue
@@ -4218,10 +4218,10 @@
      this.readon = true
    },
    gzupdate1() {
      const empBaseInfoForm = this.empBaseInfoForm
      if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) {
        this.empBaseInfoForm.imagePath = ''
      }
      // const empBaseInfoForm = this.empBaseInfoForm
      // if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) {
      //   this.empBaseInfoForm.imagePath = ''
      // }
      this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => {
        this.$message({
          message: this.$t('tips.updateSuccess'),
@@ -6179,4 +6179,3 @@
  border-color: rgb(64, 158, 255) !important;
}
</style>
src/views/user/inemployees.vue
@@ -1608,7 +1608,8 @@
      this.empBaseInfoForm.modifier = row.modifier
      this.empBaseInfoForm.delFlag = row.delFlag
      this.empBaseInfoForm.version = row.version
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId
      // this.empBaseInfoImageUrl = ''
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId + '?t=' + parseInt(100 * Math.random())
      this.showXzyg(1)
    },
    putEmpBase(formName) {