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