From 9a3adf5b070212d1629842f3340e9167661ef3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 19 Oct 2023 18:10:00 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=BD=E5=86=85=E3=80=81=E4=BC=81?= =?UTF-8?q?=E6=A0=87=E6=9F=A5=E7=9C=8B=E6=A0=87=E5=87=86=E5=88=86=E8=A7=A3?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StandardResolutionSheet.vue | 4 ++-- .../documentSplit/StandardSplitSheet.vue | 2 +- .../detail/EnterpriseStandardDetail.vue | 22 +++++++++++++++---- .../modules/StandardResolutionSheetModal.vue | 6 ++++- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/components/StandardResolutionSheet.vue b/src/components/StandardResolutionSheet.vue index 42e94d4c..a0f52244 100644 --- a/src/components/StandardResolutionSheet.vue +++ b/src/components/StandardResolutionSheet.vue @@ -114,7 +114,7 @@ export default { clauseLabelInfo: {}, // 条文标签数据 clauseLabelHideField: ['item_content'], 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], - splitId: null // 文档拆分处的id + queryParams: {} } }, methods: { @@ -130,7 +130,7 @@ export default { }, initDetailInfo () { this.loading = true - previewDocSplit({ id: this.splitId }).then(res => { + previewDocSplit(this.queryParams).then(res => { if (res.success) { const data = res.result || {} this.treeData = data.sarFileSplitMenuEO || [] diff --git a/src/views/documentTool/documentSplit/StandardSplitSheet.vue b/src/views/documentTool/documentSplit/StandardSplitSheet.vue index 364abf39..83f2554b 100644 --- a/src/views/documentTool/documentSplit/StandardSplitSheet.vue +++ b/src/views/documentTool/documentSplit/StandardSplitSheet.vue @@ -13,7 +13,7 @@ export default { components: { StandardResolutionSheet }, mounted () { this.$nextTick(() => { - this.$refs.resolutionSheet.splitId = this.$route.query.id + this.$refs.resolutionSheet.queryParams = { id: this.$route.query.id } this.$refs.resolutionSheet.initClauseFieldList() this.$refs.resolutionSheet.initDetailInfo() }) diff --git a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue index a429203c..12ab0249 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue @@ -57,8 +57,12 @@
{{ formItem.dbFieldTxt }} - {{ $t('enterpriseStandardLibrary.standard.standardResolutionSheet') - }} + + {{ $t('enterpriseStandardLibrary.standard.standardResolutionSheet') }}