Compare commits
No commits in common. "50de867772df31a8255cdacde62f7d23e50ac8e9" and "13429f45ed8c34b6720535ea7a0179b9d8332f9e" have entirely different histories.
50de867772
...
13429f45ed
|
|
@ -3071,11 +3071,10 @@ export default {
|
|||
const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series
|
||||
let index = series.SliceIndex
|
||||
const seriesArr = []
|
||||
let activeViewportIndex = 0
|
||||
if (v === 1) {
|
||||
this.rows = 1
|
||||
this.cols = 1
|
||||
activeViewportIndex = 0
|
||||
this.activeViewportIndex = 0
|
||||
series.curIndex = index
|
||||
if (typeof series === 'object') {
|
||||
seriesArr.push(series)
|
||||
|
|
@ -3083,7 +3082,7 @@ export default {
|
|||
} else if (v === 2) {
|
||||
this.rows = 1
|
||||
this.cols = 2
|
||||
activeViewportIndex = 1
|
||||
this.activeViewportIndex = 1
|
||||
series.curIndex = index
|
||||
if (typeof series === 'object') {
|
||||
seriesArr.push(series)
|
||||
|
|
@ -3130,7 +3129,7 @@ export default {
|
|||
seriesArr.push(series)
|
||||
}
|
||||
}
|
||||
activeViewportIndex = 1
|
||||
this.activeViewportIndex = 1
|
||||
} else if (v === 4) {
|
||||
this.rows = 2
|
||||
this.cols = 2
|
||||
|
|
@ -3141,12 +3140,10 @@ export default {
|
|||
seriesArr.push(series)
|
||||
seriesArr.push(series)
|
||||
}
|
||||
activeViewportIndex = 3
|
||||
this.activeViewportIndex = 3
|
||||
}
|
||||
seriesArr.map(async (i, index) => {
|
||||
await this.$refs[`${this.viewportKey}-${index}`][0].setSeriesInfo(i)
|
||||
if (index === seriesArr.length - 1) this.activeViewportIndex = activeViewportIndex
|
||||
|
||||
seriesArr.map((i, index) => {
|
||||
this.$refs[`${this.viewportKey}-${index}`][0].setSeriesInfo(i)
|
||||
})
|
||||
this.$nextTick(() => {
|
||||
const renderingEngine = getRenderingEngine(renderingEngineId)
|
||||
|
|
|
|||
|
|
@ -27,15 +27,15 @@
|
|||
|
||||
<el-form-item v-if="readingTaskState < 2">
|
||||
<div style="text-align:center;">
|
||||
<el-button v-if="taskInfo && taskInfo.IseCRFShowInDicomReading" :disabled="isTableVisible || isSaved"
|
||||
type="primary" @click="skipTask">
|
||||
<el-button v-if="taskInfo && taskInfo.IseCRFShowInDicomReading" :disabled="isTableVisible" type="primary"
|
||||
@click="skipTask">
|
||||
{{ $t('trials:readingReport:button:skip') }}
|
||||
</el-button>
|
||||
<el-button type="primary" :disabled="isTableVisible || isSaved" @click="handleSave">
|
||||
<el-button type="primary" :disabled="isTableVisible" @click="handleSave">
|
||||
{{ $t('common:button:save') }}
|
||||
</el-button>
|
||||
<el-button v-if="taskInfo && taskInfo.IseCRFShowInDicomReading" :disabled="isTableVisible || isSaved"
|
||||
type="primary" @click="handleSubmit">
|
||||
<el-button v-if="taskInfo && taskInfo.IseCRFShowInDicomReading" :disabled="isTableVisible" type="primary"
|
||||
@click="handleSubmit">
|
||||
{{ $t('common:button:submit') }}
|
||||
</el-button>
|
||||
</div>
|
||||
|
|
@ -121,8 +121,7 @@ export default {
|
|||
digitPlaces: 2,
|
||||
questionImageToolAttributeInfo: {},
|
||||
unSaveTargets: [],
|
||||
isTableVisible: false,
|
||||
isSaved: false
|
||||
isTableVisible: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -284,7 +283,6 @@ export default {
|
|||
const res = await changeDicomReadingQuestionAnswer(params)
|
||||
if (res.IsSuccess) {
|
||||
if (isMsg) {
|
||||
this.isSaved = true
|
||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||
}
|
||||
this.loading = false
|
||||
|
|
@ -1446,12 +1444,6 @@ export default {
|
|||
deep: true,
|
||||
immediate: true
|
||||
},
|
||||
questionForm: {
|
||||
handler() {
|
||||
this.isSaved = false
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
// questionMarkInfoList: {
|
||||
// handler() {
|
||||
// console.log(this.questionMarkInfoList, 'questionMarkInfoList')
|
||||
|
|
|
|||
Loading…
Reference in New Issue