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