匿名数据部分问题解决
continuous-integration/drone/push Build is pending
Details
continuous-integration/drone/push Build is pending
Details
parent
22b77ff70f
commit
49c7482d76
|
|
@ -103,7 +103,7 @@
|
|||
</select>
|
||||
<div class="btnBox" v-if="hasAnonymous && hasPermi(['role:iqc'])" @click="openAnonymous">{{
|
||||
$t('DicomViewer:anonymous:PixelAnonymity')
|
||||
}}
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -504,8 +504,6 @@ export default {
|
|||
|
||||
methods: {
|
||||
comparison(f) {
|
||||
this.isComparison = f
|
||||
this.$emit("update:Comparison", f)
|
||||
const elements = document.querySelectorAll('.dicom-item')
|
||||
const scope = this
|
||||
Array.from(elements).forEach((element, index) => {
|
||||
|
|
@ -514,12 +512,14 @@ export default {
|
|||
}
|
||||
})
|
||||
scope.activeTool = null
|
||||
if (this.isComparison) {
|
||||
if (f) {
|
||||
this.$refs[`dicomCanvas0`].getNote_RectangleRoi().then(obj => {
|
||||
let { image } = obj
|
||||
let instanceInfo = this.series.instanceInfoList.find(item => item.ImageId === image.imageId)
|
||||
if (!instanceInfo.IsMasked) return this.$confirm(this.$t("DicomViewer:anonymous:notMasked"))
|
||||
this.changeLayout('1x2')
|
||||
this.isComparison = f
|
||||
this.$emit("update:Comparison", f)
|
||||
let serie = {}
|
||||
Object.keys(this.series).forEach(key => {
|
||||
if (key !== 'instanceInfoList' && key !== 'imageIds') {
|
||||
|
|
@ -555,10 +555,11 @@ export default {
|
|||
this.$refs[`dicomCanvas1`].loadImageStack(dicomCanvas1_info)
|
||||
})
|
||||
} else {
|
||||
this.isComparison = f
|
||||
this.$emit("update:Comparison", f)
|
||||
this.changeLayout('1x1')
|
||||
this.$refs[`dicomCanvas0`].loadImageStack(this.series)
|
||||
}
|
||||
|
||||
},
|
||||
recovery(isAll = false) {
|
||||
if (this.isComparison) return false
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@ export default {
|
|||
}
|
||||
},
|
||||
showSeriesImage(e, seriesIndex, series) {
|
||||
if (!this.isComparison) return false
|
||||
if (this.isComparison) return false
|
||||
this.activeSeriesId = series.seriesId
|
||||
workSpeedclose(true)
|
||||
// if (seriesIndex === this.currentSeriesIndex) return
|
||||
|
|
|
|||
Loading…
Reference in New Issue