bug修复
parent
41416cad21
commit
40422a8628
|
@ -266,46 +266,47 @@ export default {
|
||||||
getUserInfoById(row) {
|
getUserInfoById(row) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'user/getDetailByUserIdAndCorpInfoId',
|
'/xgf/user/getInfo',
|
||||||
{
|
{
|
||||||
USER_ID: row.USER_ID,
|
XGF_USER_ID: row.XGF_USER_ID,
|
||||||
CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID,
|
CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID,
|
||||||
CER_TYPE: '7498057c4c1f4a11b9a960e66ea04a7a'
|
CER_TYPE: '7498057c4c1f4a11b9a960e66ea04a7a'
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
Object.assign(this.userDetailForm, data.pd)
|
Object.assign(this.userDetailForm, data.info)
|
||||||
this.userPhotoFile = data.userPhotoFile
|
this.loading = false
|
||||||
|
/* this.userPhotoFile = data.userPhotoFile
|
||||||
if (this.userPhotoFile.length > 0) {
|
if (this.userPhotoFile.length > 0) {
|
||||||
this.imgUrl = config.fileUrl + this.userPhotoFile[0].FILEPATH
|
this.imgUrl = config.fileUrl + this.userPhotoFile[0].FILEPATH
|
||||||
}
|
}*/
|
||||||
this.photosOfLevel = data.photosOfLevel
|
// this.photosOfLevel = data.photosOfLevel
|
||||||
this.specialUsersList = data.specialUsers
|
// this.specialUsersList = data.specialUsers
|
||||||
this.insuranceFileList = data.insuranceFile
|
// this.insuranceFileList = data.insuranceFile
|
||||||
this.contractFileList = data.contractFile
|
// this.contractFileList = data.contractFile
|
||||||
this.userCardIDPhotoFile = data.userCardIDPhotoFile
|
// this.userCardIDPhotoFile = data.userCardIDPhotoFile
|
||||||
this.socialPhotoFile = data.socialPhotoFile
|
// this.socialPhotoFile = data.socialPhotoFile
|
||||||
this.gongshangbaoxianFile = data.gongshangbaoxianFile
|
// this.gongshangbaoxianFile = data.gongshangbaoxianFile
|
||||||
// qr内容初始化
|
// qr内容初始化
|
||||||
if (row.STATUS === '2') {
|
// if (row.STATUS === '2') {
|
||||||
this.qrCodeStr = config.messageUrl + '?USER_ID=' + row.USER_ID
|
// this.qrCodeStr = config.messageUrl + '?USER_ID=' + row.USER_ID
|
||||||
} else {
|
// } else {
|
||||||
this.qrCodeStr = ''
|
// this.qrCodeStr = ''
|
||||||
}
|
// }
|
||||||
|
|
||||||
requestFN(
|
// requestFN(
|
||||||
'/user/getFloatPersonDetailById',
|
// '/user/getFloatPersonDetailById',
|
||||||
{
|
// {
|
||||||
USER_ID: row.USER_ID,
|
// USER_ID: row.USER_ID,
|
||||||
CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID
|
// CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID
|
||||||
}
|
// }
|
||||||
).then((data) => {
|
// ).then((data) => {
|
||||||
this.userEntryForm = Object.assign(this.userEntryForm, data.eCard)
|
// this.userEntryForm = Object.assign(this.userEntryForm, data.eCard)
|
||||||
this.detailForm = Object.assign(this.detailForm, data.userDetail)
|
// this.detailForm = Object.assign(this.detailForm, data.userDetail)
|
||||||
this.trainRecordList = data.recordList
|
// this.trainRecordList = data.recordList
|
||||||
this.loading = false
|
// this.loading = false
|
||||||
}).catch((e) => {
|
// }).catch((e) => {
|
||||||
console.log(e)
|
// console.log(e)
|
||||||
})
|
// })
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue