系统标准报告高亮显示修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f7af9999e4
commit
fbb9899b55
|
|
@ -78,7 +78,7 @@
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<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]}`) || scope.row.IsHighlightObj[task.VisitTaskId] ? '#f66' : '#fff' }">
|
||||||
<template
|
<template
|
||||||
v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 39, 42].includes(scope.row.QuestionType)">
|
v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 39, 42].includes(scope.row.QuestionType)">
|
||||||
<!-- 是否存在疾病(基线时可修改) -->
|
<!-- 是否存在疾病(基线时可修改) -->
|
||||||
|
|
@ -477,6 +477,7 @@ export default {
|
||||||
if (!(filterArr.includes(item.QuestionMark))) {
|
if (!(filterArr.includes(item.QuestionMark))) {
|
||||||
const obj = item
|
const obj = item
|
||||||
obj.Answers = {}
|
obj.Answers = {}
|
||||||
|
obj.IsHighlightObj = {}
|
||||||
if (item.RowIndex > 0) {
|
if (item.RowIndex > 0) {
|
||||||
try {
|
try {
|
||||||
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
|
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
|
||||||
|
|
@ -572,6 +573,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
obj.Answers[i.VisitTaskId] = i.Answer
|
obj.Answers[i.VisitTaskId] = i.Answer
|
||||||
}
|
}
|
||||||
|
obj.IsHighlightObj[i.VisitTaskId] = i.IsHighlight
|
||||||
})
|
})
|
||||||
if (item.QuestionType === 15) {
|
if (item.QuestionType === 15) {
|
||||||
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<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]}`) || scope.row.IsHighlightObj[task.VisitTaskId] ? '#f66' : '#fff' }">
|
||||||
<template
|
<template
|
||||||
v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 42].includes(scope.row.QuestionType)">
|
v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 42].includes(scope.row.QuestionType)">
|
||||||
<!-- 是否存在疾病(基线时可修改) -->
|
<!-- 是否存在疾病(基线时可修改) -->
|
||||||
|
|
@ -168,7 +168,8 @@
|
||||||
<span v-else>{{ $fd(scope.row.DictionaryCode, scope.row.Answers[task.VisitTaskId]) }}</span>
|
<span v-else>{{ $fd(scope.row.DictionaryCode, scope.row.Answers[task.VisitTaskId]) }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="scope.row.QuestionType === 22">
|
<template v-else-if="scope.row.QuestionType === 22">
|
||||||
{{ scope.row.Answers[task.VisitTaskId] === '-2' ? "NA" : scope.row.Answers[task.VisitTaskId] === '-1' ?
|
{{ scope.row.Answers[task.VisitTaskId] === '-2' ? "NA" : scope.row.Answers[task.VisitTaskId] === '-1'
|
||||||
|
?
|
||||||
$t('trials:readingReport:title:unknow') :
|
$t('trials:readingReport:title:unknow') :
|
||||||
scope.row.Answers[task.VisitTaskId] }}
|
scope.row.Answers[task.VisitTaskId] }}
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -429,6 +430,7 @@ export default {
|
||||||
if (!(filterArr.includes(item.QuestionMark))) {
|
if (!(filterArr.includes(item.QuestionMark))) {
|
||||||
const obj = item
|
const obj = item
|
||||||
obj.Answers = {}
|
obj.Answers = {}
|
||||||
|
obj.IsHighlightObj = {}
|
||||||
if (item.RowIndex > 0) {
|
if (item.RowIndex > 0) {
|
||||||
try {
|
try {
|
||||||
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
|
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
|
||||||
|
|
@ -524,6 +526,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
obj.Answers[i.VisitTaskId] = i.Answer
|
obj.Answers[i.VisitTaskId] = i.Answer
|
||||||
}
|
}
|
||||||
|
obj.IsHighlightObj[i.VisitTaskId] = i.IsHighlight
|
||||||
})
|
})
|
||||||
if (item.QuestionType === 15) {
|
if (item.QuestionType === 15) {
|
||||||
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue