Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
卡
卡车调度系统
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
caicaicai
卡车调度系统
Commits
1e1265ed
Commit
1e1265ed
authored
Aug 18, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9d19d46f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
index.vue
src/views/MLargeScreen/index.vue
+25
-2
No files found.
src/views/MLargeScreen/index.vue
View file @
1e1265ed
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
<!-- 嵌入三维地图页面 -->
<!-- 嵌入三维地图页面 -->
<iframe
src=
"http://8.143.203.103:9092/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
<iframe
src=
"http://8.143.203.103:9092/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
<!-- 单个车辆视频监控 -->
<!-- 单个车辆视频监控 -->
<div
class=
"monitorCover1"
v-
if
=
"monitorCover1Show"
>
<div
class=
"monitorCover1"
v-
show
=
"monitorCover1Show"
>
<div
class=
"monitorCover1_closePic"
></div>
<div
class=
"monitorCover1_closePic"
@
click=
"closeMonitorCoverFn"
></div>
<div
class=
"monitorCover1_Video"
>
<div
class=
"monitorCover1_Video"
>
<video
id=
"monitorCover1Id"
width=
"1300"
height=
"700"
muted
autoplay
></video>
<video
id=
"monitorCover1Id"
width=
"1300"
height=
"700"
muted
autoplay
></video>
</div>
</div>
...
@@ -54,6 +54,7 @@ import intelligentSchedul from './components/intelligentSchedul/index.vue' //智
...
@@ -54,6 +54,7 @@ import intelligentSchedul from './components/intelligentSchedul/index.vue' //智
import
dataAnalysis
from
'
./components/dataAnalysis/index.vue
'
//数据分析
import
dataAnalysis
from
'
./components/dataAnalysis/index.vue
'
//数据分析
import
carsEZUIKitJs
from
'
../../components/ezuikit/carsEZUIKitJs.vue
'
//车辆监控
import
carsEZUIKitJs
from
'
../../components/ezuikit/carsEZUIKitJs.vue
'
//车辆监控
import
kaungEZUIKitJs
from
'
../../components/ezuikit/EZUIKitJs.vue
'
//矿山监控
import
kaungEZUIKitJs
from
'
../../components/ezuikit/EZUIKitJs.vue
'
//矿山监控
import
Hls
from
"
hls.js
"
var
noPtzhls1
=
null
;
var
noPtzhls1
=
null
;
export
default
{
export
default
{
...
@@ -263,6 +264,10 @@ export default {
...
@@ -263,6 +264,10 @@ export default {
if
(
event
.
data
.
data
.
hasOwnProperty
(
"
url
"
)){
if
(
event
.
data
.
data
.
hasOwnProperty
(
"
url
"
)){
if
(
event
.
data
.
data
.
url
==
'
监控
'
){
if
(
event
.
data
.
data
.
url
==
'
监控
'
){
console
.
log
(
'
监控
'
,
event
.
data
.
data
.
data
);
console
.
log
(
'
监控
'
,
event
.
data
.
data
.
data
);
if
(
noPtzhls1
!=
null
){
noPtzhls1
.
destroy
();
}
this
.
monitorCover1Show
=
true
;
let
monitorCover1Id
=
document
.
getElementById
(
'
monitorCover1Id
'
);
let
monitorCover1Id
=
document
.
getElementById
(
'
monitorCover1Id
'
);
noPtzhls1
=
new
Hls
();
noPtzhls1
=
new
Hls
();
noPtzhls1
.
loadSource
(
'
http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8
'
);
noPtzhls1
.
loadSource
(
'
http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8
'
);
...
@@ -275,12 +280,23 @@ export default {
...
@@ -275,12 +280,23 @@ export default {
}
}
}
}
},
},
//关闭视频蒙层
closeMonitorCoverFn
(){
this
.
monitorCover1Show
=
false
;
if
(
noPtzhls1
!=
null
){
noPtzhls1
.
destroy
();
}
},
},
},
beforeDestroy
(){
beforeDestroy
(){
this
.
$refs
.
intelligentSchedulMethod
.
xintiaoCloseFn
();
this
.
$refs
.
intelligentSchedulMethod
.
xintiaoCloseFn
();
if
(
this
.
timer
)
{
if
(
this
.
timer
)
{
clearInterval
(
this
.
timer
);
clearInterval
(
this
.
timer
);
}
}
//注销视频
if
(
noPtzhls1
!=
null
){
noPtzhls1
.
destroy
();
}
}
}
}
}
</
script
>
</
script
>
...
@@ -398,5 +414,12 @@ export default {
...
@@ -398,5 +414,12 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
6vh
;
top
:
6vh
;
right
:
3vw
;
right
:
3vw
;
cursor
:
pointer
;
}
.monitorCover1_Video
{
position
:
absolute
;
top
:
10vh
;
left
:
50vw
;
transform
:
translateX
(
-50%
);
}
}
</
style
>
</
style
>
\ No newline at end of file
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