pcwg3访视间隔天数可以填写
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
20847e9423
commit
e3714b5cee
|
@ -69,7 +69,7 @@
|
||||||
<span
|
<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' }">
|
: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
|
<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">
|
<template v-if="index > 0 && CriterionType === 10 && scope.row.QuestionType === 21">
|
||||||
<el-select v-if="scope.row.Type === 'calculation' && scope.row.DictionaryCode"
|
<el-select v-if="scope.row.Type === 'calculation' && scope.row.DictionaryCode"
|
||||||
|
@ -106,6 +106,20 @@
|
||||||
</template> -->
|
</template> -->
|
||||||
|
|
||||||
</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>
|
||||||
<template
|
<template
|
||||||
v-else-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 42].includes(scope.row.QuestionType)">
|
v-else-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 42].includes(scope.row.QuestionType)">
|
||||||
|
@ -321,6 +335,7 @@ export default {
|
||||||
isExistDisease: null,
|
isExistDisease: null,
|
||||||
currentExistDisease: null,
|
currentExistDisease: null,
|
||||||
currentTaskReason: '',
|
currentTaskReason: '',
|
||||||
|
visitIntervalDay: '',
|
||||||
taskReasonObj: {},
|
taskReasonObj: {},
|
||||||
tumorEvaluationObj: {},
|
tumorEvaluationObj: {},
|
||||||
currentTumorEvaluationObj: {},
|
currentTumorEvaluationObj: {},
|
||||||
|
@ -673,6 +688,10 @@ export default {
|
||||||
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
||||||
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId], questionType: 15 })
|
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) {
|
if (item.QuestionType === 13 || item.QuestionType === 42) {
|
||||||
this.currentEvaluateResult = obj.Answers[this.visitTaskId]
|
this.currentEvaluateResult = obj.Answers[this.visitTaskId]
|
||||||
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId], questionType: item.QuestionType })
|
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
|
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() {
|
async handleConfirm() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue