diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue index 06f0e03c..60ed03ee 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -205,7 +205,9 @@ - +
{{ $t('trials:reading:Segmentations:button:renameSegmentGroup') }} @@ -352,7 +354,8 @@ export default { drawing: false, // 是否正在分割 isDel: false, digitPlaces: 2, - isloaded: false + isloaded: false, + popoverId: null } }, mounted() { @@ -376,6 +379,9 @@ export default { }) const digitPlaces = Number(localStorage.getItem('digitPlaces')) this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces + // document.addEventListener("click", () => { + // this.popoverId = null + // }); }, computed: { curSegmentGroup() { @@ -411,6 +417,9 @@ export default { } }, methods: { + handleClickPopover(item) { + this.popoverId = `popover-${item.segmentationId}_${item.segmentIndex}` + }, initThreshold() { if (!this.ThresholdTools.includes(this.activeTool)) { this.setToolActive(this.ThresholdTools[0])