diff --git a/src/views/xgf/flowApply/components/userInfo.vue b/src/views/xgf/flowApply/components/userInfo.vue index 6a38268..79f9018 100644 --- a/src/views/xgf/flowApply/components/userInfo.vue +++ b/src/views/xgf/flowApply/components/userInfo.vue @@ -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) })