From 6ed09dbdc57e895ab306294cd4b5d37880ead957 Mon Sep 17 00:00:00 2001 From: 2153917462 <2153917462@qq.com> Date: Wed, 14 May 2025 16:51:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 6 +-- src/permission.js | 8 ++-- src/router/index.js | 14 +++--- .../ecosphere/components/componentLeft.vue | 43 ++++++++++--------- .../ecosphere/components/componentRight.vue | 28 ++++++------ .../components/componentmapbox copy.vue | 8 ++-- .../ecosphere/components/componentmapbox.vue | 2 +- .../security/components/Earth.vue | 4 +- .../components/ReportingStatistics.vue | 6 +-- .../security/components/attackSituation.vue | 4 +- .../security/components/componentCenter.vue | 16 +++++-- .../security/components/componentLeft.vue | 35 +++++++-------- .../security/components/componentRight.vue | 10 ++--- vue.config.js | 3 +- 15 files changed, 101 insertions(+), 90 deletions(-) diff --git a/.env.development b/.env.development index d824185..75ea290 100644 --- a/.env.development +++ b/.env.development @@ -6,5 +6,5 @@ VUE_APP_BASE_API = '/dashboard' # VUE_APP_BASE_API2 = 'http://39.101.188.84:9027' # VUE_APP_BASE_API2 = 'http://192.168.0.108:9035' -VUE_APP_BASE_API2 = 'http://39.101.188.84:9035' -BASE_API = 'http://10.10.3.35:9070' +# VUE_APP_BASE_API2 = 'http://39.101.188.84:9035' +# BASE_API = 'http://10.10.3.35:9070' diff --git a/.env.production b/.env.production index 8b80d54..3906eb2 100644 --- a/.env.production +++ b/.env.production @@ -6,6 +6,6 @@ VUE_APP_BASE_API = '/dashboard' BASE_API = 'http://47.116.52.164:10002' # VUE_APP_BASE_API2 = 'http://39.101.188.84:9027' -# VUE_APP_BASE_API2 = 'http://39.101.188.84:9035' -VUE_APP_BASE_API2 = 'http://20.1.0.157:9035' - +# VUE_APP_BASE_API2 = 'http://192.168.0.108:9035' +# VUE_APP_BASE_API2 = 'http://20.1.0.157:9035' +# VUE_APP_BASE_API2 = '' diff --git a/src/permission.js b/src/permission.js index f9d0b53..f152560 100644 --- a/src/permission.js +++ b/src/permission.js @@ -35,11 +35,11 @@ router.beforeEach(async(to, from, next) => { // } // 获取大屏所用到的接口 if (JSON.stringify(store.state.dict.dictObject) === '{}') { - store - .dispatch('getDictType') - .then((res) => { + // store + // .dispatch('getDictType') + // .then((res) => { next() - }) + // }) .catch((error) => { Message.error(error) }) diff --git a/src/router/index.js b/src/router/index.js index 00e045f..16eb36b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -23,13 +23,13 @@ export const constantRoutes = [ active: true // 标记为默认激活的路由 } }, - { - path: "sentiment", - name: "网络舆情", - component: (resolve) => { - require(["@/views/privateOrder/sentiment/index"], resolve); - }, - }, + // { + // path: "sentiment", + // name: "网络舆情", + // component: (resolve) => { + // require(["@/views/privateOrder/sentiment/index"], resolve); + // }, + // }, { path: "ecosphere", name: "网络管理", diff --git a/src/views/privateOrder/ecosphere/components/componentLeft.vue b/src/views/privateOrder/ecosphere/components/componentLeft.vue index 00157ab..6813a6d 100644 --- a/src/views/privateOrder/ecosphere/components/componentLeft.vue +++ b/src/views/privateOrder/ecosphere/components/componentLeft.vue @@ -120,9 +120,9 @@ v-for="(item, index) in inventoryList" :key="index" :class="threeStatus === item.id ? 'checked' : 'unchecked'" - @click="inventoryBtn(item.id, item.title)" class="three-inventory-item" > +