From a9c60a2da3029988f9f8d5dd8369f526100c90bd Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 4 Sep 2024 11:37:27 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E6=8B=86=E5=88=86&=E8=A7=A3=E8=AF=BB?= =?UTF-8?q?=E6=B5=81=E7=A8=8B]=20=E8=B0=83=E6=95=B4=E8=AF=91=E6=96=87?= =?UTF-8?q?=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/en-us.js | 1 + src/common/lang/zh-cn.js | 1 + src/components/StandardResolutionSheet.vue | 4 ++-- .../modules/SplitDetailBatchEditDrawer.vue | 2 +- .../modules/InterpretationClauseTable.vue | 21 ++++++++++++------- 5 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 94535a7..a4abc8d 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -205,6 +205,7 @@ module.exports = { batchClose: 'Batch Close', clauseNo: 'Article No.', clauseTitle: 'Article Title', + clauseTitleTranslation: 'Title Translation', clauseName: 'Article Name', clauseContent: 'Article Content', maximumSelectFive: 'Select up to five records!', diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index 52edd41..4e643ba 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -205,6 +205,7 @@ module.exports = { batchClose: '批量关闭', clauseNo: '条款号', clauseTitle: '条款标题', + clauseTitleTranslation: '标题译文', clauseName: '条款名称', clauseContent: '条款内容', maximumSelectFive: '最多选择五条记录!', diff --git a/src/components/StandardResolutionSheet.vue b/src/components/StandardResolutionSheet.vue index 32140a7..426af5c 100644 --- a/src/components/StandardResolutionSheet.vue +++ b/src/components/StandardResolutionSheet.vue @@ -149,7 +149,7 @@
{{ $t('standardRegulationLibrary.translation') }}
-
{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.item_title }}
+
{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.title_translation }}
@@ -289,7 +289,7 @@ export default { clauseContentList: [], // 条文内容的数据 translationContentList: [], // 译文内容的数据 clauseLabelInfo: {}, // 条文标签数据 - clauseLabelHideField: ['item_content', 'item_title', 'translation'], + clauseLabelHideField: ['item_content', 'item_title', 'translation', 'title_translation'], needDictField: [ FieldType.USER_SINGLE.value, FieldType.ORGAN_SINGLE.value, diff --git a/src/views/documentTool/documentSplit/modules/SplitDetailBatchEditDrawer.vue b/src/views/documentTool/documentSplit/modules/SplitDetailBatchEditDrawer.vue index ae1bb3c..4025772 100644 --- a/src/views/documentTool/documentSplit/modules/SplitDetailBatchEditDrawer.vue +++ b/src/views/documentTool/documentSplit/modules/SplitDetailBatchEditDrawer.vue @@ -216,7 +216,7 @@ export default { rules: {}, uploadName: '', type: 'add', - hiddenFieldList: ['item_num', 'item_title', 'item_content', 'interpretation_articles', 'translation'], // 隐藏的字段 + hiddenFieldList: ['item_num', 'item_title', 'item_content', 'interpretation_articles', 'translation', 'title_translation'], // 隐藏的字段 radioDictSelect: [], // 使用radio样式的数据字典单选 disabledFieldList: [], // 禁用的字段 specialPlaceholder: {}, // 特殊的placeholder diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue index cf980ce..d17516f 100644 --- a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue +++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue @@ -155,12 +155,26 @@ export default { dataIndex: 'itemTitle', scopedSlots: { customRender: 'text' } }, + { // 标题译文 + title: this.$t('clauseTitleTranslation'), + align: 'center', + width: 180, + dataIndex: 'title_translation', + scopedSlots: { customRender: 'text' } + }, { // 条款内容 title: this.$t('clauseContent'), align: 'center', width: 180, dataIndex: 'itemContent', scopedSlots: { customRender: 'htmlContent' } + }, + { // 译文 + title: this.$t('workCenter.standardInterpretationProcess.translation'), + align: 'center', + width: 180, + dataIndex: 'translation', + scopedSlots: { customRender: 'htmlContent' } } ], // 操作列 @@ -188,13 +202,6 @@ export default { }, // 解读的其他字段(拆分表的字段) columnsExtend: [ - { // 译文 - title: this.$t('workCenter.standardInterpretationProcess.translation'), - align: 'center', - width: 180, - dataIndex: 'translation', - scopedSlots: { customRender: 'htmlContent' } - }, { // 是否与上一版相同 title: this.$t('workCenter.standardInterpretationProcess.sameAsPreviousVersion'), align: 'center',