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) { 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)
}) })