Compare commits
2 Commits
de04236455
...
e3714b5cee
Author | SHA1 | Date |
---|---|---|
|
e3714b5cee | |
|
20847e9423 |
|
@ -123,7 +123,7 @@ export default {
|
|||
return
|
||||
}
|
||||
if (
|
||||
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])
|
||||
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga'])
|
||||
) {
|
||||
history.replaceState(null, null, '/trials/trials-inspection')
|
||||
history.go(0)
|
||||
|
|
|
@ -418,7 +418,7 @@ export default {
|
|||
return
|
||||
}
|
||||
if (
|
||||
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])
|
||||
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga'])
|
||||
) {
|
||||
history.replaceState(null, null, '/trials/trials-inspection')
|
||||
history.go(0)
|
||||
|
|
|
@ -176,7 +176,7 @@ export default {
|
|||
return
|
||||
}
|
||||
if (
|
||||
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])
|
||||
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga'])
|
||||
) {
|
||||
history.replaceState(null, null, '/trials/trials-inspection')
|
||||
history.go(0)
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<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' }">
|
||||
<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">
|
||||
<el-select v-if="scope.row.Type === 'calculation' && scope.row.DictionaryCode"
|
||||
|
@ -106,6 +106,20 @@
|
|||
</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
|
||||
v-else-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13, 14, 15, 42].includes(scope.row.QuestionType)">
|
||||
|
@ -321,6 +335,7 @@ export default {
|
|||
isExistDisease: null,
|
||||
currentExistDisease: null,
|
||||
currentTaskReason: '',
|
||||
visitIntervalDay: '',
|
||||
taskReasonObj: {},
|
||||
tumorEvaluationObj: {},
|
||||
currentTumorEvaluationObj: {},
|
||||
|
@ -673,6 +688,10 @@ export default {
|
|||
this.currentExistDisease = obj.Answers[this.visitTaskId]
|
||||
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) {
|
||||
this.currentEvaluateResult = obj.Answers[this.visitTaskId]
|
||||
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
|
||||
}
|
||||
},
|
||||
visitIntervalDayChange(val) {
|
||||
var idx = this.answerArr.findIndex(i => i.questionType === 22)
|
||||
if (idx > -1) {
|
||||
this.answerArr[idx].answer = val
|
||||
}
|
||||
},
|
||||
async handleConfirm() {
|
||||
this.loading = true
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue