Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
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
郭铭瑶
yangpu
Commits
e6d97de5
Commit
e6d97de5
authored
Apr 01, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换视屏地址
parent
49106f01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
index.html
index.html
+2
-2
api.js
src/server/api.js
+4
-9
main.vue
src/views/main.vue
+1
-1
No files found.
index.html
View file @
e6d97de5
...
...
@@ -19,9 +19,9 @@
</body>
<script
src=
"./static/hls.js"
></script>
<!-- 下面是开发用 -->
<
!-- <script src="./static/SMap.min.js"></script> --
>
<
script
src=
"./static/SMap.min.js"
></script
>
<!-- 下面是生产用 -->
<
script
src=
"./static/esm/SMap.min.js"
></script
>
<
!-- <script src="./static/esm/SMap.min.js"></script> --
>
<script
src=
"./static/Plugins.min.js"
></script>
<script
src=
"./static/GeoTask.min.js"
></script>
...
...
src/server/api.js
View file @
e6d97de5
let
BASE_URL
=
''
let
DATA_URL
=
'
'
let
VIDEO_URL
=
'
'
const
DATA_URL
=
'http://10.89.1.208:10005
'
const
VIDEO_URL
=
'http://10.89.4.179:27343
'
switch
(
process
.
env
.
NODE_ENV
)
{
case
'production'
:
BASE_URL
=
'http://10.89.4.164:18080/api'
VIDEO_URL
=
'http://10.89.4.179:27343'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
// VIDEO_URL = 'http://10.89.1.208:7000/hawkeye'
DATA_URL
=
'http://10.89.1.208:10005'
// BASE_URL = 'http://10.89.4.164:18080/api'
BASE_URL
=
'http://yangpu.hm.omniview.pro/api'
break
default
:
BASE_URL
=
'http://yangpu.hm.omniview.pro/api'
VIDEO_URL
=
'http://10.89.1.208:7000/hawkeye'
DATA_URL
=
'http://10.89.1.208:10005'
}
export
default
{
BASE_URL
,
...
...
src/views/main.vue
View file @
e6d97de5
...
...
@@ -232,7 +232,7 @@ export default {
},
1000
*
60
*
30
)
},
init
()
{
const
{
name
,
id
}
=
this
.
currentStreetInfo
const
{
name
,
}
=
this
.
currentStreetInfo
document
.
querySelector
(
'title'
).
innerText
=
`
${
name
}
城市运行平台`
const
{
map
}
=
this
.
$refs
this
.
initMapFocus
()
...
...
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