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