From 58f0d2913f44c9266180bc83f48fd8228318ea33 Mon Sep 17 00:00:00 2001 From: wuyibo <771227828@qq.com> Date: Wed, 30 Aug 2023 14:19:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/WxBuilding/index.vue | 11 +-- .../src/views/system/competitionSet/index.vue | 76 +++++++++++++++++-- 2 files changed, 75 insertions(+), 12 deletions(-) diff --git a/ruoyi-ui/src/views/system/WxBuilding/index.vue b/ruoyi-ui/src/views/system/WxBuilding/index.vue index ef746fcb..d9649f99 100644 --- a/ruoyi-ui/src/views/system/WxBuilding/index.vue +++ b/ruoyi-ui/src/views/system/WxBuilding/index.vue @@ -454,11 +454,11 @@ export default { geoCoder: null, // 搜索提示 AutoComplete: null, - center: [104.065861, 30.657401], - zoom: 12, + center: [104.065837, 30.657349], + zoom: 10, markers: [ { - position: [104.032651, 30.612437] + position: [104.065837, 30.657349] }, ], events: { @@ -675,6 +675,8 @@ export default { this.fileList = []; getWxBuilding(id).then(response => { this.form = response.data; + this.markers[0].position = [response.data.longitude, response.data.latitude] + this.center=[response.data.longitude, response.data.latitude]; this.open = true; this.imageUrl = this.form.chatGroupUrl; var defaultPictureKeys = Object.keys(response.data.defaultPicture); @@ -686,8 +688,7 @@ export default { this.fileList.push(imgItem); }); } - - this.title = "修改球场管理"; + this.title = "修改球场信息"; }); }, //限制上传文件的个数提示 diff --git a/ruoyi-ui/src/views/system/competitionSet/index.vue b/ruoyi-ui/src/views/system/competitionSet/index.vue index 98bf0740..ca79ba48 100644 --- a/ruoyi-ui/src/views/system/competitionSet/index.vue +++ b/ruoyi-ui/src/views/system/competitionSet/index.vue @@ -56,7 +56,7 @@ - +