From 4813eb915859df3d6810a6d459cc3b1b2d2f3c61 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 25 Jul 2022 16:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/communityService/policy/addPolicy.vue | 3 ++- .../modules/communityService/policy/policyList.vue | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/views/modules/communityService/policy/addPolicy.vue b/src/views/modules/communityService/policy/addPolicy.vue index 4d6f5f55..80f1656c 100644 --- a/src/views/modules/communityService/policy/addPolicy.vue +++ b/src/views/modules/communityService/policy/addPolicy.vue @@ -473,8 +473,9 @@ export default { this.formData.attachmentList = [...this.fileList] let url = '/heart/policy/add' - if (this.formType === 'add') { + if (this.formType === 'add' || this.formType === 'copy') { url = '/heart/policy/add' + this.formData.policyId = '' } else { url = '/heart/policy/update' this.formData.policyId = this.policyId diff --git a/src/views/modules/communityService/policy/policyList.vue b/src/views/modules/communityService/policy/policyList.vue index 86abe1f8..1fbfa97c 100644 --- a/src/views/modules/communityService/policy/policyList.vue +++ b/src/views/modules/communityService/policy/policyList.vue @@ -126,7 +126,7 @@ + width="220">