Compare commits
No commits in common. "fbb9899b5525297aa1e541c4310edc5823e82cbe" and "d64bea0d27f5381853f75ed4d6181bb10c72d973" have entirely different histories.
fbb9899b55
...
d64bea0d27
|
|
@ -156,8 +156,7 @@ 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)
|
||||||
|
|
@ -196,8 +195,7 @@ 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]}`) || scope.row.IsHighlightObj[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="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,7 +477,6 @@ 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)
|
||||||
|
|
@ -573,7 +572,6 @@ 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]}`) || scope.row.IsHighlightObj[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="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,8 +168,7 @@
|
||||||
<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>
|
||||||
|
|
@ -430,7 +429,6 @@ 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)
|
||||||
|
|
@ -526,7 +524,6 @@ 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