From 870354b4b21c3c9c6815046ef10acd14cb56d4d2 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 28 Aug 2024 11:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E9=85=8D=E7=BD=AE=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dictionary/checkConfig/index.vue | 11 ++++++++++- .../trials-panel/trial-summary/audit-record/index.vue | 6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/dictionary/checkConfig/index.vue b/src/views/dictionary/checkConfig/index.vue index f6d256c8..eb674998 100644 --- a/src/views/dictionary/checkConfig/index.vue +++ b/src/views/dictionary/checkConfig/index.vue @@ -110,7 +110,7 @@ - + 基本信息 @@ -509,6 +509,14 @@ + + + + 子数据LableEN + + + + @@ -1138,6 +1146,7 @@ export default { IsSpecialType: false, DataType: '', ChildDataLabel: null, + ChildDataEnLabel: null, ChildDataValue: null, DateType: null, DictionaryCode: null, diff --git a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue index e896b63d..2f0664cb 100644 --- a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue +++ b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue @@ -1051,21 +1051,21 @@ export default { if (row.OptType === 'Add' || row.OptType === 'Init') { item = { key: o[v.ChildDataLabel], - Enum: o[v.ChildDataLabel], + Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel], newValue: o[v.ChildDataValue] ? (o[v.ChildDataValue] ? o[v.ChildDataValue] : '--') : '--', oldValue: '' } } else if (row.OptType === 'Delete') { item = { key: o[v.ChildDataLabel], - Enum: o[v.ChildDataLabel], + Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel], oldValue: o[v.ChildDataValue] ? (o[v.ChildDataValue] ? o[v.ChildDataValue] : '--') : '--', newValue: '--' } } else { item = { key: o[v.ChildDataLabel], - Enum: o[v.ChildDataLabel], + Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel], newValue: o[v.ChildDataValue] ? (o[v.ChildDataValue] ? o[v.ChildDataValue] : '--') : '--', oldValue: uo ? uo[v.ChildDataValue] : '--' }