|
@ -1390,11 +1390,13 @@ export default { |
|
|
async updatePeo () { |
|
|
async updatePeo () { |
|
|
const url = "/gov/org/staff/editstaff" |
|
|
const url = "/gov/org/staff/editstaff" |
|
|
|
|
|
|
|
|
|
|
|
console.log(this.peoForm.gender) |
|
|
|
|
|
|
|
|
let params = { |
|
|
let params = { |
|
|
staffId: this.userStaffId, |
|
|
staffId: this.userStaffId, |
|
|
name: this.peoForm.name, |
|
|
name: this.peoForm.name, |
|
|
mobile: this.peoForm.mobile, |
|
|
mobile: this.peoForm.mobile, |
|
|
gender: this.peoForm.gender === '男' ? 1 : 0, |
|
|
gender:this.peoForm.gender, |
|
|
workType: this.peoForm.post, |
|
|
workType: this.peoForm.post, |
|
|
roles: this.peoForm.duty, |
|
|
roles: this.peoForm.duty, |
|
|
newRoles: this.peoForm.newRoles, |
|
|
newRoles: this.peoForm.newRoles, |
|
|