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
2935e2ec
Commit
2935e2ec
authored
Nov 22, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0643ba38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
Map.vue
src/components/mars3d/Map.vue
+4
-0
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+6
-6
index.vue
src/views/MLargeScreen/index.vue
+1
-0
No files found.
src/components/mars3d/Map.vue
View file @
2935e2ec
...
...
@@ -375,6 +375,10 @@ export default {
graphicLayerR
.
addGraphic
(
graphic
)
})
},
//视角跟随车辆
changeView1
(
lat
,
lng
){
map
.
setCameraView
({
lat
:
lat
,
lng
:
lng
,
alt
:
100
,
heading
:
360
,
pitch
:
-
90
})
},
// 在图层绑定Popup弹窗
bindLayerPopup
(
graphicLayer
,
number
)
{
let
that
=
this
;
...
...
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
2935e2ec
...
...
@@ -554,9 +554,9 @@ export default {
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
this
.
paidanFlag
==
0
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
1
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
1
,
status
:
0
}).
then
((
res
)
=>
{});
}
else
if
(
this
.
paidanFlag
==
1
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
2
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
2
,
status
:
0
}).
then
((
res
)
=>
{});
}
}
});
...
...
@@ -575,9 +575,9 @@ export default {
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
this
.
paidanFlag
==
0
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
1
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
1
,
status
:
0
}).
then
((
res
)
=>
{});
}
else
if
(
this
.
paidanFlag
==
1
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
2
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
1
,
weightStatus
:
2
,
odo
:
2
,
status
:
0
}).
then
((
res
)
=>
{});
}
}
});
...
...
@@ -664,7 +664,7 @@ export default {
this
.
$nextTick
(()
=>
{
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
0
,
weightStatus
:
0
,
oddStatus
:
1
,
odo
:
3
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
0
,
weightStatus
:
0
,
oddStatus
:
1
,
odo
:
3
,
status
:
0
}).
then
((
res
)
=>
{});
}
});
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{
...
...
@@ -734,7 +734,7 @@ export default {
this
.
$nextTick
(()
=>
{
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
0
,
weightStatus
:
0
,
oddStatus
:
1
,
odo
:
3
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
0
,
weightStatus
:
0
,
oddStatus
:
1
,
odo
:
3
,
status
:
0
}).
then
((
res
)
=>
{});
}
});
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{
...
...
src/views/MLargeScreen/index.vue
View file @
2935e2ec
...
...
@@ -230,6 +230,7 @@ export default {
}
}
})
//获取车辆位置并使视角跟随车辆(先空着)
},
8000
)
...
...
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