diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue index b9e59d0..31e1791 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue @@ -802,7 +802,11 @@ export default { if (this.petctWindow) { this.petctWindow.close() } - window.removeEventListener('beforeunload') + window.removeEventListener('beforeunload', () => { + if (this.petctWindow) { + this.petctWindow.close() + } + }) }, methods: { getWwcTpl() { diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IRecist/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IRecist/QuestionList.vue index 991001f..52c85fc 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IRecist/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IRecist/QuestionList.vue @@ -907,6 +907,7 @@ export default { await store.dispatch('reading/removeMeasuredData', { visitTaskId: this.visitTaskId, measureData: questionsObj.measureData, questionId: questionsObj.questionId, rowIndex: questionsObj.rowIndex }) questionsObj.measureData.data.remark = lesionMark + lesionObj.MarkTool = questionsObj.measureData.type lesionObj.MeasureData = JSON.stringify(questionsObj.measureData) } diff --git a/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue b/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue index d118c22..b7095dd 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue @@ -69,7 +69,7 @@ @focus="focusQs = {...qs}" @change="((val)=>{formItemChange(val, qs)})" > -