Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
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
SQL_Mou
NewTruckTerminalSyetem
Commits
bdb76e2b
Commit
bdb76e2b
authored
Sep 09, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改获取派单的间隔时间
parent
eef195fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Map.vue
src/components/mars3d/Map.vue
+5
-5
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+1
-1
No files found.
src/components/mars3d/Map.vue
View file @
bdb76e2b
...
...
@@ -281,24 +281,24 @@ export default {
graphicLayer4
.
eachGraphic
((
graphic
)
=>
{
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
))
})
//
五
秒后位置
//
三
秒后位置
graphicLayer4
.
eachGraphic
((
graphic
)
=>
{
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
),
5
)
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
),
3
)
})
//定时更新动态位置
setInterval
(()
=>
{
httpGet
(
carRealTimeLocationQuery2
,{
name
:
equipmentName
}).
then
((
res
)
=>
{
if
(
res
.
data
){
graphicLayer4
.
eachGraphic
((
graphic
)
=>
{
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
res
.
data
.
location
.
x
,
res
.
data
.
location
.
y
,
1000
),
5
)
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
res
.
data
.
location
.
x
,
res
.
data
.
location
.
y
,
1000
),
3
)
})
}
else
{
graphicLayer4
.
eachGraphic
((
graphic
)
=>
{
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
),
5
)
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
),
3
)
})
}
});
},
40
00
)
},
25
00
)
},
// 装车箭头线 graphicLayer.removeGraphic(graphic);
...
...
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
bdb76e2b
...
...
@@ -224,7 +224,7 @@ export default {
});
}
},
10
000
)
},
5
000
)
},
methods
:{
loadData
(
carnumber
){
...
...
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