diff --git a/src/components/clinicalDataQuestions/components/QuestionsForm.vue b/src/components/clinicalDataQuestions/components/QuestionsForm.vue index 3dbd11e2..03c3b3cc 100644 --- a/src/components/clinicalDataQuestions/components/QuestionsForm.vue +++ b/src/components/clinicalDataQuestions/components/QuestionsForm.vue @@ -201,7 +201,7 @@ export default { let imgBlob = this.convertBase64ToBlob(base64) let PicturePath = `/${this.trialId}/Read/${this.subjectId}/${this.visitId}/lc/${new Date().getTime()}.png` const result = await this.OSSclient.put(PicturePath, imgBlob) - params2.PicturePath = PicturePath + params2.PicturePath = this.$getObjectName(result.url) SubmitClinicalFormAndSign(params2).then(res => { this.$message.success(this.$t('trials:crcUpload:message:submittedSuccessfully')) this.close() @@ -284,7 +284,7 @@ export default { let imgBlob = this.convertBase64ToBlob(base64) let PicturePath = `/${this.trialId}/Read/${this.subjectId}/${this.visitId}/lc/${new Date().getTime()}.png` const result = await this.OSSclient.put(PicturePath, imgBlob) - params.PicturePath = PicturePath + params.PicturePath = this.$getObjectName(result.url) submitClinicalForm(params).then(res => { this.$message.success(this.$t('common:message:savedSuccessfully')) this.close()