熊飞 2024-03-07 17:45:21 +08:00
commit c1c52f007f
3 changed files with 24 additions and 7 deletions

View File

@ -4,7 +4,7 @@ src/utils/*
public
dist
src/*
# src/*
src/views/trials/trials-panel/visit/*
src/App.vue
src/views/trials/trials-panel/reading/global-review/*

View File

@ -64,7 +64,8 @@ export default {
questionFormChangeNum: 0,
lungIsInsideVolume: true,
liverIsInsideVolume: true,
uptakeFromBaselineId:''
uptakeFromBaselineId: '',
baseLinePET5PS: null
}
},
computed: {
@ -96,7 +97,7 @@ export default {
this.visitTaskId = this.$route.query.visitTaskId
this.readingTaskState = parseInt(this.$route.query.readingTaskState)
this.isBaseLineTask = this.$route.query.isBaseLineTask === 'true'
this.initList()
this.initPage()
FusionEvent.$on('refreshQuestions', () => {
this.initList()
})
@ -131,6 +132,15 @@ export default {
this.questions = questions
}
},
async initPage() {
if (!this.isBaseLineTask) {
this.loading = true
var res = await getReadingCalculationData({ visitTaskId: this.visitTaskId })
this.baseLinePET5PS = res.Result.BaseLinePET5PS
this.loading = false
}
this.initList()
},
initList() {
this.loading = true
var params = {
@ -205,7 +215,8 @@ export default {
this.$refs['questions'].validate((valid) => {
if (!valid) return
if (!this.lungIsInsideVolume || !this.liverIsInsideVolume) {
this.$alert('当前标记在图像外,不允许保存!', '提示', {
//
this.$alert(this.$t('trials:reading:lugano:warnning:outsideVolume'), this.$t('trials:lugano:fusionDialog:warning'), {
callback: action => {
this.$message({
type: 'info',
@ -435,6 +446,12 @@ export default {
}
}
}
// 线
if (!this.isBaseLineTask && this.questionForm[this.pet5PSId] > 0) {
// 访PET 5ps线PET 5ps
// 访PET 5ps线PET 5ps
this.questionForm[this.uptakeFromBaselineId] = this.questionForm[this.pet5PSId] > this.baseLinePET5PS ? '1' : '2'
}
},
setpet5PS() {
console.log('setpet5PS')

View File

@ -93,7 +93,7 @@
prop=""
:label="qs.questionName"
show-overflow-tooltip
:min-width="index === 3 ? '200' : '200'"
width="150"
>
<template slot-scope="scope">
<div v-if="readingTaskState<2 && (scope.row.AfterQuestionList[index].GlobalReadingShowType === 0 || (scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 1) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 2))">
@ -284,7 +284,7 @@
</el-table-column>
<el-table-column
:label="$t('common:action:action')"
width="100"
min-width="150"
>
<template slot-scope="scope">
<el-button