Commit 01188134 authored by co_dengxiongwen's avatar co_dengxiongwen

tj

parent ca654d32
...@@ -5,13 +5,12 @@ CONFIG.TITLE = '产业园区智慧消防系统' ...@@ -5,13 +5,12 @@ CONFIG.TITLE = '产业园区智慧消防系统'
// 网络请求公用地址 // 网络请求公用地址
// CONFIG.requestPath = 'http://localhost:8046' // CONFIG.requestPath = 'http://localhost:8047'
CONFIG.requestPath = 'http://10.20.72.44:8046' CONFIG.requestPath = 'http://10.20.2.33:8047'
// 文件上传 // 文件上传
CONFIG.urlPath = 'http://10.20.72.44/' CONFIG.urlPath = 'http://10.20.2.33:8080/'
// BIM // BIM
// CONFIG.bimPath = 'http://10.20.2.98:8066/' CONFIG.bimPath = 'http://10.20.2.98:8066/'
CONFIG.bimPath = 'http://10.20.72.44:8066/'
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
<title>产业园区智慧消防系统</title> <title>产业园区智慧消防系统</title>
<script> <script>
//禁用所有控制台输出 //禁用所有控制台输出
// var console={}; var console={};
// console.log=function(){}; console.log=function(){};
// console.warn=function(){}; console.warn=function(){};
// console.error=function(){}; console.error=function(){};
</script> </script>
<script src="./config.js"></script> <script src="./config.js"></script>
<style> <style>
......
...@@ -141,12 +141,12 @@ export default { ...@@ -141,12 +141,12 @@ export default {
let webpath = '' let webpath = ''
//wsuri.substring(0, wsuri.indexOf(':')) //wsuri.substring(0, wsuri.indexOf(':'))
if (wsuri != null && wsuri.indexOf(':') <= -1) { if (wsuri != null && wsuri.indexOf(':') <= -1) {
webpath = 'ws://10.20.72.44:8091/websocket/1001' webpath = 'ws://10.20.2.33:8092/websocket/1001'
} else { } else {
webpath = webpath =
'ws:' + 'ws:' +
wsuri.substring(0, wsuri.indexOf(':')) + wsuri.substring(0, wsuri.indexOf(':')) +
':8091/websocket/1001' ':8092/websocket/1001'
} }
console.log('webpathLog:' + webpath) console.log('webpathLog:' + webpath)
...@@ -274,12 +274,12 @@ export default { ...@@ -274,12 +274,12 @@ export default {
let webpath = '' let webpath = ''
//wsuri.substring(0, wsuri.indexOf(':')) //wsuri.substring(0, wsuri.indexOf(':'))
if (wsuri != null && wsuri.indexOf(':') <= -1) { if (wsuri != null && wsuri.indexOf(':') <= -1) {
webpath = 'ws://10.20.72.44:8091/websocket/1002' webpath = 'ws://10.20.2.33:8092/websocket/1002'
} else { } else {
webpath = webpath =
'ws:' + 'ws:' +
wsuri.substring(0, wsuri.indexOf(':')) + wsuri.substring(0, wsuri.indexOf(':')) +
':8091/websocket/1002' ':8092/websocket/1002'
} }
console.log('webpathLog:' + webpath) console.log('webpathLog:' + webpath)
......
...@@ -67,8 +67,8 @@ ...@@ -67,8 +67,8 @@
</div> </div>
<div class="map_right"> <div class="map_right">
<div> <div>
<iframe :src="src" ref="iframe"></iframe> //- <iframe :src="src" ref="iframe"></iframe>
//- <iframe src="http://10.20.174.62:8088/map/index.html" ref="iframe1"></iframe> <iframe src="http://10.20.174.62:8088/map/index.html" ref="iframe1"></iframe>
</div> </div>
</div> </div>
</el-card> </el-card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment