非dicom匿名对比添加匿名前、匿名后提示

rj
wangxiaoshuang 2026-07-02 10:50:11 +08:00
parent 2ec96a82f0
commit a278b032e2
2 changed files with 9 additions and 4 deletions

View File

@ -11,7 +11,8 @@
<div v-show="imageType.includes(v.fileType)" :ref="`canvas-${index}`" class="content"> <div v-show="imageType.includes(v.fileType)" :ref="`canvas-${index}`" class="content">
<div class="left-top-text"> <div class="left-top-text">
<div v-if="v.currentFileName">{{ v.currentFileName }}</div> <div v-if="v.currentFileName">{{ v.currentFileName }}</div>
<div v-if="v.imageIds.length > 0">{{ `${ v.currentImageIdIndex + 1 } / ${ v.imageIds.length }` }}</div> <div v-if="v.imageIds.length > 0">{{ `${v.currentImageIdIndex + 1} / ${v.imageIds.length}` }}</div>
<div v-if="isComparison" style="font-size: 30px;color: #428bca;margin-top: 10px;">{{ tip[index] }}</div>
</div> </div>
<div class="left-bottom-text"> <div class="left-bottom-text">
<div v-if="v.zoomText">{{ `Zoom: ${v.zoomText}` }}</div> <div v-if="v.zoomText">{{ `Zoom: ${v.zoomText}` }}</div>
@ -226,7 +227,11 @@ export default {
tools: [], tools: [],
viewportInfos: [], viewportInfos: [],
activeCanvasIndex: 0, activeCanvasIndex: 0,
serie: {} serie: {},
tip: [
this.$t('DicomViewer:anonymous:after'),
this.$t('DicomViewer:anonymous:before')
]
} }
}, },
computed: { computed: {

View File

@ -10,8 +10,8 @@
<!-- 图像 --> <!-- 图像 -->
<div class="middle-panel"> <div class="middle-panel">
<file-viewer ref="fileViewer" :isComparison="isComparison" @toggleImage="toggleImage" @selectFile="selectFile" <file-viewer ref="fileViewer" :isComparison.sync="isComparison" @toggleImage="toggleImage"
@replaceImage="replaceImage" /> @selectFile="selectFile" @replaceImage="replaceImage" />
</div> </div>
</div> </div>
</template> </template>