图像窗口添加切换访视功能
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
d69d8802cd
commit
d1159a09b4
|
@ -4,7 +4,7 @@ src/utils/*
|
||||||
public
|
public
|
||||||
dist
|
dist
|
||||||
|
|
||||||
src/*
|
# src/*
|
||||||
src/views/trials/trials-panel/visit/*
|
src/views/trials/trials-panel/visit/*
|
||||||
src/App.vue
|
src/App.vue
|
||||||
src/views/trials/trials-panel/reading/global-review/*
|
src/views/trials/trials-panel/reading/global-review/*
|
||||||
|
|
|
@ -90,7 +90,6 @@ import hardcodedMetaDataProvider from './../js/hardcodedMetaDataProvider'
|
||||||
import registerWebImageLoader from './../js/registerWebImageLoader'
|
import registerWebImageLoader from './../js/registerWebImageLoader'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
import { readUint16 } from '../../../../../../../static/pdfjs/build/pdf.worker'
|
|
||||||
const { ViewportType } = Enums
|
const { ViewportType } = Enums
|
||||||
const renderingEngineId = 'myRenderingEngine'
|
const renderingEngineId = 'myRenderingEngine'
|
||||||
const { ToolGroupManager, Enums: csToolsEnums, StackScrollTool } = cornerstoneTools
|
const { ToolGroupManager, Enums: csToolsEnums, StackScrollTool } = cornerstoneTools
|
||||||
|
|
|
@ -201,9 +201,11 @@ export default {
|
||||||
await this.getReadingImageFile(id, idx)
|
await this.getReadingImageFile(id, idx)
|
||||||
}
|
}
|
||||||
this.activeTaskVisitId = id
|
this.activeTaskVisitId = id
|
||||||
if (isInitActiveFile) {
|
this.$nextTick(() => {
|
||||||
this.$refs[id][0].setInitActiveFile()
|
if (isInitActiveFile) {
|
||||||
}
|
this.$refs[id][0].setInitActiveFile()
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 视图触发任务切换
|
// 视图触发任务切换
|
||||||
async toggleTaskByViewer(visitTaskNum) {
|
async toggleTaskByViewer(visitTaskNum) {
|
||||||
|
|
|
@ -82,14 +82,14 @@ export default {
|
||||||
setInitActiveFile() {
|
setInitActiveFile() {
|
||||||
if (this.studyList.length === 0) return
|
if (this.studyList.length === 0) return
|
||||||
this.activeNames.push(this.studyList[0].Id)
|
this.activeNames.push(this.studyList[0].Id)
|
||||||
this.selectFile(this.studyList[0].NoneDicomStudyFileList, 0, 0)
|
this.selectFile(this.studyList[0], 0, 0)
|
||||||
},
|
},
|
||||||
// 切换文件
|
// 切换文件
|
||||||
selectFile(study, studyIndex, fileIndex) {
|
selectFile(study, studyIndex, fileIndex) {
|
||||||
this.activeStudyIndex = studyIndex
|
this.activeStudyIndex = studyIndex
|
||||||
this.activeFileIndex = fileIndex
|
this.activeFileIndex = fileIndex
|
||||||
let fileList = study.NoneDicomStudyFileList
|
const fileList = study.NoneDicomStudyFileList
|
||||||
this.$emit('selectFile', { fileInfo: fileList[fileIndex], fileList, visitTaskInfo: this.visitTaskInfo, fileIndex: fileIndex, studyId: study.Id})
|
this.$emit('selectFile', { fileInfo: fileList[fileIndex], fileList, visitTaskInfo: this.visitTaskInfo, fileIndex: fileIndex, studyId: study.Id })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue