From b12497943d155154c1763e2f33c5dbb36c0edf0f Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 22 Sep 2022 14:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B1=E5=BF=83=E4=BA=92=E5=8A=A9=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/management/detail-main.scss | 4 + .../communityParty/heart/heartDetail.vue | 514 ++++++++++++++++++ .../communityParty/heart/heartList.vue | 33 +- .../regionalParty/activitysDetail.vue | 2 +- 4 files changed, 548 insertions(+), 5 deletions(-) create mode 100644 src/views/modules/communityParty/heart/heartDetail.vue diff --git a/src/assets/scss/modules/management/detail-main.scss b/src/assets/scss/modules/management/detail-main.scss index 12f55e46e..b351fb551 100644 --- a/src/assets/scss/modules/management/detail-main.scss +++ b/src/assets/scss/modules/management/detail-main.scss @@ -320,6 +320,10 @@ width:500px; padding-top:10px } + .div_map2 { + width:400px; + padding-top:10px + } } } diff --git a/src/views/modules/communityParty/heart/heartDetail.vue b/src/views/modules/communityParty/heart/heartDetail.vue new file mode 100644 index 000000000..6832a618c --- /dev/null +++ b/src/views/modules/communityParty/heart/heartDetail.vue @@ -0,0 +1,514 @@ + + + + + + + + diff --git a/src/views/modules/communityParty/heart/heartList.vue b/src/views/modules/communityParty/heart/heartList.vue index 3a99cd0c7..e1c0432d7 100644 --- a/src/views/modules/communityParty/heart/heartList.vue +++ b/src/views/modules/communityParty/heart/heartList.vue @@ -234,6 +234,18 @@ @dialogOk="addFormOk"> + + + + + import heartForm from './heartForm' +import heartDetail from './heartDetail' import heartAudit from './heartAudit' import heartPerson from './heartPerson' import heartFinish from './heartFinish' @@ -410,11 +423,12 @@ export default { personShow: false,//查看人员 finishShow: false,//活动结束 reviewShow: false,//添加回顾 + detailShow: false, } }, components: { - heartForm, heartAudit, heartPerson, heartFinish, heartReview + heartForm, heartAudit, heartPerson, heartFinish, heartReview, heartDetail }, async created () { @@ -493,13 +507,24 @@ export default { handleDetail (row) { - this.formTitle = '详情' - this.formShow = true + // this.formTitle = '详情' + // this.formShow = true + // this.$nextTick(() => { + // this.$refs.ref_form.initForm('detail', row.actId) + // }) + + this.detailShow = true + this.$nextTick(() => { - this.$refs.ref_form.initForm('detail', row.actId) + this.$refs.ref_form_detail.initForm(row.actId) }) }, + detailFormCancle () { + this.$refs.ref_form_detail.diaDestroy() + this.detailShow = false + }, + handleAdd () { this.formTitle = '新增' this.formShow = true diff --git a/src/views/modules/communityParty/regionalParty/activitysDetail.vue b/src/views/modules/communityParty/regionalParty/activitysDetail.vue index a97a1c177..af98c885f 100644 --- a/src/views/modules/communityParty/regionalParty/activitysDetail.vue +++ b/src/views/modules/communityParty/regionalParty/activitysDetail.vue @@ -87,7 +87,7 @@ export default { }, components: {}, mounted () { - this.initMap() + }, methods: {