Compare commits

..

No commits in common. "ac94a70d4b9609f6a3384879e48a45fa1695010f" and "0eab6ba6fe1a6c934a110807b3a99d9cf066a355" have entirely different histories.

3 changed files with 6 additions and 20 deletions

View File

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

View File

@ -560,7 +560,7 @@ export default {
e.stopImmediatePropagation()
e.stopPropagation()
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) {
// ''
this.$confirm(this.$t('trials:reading:warnning:msg56'), '', {
@ -586,15 +586,6 @@ export default {
e.preventDefault()
}
} else if (this.IsCriticalSequence) {
if (this.activeToolName) {
// ''
this.$confirm(this.$t('trials:reading:warnning:msg99'), '', {
showCancelButton: false,
type: 'warning'
}).then(() => {
}).catch(() => { })
}
e.stopImmediatePropagation()
e.stopPropagation()
e.preventDefault()
@ -1835,9 +1826,6 @@ export default {
// console.log(toolName)
// cornerstoneTools.setToolPassiveForElement(this.canvas, toolName)
// })
if (toolName === 'Wwwc') {
this.isInitWwwc = false
}
this.activeToolName = toolName
this.$nextTick(() => {
// 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) {
this.measureData = this.visitTaskList[idx].MeasureData
this.studyList = this.visitTaskList[idx].StudyList
var sIdx = this.studyList.findIndex(s => s.IsDicom && !s.IsCriticalSequence)
var sIdx = this.studyList.findIndex(s => s.IsDicom)
if (sIdx > -1) {
// this.studyIndex = sIdx
// c = 0
@ -459,7 +459,7 @@ export default {
this.activeNames = [`${this.studyList[secondObj.studyIndex].StudyId}`]
} else {
const sIdx = this.studyList.findIndex(s => s.IsDicom && !i.IsCriticalSequence)
const sIdx = this.studyList.findIndex(s => s.IsDicom)
const series = this.studyList[sIdx].SeriesList[0]
const imageIdIndex = Math.floor(series.imageIds.length / 2)
series.imageIdIndex = imageIdIndex > 0 ? imageIdIndex - 1 : 0
@ -475,7 +475,7 @@ export default {
},
getSecondMarkedSeries(baseObj, visitTaskInfo) {
var obj = {}
var studyList = visitTaskInfo.StudyList.filter(item => !item.IsCriticalSequence)
var studyList = visitTaskInfo.StudyList
var measureDatas = visitTaskInfo.MeasureData
if (baseObj.isMarked) {
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)
if (mIdx !== -1) {
//
const sdIndx = studyList.findIndex(sd => sd.StudyId === measureDatas[mIdx].StudyId && sd.IsDicom && !s.IsCriticalSequence)
const sdIndx = studyList.findIndex(sd => sd.StudyId === measureDatas[mIdx].StudyId && sd.IsDicom)
if (sdIndx > -1) {
const seriesList = studyList[sdIndx].SeriesList
const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[mIdx].SeriesId)