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
fdfac468
Commit
fdfac468
authored
Oct 25, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cad3355c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
index.vue
src/views/carManagement/carTrajectory/index.vue
+20
-4
No files found.
src/views/carManagement/carTrajectory/index.vue
View file @
fdfac468
...
...
@@ -186,9 +186,25 @@ export default {
}
})
//获取右侧播放时间列表
HttpReq
.
truckDispatching
.
apiMineAlarmHistoryTongJiQuery
({
number
:
this
.
query
.
number
,
bTime
:
this
.
query
.
bTime
,
eTime
:
this
.
query
.
eTime
}).
then
((
res1
)
=>
{
if
(
res1
.
code
==
200
){
this
.
playtimeTableData
=
res1
.
data
;
HttpReq
.
truckDispatching
.
apiMineAlarmHistoryTongJiQuery
({
number
:
this
.
query
.
number
,
bTime
:
this
.
query
.
bTime
,
eTime
:
this
.
query
.
eTime
}).
then
((
res2
)
=>
{
if
(
res2
.
code
==
200
){
let
arr1
=
[];
let
arr2
=
[];
res2
.
data
.
forEach
((
item
,
index
)
=>
{
if
(
index
%
2
==
0
){
arr1
.
push
(
item
.
time
);
}
else
{
arr2
.
push
(
item
.
time
);
}
})
let
lastData1
=
[];
arr1
.
forEach
((
item
,
index
)
=>
{
let
obj1
=
{};
obj1
.
bTime
=
item
;
obj1
.
eTime
=
arr2
[
index
];
lastData1
.
push
(
obj1
);
})
this
.
playtimeTableData
=
lastData1
;
}
})
}
else
{
...
...
@@ -300,7 +316,7 @@ export default {
},
//接收当前进度时间
progressTimeFn
(
time
){
console
.
log
(
time
);
//
console.log(time);
this
.
trajectoryTimePoint
=
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