From 58ae26029f1e70cf3ee6e8e54e92464982a620ea Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Thu, 1 Aug 2024 17:22:15 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/views/system/area/index.vue | 3 ++- src/views/system/model/index.vue | 35 ++++++++++++++++++++++---------- src/views/user/user/index.vue | 7 ------- 4 files changed, 27 insertions(+), 20 deletions(-) diff --git a/.env.development b/.env.development index 0346afc..4232b16 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ ENV = 'development' # 共享电动车管理系统/开发环境 # VUE_APP_BASE_API = 'https://dche.ccttiot.com/prod-api' -VUE_APP_BASE_API = 'http://192.168.2.189:8080' +VUE_APP_BASE_API = 'http://localhost:8088' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 1d0e8fb..c409b3c 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -764,7 +764,8 @@ export default { this.$refs["form"].validate(valid => { if (valid) { if (this.form.areaId != null) { - updateArea2({areaId:this.form.areaId,boundary:this.form.boundary,boundaryStr:this.form.boundaryStr}).then(response => { + updateArea2({areaId:this.form.areaId,boundary:this.form.boundary,boundaryStr:this.form.boundaryStr,longitude:this.form.longitude, + latitude:this.form.latitude}).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false; this.mapopen = false diff --git a/src/views/system/model/index.vue b/src/views/system/model/index.vue index 54dc4e9..e3e6c97 100644 --- a/src/views/system/model/index.vue +++ b/src/views/system/model/index.vue @@ -1,6 +1,16 @@