修复切换访视,lugano标准问题展示异常问题
parent
0cd5362a8e
commit
f3b5a9dc2a
|
@ -19,7 +19,7 @@
|
|||
ref="ecrf"
|
||||
:question-form-change-state="true"
|
||||
:question-form-change-num="0"
|
||||
:isQulityIssues="false"
|
||||
:is-qulity-issues="false"
|
||||
:group-classify="1"
|
||||
/>
|
||||
</div>
|
||||
|
@ -86,7 +86,7 @@
|
|||
</div>
|
||||
<div style="display: inline-block;margin-left:5px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;max-width:80px">
|
||||
<el-tooltip v-if="!isNaN(parseInt(item.TableQuestions.Answers[i].lesionLength))" class="item" effect="dark" :content="`${item.TableQuestions.Answers[i].lesionLength}*${item.TableQuestions.Answers[i].lesionShort}m㎡`" placement="bottom">
|
||||
<span>{{ item.TableQuestions.Answers[i].lesionLength }}*{{item.TableQuestions.Answers[i].lesionShort}}m㎡</span>
|
||||
<span>{{ item.TableQuestions.Answers[i].lesionLength }}*{{ item.TableQuestions.Answers[i].lesionShort }}m㎡</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -134,7 +134,7 @@
|
|||
:question-form-change-state="true"
|
||||
:question-form-change-num="0"
|
||||
:group-classify="2"
|
||||
:isQulityIssues="false"
|
||||
:is-qulity-issues="false"
|
||||
style="margin-top:20px"
|
||||
@setNonTargetMeasurementStatus="setNonTargetMeasurementStatus"
|
||||
/>
|
||||
|
@ -144,7 +144,7 @@
|
|||
:question-form-change-state="true"
|
||||
:question-form-change-num="0"
|
||||
:group-classify="3"
|
||||
:isQulityIssues="false"
|
||||
:is-qulity-issues="false"
|
||||
@setNonTargetMeasurementStatus="setNonTargetMeasurementStatus"
|
||||
/>
|
||||
</div>
|
||||
|
@ -252,12 +252,14 @@ export default {
|
|||
DicomEvent.$on('split', measureData => {
|
||||
this.handleSplit(measureData.RowId, measureData.QuestionId)
|
||||
})
|
||||
DicomEvent.$on('refreshQuestions', async() => {
|
||||
DicomEvent.$on('refreshQuestions', async(obj) => {
|
||||
var triald = this.$router.currentRoute.query.trialId
|
||||
await store.dispatch('reading/refreshDicomReadingQuestionAnswer', { trialId: triald, visitTaskId: this.visitTaskId })
|
||||
this.$refs['ecrf'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf2'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf3'].getQuestions(this.visitTaskId)
|
||||
this.$nextTick(() => {
|
||||
this.$refs['ecrf'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf2'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf3'].getQuestions(this.visitTaskId)
|
||||
})
|
||||
})
|
||||
|
||||
window.addEventListener('resize', this.setHeight)
|
||||
|
@ -1020,9 +1022,11 @@ export default {
|
|||
this.activeName = ''
|
||||
},
|
||||
getECRFQuestions(obj) {
|
||||
this.$refs['ecrf'].getQuestions(obj.visitTaskId)
|
||||
this.$refs['ecrf2'].getQuestions(obj.visitTaskId)
|
||||
this.$refs['ecrf3'].getQuestions(obj.visitTaskId)
|
||||
this.$nextTick(() => {
|
||||
this.$refs['ecrf'].getQuestions(obj.visitTaskId)
|
||||
this.$refs['ecrf2'].getQuestions(obj.visitTaskId)
|
||||
this.$refs['ecrf3'].getQuestions(obj.visitTaskId)
|
||||
})
|
||||
},
|
||||
receiveMsg(event) {
|
||||
if (event.data.type === 'isCanActiveNoneDicomTool') {
|
||||
|
@ -1099,9 +1103,11 @@ export default {
|
|||
await this.getReadingQuestionAndAnswer()
|
||||
var triald = this.$router.currentRoute.query.trialId
|
||||
await store.dispatch('reading/refreshDicomReadingQuestionAnswer', { trialId: triald, visitTaskId: this.visitTaskId })
|
||||
this.$refs['ecrf'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf2'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf3'].getQuestions(this.visitTaskId)
|
||||
this.$nextTick(() => {
|
||||
this.$refs['ecrf'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf2'].getQuestions(this.visitTaskId)
|
||||
this.$refs['ecrf3'].getQuestions(this.visitTaskId)
|
||||
})
|
||||
DicomEvent.$emit('getReportInfo', true)
|
||||
loading.close()
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ export default {
|
|||
if (this.groupClassify === 3) {
|
||||
this.measurements = []
|
||||
this.visitTaskList[idx].QuestionMarkInfoList.forEach(i => {
|
||||
if (i.MeasureData) {
|
||||
if (this.isJSONString(i.MeasureData)) {
|
||||
i.MeasureData = JSON.parse(i.MeasureData)
|
||||
}
|
||||
this.measurements.push(i)
|
||||
|
@ -550,6 +550,14 @@ export default {
|
|||
if (obj.key === this.spleenStatusId) {
|
||||
this.setSpleenCommentDisplay()
|
||||
}
|
||||
},
|
||||
isJSONString(str) {
|
||||
try {
|
||||
JSON.stringify(JSON.parse(str))
|
||||
return true
|
||||
} catch (e) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue