diff --git a/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFFAdvance/QuestionForm.vue b/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFFAdvance/QuestionForm.vue index 55995fce..fe641865 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFFAdvance/QuestionForm.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFFAdvance/QuestionForm.vue @@ -352,9 +352,11 @@ export default { // 1104 -- MRI-PDFF 1105 -- 是否可测量 this.$set(this.questionForm, 'saveTypeEnum', 1) if (qs.QuestionMark === 1105) { + const meanId = this.getQuestionId(1104) if (!v) { - const meanId = this.getQuestionId(1104) this.$set(this.questionForm, meanId, 'NE') + } else { + this.$set(this.questionForm, meanId, '') } } this.setQuestions() @@ -545,10 +547,9 @@ export default { } await store.dispatch('reading/removeMeasuredData', { visitTaskId: this.visitTaskId, measureData: this.questionForm.MeasureData, questionId: this.parentQsId, rowIndex: this.questionForm.RowIndex }) DicomEvent.$emit('getMeasureData') - - this.$set(this.questionForm, 'IsDicomReading', true) this.$set(this.questionForm, 'MeasureData', '') + this.isDisabledMeasurableRadio = false let anwsers = Object.assign({}, this.questionForm) this.$emit('resetQuestions', { mean: '', isMeasurable, saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: anwsers }) DicomEvent.$emit('refreshStudyListMeasureData') @@ -565,9 +566,9 @@ export default { DicomEvent.$emit('getScreenshots', { questionId: this.parentQsId, rowIndex: this.questionForm.RowIndex, visitTaskId: this.visitTaskId, lesionName: this.lesionMark, lesionType: this.lesionType, isMarked: !!measureData }, async val => { try { let picturePath = '' - if (val && measureData && this.questionForm.IsDicomReading) { + if (val && measureData) { let pictureObj = await this.uploadScreenshots(`${new Date().getTime()}`, val) - + picturePath = pictureObj.isSuccess ? this.$getObjectName(pictureObj.result.url) : '' } let answers = [] @@ -595,7 +596,7 @@ export default { picturePath: picturePath, markTool: measureData ? measureData.type : '' } - const res = await submitTaskRowInfo(params, 11) + const res = await submitTaskRowInfo(params, 13) if (res.IsSuccess) { // 保存成功! this.$message.success(this.$t('common:message:savedSuccessfully')) diff --git a/src/views/trials/trials-panel/reading/visit-review/components/ReportPage.vue b/src/views/trials/trials-panel/reading/visit-review/components/ReportPage.vue index 7d1ed7ed..cfd7a195 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/ReportPage.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/ReportPage.vue @@ -61,7 +61,9 @@