完全随机阅片,自定义标准中,非DICOM影像不能查看
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1d7b187ddc
commit
dfc9efdb6a
|
@ -595,6 +595,7 @@
|
|||
import { getRelatedVisitTask, getReadingVisitStudyList, getTableAnswerRowInfoList, deleteCustomTag, getCriterionReadingInfo } from '@/api/trials'
|
||||
import { getDoctorShortcutKey, getUserWLTemplateList } from '@/api/user'
|
||||
import { getCustomTag, submitCustomTag } from '@/api/reading'
|
||||
import { getToken } from '@/utils/auth'
|
||||
import {
|
||||
RenderingEngine,
|
||||
Enums,
|
||||
|
@ -2511,6 +2512,9 @@ export default {
|
|||
this.fullScreenIndex = null
|
||||
return this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj)
|
||||
}
|
||||
if (!obj.IsDicom) {
|
||||
return this.previewNoneDicoms(obj)
|
||||
}
|
||||
this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj)
|
||||
this.clipPlaying = false
|
||||
this.fps = 15
|
||||
|
@ -2930,6 +2934,16 @@ export default {
|
|||
}, delay)
|
||||
}
|
||||
},
|
||||
previewNoneDicoms(obj) {
|
||||
var index = this.visitTaskList.findIndex(i => i.VisitTaskId === obj.TaskInfo.VisitTaskId)
|
||||
var taskBlindName = this.visitTaskList[index].TaskBlindName
|
||||
var token = getToken()
|
||||
let subjectId = localStorage.getItem("subjectId")
|
||||
const routeData = this.$router.resolve({
|
||||
path: `/nonedicoms?subjectId=${subjectId}&trialId=${this.trialId}&visitTaskId=${obj.TaskInfo.VisitTaskId}&taskBlindName=${taskBlindName}&readingTaskState=${this.visitTaskList[index].ReadingTaskState}&TokenKey=${token}`
|
||||
})
|
||||
this.open = window.open(routeData.href, '_blank')
|
||||
},
|
||||
// 融合视口相机同步
|
||||
setUpSynchronizers() {
|
||||
const axialCameraPositionSynchronizer = createCameraPositionSynchronizer(
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<div class="series-image">
|
||||
<el-image
|
||||
style="width: 100%;height: 100%;"
|
||||
:src="`${OSSclientConfig.basePath}${series.ImageResizePath}`"
|
||||
:src="`${OSSclientConfig.basePath}${series.ImageResizePath || series.NoneDicomFileFirstFile}`"
|
||||
fit="fill"
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue