[update 拆分&解读流程] 调整译文标题
This commit is contained in:
@@ -205,6 +205,7 @@ module.exports = {
|
|||||||
batchClose: 'Batch Close',
|
batchClose: 'Batch Close',
|
||||||
clauseNo: 'Article No.',
|
clauseNo: 'Article No.',
|
||||||
clauseTitle: 'Article Title',
|
clauseTitle: 'Article Title',
|
||||||
|
clauseTitleTranslation: 'Title Translation',
|
||||||
clauseName: 'Article Name',
|
clauseName: 'Article Name',
|
||||||
clauseContent: 'Article Content',
|
clauseContent: 'Article Content',
|
||||||
maximumSelectFive: 'Select up to five records!',
|
maximumSelectFive: 'Select up to five records!',
|
||||||
|
|||||||
@@ -205,6 +205,7 @@ module.exports = {
|
|||||||
batchClose: '批量关闭',
|
batchClose: '批量关闭',
|
||||||
clauseNo: '条款号',
|
clauseNo: '条款号',
|
||||||
clauseTitle: '条款标题',
|
clauseTitle: '条款标题',
|
||||||
|
clauseTitleTranslation: '标题译文',
|
||||||
clauseName: '条款名称',
|
clauseName: '条款名称',
|
||||||
clauseContent: '条款内容',
|
clauseContent: '条款内容',
|
||||||
maximumSelectFive: '最多选择五条记录!',
|
maximumSelectFive: '最多选择五条记录!',
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
<div class="part-title">{{ $t('standardRegulationLibrary.translation') }}</div>
|
<div class="part-title">{{ $t('standardRegulationLibrary.translation') }}</div>
|
||||||
<div class="standard-content translation-content">
|
<div class="standard-content translation-content">
|
||||||
<div class="clause-content-item" v-if="Object.keys(clauseLabelInfo).length">
|
<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"
|
<div class="clause-content-item-content"
|
||||||
v-html="clauseLabelInfo.translation"></div>
|
v-html="clauseLabelInfo.translation"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -289,7 +289,7 @@ export default {
|
|||||||
clauseContentList: [], // 条文内容的数据
|
clauseContentList: [], // 条文内容的数据
|
||||||
translationContentList: [], // 译文内容的数据
|
translationContentList: [], // 译文内容的数据
|
||||||
clauseLabelInfo: {}, // 条文标签数据
|
clauseLabelInfo: {}, // 条文标签数据
|
||||||
clauseLabelHideField: ['item_content', 'item_title', 'translation'],
|
clauseLabelHideField: ['item_content', 'item_title', 'translation', 'title_translation'],
|
||||||
needDictField: [
|
needDictField: [
|
||||||
FieldType.USER_SINGLE.value,
|
FieldType.USER_SINGLE.value,
|
||||||
FieldType.ORGAN_SINGLE.value,
|
FieldType.ORGAN_SINGLE.value,
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ export default {
|
|||||||
rules: {},
|
rules: {},
|
||||||
uploadName: '',
|
uploadName: '',
|
||||||
type: 'add',
|
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样式的数据字典单选
|
radioDictSelect: [], // 使用radio样式的数据字典单选
|
||||||
disabledFieldList: [], // 禁用的字段
|
disabledFieldList: [], // 禁用的字段
|
||||||
specialPlaceholder: {}, // 特殊的placeholder
|
specialPlaceholder: {}, // 特殊的placeholder
|
||||||
|
|||||||
+14
-7
@@ -155,12 +155,26 @@ export default {
|
|||||||
dataIndex: 'itemTitle',
|
dataIndex: 'itemTitle',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
|
{ // 标题译文
|
||||||
|
title: this.$t('clauseTitleTranslation'),
|
||||||
|
align: 'center',
|
||||||
|
width: 180,
|
||||||
|
dataIndex: 'title_translation',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
|
},
|
||||||
{ // 条款内容
|
{ // 条款内容
|
||||||
title: this.$t('clauseContent'),
|
title: this.$t('clauseContent'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
dataIndex: 'itemContent',
|
dataIndex: 'itemContent',
|
||||||
scopedSlots: { customRender: 'htmlContent' }
|
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: [
|
columnsExtend: [
|
||||||
{ // 译文
|
|
||||||
title: this.$t('workCenter.standardInterpretationProcess.translation'),
|
|
||||||
align: 'center',
|
|
||||||
width: 180,
|
|
||||||
dataIndex: 'translation',
|
|
||||||
scopedSlots: { customRender: 'htmlContent' }
|
|
||||||
},
|
|
||||||
{ // 是否与上一版相同
|
{ // 是否与上一版相同
|
||||||
title: this.$t('workCenter.standardInterpretationProcess.sameAsPreviousVersion'),
|
title: this.$t('workCenter.standardInterpretationProcess.sameAsPreviousVersion'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|||||||
Reference in New Issue
Block a user