熊飞 2024-03-07 13:46:25 +08:00
commit f3c992bfc9
6 changed files with 33 additions and 22 deletions

View File

@ -3592,4 +3592,12 @@ export function addDefaultQuestions(param) {
export function getReadingCalculationData(param) {
return request({
url: `/ReadingImageTask/getReadingCalculationData`,
method: 'post',
data: param
})
}

View File

@ -35,7 +35,7 @@
<script> <script>
import { saveImageQuality, getDicomReadingQuestionAnswer } from '@/api/trials' import { saveImageQuality, getDicomReadingQuestionAnswer,getReadingCalculationData } from '@/api/trials'
import QuestionItem from './QuestionItem' import QuestionItem from './QuestionItem'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import FusionEvent from './FusionEvent' import FusionEvent from './FusionEvent'
@ -63,7 +63,8 @@ export default {
questionFormChangeState: false, questionFormChangeState: false,
questionFormChangeNum: 0, questionFormChangeNum: 0,
lungIsInsideVolume: true, lungIsInsideVolume: true,
liverIsInsideVolume: true liverIsInsideVolume: true,
uptakeFromBaselineId:''
} }
}, },
computed: { computed: {
@ -190,6 +191,10 @@ export default {
// PET 5PS // PET 5PS
this.pet5PSCommentsId = i.Id this.pet5PSCommentsId = i.Id
} }
if (i.QuestionType === 56) {
// 线
this.uptakeFromBaselineId = i.Id
}
if (i.Childrens && i.Childrens.length > 0) { if (i.Childrens && i.Childrens.length > 0) {
this.setChild(i.Childrens) this.setChild(i.Childrens)
} }

View File

@ -724,7 +724,6 @@ export default {
return new Blob([bytesCode], { type: imgtype }) return new Blob([bytesCode], { type: imgtype })
}, },
handleSave() { handleSave() {
console.log('handleSave')
this.$refs.measurementForm.validate(async valid => { this.$refs.measurementForm.validate(async valid => {
if (!valid) return if (!valid) return
const loading = this.$loading({ fullscreen: true }) const loading = this.$loading({ fullscreen: true })
@ -733,7 +732,8 @@ export default {
// callback: action => {} // callback: action => {}
// }) // })
loading.close() loading.close()
this.$confirm(this.$t('当前标记在图像外,不允许保存!'), { //
this.$confirm(this.$t('trials:reading:lugano:warnning:outsideVolume'), {
type: 'warning', type: 'warning',
showCancelButton: false, showCancelButton: false,
callback: action => {} callback: action => {}
@ -743,11 +743,11 @@ export default {
} }
// SUV // SUV
var lesionState = this.getQuestionVal(7) var lesionState = this.getQuestionVal(7)
console.log(lesionState)
lesionState = parseInt(lesionState) lesionState = parseInt(lesionState)
if ((lesionState === 2 || lesionState === 3) && this.questionForm.OtherMeasureData) { if ((lesionState === 2 || lesionState === 3) && this.questionForm.OtherMeasureData) {
loading.close() loading.close()
this.$confirm(this.$t('评估状态为无法评估或消失的病灶不能测量SUV值'), { // SUV
this.$confirm(this.$t('trials:reading:lugano:warnning:cannotMeasuredSUV'), {
type: 'warning', type: 'warning',
showCancelButton: false, showCancelButton: false,
callback: action => {} callback: action => {}
@ -759,7 +759,8 @@ export default {
var suvmax = this.getQuestionVal(20) var suvmax = this.getQuestionVal(20)
if (suvmax === 0) { if (suvmax === 0) {
loading.close() loading.close()
this.$confirm(this.$t('当前病灶suv测量值为0不允许保存'), { // suv0
this.$confirm(this.$t('trials:reading:lugano:warnning:suvis0'), {
type: 'warning', type: 'warning',
showCancelButton: false, showCancelButton: false,
callback: action => {} callback: action => {}

View File

@ -100,6 +100,12 @@
show-overflow-tooltip show-overflow-tooltip
width="200" width="200"
/> />
<el-table-column
prop="VisitName"
:label="$t('trials:globalReview:table:cutOffVisitName')"
show-overflow-tooltip
width="200"
/>
<el-table-column <el-table-column
:label="$t('common:action:action')" :label="$t('common:action:action')"
width="200" width="200"

View File

@ -220,20 +220,8 @@ export default {
}, },
// //
getNextTask() { getNextTask() {
this.loading = true this.disPatchNextTask(this.auditInfo.AuditState >= 2)
this.$refs['auditIssues'].save().then(auditIssuesRes => {
if (!auditIssuesRes) {
this.disPatchNextTask(false)
} else {
this.$refs['auditConclusions'].save().then(auditConclusionsRes => {
this.disPatchNextTask(!!(auditIssuesRes && auditConclusionsRes))
}).catch(_ => {
this.loading = false
})
}
}).catch(_ => {
this.loading = false
})
}, },
disPatchNextTask(isComplete) { disPatchNextTask(isComplete) {
// '' : '' // '' : ''

View File

@ -661,7 +661,10 @@ export default {
this.$message.success(this.$t('common:message:savedSuccessfully')) this.$message.success(this.$t('common:message:savedSuccessfully'))
this.$refs['signForm'].btnLoading = false this.$refs['signForm'].btnLoading = false
this.signVisible = false this.signVisible = false
this.chatForm.visible = false this.$nextTick(()=>{
this.chatForm.visible = false
})
} }
this.loading = false this.loading = false
this.getList() this.getList()