添加为典型肝内病灶的非靶病灶时,判断靶病灶中典型肝内病灶数量只在基线提示
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-09-01 10:31:52 +08:00
parent 87654ddea9
commit e582da7500
1 changed files with 20 additions and 19 deletions

View File

@ -795,26 +795,27 @@ export default {
var lymphNodes = this.getQuestionVal(2)
var IntrahepaticLesion = this.getQuestionVal(21)
const lesionPart = this.getQuestionVal(8)
// <2
if (this.lesionType !== 0 && IntrahepaticLesion === 1) {
let questions = this.tableQuestions.find(item => item.QuestionEnName === 'Target Lesion' && item.QuestionName === '靶病灶')
let num = 0
if (questions.TableQuestions && Array.isArray(questions.TableQuestions.Answers)) {
questions.TableQuestions.Answers.forEach(item => {
if (item.IntrahepaticLesion && item.IntrahepaticLesion > 0) num++
})
}
if (num < 2) {
this.$confirm(this.$t('trials:reading:warnning:msg199'), {
type: 'warning',
showCancelButton: false,
callback: action => { }
})
loading.close()
return
}
}
if (this.isBaseLineTask) {
// <2
if (this.lesionType !== 0 && IntrahepaticLesion === 1) {
let questions = this.tableQuestions.find(item => item.QuestionEnName === 'Target Lesion' && item.QuestionName === '靶病灶')
let num = 0
if (questions.TableQuestions && Array.isArray(questions.TableQuestions.Answers)) {
questions.TableQuestions.Answers.forEach(item => {
if (item.IntrahepaticLesion && item.IntrahepaticLesion > 0) num++
})
}
if (num < 2) {
this.$confirm(this.$t('trials:reading:warnning:msg199'), {
type: 'warning',
showCancelButton: false,
callback: action => { }
})
loading.close()
return
}
}
// 线
// 0
if (this.lesionType === 0 && lesionState === 0) {