wangxiaoshuang 2024-05-24 13:10:18 +08:00
commit aea319dc36
2 changed files with 6 additions and 5 deletions

View File

@ -920,11 +920,8 @@ export default {
if (this.readingTaskState >= 2) return
var element = cornerstone.getEnabledElement(this.canvas)
var { imageId } = element.image
var instanceId = imageId.split('/')[imageId.split('/').length - 1]
if (instanceId.includes('?frame=')) {
instanceId = instanceId.split('?frame=')[0]
}
instanceId = instanceId.split('.')[0]
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.stack.visitTaskId && i.IsCurrentTask && i.ReadingTaskState < 2)
if (idx === -1) return
this.measureData = this.visitTaskList[idx].MeasureData

View File

@ -446,6 +446,7 @@
alt=""
/>
</viewer>
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.oldValue"></div>
<span v-else>
{{ scope.row.oldValue }}
</span>
@ -537,6 +538,7 @@
/>
<!-- <img :src="scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">-->
</viewer>
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.newValue"></div>
<span v-else>{{ scope.row.newValue }}</span>
</span>
</template>
@ -966,6 +968,7 @@
alt=""
/>
</viewer>
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.oldValue"></div>
<span v-else>
{{ scope.row.oldValue }}
</span>
@ -1063,6 +1066,7 @@
/>
<!-- <img :src="scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">-->
</viewer>
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.newValue"></div>
<span v-else>{{ scope.row.newValue }}</span>
</span>
</template>