dicom阅片更改
parent
463ecee3d8
commit
f0ec643205
|
@ -1039,7 +1039,7 @@ export default {
|
||||||
loadImageStack(dicomSeries) {
|
loadImageStack(dicomSeries) {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
this.isCurrentTask = dicomSeries.isCurrentTask
|
this.isCurrentTask = dicomSeries.isCurrentTask
|
||||||
this.isBaseline = dicomSeries.isBaseline
|
this.isBaseline = dicomSeries.isBaseLineTask
|
||||||
this.readingTaskState = dicomSeries.readingTaskState
|
this.readingTaskState = dicomSeries.readingTaskState
|
||||||
if (this.isCurrentTask && this.readingTaskState < 2) {
|
if (this.isCurrentTask && this.readingTaskState < 2) {
|
||||||
this.activeTool = 1
|
this.activeTool = 1
|
||||||
|
@ -1088,16 +1088,16 @@ export default {
|
||||||
var frame = imageInfo.frame
|
var frame = imageInfo.frame
|
||||||
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
|
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
|
||||||
this.stack.instanceId = instanceId
|
this.stack.instanceId = instanceId
|
||||||
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
|
|
||||||
ToolStateManager.clearImageIdToolState(dicomSeries.imageIds)
|
|
||||||
this.toggleClipPlay(false)
|
|
||||||
this.toolState.viewportInvert = false
|
|
||||||
this.toolState.dicomInfoVisible = false
|
|
||||||
|
|
||||||
const element = this.$refs.canvas
|
const element = this.$refs.canvas
|
||||||
cornerstone.enable(element)
|
cornerstone.enable(element)
|
||||||
element.tabIndex = 0
|
element.tabIndex = 0
|
||||||
element.focus()
|
element.focus()
|
||||||
|
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
|
||||||
|
ToolStateManager.clearImageIdToolState(dicomSeries.imageIds)
|
||||||
|
this.toggleClipPlay(false)
|
||||||
|
this.toolState.viewportInvert = false
|
||||||
|
this.toolState.dicomInfoVisible = false
|
||||||
var scope = this
|
var scope = this
|
||||||
// var p = parseInt(new Date().getTime())
|
// var p = parseInt(new Date().getTime())
|
||||||
// requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, p*100).then(image=>{
|
// requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, p*100).then(image=>{
|
||||||
|
|
|
@ -1064,16 +1064,15 @@ export default {
|
||||||
var frame = imageInfo.frame
|
var frame = imageInfo.frame
|
||||||
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
|
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
|
||||||
this.stack.instanceId = instanceId
|
this.stack.instanceId = instanceId
|
||||||
|
const element = this.$refs.canvas
|
||||||
|
cornerstone.enable(element)
|
||||||
|
element.tabIndex = 0
|
||||||
|
element.focus()
|
||||||
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
|
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
|
||||||
ToolStateManager.clearImageIdToolState(dicomSeries.imageIds)
|
ToolStateManager.clearImageIdToolState(dicomSeries.imageIds)
|
||||||
this.toggleClipPlay(false)
|
this.toggleClipPlay(false)
|
||||||
this.toolState.viewportInvert = false
|
this.toolState.viewportInvert = false
|
||||||
this.toolState.dicomInfoVisible = false
|
this.toolState.dicomInfoVisible = false
|
||||||
|
|
||||||
const element = this.$refs.canvas
|
|
||||||
cornerstone.enable(element)
|
|
||||||
element.tabIndex = 0
|
|
||||||
element.focus()
|
|
||||||
var scope = this
|
var scope = this
|
||||||
// var p = parseInt(new Date().getTime())
|
// var p = parseInt(new Date().getTime())
|
||||||
// requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, p*100).then(image=>{
|
// requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, p*100).then(image=>{
|
||||||
|
|
Loading…
Reference in New Issue