From 40422a86287657312f08311fb079d462d1fe9bab Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 20 Dec 2023 19:51:13 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xgf/flowApply/components/userInfo.vue | 63 ++++++++++--------- 1 file changed, 32 insertions(+), 31 deletions(-) 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) })