pcwg3访视间隔天数可以填写
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-09-12 10:36:55 +08:00
parent 20847e9423
commit e3714b5cee
1 changed files with 26 additions and 1 deletions

View File

@ -69,7 +69,7 @@
<span
:style="{ color: ((scope.row.isLymphNodes === 1 && scope.row.QuestionMark === 1) || (scope.row.isLymphNodes === 0 && scope.row.QuestionMark === 0)) && (scope.row.LesionType === 0 || scope.row.LesionType === 5) || (scope.row.QuestionMark === 12) || scope.row.HighlightAnswerList.includes(`${scope.row.Answers[task.VisitTaskId]}`) ? '#f66' : '#fff' }">
<template
v-if="CriterionType === 10 && readingTaskState < 2 && [21, 14].includes(scope.row.QuestionType)">
v-if="CriterionType === 10 && readingTaskState < 2 && [21, 14, 22].includes(scope.row.QuestionType)">
<!-- 访视点肿瘤评估基线时不可修改 -->
<template v-if="index > 0 && CriterionType === 10 && scope.row.QuestionType === 21">
<el-select v-if="scope.row.Type === 'calculation' && scope.row.DictionaryCode"
@ -106,6 +106,20 @@
</template> -->
</template>
<template
v-else-if="CriterionType === 10 && scope.row.QuestionType === 22 && !task.IsBaseLine && task.VisitTaskId === visitTaskId">
<!-- v-if="tumorEvaluate && (currentEvaluateResult !== tumorEvaluate || currentExistDisease !== isExistDisease)" -->
<template>
<!-- 输入框 -->
<el-input v-model="visitIntervalDay" size="mini"
@input="visitIntervalDay = visitIntervalDay.replace(/^0+(\d)|[^\d]+/g, '')" type="text"
@change="visitIntervalDayChange" />
</template>
</template>
<template v-else-if="CriterionType === 10 && scope.row.QuestionType === 22">
{{ scope.row.Answers[task.VisitTaskId] === '-1' ? $t('trials:readingReport:title:unknow') :
scope.row.Answers[task.VisitTaskId] }}
</template>
</template>
<template
v-else-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 42].includes(scope.row.QuestionType)">
@ -321,6 +335,7 @@ export default {
isExistDisease: null,
currentExistDisease: null,
currentTaskReason: '',
visitIntervalDay: '',
taskReasonObj: {},
tumorEvaluationObj: {},
currentTumorEvaluationObj: {},
@ -673,6 +688,10 @@ export default {
this.currentExistDisease = obj.Answers[this.visitTaskId]
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId], questionType: 15 })
}
if (item.QuestionType === 22) {
this.visitIntervalDay = obj.Answers[this.visitTaskId] == -1 ? '' : obj.Answers[this.visitTaskId]
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId], questionType: 22, visitTaskId: this.visitTaskId })
}
if (item.QuestionType === 13 || item.QuestionType === 42) {
this.currentEvaluateResult = obj.Answers[this.visitTaskId]
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId], questionType: item.QuestionType })
@ -744,6 +763,12 @@ export default {
this.answerArr[idx].answer = val
}
},
visitIntervalDayChange(val) {
var idx = this.answerArr.findIndex(i => i.questionType === 22)
if (idx > -1) {
this.answerArr[idx].answer = val
}
},
async handleConfirm() {
this.loading = true
try {