From b1eccecd62eeaf734eba87f602b0158f90ccae2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 19 Oct 2023 17:05:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=87=E6=A1=A3=E6=8B=86=E5=88=86-?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=A0=87=E5=87=86=E5=88=86=E8=A7=A3=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StandardResolutionSheet.vue | 37 ++++++++++++++----- .../documentSplit/StandardSplitSheet.vue | 11 +++++- .../commonPage/StandardDetailPage.vue | 6 +-- .../modules/StandardResolutionSheetModal.vue | 12 ++++-- 4 files changed, 49 insertions(+), 17 deletions(-) diff --git a/src/components/StandardResolutionSheet.vue b/src/components/StandardResolutionSheet.vue index c3e4e076..42e94d4c 100644 --- a/src/components/StandardResolutionSheet.vue +++ b/src/components/StandardResolutionSheet.vue @@ -36,7 +36,10 @@
-
+
{{ clause.item_num }} {{ clause.item_title }}
-
+
@@ -88,6 +92,7 @@ diff --git a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue index 6fff8fa1..09e81f3e 100644 --- a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue +++ b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue @@ -63,7 +63,7 @@ {{ $t('standardRegulationLibrary.standardResolutionSheet') }} @@ -348,8 +348,8 @@ export default { /** * 查看标准分解单 */ - previewStandardResolutionSheet () { - this.$refs.standardResolutionSheetModal.open() + previewStandardResolutionSheet (id) { + this.$refs.standardResolutionSheetModal.open(id) }, handlePreview (file) { if (!file || !file.url) { diff --git a/src/views/standardRegulationLibrary/commonPage/modules/StandardResolutionSheetModal.vue b/src/views/standardRegulationLibrary/commonPage/modules/StandardResolutionSheetModal.vue index 9d717fd5..f5e24aa7 100644 --- a/src/views/standardRegulationLibrary/commonPage/modules/StandardResolutionSheetModal.vue +++ b/src/views/standardRegulationLibrary/commonPage/modules/StandardResolutionSheetModal.vue @@ -10,7 +10,7 @@
- +
@@ -31,12 +31,18 @@ export default { return { width: '90%', visible: false, - confirmLoading: false + confirmLoading: false, + splitId: null } }, methods: { - open () { + open (id) { this.visible = true + this.$nextTick(() => { + this.$refs.resolutionSheet.splitId = id + this.$refs.resolutionSheet.initClauseFieldList() + this.$refs.resolutionSheet.initDetailInfo() + }) }, handleCancel () { this.visible = false