国际化

uat_us
caiyiling 2024-03-07 11:25:54 +08:00
parent 48f3d4e40c
commit 265f8771f5
3 changed files with 21 additions and 7 deletions

View File

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

View File

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

View File

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