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
a50adf1e
Commit
a50adf1e
authored
Jul 17, 2023
by
刘扬琳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信号评价对接轨迹回放
parent
64ac51e3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
12 deletions
+33
-12
resize.js
wj-manage-web/src/common/js/singal/resize.js
+0
-1
crossContent.vue
wj-manage-web/src/components/CrossControl/crossContent.vue
+0
-1
pathMap.vue
...anage-web/src/components/Standard/map/pathMap/pathMap.vue
+1
-1
crossContent.vue
wj-manage-web/src/views/signal/crossContent.vue
+1
-0
dialogCross.vue
wj-manage-web/src/views/signal/dialogCross.vue
+31
-9
No files found.
wj-manage-web/src/common/js/singal/resize.js
View file @
a50adf1e
...
...
@@ -2,7 +2,6 @@
var
getFontSize
=
function
()
{
var
fontSize
=
0
;
var
clientWidth
=
docEl
.
clientHeight
;
console
.
log
(
clientWidth
);
//console.log(clientWidth,"clientWidth---")
if
(
!
clientWidth
)
{
return
...
...
wj-manage-web/src/components/CrossControl/crossContent.vue
View file @
a50adf1e
...
...
@@ -674,7 +674,6 @@ export default {
var
dirLampGroupMap
=
this
.
dirLampGroupMap
||
{};
var
dirMap
=
dirLampGroupMap
[
dirType
]
||
{};
console
.
log
(
dirMap
);
var
color
=
dirMap
[
phaseDist
[
direction
]]
||
""
;
color
=
color
.
trim
();
if
(
color
)
{
...
...
wj-manage-web/src/components/Standard/map/pathMap/pathMap.vue
View file @
a50adf1e
...
...
@@ -142,7 +142,7 @@ export default {
return
[
map
,
scene
];
},
clearAll
()
{
window
.
tb
.
clear
(
true
);
window
.
tb
?
.
clear
(
true
);
this
.
dillPath
=
[];
this
.
fullTrack
=
[];
this
.
playStatus
=
false
;
...
...
wj-manage-web/src/views/signal/crossContent.vue
View file @
a50adf1e
...
...
@@ -879,6 +879,7 @@ export default {
width
:
100%
;
height
:
100%
;
position
:
relative
;
border
:
none
;
/* border: 0.0115rem solid #ffffff; */
border-radius
:
100%
;
}
...
...
wj-manage-web/src/views/signal/dialogCross.vue
View file @
a50adf1e
...
...
@@ -94,12 +94,19 @@
</div>
<div
class=
"detail-title"
>
轨迹回放
</div>
<div
class=
"map-box"
>
<timeSlider
<
!--
<
timeSlider
:duration=
"minutes.value * 120"
class=
"time-slider-com"
v-if=
"minutes.value"
></timeSlider>
<MapCompWithCtrl
ref=
"signal_dialog_map"
mapId=
"signal_dialog_map"
/>
<MapCompWithCtrl
ref=
"signal_dialog_map"
mapId=
"signal_dialog_map"
/>
-->
<path-map-ctrl
style=
"height: 100%"
:params=
"pathParam"
apiName=
"vehicleTrack"
class=
"common_map"
ref=
"tab_map"
></path-map-ctrl>
</div>
</div>
</div>
...
...
@@ -113,12 +120,14 @@ import crossContent from "./crossContent.vue";
import
{
api_evaluateCrossDetail
,
api_evaluateMetrics
}
from
"
@/dao/signal.js
"
;
import
timeSlider
from
"
./timeSlider.vue
"
;
import
MapCompWithCtrl
from
"
../../components/Standard/map/mapCompWithCtrl.vue
"
;
import
PathMapCtrl
from
"
../../components/Standard/map/pathMap/index.vue
"
;
let
signalMap
=
null
;
export
default
{
name
:
"
dialogCross
"
,
components
:
{
MapCompWithCtrl
,
crossContent
,
timeSlider
},
components
:
{
MapCompWithCtrl
,
crossContent
,
timeSlider
,
PathMapCtrl
},
data
()
{
return
{
pathParam
:
{},
wsType
:
"
signal
"
,
crossId
:
""
,
dirObj
:
{
...
...
@@ -185,17 +194,29 @@ export default {
this
.
getCrossWs
();
this
.
crossShow
=
true
;
this
.
initApiData
();
this
.
$nextTick
(()
=>
{
const
mapCenter
=
[
this
.
model
.
location
?.[
0
],
this
.
model
.
location
?.[
1
]];
signalMap
=
this
.
$refs
.
signal_dialog_map
.
init
();
signalMap
.
setCenter
(
mapCenter
);
// this.$refs.tab_map.noVehicleView()
});
// this.$nextTick(() => {
// const mapCenter = [this.model.location?.[0], this.model.location?.[1]];
// signalMap = this.$refs.signal_dialog_map.init();
// signalMap.setCenter(mapCenter);
// // this.$refs.tab_map.noVehicleView()
// });
// setTimeout(() => {
// this.$refs.indexbacks.fitSmall();
// }, 500);
},
methods
:
{
mapInit
(
startTime
,
endTime
)
{
this
.
pathParam
=
{
// crossId: "12F6S08J8T0",
crossId
:
this
.
crossId
,
endTime
:
endTime
,
startTime
:
startTime
,
};
this
.
$nextTick
(()
=>
{
this
.
$refs
.
tab_map
.
getTracksAndPlay
();
});
},
initApiData
()
{
const
params
=
{
crossId
:
this
.
model
.
crossId
,
...
...
@@ -205,6 +226,7 @@ export default {
if
(
res
)
{
const
data
=
res
.
content
;
this
.
kipApiData
=
data
;
this
.
mapInit
(
data
.
windowStartTime
,
data
.
windowEndTime
);
this
.
kipData
.
forEach
((
item
)
=>
{
if
(
item
.
key
===
"
optStatus
"
)
{
item
.
value
=
...
...
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