diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 7630c8b8..caf9fbcb 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -1392,6 +1392,16 @@ export default { console.log(this.peoForm.gender) + if(this.peoForm.gender === '男'){ + this.peoForm.gender = 1 + } else if (this.peoForm.gender === '女') { + this.peoForm.gender = 2 + } else if (this.peoForm.gender === 1) { + this.peoForm.gender = 1 + } else if (this.peoForm.gender === 2) { + this.peoForm.gender = 2 + } + let params = { staffId: this.userStaffId, name: this.peoForm.name,