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: [],
|
questionMarkInfoList: [],
|
||||||
operateStateEnum: null, // 0:绑定;1:标记;2:查看;3:更改;4:移除;5:保存;6:更改数值内容;
|
operateStateEnum: null, // 0:绑定;1:标记;2:查看;3:更改;4:移除;5:保存;6:更改数值内容;
|
||||||
operateQuestionId: '',
|
operateQuestionId: '',
|
||||||
|
operateQuestionName: '',
|
||||||
operateRowId: '',
|
operateRowId: '',
|
||||||
operateParentQsId: '',
|
operateParentQsId: '',
|
||||||
isTableQuestion: false,
|
isTableQuestion: false,
|
||||||
|
|
@ -137,6 +138,11 @@ export default {
|
||||||
this.isTableVisible = visible
|
this.isTableVisible = visible
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
isEN() {
|
||||||
|
return this.$i18n.locale !== 'zh'
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleReadingChart(e) {
|
handleReadingChart(e) {
|
||||||
this.$emit('handleReadingChart', e)
|
this.$emit('handleReadingChart', e)
|
||||||
|
|
@ -430,7 +436,7 @@ export default {
|
||||||
SAVE_TABLE: 7 // 保存表格标记
|
SAVE_TABLE: 7 // 保存表格标记
|
||||||
}
|
}
|
||||||
const { question, operateStateEnum, rowId, answer } = obj
|
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, {
|
Object.assign(this, {
|
||||||
operateStateEnum,
|
operateStateEnum,
|
||||||
|
|
@ -438,6 +444,7 @@ export default {
|
||||||
imageTool: ImageTool,
|
imageTool: ImageTool,
|
||||||
imageToolAttribute: ImageToolAttribute,
|
imageToolAttribute: ImageToolAttribute,
|
||||||
operateQuestionId: Id,
|
operateQuestionId: Id,
|
||||||
|
operateQuestionName: this.isEN ? QuestionEnName : QuestionName,
|
||||||
operateRowId: RowId,
|
operateRowId: RowId,
|
||||||
operateParentQsId: ParentQsId
|
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) {
|
if (message) {
|
||||||
|
message = message.replace('xxx', this.operateQuestionName).replace('yyy', annotation.data.label)
|
||||||
const result = await this.$confirm(message, {
|
const result = await this.$confirm(message, {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true
|
distinguishCancelAndClose: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue