|
@ -1016,8 +1016,9 @@ export default { |
|
|
typeList: [], |
|
|
typeList: [], |
|
|
// 性别字典 |
|
|
// 性别字典 |
|
|
genderList: [ |
|
|
genderList: [ |
|
|
{ value: '1', label: '男' }, |
|
|
{ value: 1, label: '男' }, |
|
|
{ value: '2', label: '女' }, |
|
|
{ value: 2, label: '女' }, |
|
|
|
|
|
{ value: 0, label: '未知' }, |
|
|
], |
|
|
], |
|
|
// 专兼职字典 |
|
|
// 专兼职字典 |
|
|
postList: [ |
|
|
postList: [ |
|
@ -1413,7 +1414,8 @@ export default { |
|
|
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 === '男' ? 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, |
|
@ -1744,7 +1746,8 @@ export default { |
|
|
|
|
|
|
|
|
this.peoForm.name = data.name |
|
|
this.peoForm.name = data.name |
|
|
this.peoForm.mobile = data.mobile |
|
|
this.peoForm.mobile = data.mobile |
|
|
this.peoForm.gender = data.gender === 1 ? '男' : '女' |
|
|
// this.peoForm.gender = data.gender === 1 ? '男' : '女' |
|
|
|
|
|
this.peoForm.gender = data.gender |
|
|
this.peoForm.post = data.workType |
|
|
this.peoForm.post = data.workType |
|
|
// 已有的权限(职责) |
|
|
// 已有的权限(职责) |
|
|
let existedDutyArr = [] |
|
|
let existedDutyArr = [] |
|
@ -1786,7 +1789,8 @@ export default { |
|
|
this.peoForm.name = data.name |
|
|
this.peoForm.name = data.name |
|
|
this.peoForm.mobile = data.mobile |
|
|
this.peoForm.mobile = data.mobile |
|
|
this.peoForm.post = data.workType |
|
|
this.peoForm.post = data.workType |
|
|
this.peoForm.gender = data.gender === 1 ? '男' : '女' |
|
|
// this.peoForm.gender = data.gender === 1 ? '男' : '女' |
|
|
|
|
|
this.peoForm.gender = data.gender |
|
|
// 已有的权限(职责) |
|
|
// 已有的权限(职责) |
|
|
let existedDutyArr = [] |
|
|
let existedDutyArr = [] |
|
|
data.roleList.forEach(function (sysDuty) { |
|
|
data.roleList.forEach(function (sysDuty) { |
|
@ -1828,7 +1832,8 @@ export default { |
|
|
if (code === 0) { |
|
|
if (code === 0) { |
|
|
this.peoForm.name = data.name |
|
|
this.peoForm.name = data.name |
|
|
this.peoForm.mobile = data.mobile |
|
|
this.peoForm.mobile = data.mobile |
|
|
this.peoForm.gender = data.gender === 1 ? '男' : '女' |
|
|
// this.peoForm.gender = data.gender === 1 ? '男' : '女' |
|
|
|
|
|
this.peoForm.gender = data.gender |
|
|
this.peoForm.post = data.workType |
|
|
this.peoForm.post = data.workType |
|
|
// 已有的权限(职责) |
|
|
// 已有的权限(职责) |
|
|
let existedDutyArr = [] |
|
|
let existedDutyArr = [] |
|
|