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