Compare commits

..

3 Commits

Author SHA1 Message Date
wangxiaoshuang ac94a70d4b 调窗问题修改
continuous-integration/drone/push Build is passing Details
2025-09-12 15:14:34 +08:00
wangxiaoshuang 671e73470f 阅片页首次进入默认不选择关键帧 2025-09-12 15:14:21 +08:00
wangxiaoshuang 6cb48a2490 影像库列表添加查看按钮 2025-09-12 15:13:49 +08:00
3 changed files with 20 additions and 6 deletions

View File

@ -148,6 +148,8 @@
]) ])
"> ">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button circle icon="el-icon-view" :title="$t('trials:trialsInspection:button:view')"
@click.stop="handleOpenDialog(scope.row, 'study')" />
<el-button circle v-hasPermi="['trials:trialsInspection:addTrials']" icon="el-icon-plus" <el-button circle v-hasPermi="['trials:trialsInspection:addTrials']" icon="el-icon-plus"
:title="$t('trials:inspection:button:addTrials')" @click.stop="handleOpenDialog(scope.row, 'add')" /> :title="$t('trials:inspection:button:addTrials')" @click.stop="handleOpenDialog(scope.row, 'add')" />
<!-- <el-button <!-- <el-button
@ -180,7 +182,7 @@
:callingAeList="callingAeList" /> :callingAeList="callingAeList" />
<!--pacs拉取列表--> <!--pacs拉取列表-->
<pullImage v-if="pullTrialsVisible" :visible.sync="pullTrialsVisible" :calledAeList="calledAeList" <pullImage v-if="pullTrialsVisible" :visible.sync="pullTrialsVisible" :calledAeList="calledAeList"
:callingAeList="callingAeList" @getList="getList"/> :callingAeList="callingAeList" @getList="getList" />
</BaseContainer> </BaseContainer>
</template> </template>
<script> <script>

View File

@ -560,7 +560,7 @@ export default {
e.stopImmediatePropagation() e.stopImmediatePropagation()
e.stopPropagation() e.stopPropagation()
e.preventDefault() e.preventDefault()
} else if (this.activeToolName === 'Length' || this.activeToolName === 'Bidirectional' && this.readingTaskState < 2) { } else if ((this.activeToolName === 'Length' || this.activeToolName === 'Bidirectional') && this.readingTaskState < 2) {
if (!e.detail.image.columnPixelSpacing || !e.detail.image.rowPixelSpacing) { if (!e.detail.image.columnPixelSpacing || !e.detail.image.rowPixelSpacing) {
// '' // ''
this.$confirm(this.$t('trials:reading:warnning:msg56'), '', { this.$confirm(this.$t('trials:reading:warnning:msg56'), '', {
@ -586,6 +586,15 @@ export default {
e.preventDefault() e.preventDefault()
} }
} else if (this.IsCriticalSequence) { } else if (this.IsCriticalSequence) {
if (this.activeToolName) {
// ''
this.$confirm(this.$t('trials:reading:warnning:msg99'), '', {
showCancelButton: false,
type: 'warning'
}).then(() => {
}).catch(() => { })
}
e.stopImmediatePropagation() e.stopImmediatePropagation()
e.stopPropagation() e.stopPropagation()
e.preventDefault() e.preventDefault()
@ -1826,6 +1835,9 @@ export default {
// console.log(toolName) // console.log(toolName)
// cornerstoneTools.setToolPassiveForElement(this.canvas, toolName) // cornerstoneTools.setToolPassiveForElement(this.canvas, toolName)
// }) // })
if (toolName === 'Wwwc') {
this.isInitWwwc = false
}
this.activeToolName = toolName this.activeToolName = toolName
this.$nextTick(() => { this.$nextTick(() => {
// console.log(cornerstoneTools.isToolActiveForElement(this.canvas, 'Bidirectional')) // console.log(cornerstoneTools.isToolActiveForElement(this.canvas, 'Bidirectional'))

View File

@ -356,7 +356,7 @@ export default {
if (idx > -1 && this.visitTaskList[idx].StudyList && this.visitTaskList[idx].StudyList.length > 0) { if (idx > -1 && this.visitTaskList[idx].StudyList && this.visitTaskList[idx].StudyList.length > 0) {
this.measureData = this.visitTaskList[idx].MeasureData this.measureData = this.visitTaskList[idx].MeasureData
this.studyList = this.visitTaskList[idx].StudyList this.studyList = this.visitTaskList[idx].StudyList
var sIdx = this.studyList.findIndex(s => s.IsDicom) var sIdx = this.studyList.findIndex(s => s.IsDicom && !s.IsCriticalSequence)
if (sIdx > -1) { if (sIdx > -1) {
// this.studyIndex = sIdx // this.studyIndex = sIdx
// c = 0 // c = 0
@ -459,7 +459,7 @@ export default {
this.activeNames = [`${this.studyList[secondObj.studyIndex].StudyId}`] this.activeNames = [`${this.studyList[secondObj.studyIndex].StudyId}`]
} else { } else {
const sIdx = this.studyList.findIndex(s => s.IsDicom) const sIdx = this.studyList.findIndex(s => s.IsDicom && !i.IsCriticalSequence)
const series = this.studyList[sIdx].SeriesList[0] const series = this.studyList[sIdx].SeriesList[0]
const imageIdIndex = Math.floor(series.imageIds.length / 2) const imageIdIndex = Math.floor(series.imageIds.length / 2)
series.imageIdIndex = imageIdIndex > 0 ? imageIdIndex - 1 : 0 series.imageIdIndex = imageIdIndex > 0 ? imageIdIndex - 1 : 0
@ -475,7 +475,7 @@ export default {
}, },
getSecondMarkedSeries(baseObj, visitTaskInfo) { getSecondMarkedSeries(baseObj, visitTaskInfo) {
var obj = {} var obj = {}
var studyList = visitTaskInfo.StudyList var studyList = visitTaskInfo.StudyList.filter(item => !item.IsCriticalSequence)
var measureDatas = visitTaskInfo.MeasureData var measureDatas = visitTaskInfo.MeasureData
if (baseObj.isMarked) { if (baseObj.isMarked) {
var i = measureDatas.findIndex(i => Object.keys(i.MeasureData).length > 0 && i.OrderMarkName === baseObj.measureData.OrderMarkName) var i = measureDatas.findIndex(i => Object.keys(i.MeasureData).length > 0 && i.OrderMarkName === baseObj.measureData.OrderMarkName)
@ -552,7 +552,7 @@ export default {
var mIdx = measureDatas.findIndex(m => Object.keys(m.MeasureData).length > 0) var mIdx = measureDatas.findIndex(m => Object.keys(m.MeasureData).length > 0)
if (mIdx !== -1) { if (mIdx !== -1) {
// //
const sdIndx = studyList.findIndex(sd => sd.StudyId === measureDatas[mIdx].StudyId && sd.IsDicom) const sdIndx = studyList.findIndex(sd => sd.StudyId === measureDatas[mIdx].StudyId && sd.IsDicom && !s.IsCriticalSequence)
if (sdIndx > -1) { if (sdIndx > -1) {
const seriesList = studyList[sdIndx].SeriesList const seriesList = studyList[sdIndx].SeriesList
const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[mIdx].SeriesId) const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[mIdx].SeriesId)