|
|
@ -632,15 +632,15 @@ export default { |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
getdata() { |
|
|
|
getdata() { |
|
|
|
this.$get(this.api.queryUserInfoDetails,{ userId: this.userId }).then(res => { |
|
|
|
this.$get(this.api.queryUserInfoDetails,{ userId: this.userId }).then(res => { |
|
|
|
let userInfo = res.result.hrUserInfo |
|
|
|
const { result } = res |
|
|
|
this.form.accountId = userInfo.userId |
|
|
|
const { hrUserInfo } = result |
|
|
|
this.originAccount = res.result.userAccountList[0].account |
|
|
|
let { userAccountList } = result |
|
|
|
this.archivesList = res.result.personalFileList |
|
|
|
if (userAccountList.length) userAccountList = userAccountList[0] |
|
|
|
this.form.documentType = '居民身份证' |
|
|
|
const { platformList } = result |
|
|
|
this.form.countries = res.result.hrUserInfo.countries |
|
|
|
let form = this.form |
|
|
|
this.form.cityName = res.result.hrUserInfo.cityName |
|
|
|
form = Object.assign(form, hrUserInfo, userAccountList) |
|
|
|
this.form.schoolName = res.result.hrUserInfo.schoolName |
|
|
|
this.originAccount = userAccountList.account |
|
|
|
this.form.provinceName = res.result.hrUserInfo.provinceName |
|
|
|
this.archivesList = result.personalFileList |
|
|
|
|
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|
if(this.form.provinceId){ |
|
|
|
if(this.form.provinceId){ |
|
|
@ -680,7 +680,6 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// 平台系统 |
|
|
|
// 平台系统 |
|
|
|
let platformList = res.result.platformList |
|
|
|
|
|
|
|
platformList.map(e =>{ |
|
|
|
platformList.map(e =>{ |
|
|
|
this.regionOption.map((r,index) =>{ |
|
|
|
this.regionOption.map((r,index) =>{ |
|
|
|
if(r.regionId == e.platformId){ |
|
|
|
if(r.regionId == e.platformId){ |
|
|
|