Compare commits
2 Commits
d64bea0d27
...
fbb9899b55
| Author | SHA1 | Date |
|---|---|---|
|
|
fbb9899b55 | |
|
|
f7af9999e4 |
|
|
@ -156,7 +156,8 @@ export default {
|
||||||
async view(row) {
|
async view(row) {
|
||||||
try {
|
try {
|
||||||
let data = {
|
let data = {
|
||||||
Id: row.Id
|
Id: row.Id,
|
||||||
|
TrialId: this.$route.query.trialId
|
||||||
// Id: "EC660000-BA37-5C60-8680-08DE1CD6931B"
|
// Id: "EC660000-BA37-5C60-8680-08DE1CD6931B"
|
||||||
}
|
}
|
||||||
let res = await getEmailInfo(data)
|
let res = await getEmailInfo(data)
|
||||||
|
|
@ -195,7 +196,8 @@ export default {
|
||||||
async resendEmail(row) {
|
async resendEmail(row) {
|
||||||
try {
|
try {
|
||||||
let data = {
|
let data = {
|
||||||
Id: row.Id
|
Id: row.Id,
|
||||||
|
TrialId: this.$route.query.trialId
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
let res = await resendEmail(data)
|
let res = await resendEmail(data)
|
||||||
|
|
|
||||||
|
|
@ -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