Compare commits

..

2 Commits

Author SHA1 Message Date
wangxiaoshuang fbb9899b55 系统标准报告高亮显示修改
continuous-integration/drone/push Build is passing Details
2025-12-08 15:39:26 +08:00
wangxiaoshuang f7af9999e4 邮件日志接口添加项目Id 2025-12-08 15:39:03 +08:00
3 changed files with 12 additions and 5 deletions

View File

@ -156,7 +156,8 @@ export default {
async view(row) {
try {
let data = {
Id: row.Id
Id: row.Id,
TrialId: this.$route.query.trialId
// Id: "EC660000-BA37-5C60-8680-08DE1CD6931B"
}
let res = await getEmailInfo(data)
@ -195,7 +196,8 @@ export default {
async resendEmail(row) {
try {
let data = {
Id: row.Id
Id: row.Id,
TrialId: this.$route.query.trialId
}
this.loading = true
let res = await resendEmail(data)

View File

@ -78,7 +78,7 @@
</template>
<template slot-scope="scope">
<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
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))) {
const obj = item
obj.Answers = {}
obj.IsHighlightObj = {}
if (item.RowIndex > 0) {
try {
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
@ -572,6 +573,7 @@ export default {
} else {
obj.Answers[i.VisitTaskId] = i.Answer
}
obj.IsHighlightObj[i.VisitTaskId] = i.IsHighlight
})
if (item.QuestionType === 15) {
this.currentExistDisease = obj.Answers[this.visitTaskId]

View File

@ -78,7 +78,7 @@
</template>
<template slot-scope="scope">
<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
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>
</template>
<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') :
scope.row.Answers[task.VisitTaskId] }}
</template>
@ -429,6 +430,7 @@ export default {
if (!(filterArr.includes(item.QuestionMark))) {
const obj = item
obj.Answers = {}
obj.IsHighlightObj = {}
if (item.RowIndex > 0) {
try {
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
@ -524,6 +526,7 @@ export default {
} else {
obj.Answers[i.VisitTaskId] = i.Answer
}
obj.IsHighlightObj[i.VisitTaskId] = i.IsHighlight
})
if (item.QuestionType === 15) {
this.currentExistDisease = obj.Answers[this.visitTaskId]