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
bb0f5ace
Commit
bb0f5ace
authored
Aug 19, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
12076e96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
6 deletions
+32
-6
index.vue
src/views/MLargeScreen/index.vue
+7
-1
index.vue
src/views/carManagement/carTrajectory/index.vue
+25
-5
No files found.
src/views/MLargeScreen/index.vue
View file @
bb0f5ace
...
...
@@ -276,7 +276,13 @@ export default {
monitorCover1Id
.
play
();
});
}
else
if
(
event
.
data
.
data
.
url
==
'
轨迹回放
'
){
console
.
log
(
'
轨迹回放
'
,
event
.
data
.
data
.
data
);
let
pathInfo
=
this
.
$router
.
resolve
({
path
:
'
/carManagement/carTrajectory
'
,
query
:{
number
:
event
.
data
.
data
.
data
}
})
window
.
open
(
pathInfo
.
href
,
'
_blank
'
);
}
}
},
...
...
src/views/carManagement/carTrajectory/index.vue
View file @
bb0f5ace
...
...
@@ -75,20 +75,40 @@ export default {
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
let
that
=
this
;
this
.
loadData
();
this
.
$refs
.
mars3dViewerMapMethod
.
getCoordinate
(
''
,
''
,
5
,
''
,
''
);
if
(
this
.
$route
.
query
.
number
){
this
.
query
.
number
=
this
.
$route
.
query
.
number
;
HttpReq
.
truckDispatching
.
carInformationQuery
({
number
:
this
.
query
.
number
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
totalElements
!=
0
){
this
.
tishiTextShow
=
false
;
this
.
shuaxinTimer
=
new
Date
().
getTime
();
that
.
$refs
.
mars3dViewerMapMethod
.
getCoordinate
(
res
.
data
.
content
[
0
].
equipmentName
,
res
.
data
.
content
[
0
].
number
,
that
.
playSpeedNum
,
that
.
query
.
bTime
,
that
.
query
.
eTime
);
}
else
{
this
.
$notify
({
title
:
'
暂无该车辆轨迹信息!
'
,
type
:
'
warning
'
,
duration
:
2500
});
}
})
}
},
methods
:
{
// 点击搜索
toSearch
()
{
let
that
=
this
;
HttpReq
.
truckDispatching
.
carInformationQuery
({
number
:
this
.
query
.
number
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
&&
res
.
data
.
totalElements
!=
0
){
this
.
tishiTextShow
=
false
;
this
.
shuaxinTimer
=
new
Date
().
getTime
();
that
.
$refs
.
mars3dViewerMapMethod
.
getCoordinate
(
res
.
data
.
content
[
0
].
equipmentName
,
res
.
data
.
content
[
0
].
number
,
that
.
playSpeedNum
,
that
.
query
.
bTime
,
that
.
query
.
eTime
);
}
else
{
this
.
$notify
({
title
:
'
暂无该车辆轨迹信息!
'
,
type
:
'
warning
'
,
duration
:
2500
});
}
})
},
...
...
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