添加为典型肝内病灶的非靶病灶时,判断靶病灶中典型肝内病灶数量只在基线提示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
87654ddea9
commit
e582da7500
|
|
@ -795,26 +795,27 @@ export default {
|
||||||
var lymphNodes = this.getQuestionVal(2)
|
var lymphNodes = this.getQuestionVal(2)
|
||||||
var IntrahepaticLesion = this.getQuestionVal(21)
|
var IntrahepaticLesion = this.getQuestionVal(21)
|
||||||
const lesionPart = this.getQuestionVal(8)
|
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) {
|
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)
|
// 靶病灶且状态为存在(0)
|
||||||
if (this.lesionType === 0 && lesionState === 0) {
|
if (this.lesionType === 0 && lesionState === 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue