查看历史访视在新窗口打开
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2026-04-20 17:59:45 +08:00
parent 040f66f182
commit 608bd42836
4 changed files with 9 additions and 7 deletions

View File

@ -52,9 +52,13 @@ function getScreen() {
})
}
export async function openWindow(url, name, Skip = false) {
export async function openWindow(url, name, Skip = false, Currently = false) {
// 判断浏览器是否兼容
// 高版本的谷歌edge不支持跨屏需要降低浏览器版本86.0版
if (Currently) {
let fulls = 'left=0,top=0,isPrimary=true,isInternal=true'
return window.open(url, name, fulls);
}
if (!window.getScreens && !window.getScreenDetails) {
console.log('你的浏览器版本不支持多屏展示功能!');
return window.open(url, name);

View File

@ -742,7 +742,7 @@ export default {
this.openWindow = await openWindow(routeData.href, '', true)
}
} else {
this.openWindow = window.open(routeData.href, "_blank");
this.openWindow = await openWindow(routeData.href, '', true, true)
}
// this.openWindow = window.open(routeData.href, '_blank')
},

View File

@ -59,10 +59,10 @@
<div v-if="series" class="right-bottom-text">
<div v-show="imageInfo.location">Location: {{
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
}}</div>
}}</div>
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
}}</div>
}}</div>
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
</div>
<div class="orientation-top">
@ -674,7 +674,6 @@ export default {
setTimeout(() => { csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex }); })
}
})
res.volume.dimensionGroupNumber = 2;
viewport.render()
if (this.series.Modality === 'PT' || this.series.Modality === 'NM') {
setTimeout(() => {
@ -687,7 +686,6 @@ export default {
}
await renderSegmentation(this.series, this.series.TaskInfo, this.viewportId, this.SegmentConfig, this.renderingEngineId, data.segment, this.actionConfiguration)
DicomEvent.$emit('SegmentationLoading', this.viewportId)
console.log(data.segment, 'data.segment')
if (data.segment) return false
if (this.series.hasOwnProperty('curIndex')) return this.setFullScreen(this.series.curIndex)
this.setFullScreen(Math.ceil((res.volume._imageIds.length - 1) / 2) - 1)

View File

@ -873,7 +873,7 @@ export default {
this.openWindow = await openWindow(routeData.href, '', true)
}
} else {
this.openWindow = window.open(routeData.href, "_blank");
this.openWindow = await openWindow(routeData.href, '', true, true)
}
// this.openWindow = window.open(routeData.href, '_blank')
},