diff --git a/src/components/StandardResolutionSheet.vue b/src/components/StandardResolutionSheet.vue index 1f8be9a..52667fe 100644 --- a/src/components/StandardResolutionSheet.vue +++ b/src/components/StandardResolutionSheet.vue @@ -129,15 +129,12 @@
{{ $t('standardRegulationLibrary.translation') }}
-
-
{{ clause.item_num }} {{ clause.item_title }}
+
+
{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.item_title }}
+ v-html="clauseLabelInfo.translation">
+
{{ $t('standardRegulationLibrary.clauseLabel') }}
@@ -196,10 +200,12 @@ import { getDocSplitEditForm, previewDocSplit } from '@api/documentToolApi' import { FieldType } from '@/enums/commonEnums' import VueDraggableResizable from 'vue-draggable-resizable' import { queryDepartTreeList } from '@api/api' +import UploadFile from '@comp/UploadFile' export default { name: 'StandardResolutionSheet', components: { + UploadFile, VueDraggableResizable }, props: { @@ -229,7 +235,7 @@ export default { clauseContentList: [], // 条文内容的数据 translationContentList: [], // 译文内容的数据 clauseLabelInfo: {}, // 条文标签数据 - clauseLabelHideField: ['item_content'], + clauseLabelHideField: ['item_content', 'item_title', 'translation'], needDictField: [FieldType.USER_SINGLE.value, FieldType.ORGAN_SINGLE.value, FieldType.STANDARD_MORE.value, FieldType.ORGAN_MORE.value, FieldType.OPTION_SINGLE.value, FieldType.OPTION_MORE.value, FieldType.TREE.value], queryParams: {}, isDragging: false, // 是否拖拽中 @@ -246,6 +252,10 @@ export default { this.sheetContainerRefX = boxWidth - this.standardCatalogueRefX - this.clauseLabelRefX }, methods: { + // 查看文件 + handleViewFile (ids) { + this.$refs.uploadFile.open(ids) + }, // 获取组织机构树 getSysCategoryTree () { queryDepartTreeList().then((res) => {