| | |
| | | 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'), |
| | |
| | | border-color: rgb(64, 158, 255) !important; |
| | | } |
| | | </style> |
| | | |
| | |
| | | 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) { |