DICOM阅片和非DICOM阅片工具,CRF问题与影像标记绑定时,信息明确下
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b0ad500f7a
commit
cb46f89ee1
|
|
@ -109,6 +109,7 @@ export default {
|
|||
questionMarkInfoList: [],
|
||||
operateStateEnum: null, // 0:绑定;1:标记;2:查看;3:更改;4:移除;5:保存;6:更改数值内容;
|
||||
operateQuestionId: '',
|
||||
operateQuestionName: '',
|
||||
operateRowId: '',
|
||||
operateParentQsId: '',
|
||||
isTableQuestion: false,
|
||||
|
|
@ -137,6 +138,11 @@ export default {
|
|||
this.isTableVisible = visible
|
||||
})
|
||||
},
|
||||
computed: {
|
||||
isEN() {
|
||||
return this.$i18n.locale !== 'zh'
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
handleReadingChart(e) {
|
||||
this.$emit('handleReadingChart', e)
|
||||
|
|
@ -430,7 +436,7 @@ export default {
|
|||
SAVE_TABLE: 7 // 保存表格标记
|
||||
}
|
||||
const { question, operateStateEnum, rowId, answer } = obj
|
||||
const { Id, IsTableQuestion, ImageTool, ImageToolAttribute, ParentQsId, RowId } = question
|
||||
const { Id, IsTableQuestion, ImageTool, ImageToolAttribute, ParentQsId, RowId, QuestionName, QuestionEnName } = question
|
||||
|
||||
Object.assign(this, {
|
||||
operateStateEnum,
|
||||
|
|
@ -438,6 +444,7 @@ export default {
|
|||
imageTool: ImageTool,
|
||||
imageToolAttribute: ImageToolAttribute,
|
||||
operateQuestionId: Id,
|
||||
operateQuestionName: this.isEN ? QuestionEnName : QuestionName,
|
||||
operateRowId: RowId,
|
||||
operateParentQsId: ParentQsId
|
||||
})
|
||||
|
|
@ -858,8 +865,9 @@ export default {
|
|||
}
|
||||
// }
|
||||
// 是否确认绑定? 是否确认更改?
|
||||
const message = currentState === 0 ? this.$t("dicom3D:CustomizeQuestionList:confirm:bindYesOrNo") : currentState === 3 ? this.$t("dicom3D:CustomizeQuestionList:confirm:updateYesOrNo") : null
|
||||
let message = currentState === 0 ? this.$t("dicom3D:CustomizeQuestionList:confirm:bindYesOrNo") : currentState === 3 ? this.$t("dicom3D:CustomizeQuestionList:confirm:updateYesOrNo") : null
|
||||
if (message) {
|
||||
message = message.replace('xxx', this.operateQuestionName).replace('yyy', annotation.data.label)
|
||||
const result = await this.$confirm(message, {
|
||||
type: 'warning',
|
||||
distinguishCancelAndClose: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue