[update 拆分&解读流程] 调整译文标题

This commit is contained in:
danshihao
2024-09-04 11:37:27 +08:00
parent 7d7312c684
commit a9c60a2da3
5 changed files with 19 additions and 10 deletions
+1
View File
@@ -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!',
+1
View File
@@ -205,6 +205,7 @@ module.exports = {
batchClose: '批量关闭',
clauseNo: '条款号',
clauseTitle: '条款标题',
clauseTitleTranslation: '标题译文',
clauseName: '条款名称',
clauseContent: '条款内容',
maximumSelectFive: '最多选择五条记录!',
+2 -2
View File
@@ -149,7 +149,7 @@
<div class="part-title">{{ $t('standardRegulationLibrary.translation') }}</div>
<div class="standard-content translation-content">
<div class="clause-content-item" v-if="Object.keys(clauseLabelInfo).length">
<div class="clause-content-item-title">{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.item_title }}</div>
<div class="clause-content-item-title">{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.title_translation }}</div>
<div class="clause-content-item-content"
v-html="clauseLabelInfo.translation"></div>
</div>
@@ -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,
@@ -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
@@ -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',