bug修复

main
liujun 2023-12-20 19:51:13 +08:00
parent 41416cad21
commit 40422a8628
1 changed files with 32 additions and 31 deletions

View File

@ -266,46 +266,47 @@ export default {
getUserInfoById(row) {
this.loading = true
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,
CER_TYPE: '7498057c4c1f4a11b9a960e66ea04a7a'
}
).then((data) => {
Object.assign(this.userDetailForm, data.pd)
this.userPhotoFile = data.userPhotoFile
Object.assign(this.userDetailForm, data.info)
this.loading = false
/* this.userPhotoFile = data.userPhotoFile
if (this.userPhotoFile.length > 0) {
this.imgUrl = config.fileUrl + this.userPhotoFile[0].FILEPATH
}
this.photosOfLevel = data.photosOfLevel
this.specialUsersList = data.specialUsers
this.insuranceFileList = data.insuranceFile
this.contractFileList = data.contractFile
this.userCardIDPhotoFile = data.userCardIDPhotoFile
this.socialPhotoFile = data.socialPhotoFile
this.gongshangbaoxianFile = data.gongshangbaoxianFile
}*/
// this.photosOfLevel = data.photosOfLevel
// this.specialUsersList = data.specialUsers
// this.insuranceFileList = data.insuranceFile
// this.contractFileList = data.contractFile
// this.userCardIDPhotoFile = data.userCardIDPhotoFile
// this.socialPhotoFile = data.socialPhotoFile
// this.gongshangbaoxianFile = data.gongshangbaoxianFile
// qr
if (row.STATUS === '2') {
this.qrCodeStr = config.messageUrl + '?USER_ID=' + row.USER_ID
} else {
this.qrCodeStr = ''
}
// if (row.STATUS === '2') {
// this.qrCodeStr = config.messageUrl + '?USER_ID=' + row.USER_ID
// } else {
// this.qrCodeStr = ''
// }
requestFN(
'/user/getFloatPersonDetailById',
{
USER_ID: row.USER_ID,
CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID
}
).then((data) => {
this.userEntryForm = Object.assign(this.userEntryForm, data.eCard)
this.detailForm = Object.assign(this.detailForm, data.userDetail)
this.trainRecordList = data.recordList
this.loading = false
}).catch((e) => {
console.log(e)
})
// requestFN(
// '/user/getFloatPersonDetailById',
// {
// USER_ID: row.USER_ID,
// CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID
// }
// ).then((data) => {
// this.userEntryForm = Object.assign(this.userEntryForm, data.eCard)
// this.detailForm = Object.assign(this.detailForm, data.userDetail)
// this.trainRecordList = data.recordList
// this.loading = false
// }).catch((e) => {
// console.log(e)
// })
}).catch((e) => {
console.log(e)
})