影像阅片页面反馈按钮优化
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-02-14 16:07:40 +08:00
parent caf3f41465
commit 6de9cd26a4
4 changed files with 22 additions and 4 deletions

View File

@ -20,7 +20,7 @@
<el-form-item v-if="readingTaskState < 2 && !isFirstChangeTask">
<div class="ecrf-footer">
<i v-if="groupClassify === null || groupClassify === 1" class="el-icon-question feedback-icon" @click="openFeedBackTable" />
<i v-if="groupClassify === null || groupClassify === 1" class="el-icon-warning feedback-icon" @click="openFeedBackTable" :style="{color: isExistUnprocessedFeedback ? '#ffeb3b' : '#fff'}"/>
<el-button size="mini" :disabled="!questionFormChangeState || (!formChanged && groupClassify > 0)" :type="questionFormChangeState || (!formChanged && groupClassify > 0) ? 'primary' : null" @click="handleSave">{{ $t('common:button:save') }}</el-button>
</div>
</el-form-item>
@ -88,7 +88,8 @@ export default {
spleenInfo: null,
calculateSpleenStatus: '',
formChanged: false,
digitPlaces: 2
digitPlaces: 2,
isExistUnprocessedFeedback: false
}
},
computed: {
@ -117,6 +118,7 @@ export default {
var digitPlaces = Number(localStorage.getItem('digitPlaces'))
this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces
this.criterionType = parseInt(localStorage.getItem('CriterionType'))
this.isExistUnprocessedFeedback = localStorage.getItem('IsExistUnprocessedFeedback')
DicomEvent.$on('setReadingState', readingTaskState => {
this.readingTaskState = readingTaskState
})

View File

@ -24,7 +24,7 @@
</QuestionsPreview>
</div>
<div class="questions-footer">
<i class="el-icon-question feedback-icon" @click="openFeedBackTable" />
<i class="el-icon-warning feedback-icon" @click="openFeedBackTable" :style="{color: isExistUnprocessedFeedback ? '#ffeb3b' : '#fff'}"/>
<el-button v-if="readingTaskState<2" style="margin-right: 10px" type="primary" size="small" @click="handleSave(true)">
{{$t('common:button:save')}}
</el-button>
@ -135,7 +135,8 @@ export default {
ecrfShow: false,
signCode: null,
signVisible: false,
readingTaskState: null
readingTaskState: null,
isExistUnprocessedFeedback: false
}
},
computed: {
@ -164,6 +165,7 @@ export default {
this.subjectCode = localStorage.getItem('subjectCode')
this.CriterionType = parseInt(localStorage.getItem('CriterionType'))
this.TrialReadingCriterionId = this.$router.currentRoute.query.TrialReadingCriterionId
this.isExistUnprocessedFeedback = localStorage.getItem('IsExistUnprocessedFeedback')
DicomEvent.$on('getCustomTableQuestionAnswer', (visitTaskId) => {
this.$refs['QuestionsPreview'].getCustomTableQuestionAnswer(visitTaskId)
})

View File

@ -338,6 +338,7 @@ export default {
localStorage.setItem('isReadingTaskViewInOrder', this.isReadingTaskViewInOrder)
localStorage.setItem('CriterionType', res.Result.CriterionType)
localStorage.setItem('digitPlaces', res.Result.DigitPlaces)
localStorage.setItem('IsExistUnprocessedFeedback', res.Result.IsExistUnprocessedFeedback)
this.readingCategory = res.Result.ReadingCategory
this.questionFormChangeState = false
this.questionFormChangeNum = 0

View File

@ -70,6 +70,19 @@
min-width="100"
>
<template slot-scope="scope">
<el-tooltip
class="item"
effect="dark"
:content="$t('trials:pendingReadingTasks:table:feedbackmsg')"
placement="bottom"
v-if="scope.row.IsExistUnprocessedFeedback"
>
<i
v-if="scope.row.IsExistUnprocessedFeedback"
class="el-icon-warning"
style="color: #f44336; font-size: 16px"
/>
</el-tooltip>
<el-tag
:type="
scope.row.UrgentColor === 1