影像阅片页面反馈按钮优化
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
caf3f41465
commit
6de9cd26a4
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<el-form-item v-if="readingTaskState < 2 && !isFirstChangeTask">
|
<el-form-item v-if="readingTaskState < 2 && !isFirstChangeTask">
|
||||||
<div class="ecrf-footer">
|
<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>
|
<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>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -88,7 +88,8 @@ export default {
|
||||||
spleenInfo: null,
|
spleenInfo: null,
|
||||||
calculateSpleenStatus: '',
|
calculateSpleenStatus: '',
|
||||||
formChanged: false,
|
formChanged: false,
|
||||||
digitPlaces: 2
|
digitPlaces: 2,
|
||||||
|
isExistUnprocessedFeedback: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -117,6 +118,7 @@ export default {
|
||||||
var digitPlaces = Number(localStorage.getItem('digitPlaces'))
|
var digitPlaces = Number(localStorage.getItem('digitPlaces'))
|
||||||
this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces
|
this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces
|
||||||
this.criterionType = parseInt(localStorage.getItem('CriterionType'))
|
this.criterionType = parseInt(localStorage.getItem('CriterionType'))
|
||||||
|
this.isExistUnprocessedFeedback = localStorage.getItem('IsExistUnprocessedFeedback')
|
||||||
DicomEvent.$on('setReadingState', readingTaskState => {
|
DicomEvent.$on('setReadingState', readingTaskState => {
|
||||||
this.readingTaskState = readingTaskState
|
this.readingTaskState = readingTaskState
|
||||||
})
|
})
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</QuestionsPreview>
|
</QuestionsPreview>
|
||||||
</div>
|
</div>
|
||||||
<div class="questions-footer">
|
<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)">
|
<el-button v-if="readingTaskState<2" style="margin-right: 10px" type="primary" size="small" @click="handleSave(true)">
|
||||||
{{$t('common:button:save')}}
|
{{$t('common:button:save')}}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -135,7 +135,8 @@ export default {
|
||||||
ecrfShow: false,
|
ecrfShow: false,
|
||||||
signCode: null,
|
signCode: null,
|
||||||
signVisible: false,
|
signVisible: false,
|
||||||
readingTaskState: null
|
readingTaskState: null,
|
||||||
|
isExistUnprocessedFeedback: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -164,6 +165,7 @@ export default {
|
||||||
this.subjectCode = localStorage.getItem('subjectCode')
|
this.subjectCode = localStorage.getItem('subjectCode')
|
||||||
this.CriterionType = parseInt(localStorage.getItem('CriterionType'))
|
this.CriterionType = parseInt(localStorage.getItem('CriterionType'))
|
||||||
this.TrialReadingCriterionId = this.$router.currentRoute.query.TrialReadingCriterionId
|
this.TrialReadingCriterionId = this.$router.currentRoute.query.TrialReadingCriterionId
|
||||||
|
this.isExistUnprocessedFeedback = localStorage.getItem('IsExistUnprocessedFeedback')
|
||||||
DicomEvent.$on('getCustomTableQuestionAnswer', (visitTaskId) => {
|
DicomEvent.$on('getCustomTableQuestionAnswer', (visitTaskId) => {
|
||||||
this.$refs['QuestionsPreview'].getCustomTableQuestionAnswer(visitTaskId)
|
this.$refs['QuestionsPreview'].getCustomTableQuestionAnswer(visitTaskId)
|
||||||
})
|
})
|
||||||
|
|
|
@ -338,6 +338,7 @@ export default {
|
||||||
localStorage.setItem('isReadingTaskViewInOrder', this.isReadingTaskViewInOrder)
|
localStorage.setItem('isReadingTaskViewInOrder', this.isReadingTaskViewInOrder)
|
||||||
localStorage.setItem('CriterionType', res.Result.CriterionType)
|
localStorage.setItem('CriterionType', res.Result.CriterionType)
|
||||||
localStorage.setItem('digitPlaces', res.Result.DigitPlaces)
|
localStorage.setItem('digitPlaces', res.Result.DigitPlaces)
|
||||||
|
localStorage.setItem('IsExistUnprocessedFeedback', res.Result.IsExistUnprocessedFeedback)
|
||||||
this.readingCategory = res.Result.ReadingCategory
|
this.readingCategory = res.Result.ReadingCategory
|
||||||
this.questionFormChangeState = false
|
this.questionFormChangeState = false
|
||||||
this.questionFormChangeNum = 0
|
this.questionFormChangeNum = 0
|
||||||
|
|
|
@ -70,6 +70,19 @@
|
||||||
min-width="100"
|
min-width="100"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<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
|
<el-tag
|
||||||
:type="
|
:type="
|
||||||
scope.row.UrgentColor === 1
|
scope.row.UrgentColor === 1
|
||||||
|
|
Loading…
Reference in New Issue