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
43a70f45
Commit
43a70f45
authored
Feb 29, 2024
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏配置化版本改为宽屏 车内视角视频添加(蒙自版本屏形要求临时去掉车内视角
parent
90305268
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
39 deletions
+39
-39
DATA.js
wj-data-vision/public/DATA.js
+4
-1
DATA.json
wj-data-vision/public/DATA.json
+1
-1
index.vue
wj-data-vision/src/views/accidentScene/right/index.vue
+13
-30
index.vue
wj-data-vision/src/views/dangerousDriving/right/index.vue
+14
-2
index.vue
wj-data-vision/src/views/drones/left/index.vue
+3
-2
targetTrack.vue
...sion/src/views/intersectionGroups/msgLeft/targetTrack.vue
+3
-2
trafficSignal.vue
...on/src/views/intersectionGroups/msgLeft/trafficSignal.vue
+1
-1
No files found.
wj-data-vision/public/DATA.js
View file @
43a70f45
...
...
@@ -33,6 +33,8 @@ const situation_mobileBaseStation = {
// 事故场景
const
situation_accident
=
{
videos
:
[
"
/cdn/video/sgcj_3.mp4
"
,
"
/cdn/video/sgcj_3.mp4
"
,
"
/cdn/video/sgcj_3.mp4
"
],
// 地图中高亮事故车辆及其详情弹窗
...
...
@@ -73,7 +75,8 @@ const situation_accident = {
// 危险驾驶场景
const
situation_dangerousDriving
=
{
videos
:[
"
/cdn/video/wxjs_3.mp4
"
"
/cdn/video/wxjs_3.mp4
"
,
"
/cdn/video/wxjs_3.mp4
"
,
],
// 参与危险驾驶的车辆 (在地图中高亮
dangerVehicles
:
[
...
...
wj-data-vision/public/DATA.json
View file @
43a70f45
...
...
@@ -6,7 +6,7 @@
"trafficFlowRoad"
:
{
"url"
:
"/holo/rid-flow/list"
},
"trafficSignal"
:
{
"url"
:
"/holo/analysis-cross-indicators/query"
,
"data"
:
{
"crossId"
:
"1
4Q1409IRF
0"
}
"data"
:
{
"crossId"
:
"1
3NGH0B5RC
0"
}
},
"conflictMonitor"
:{
"url"
:
"/holo/bs-analysis-conflict/list"
},
"trafficEvent"
:{
"url"
:
"/holo/event-analysis/list"
},
...
...
wj-data-vision/src/views/accidentScene/right/index.vue
View file @
43a70f45
<
template
>
<div
class=
"home-right"
>
<!--
<msg-card
title=
"涉事车辆车内视角"
>
<div
class=
"cardInner"
>
<div
class=
"top"
>
<span
class=
"top-left"
></span>
<span
class=
"top-right"
></span>
<span
class=
"bottom-left"
></span>
<span
class=
"bottom-right"
></span>
<local-camera
ref=
"topVideo"
class=
"videoItem"
video-data=
"sgcj_5"
/>
</div>
<div
class=
"bottom"
>
<span
class=
"top-left"
></span>
<span
class=
"top-right"
></span>
<span
class=
"bottom-left"
></span>
<span
class=
"bottom-right"
></span>
<local-camera
ref=
"bottomVideo"
class=
"videoItem"
video-data=
"sgcj_6"
/>
</div>
<msg-card
title=
"涉事车辆车内视角"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;justify-content: space-between;"
>
<local-camera
v-for=
"(item,index) of videos"
:video-data=
"item"
:key=
"index"
ref=
"videoItem"
:border=
"true"
class=
"videoItem"
></local-camera>
</div>
</msg-card>
-->
</msg-card>
</div>
</
template
>
...
...
@@ -32,28 +19,24 @@ let topViewer, bottomViewer;
export
default
{
name
:
"
homeRight
"
,
components
:
{
LocalCamera
,
CameraVideo
,
MsgCard
,
CesiumMap
},
computed
:
{},
computed
:
{
videos
()
{
return
situation_accident
.
videos
.
slice
(
1
,
3
);
},
},
data
()
{
return
{
accidentTopVideo
:
''
,
accidentBottomVideo
:
''
,
};
},
mounted
()
{
// topViewer = this.$refs.homeRightTop.loadMap()
// bottomViewer = this.$refs.homeRightBottom.loadMap()
// topViewer.timeline.container.style.visibility = 'hidden'
// bottomViewer.timeline.container.style.visibility = 'hidden'
},
methods
:
{
startVideo
(
time
)
{
this
.
$refs
.
topVideo
?.
setTime
(
time
)
this
.
$refs
.
bottomVideo
?.
setTime
(
time
)
console
.
log
(
this
.
$refs
.
videoItem
);
for
(
let
item
of
this
.
$refs
.
videoItem
)
{
item
.
setTime
(
time
);
}
},
initData
()
{
this
.
accidentTopVideo
=
'
http://192.168.2.80/live?app=demo&stream=car3d-1
'
this
.
accidentBottomVideo
=
'
http://192.168.2.80/live?app=demo&stream=car3d-2
'
}
},
beforeDestroy
()
{
...
...
wj-data-vision/src/views/dangerousDriving/right/index.vue
View file @
43a70f45
<
template
>
<div
class=
"home-right"
>
<div
class=
"home-right-inner"
>
<msg-card
title=
"涉事车辆车内视角"
style=
"height:50%"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;justify-content: space-between;"
>
<local-camera
v-for=
"(item,index) of videos"
:video-data=
"item"
:key=
"index"
ref=
"videoItem"
:border=
"true"
class=
"videoItem"
></local-camera>
</div>
</msg-card>
<!--
<msg-card
style=
"height:auto"
class=
"m-b-10"
title=
"涉事车辆车内视角"
>
<div
class=
"cardInner"
>
<span
class=
"top-left"
></span>
...
...
@@ -85,7 +90,11 @@ let topViewer, bottomViewer;
export
default
{
name
:
"
homeRight
"
,
components
:
{
LocalCamera
,
CrossControl
,
CameraVideo
,
MsgCard
,
CesiumMap
},
computed
:
{},
computed
:
{
videos
()
{
return
situation_dangerousDriving
.
videos
.
slice
(
1
,
2
);
},
},
data
()
{
return
{
tableData
:
[
...
...
@@ -102,7 +111,10 @@ export default {
},
methods
:
{
startVideo
(
time
)
{
this
.
$refs
.
dangerFirstViewVideo
?.
setTime
(
time
)
console
.
log
(
this
.
$refs
.
videoItem
);
for
(
let
item
of
this
.
$refs
.
videoItem
)
{
item
.
setTime
(
time
);
}
},
userTab
({
row
,
rowIndex
})
{
if
(
rowIndex
%
2
===
0
)
{
...
...
wj-data-vision/src/views/drones/left/index.vue
View file @
43a70f45
<
template
>
<div
class=
"home-left"
>
<msg-card
title=
"全域感知"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column
;justify-content: space-between;
"
>
<local-camera
v-for=
"(item,index) of videos"
:video-data=
"item"
:key=
"index"
ref=
"videoItem"
:border=
"true"
class=
"videoItem"
></local-camera>
</div>
</msg-card>
...
...
@@ -44,7 +44,8 @@ export default {
.videoItem {
width: 100%;
aspect-ratio: 4/3;
margin-bottom: 20px;
height: 49%;
// margin-bottom: 20px;
}
.cTable {
...
...
wj-data-vision/src/views/intersectionGroups/msgLeft/targetTrack.vue
View file @
43a70f45
...
...
@@ -8,10 +8,11 @@
:key=
"index"
>
<div
class=
"leftType"
>
<span
class=
"circle4"
></span>
{{
item
.
aliasName
}}
<span
class=
"circle4"
></span>
{{
item
.
eventLabel
}}
</div>
<div
class=
"rightValue"
>
{{
item
.
eventNumber
}}{{
nameUnitMap
[
item
.
eventType
]
}}
{{
item
.
eventNumber
}}
<!--
{{
nameUnitMap
[
item
.
eventType
]
}}
-->
</div>
</div>
</div>
...
...
wj-data-vision/src/views/intersectionGroups/msgLeft/trafficSignal.vue
View file @
43a70f45
...
...
@@ -73,7 +73,7 @@ export default {
let
unit
=
this
.
signalUnitMap
[
key
];
let
value
=
res
.
content
[
key
];
if
(
unit
===
"
%
"
)
{
value
=
res
.
content
[
key
]
*
100
;
value
=
(
res
.
content
[
key
]
*
100
).
toFixed
(
2
)
;
}
this
.
signalArray
.
push
({
label
:
this
.
signalLabelMap
[
key
],
...
...
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