Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
Z
zhxf_vue
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
葛齐林
zhxf_vue
Commits
01188134
Commit
01188134
authored
Jun 03, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
ca654d32
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
15 deletions
+14
-15
config.js
public/config.js
+4
-5
index.html
public/index.html
+4
-4
App.vue
src/App.vue
+4
-4
index.vue
src/pages/ol/demo/index.vue
+2
-2
No files found.
public/config.js
View file @
01188134
...
...
@@ -5,13 +5,12 @@ CONFIG.TITLE = '产业园区智慧消防系统'
// 网络请求公用地址
// CONFIG.requestPath = 'http://localhost:804
6
'
// CONFIG.requestPath = 'http://localhost:804
7
'
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
// CONFIG.bimPath = 'http://10.20.2.98:8066/'
CONFIG
.
bimPath
=
'http://10.20.72.44:8066/'
CONFIG
.
bimPath
=
'http://10.20.2.98:8066/'
public/index.html
View file @
01188134
...
...
@@ -13,10 +13,10 @@
<title>
产业园区智慧消防系统
</title>
<script>
//禁用所有控制台输出
//
var console={};
//
console.log=function(){};
//
console.warn=function(){};
//
console.error=function(){};
var
console
=
{};
console
.
log
=
function
(){};
console
.
warn
=
function
(){};
console
.
error
=
function
(){};
</script>
<script
src=
"./config.js"
></script>
<style>
...
...
src/App.vue
View file @
01188134
...
...
@@ -141,12 +141,12 @@ export default {
let
webpath
=
''
//wsuri.substring(0, wsuri.indexOf(':'))
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
{
webpath
=
'ws:'
+
wsuri
.
substring
(
0
,
wsuri
.
indexOf
(
':'
))
+
':809
1
/websocket/1001'
':809
2
/websocket/1001'
}
console
.
log
(
'webpathLog:'
+
webpath
)
...
...
@@ -274,12 +274,12 @@ export default {
let
webpath
=
''
//wsuri.substring(0, wsuri.indexOf(':'))
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
{
webpath
=
'ws:'
+
wsuri
.
substring
(
0
,
wsuri
.
indexOf
(
':'
))
+
':809
1
/websocket/1002'
':809
2
/websocket/1002'
}
console
.
log
(
'webpathLog:'
+
webpath
)
...
...
src/pages/ol/demo/index.vue
View file @
01188134
...
...
@@ -67,8 +67,8 @@
</div>
<div class="map_right">
<div>
<iframe :src="src" ref="iframe"></iframe>
//-
<iframe src="http://10.20.174.62:8088/map/index.html" ref="iframe1"></iframe>
//-
<iframe :src="src" ref="iframe"></iframe>
<iframe src="http://10.20.174.62:8088/map/index.html" ref="iframe1"></iframe>
</div>
</div>
</el-card>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment