From 445d8c40b387c901bce2c6f0e23f3d3f9dcee45b Mon Sep 17 00:00:00 2001 From: RenCheng Date: Sat, 21 Jun 2025 14:15:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=A4=E4=B8=AA=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 3 +- src/components/page/GlobalHeader.vue | 1 + src/config/index.js | 2 +- src/views/datalink/shoreGuide.vue | 253 +++++++++++++++++++++++++++ src/views/datalink/submarine.vue | 253 +++++++++++++++++++++++++++ 5 files changed, 510 insertions(+), 2 deletions(-) create mode 100644 src/views/datalink/shoreGuide.vue create mode 100644 src/views/datalink/submarine.vue diff --git a/public/config.js b/public/config.js index 10c53dd..9a36463 100644 --- a/public/config.js +++ b/public/config.js @@ -1,3 +1,4 @@ window.AppConfig = { - systemTitle: '末端数据接入处理系统' + systemTitle: '末端数据接入处理系统', + apiUrl: 'http://pbl1.natapp1.cc/jeecg-boot' } \ No newline at end of file diff --git a/src/components/page/GlobalHeader.vue b/src/components/page/GlobalHeader.vue index d56ea76..fd92e20 100644 --- a/src/components/page/GlobalHeader.vue +++ b/src/components/page/GlobalHeader.vue @@ -120,6 +120,7 @@ export default { }, created() { this.sysTitle = window.AppConfig.systemTitle + this.apiUrl = window.AppConfig.apiUrl }, methods: { handleScroll() { diff --git a/src/config/index.js b/src/config/index.js index 6601609..3604ff7 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -2,7 +2,7 @@ import Vue from 'vue' //设置全局API_BASE_URL Vue.prototype.API_BASE_URL = process.env.VUE_APP_API_BASE_URL -window._CONFIG['domianURL'] = Vue.prototype.API_BASE_URL +window._CONFIG['domianURL'] = window.AppConfig.apiUrl //单点登录地址 window._CONFIG['casPrefixUrl'] = process.env.VUE_APP_CAS_BASE_URL window._CONFIG['onlinePreviewDomainURL'] = process.env.VUE_APP_ONLINE_BASE_URL diff --git a/src/views/datalink/shoreGuide.vue b/src/views/datalink/shoreGuide.vue new file mode 100644 index 0000000..e332f30 --- /dev/null +++ b/src/views/datalink/shoreGuide.vue @@ -0,0 +1,253 @@ + + + + \ No newline at end of file diff --git a/src/views/datalink/submarine.vue b/src/views/datalink/submarine.vue new file mode 100644 index 0000000..4971213 --- /dev/null +++ b/src/views/datalink/submarine.vue @@ -0,0 +1,253 @@ + + + + \ No newline at end of file