Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
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
xinkong
holo-web
Commits
fd1c8e96
Commit
fd1c8e96
authored
Jan 02, 2024
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分场景离线视频地址加入配置文件
parent
a3b86f6d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
24 deletions
+79
-24
DATA.js
wj-data-vision/public/DATA.js
+51
-11
index.vue
wj-data-vision/src/views/accidentScene/left/index.vue
+7
-3
index.vue
wj-data-vision/src/views/dangerousDriving/left/index.vue
+6
-2
index.vue
wj-data-vision/src/views/drones/left/index.vue
+9
-5
index.vue
wj-data-vision/src/views/drones/right/index.vue
+6
-3
No files found.
wj-data-vision/public/DATA.js
View file @
fd1c8e96
...
...
@@ -23,24 +23,33 @@ const situation_mobileBaseStation = {
mobileBaseStationLocations
:
[
{
longitude
:
112.9632513079888
,
latitude
:
28.1932473510918
},
],
videos
:
[
"
/cdn/video/kydjz_1.mp4
"
,
"
/cdn/video/kydjz_2.mp4
"
,
"
/cdn/video/kydjz_3.mp4
"
,
"
/cdn/video/kydjz_4.mp4
"
,
],
};
// 事故场景
const
situation_accident
=
{
videos
:
[
"
/cdn/video/sgcj_3.mp4
"
],
// 地图中高亮事故车辆及其详情弹窗
accidentVehicles
:
[
{
id
:
'
441866
'
,
picLicense
:
'
苏A***59
'
,
behavior
:
"
未保持安全车距
"
id
:
"
441866
"
,
picLicense
:
"
苏A***59
"
,
behavior
:
"
未保持安全车距
"
,
},
{
id
:
'
441795
'
,
picLicense
:
'
苏A***79
'
,
behavior
:
"
急减速
"
id
:
"
441795
"
,
picLicense
:
"
苏A***79
"
,
behavior
:
"
急减速
"
,
},
],
// 事件辅助定责
totalDuration
:
155
,
totalDuration
:
155
,
eventDetail
:
{
事故时间
:
"
2023-12-23 00:16:27
"
,
事故地点
:
"
天马路与文萃路交叉口
"
,
...
...
@@ -60,12 +69,15 @@ const situation_accident = {
};
// 危险驾驶场景
const
situation_dangerousDriving
=
{
videos
:[
"
/cdn/video/wxjs_3.mp4
"
],
// 参与危险驾驶的车辆 (在地图中高亮
dangerVehicles
:
[
{
id
:
'
224929
'
,
picLicense
:
'
苏A***95
'
,
behavior
:
"
S型驾驶
"
id
:
"
224929
"
,
picLicense
:
"
苏A***95
"
,
behavior
:
"
S型驾驶
"
,
},
],
warnings
:
[
...
...
@@ -119,6 +131,7 @@ const situation_dangerousDriving = {
};
// 相位空放场景
const
situation_phaseAirPlay
=
{
videos
:[
"
/cdn/video/xykf_3.mp4
"
],
detectTime
:
"
2023.4.9 17:21:09 ~ 17:27:09
"
,
ifPhase
:
true
,
scheme
:
[
...
...
@@ -136,8 +149,23 @@ const situation_phaseAirPlay = {
};
// 慢行交通场景
const
situation_slowTraffic
=
{
videos
:[
"
/cdn/video/mxjt_3.mp4
"
],
// 参与慢行交通的id (在地图上高亮
slowIds
:[
"
457802
"
,
"
457803
"
,
"
457713
"
,
"
457727
"
,
"
457694
"
,
"
457678
"
,
"
457735
"
,
"
457967
"
,
"
458094
"
,
"
458240
"
,
"
4588458
"
,
"
457926
"
,
"
458079
"
],
slowIds
:
[
"
457802
"
,
"
457803
"
,
"
457713
"
,
"
457727
"
,
"
457694
"
,
"
457678
"
,
"
457735
"
,
"
457967
"
,
"
458094
"
,
"
458240
"
,
"
4588458
"
,
"
457926
"
,
"
458079
"
,
],
warnings
:
[
{
type
:
2
,
// type 1:非机动车 2:行人
...
...
@@ -208,6 +236,9 @@ const situation_slowTraffic = {
};
// 直左冲突场景
const
situation_straightLeftConflict
=
{
videos
:[
"
/cdn/video/zzct_2.mp4
"
,
],
detectTime
:
"
2023.4.9 17:21:09 ~ 17:27:09
"
,
ifConflict
:
true
,
duration
:
28
,
...
...
@@ -235,3 +266,12 @@ const situation_straightLeftConflict = {
},
],
};
// 全域感知场景
const
situation_drones
=
{
videos
:[
"
/cdn/video/qygz_1.mp4
"
,
"
/cdn/video/qygz_2.mp4
"
,
"
/cdn/video/qygz_3.mp4
"
,
"
/cdn/video/qygz_4.mp4
"
,
]
}
wj-data-vision/src/views/accidentScene/left/index.vue
View file @
fd1c8e96
...
...
@@ -6,9 +6,9 @@
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"(item, index) of
[3]
"
v-for=
"(item, index) of
videos
"
:key=
"index"
:video-data=
"
`sgcj_$
{item}`
"
:video-data=
"
item
"
/>
<span
class=
"top-left"
></span>
<span
class=
"top-right"
></span>
...
...
@@ -123,7 +123,11 @@ import LocalCamera from "../../../components/Standard/localCamera.vue";
export
default
{
name
:
"
homeLeft
"
,
components
:
{
LocalCamera
,
MsgCard
,
CameraVideo
},
computed
:
{},
computed
:
{
videos
()
{
return
situation_accident
.
videos
.
slice
(
0
,
1
);
},
},
data
()
{
return
{
totalDuration
:
''
,
...
...
wj-data-vision/src/views/dangerousDriving/left/index.vue
View file @
fd1c8e96
...
...
@@ -3,7 +3,7 @@
<div
class=
"topI"
>
<msg-card
title=
"危险驾驶监控"
>
<div
class=
"videos"
>
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"(item,index) of
[3]"
:key=
"index"
:video-data=
"`wxjs_$
{item}`
"/>
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"(item,index) of
videos"
:key=
"index"
:video-data=
"item
"
/>
<span
class=
"top-left"
></span>
<span
class=
"top-right"
></span>
<span
class=
"bottom-left"
></span>
...
...
@@ -47,7 +47,11 @@ import LocalCamera from "../../../components/Standard/localCamera.vue";
export
default
{
name
:
"
homeLeft
"
,
components
:
{
LocalCamera
,
MsgCard
,
CameraVideo
},
computed
:
{},
computed
:
{
videos
()
{
return
situation_dangerousDriving
.
videos
.
slice
(
0
,
1
);
},
},
data
()
{
return
{
cameras
:
[],
...
...
wj-data-vision/src/views/drones/left/index.vue
View file @
fd1c8e96
...
...
@@ -2,8 +2,7 @@
<div
class=
"home-left"
>
<msg-card
title=
"全域感知"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column"
>
<local-camera
ref=
"videoItem"
:border=
"true"
class=
"videoItem"
video-data=
"qygz_1"
></local-camera>
<local-camera
ref=
"videoItem1"
:border=
"true"
class=
"videoItem"
video-data=
"qygz_2"
></local-camera>
<local-camera
v-for=
"(item,index) of videos"
:video-data=
"item"
:key=
"index"
ref=
"videoItem"
:border=
"true"
class=
"videoItem"
></local-camera>
</div>
</msg-card>
</div>
...
...
@@ -18,7 +17,11 @@ import LocalCamera from "../../../components/Standard/localCamera.vue";
export
default
{
name
:
"
homeLeft
"
,
components
:
{
LocalCamera
,
MsgCard
,
CameraVideo
},
computed
:
{},
computed
:
{
videos
()
{
return
situation_drones
.
videos
.
slice
(
0
,
2
);
},
},
data
()
{
return
{};
},
...
...
@@ -26,8 +29,9 @@ export default {
},
methods
:
{
startVideo
(
time
)
{
this
.
$refs
.
videoItem
.
setTime
(
time
)
this
.
$refs
.
videoItem1
.
setTime
(
time
)
for
(
let
item
of
this
.
$refs
.
videoItem
){
item
?.
setTime
()
}
},
},
...
...
wj-data-vision/src/views/drones/right/index.vue
View file @
fd1c8e96
...
...
@@ -2,7 +2,7 @@
<div
class=
"home-right"
>
<msg-card
title=
"无人机"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;justify-content: space-between"
>
<local-camera
:border=
"true"
:video-data=
"
`qygz_$
{item}`" ref="videoItem" class="videoItem" :key="index" v-for="(item,index) of [2,3]
"/>
<local-camera
:border=
"true"
:video-data=
"
item"
ref=
"videoItem"
class=
"videoItem"
:key=
"index"
v-for=
"(item,index) of videos
"
/>
</div>
</msg-card>
</div>
...
...
@@ -20,7 +20,11 @@ let topViewer, bottomViewer;
export
default
{
name
:
"
homeRight
"
,
components
:
{
LocalCamera
,
CrossControl
,
CameraVideo
,
MsgCard
,
CesiumMap
},
computed
:
{},
computed
:
{
videos
()
{
return
situation_drones
.
videos
.
slice
(
2
,
4
);
},
},
data
()
{
return
{};
},
...
...
@@ -31,7 +35,6 @@ export default {
for
(
let
item
of
this
.
$refs
.
videoItem
)
{
item
.
setTime
(
time
)
}
// this.$refs.videoItem.setTime(time)
},
},
...
...
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