影像融合时,显示的访视及检查信息与当前高亮窗口一致
parent
9827baf122
commit
e96a4a4d7b
|
@ -462,11 +462,23 @@
|
|||
v-if="fusionSeries.visible"
|
||||
:visible.sync="fusionSeries.visible"
|
||||
:close-on-click-modal="false"
|
||||
:title="$t('trials:lugano:dialogTitle:fusion')"
|
||||
width="850px"
|
||||
>
|
||||
|
||||
<el-form ref="fusionForm" :model="fusionForm">
|
||||
<div slot="title">
|
||||
<span>{{ $t('trials:lugano:dialogTitle:fusion') }}</span>
|
||||
</div>
|
||||
<el-form ref="fusionForm" :model="fusionForm" label-width="120px" label-position="left">
|
||||
<!-- 任务名称 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:lugano:fusionDialog:label:taskBlindName')"
|
||||
prop="taskBlindName"
|
||||
>
|
||||
<el-input
|
||||
v-model="fusionForm.taskBlindName"
|
||||
:disabled="true"
|
||||
style="width:200px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- 检查 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:lugano:fusionDialog:label:study')"
|
||||
|
@ -489,9 +501,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 融合图像 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:lugano:fusionDialog:label:fusionImages')"
|
||||
/>
|
||||
<label style="color: #dfdfdf;line-height: 36px;vertical-align: middle;font-size: 14px;">{{ $t('trials:lugano:fusionDialog:label:fusionImages') }}</label>
|
||||
<div style="display: flex;flex-direction: row;justify-content: space-between;margin-bottom:10px;" class="series-table">
|
||||
|
||||
<div style="border: 1px solid #5e5e5e;border-radius: 5px;padding: 0 10px;">
|
||||
|
@ -778,7 +788,8 @@ export default {
|
|||
studyList: [],
|
||||
digitPlaces: 2,
|
||||
activeCanvasWW: null,
|
||||
activeCanvasWC: null
|
||||
activeCanvasWC: null,
|
||||
activeTaskInfo: {}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -799,12 +810,30 @@ export default {
|
|||
}
|
||||
},
|
||||
lastCanvasTaskId: {
|
||||
immediate: true,
|
||||
handler(v) {
|
||||
// if (v) {
|
||||
// console.log('lastCanvasTaskId')
|
||||
// const i = this.visitTaskList.findIndex(i => i.VisitTaskId === v)
|
||||
// if (i < 0) return
|
||||
// var studyList = this.visitTaskList[i].StudyList || []
|
||||
// studyList = studyList.filter(i => !i.IsCriticalSequence && i.Modalities.indexOf('CT') !== -1 && i.Modalities.indexOf('PT') !== -1)
|
||||
// if (studyList.length === 0) return
|
||||
// this.studyList = studyList
|
||||
// } else {
|
||||
// this.studyList = []
|
||||
// }
|
||||
}
|
||||
},
|
||||
activeSeries: {
|
||||
immediate: true,
|
||||
handler(v) {
|
||||
if (v) {
|
||||
console.log('lastCanvasTaskId')
|
||||
const i = this.visitTaskList.findIndex(i => i.VisitTaskId === v)
|
||||
this.activeTaskInfo.taskName = v.taskBlindName
|
||||
this.activeTaskInfo.visitTaskId = v.visitTaskId
|
||||
const i = this.visitTaskList.findIndex(i => i.VisitTaskId === v.visitTaskId)
|
||||
if (i < 0) return
|
||||
this.activeTaskInfo.visitTaskIndex = i
|
||||
var studyList = this.visitTaskList[i].StudyList || []
|
||||
studyList = studyList.filter(i => !i.IsCriticalSequence && i.Modalities.indexOf('CT') !== -1 && i.Modalities.indexOf('PT') !== -1)
|
||||
if (studyList.length === 0) return
|
||||
|
@ -1667,7 +1696,6 @@ export default {
|
|||
if (!this.wwwcList[this.currentDicomCanvasIndex]) {
|
||||
this.wwwcList[this.currentDicomCanvasIndex] = '1'
|
||||
}
|
||||
// var stack = this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].stack
|
||||
this.$refs['container'].focus()
|
||||
// if (stack.studyId) {
|
||||
// DicomEvent.$emit('toggleVisitList', stack)
|
||||
|
@ -1874,7 +1902,7 @@ export default {
|
|||
this.$alert(this.$t('components:uploadvideo:message:xf4'))
|
||||
return
|
||||
}
|
||||
const i = this.visitTaskList.findIndex(i => i.VisitTaskId === this.lastCanvasTaskId)
|
||||
const i = this.activeTaskInfo.visitTaskIndex
|
||||
if (i < 0) return
|
||||
if (this.studyList.length > 0) {
|
||||
this.fusionForm.studyID = this.studyList[0].StudyId
|
||||
|
|
|
@ -568,7 +568,7 @@ export default {
|
|||
height:80%;
|
||||
}
|
||||
/deep/.el-dialog__body{
|
||||
padding: 10px;
|
||||
padding: 20px;
|
||||
height: calc(100% - 120px);
|
||||
}
|
||||
.el-dialog__header{
|
||||
|
|
Loading…
Reference in New Issue