From b6035b96d0597997248f6d115f64cb69bcccc87d Mon Sep 17 00:00:00 2001 From: tx <2622874537@qq.com> Date: Wed, 23 Oct 2024 18:02:24 +0800 Subject: [PATCH 1/2] 11 --- .env.development | 5 ++++- .env.production | 4 +++- .env.staging | 4 +++- src/views/system/device/index.vue | 18 +++++++++++++++++- src/views/system/partner/index.vue | 2 +- 5 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 21df1b5..963657b 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,10 @@ ENV = 'development' # 电动车租赁系统/开发环境 # VUE_APP_BASE_API = '/dev-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'https://zc.chuangtewl.com' +VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' + # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index eb16d91..7b03b96 100644 --- a/.env.production +++ b/.env.production @@ -6,4 +6,6 @@ ENV = 'production' # 电动车租赁系统/生产环境 # VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' \ No newline at end of file +# VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'https://zc.chuangtewl.com' +VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' diff --git a/.env.staging b/.env.staging index 394d610..6545377 100644 --- a/.env.staging +++ b/.env.staging @@ -8,4 +8,6 @@ ENV = 'staging' # 电动车租赁系统/测试环境 # VUE_APP_BASE_API = '/stage-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'http://192.168.2.21:8090' +VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' + diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue index eb0df7e..93b4fca 100644 --- a/src/views/system/device/index.vue +++ b/src/views/system/device/index.vue @@ -42,7 +42,7 @@ /> - + 更新 + 上架 + 下架 - + Date: Thu, 24 Oct 2024 15:20:47 +0800 Subject: [PATCH 2/2] 11 --- src/components/AreaMap/index.vue | 235 +++++++++++++++++++++++++++++++ src/views/system/area/index.vue | 25 +++- 2 files changed, 259 insertions(+), 1 deletion(-) create mode 100644 src/components/AreaMap/index.vue diff --git a/src/components/AreaMap/index.vue b/src/components/AreaMap/index.vue new file mode 100644 index 0000000..9a1c241 --- /dev/null +++ b/src/components/AreaMap/index.vue @@ -0,0 +1,235 @@ + + + + + diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 77907c1..3c77c79 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -129,6 +129,16 @@ + @@ -160,10 +170,12 @@