From cb46f89ee1a2ca471bce98907816963b1fb7057b Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 6 Feb 2026 10:45:19 +0800 Subject: [PATCH] =?UTF-8?q?DICOM=E9=98=85=E7=89=87=E5=92=8C=E9=9D=9EDICOM?= =?UTF-8?q?=E9=98=85=E7=89=87=E5=B7=A5=E5=85=B7=EF=BC=8CCRF=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=B8=8E=E5=BD=B1=E5=83=8F=E6=A0=87=E8=AE=B0=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=EF=BC=8C=E4=BF=A1=E6=81=AF=E6=98=8E=E7=A1=AE?= =?UTF-8?q?=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dicoms3D/components/customize/QuestionList.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue index 4ea41cab..c0834044 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue @@ -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