【dicom分割】分段菜单按钮点击后,再点击另一个分段菜单按钮,上一个展示的弹窗应该消失
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
920d0b21c6
commit
c5c9e4364c
|
|
@ -205,7 +205,9 @@
|
|||
<svg-icon :icon-class="item && !item.view ? 'eye' : 'eye-open'"
|
||||
@click.stop="viewSegment(item, !item.view)" class="docShow" />
|
||||
<i class="el-icon-lock" v-if="item.lock" @click.stop="lockSegment(item, false)"></i>
|
||||
<el-popover placement="bottom" width="40" trigger="click" class="docShow">
|
||||
<el-popover placement="bottom" width="40" trigger="click" class="docShow"
|
||||
:value="popoverId === `popover-${item.segmentationId}_${item.segmentIndex}`"
|
||||
@show="handleClickPopover(item)">
|
||||
<div class="SegmentGroupBtnBox">
|
||||
<div class="SegmentGroupBtn" @click.stop="rename('segment', item)">
|
||||
{{ $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])
|
||||
|
|
|
|||
Loading…
Reference in New Issue