From ddebd0fb3e5bdba6656671b0bac438d4b2e83561 Mon Sep 17 00:00:00 2001 From: duanliangtao Date: Wed, 18 Oct 2023 14:34:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A4=BE=E5=8C=BA=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E8=87=AA=E7=BB=84=E7=BB=87=E7=B1=BB=E5=9E=8B=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98=E3=80=81=E5=9C=B0=E5=9B=BE=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/virtualResi.vue | 1441 +++++++++++++++++ .../communityService/fuwuzuzhi/cpts/edit.vue | 7 +- .../communityService/fuwuzuzhi/index.vue | 2 +- 3 files changed, 1445 insertions(+), 5 deletions(-) create mode 100644 src/views/modules/base/virtualResi.vue diff --git a/src/views/modules/base/virtualResi.vue b/src/views/modules/base/virtualResi.vue new file mode 100644 index 000000000..cbaf2bfe4 --- /dev/null +++ b/src/views/modules/base/virtualResi.vue @@ -0,0 +1,1441 @@ + + + + + diff --git a/src/views/modules/communityService/fuwuzuzhi/cpts/edit.vue b/src/views/modules/communityService/fuwuzuzhi/cpts/edit.vue index c503ed1c7..aacb34f40 100644 --- a/src/views/modules/communityService/fuwuzuzhi/cpts/edit.vue +++ b/src/views/modules/communityService/fuwuzuzhi/cpts/edit.vue @@ -232,16 +232,15 @@ export default { watch: {}, async mounted () { + this.getCategoryOpitons(); this.initForm(); + }, methods: { async initForm () { let { latitude, longitude } = this.$store.state.user; - this.initMap(); - this.getCategoryOpitons(); - if (this.formId && this.formType != "add") { await this.getInfo(); } else { @@ -249,6 +248,7 @@ export default { this.fmData.longitude = longitude } + this.$nextTick(() => { if (!map) { this.initMap(this.fmData.latitude, this.fmData.longitude); @@ -271,7 +271,6 @@ export default { rotation: 45, // 设置地图旋转角度 } ); - // 监听地图平移结束 map.on("dragend", (e) => { this.handleMoveCenter(e); diff --git a/src/views/modules/communityService/fuwuzuzhi/index.vue b/src/views/modules/communityService/fuwuzuzhi/index.vue index 772487aac..77e1032d6 100644 --- a/src/views/modules/communityService/fuwuzuzhi/index.vue +++ b/src/views/modules/communityService/fuwuzuzhi/index.vue @@ -261,6 +261,7 @@ export default { this.agencyId = this.user.agencyId; + this.getCategoryOpitons(); this.getTableData(); }, methods: { @@ -268,7 +269,6 @@ export default { console.log(this.searchData); this.pageNo = 1; - this.getCategoryOpitons(); this.getTableData(); },