Compare commits

..

No commits in common. "e3714b5cee4f15d881c4d2733c3e8e9e5effdf92" and "de0423645589724ab810880161608883c885543b" have entirely different histories.

4 changed files with 4 additions and 29 deletions

View File

@ -123,7 +123,7 @@ export default {
return
}
if (
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga'])
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])
) {
history.replaceState(null, null, '/trials/trials-inspection')
history.go(0)

View File

@ -418,7 +418,7 @@ export default {
return
}
if (
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga'])
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])
) {
history.replaceState(null, null, '/trials/trials-inspection')
history.go(0)

View File

@ -176,7 +176,7 @@ export default {
return
}
if (
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga'])
this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])
) {
history.replaceState(null, null, '/trials/trials-inspection')
history.go(0)

View File

@ -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, 22].includes(scope.row.QuestionType)">
v-if="CriterionType === 10 && readingTaskState < 2 && [21, 14].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,20 +106,6 @@
</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)">
@ -335,7 +321,6 @@ export default {
isExistDisease: null,
currentExistDisease: null,
currentTaskReason: '',
visitIntervalDay: '',
taskReasonObj: {},
tumorEvaluationObj: {},
currentTumorEvaluationObj: {},
@ -688,10 +673,6 @@ 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 })
@ -763,12 +744,6 @@ 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 {