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
4a4dec9d
Commit
4a4dec9d
authored
Sep 23, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
19e13351
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+10
-10
index.vue
src/views/MLargeScreen/index.vue
+1
-1
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
4a4dec9d
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
this
.
oldxy
.
lng
=
res2
.
data
.
location
.
x
;
this
.
oldxy
.
lng
=
res2
.
data
.
location
.
x
;
}
else
{
}
else
{
let
distance1
=
this
.
getDistance
(
this
.
oldxy
.
lat
,
this
.
oldxy
.
lng
,
res2
.
data
.
location
.
y
,
res2
.
data
.
location
.
x
)
+
parseFloat
(
res
.
data
.
content
[
0
].
mil
);
let
distance1
=
this
.
getDistance
(
this
.
oldxy
.
lat
,
this
.
oldxy
.
lng
,
res2
.
data
.
location
.
y
,
res2
.
data
.
location
.
x
)
+
parseFloat
(
res
_1
.
data
.
content
[
0
].
mil
);
putForJson
(
dingDanBiaoCaoZuo
,{
id
:
res_1
.
data
.
content
[
0
].
id
,
mil
:
distance1
}).
then
((
res
)
=>
{});
putForJson
(
dingDanBiaoCaoZuo
,{
id
:
res_1
.
data
.
content
[
0
].
id
,
mil
:
distance1
}).
then
((
res
)
=>
{});
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
...
@@ -282,7 +282,7 @@ export default {
...
@@ -282,7 +282,7 @@ export default {
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
this
.
oldxy
.
lng
=
res2
.
data
.
location
.
x
;
this
.
oldxy
.
lng
=
res2
.
data
.
location
.
x
;
}
else
{
}
else
{
let
distance1
=
this
.
getDistance
(
this
.
oldxy
.
lat
,
this
.
oldxy
.
lng
,
res2
.
data
.
location
.
y
,
res2
.
data
.
location
.
x
)
+
parseFloat
(
res
.
data
.
content
[
0
].
mil
);
let
distance1
=
this
.
getDistance
(
this
.
oldxy
.
lat
,
this
.
oldxy
.
lng
,
res2
.
data
.
location
.
y
,
res2
.
data
.
location
.
x
)
+
parseFloat
(
res
_1
.
data
.
content
[
0
].
mil
);
putForJson
(
dingDanBiaoCaoZuo
,{
id
:
res_1
.
data
.
content
[
0
].
id
,
mil
:
distance1
}).
then
((
res
)
=>
{});
putForJson
(
dingDanBiaoCaoZuo
,{
id
:
res_1
.
data
.
content
[
0
].
id
,
mil
:
distance1
}).
then
((
res
)
=>
{});
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
this
.
oldxy
.
lat
=
res2
.
data
.
location
.
y
;
...
@@ -418,15 +418,15 @@ export default {
...
@@ -418,15 +418,15 @@ export default {
}
}
}
}
});
});
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{
//
httpGet(manualSchedulingQuery,{sort:'createTime,desc',size:1,carNo:this.carnumber}).then((res) => {
if
(
res
.
code
==
200
){
//
if(res.code == 200){
if
(
res
.
data
.
totalElements
==
0
){
//
if(res.data.totalElements == 0){
}
else
{
//
}else{
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
status
:
1
}).
then
((
res
)
=>
{});
//
putForJson(manualSchedulingQuery,{id:res.data.content[0].id,status:1}).then((res) => {});
}
//
}
}
//
}
});
//
});
}
else
if
(
this
.
paidanFlag
==
1
){
}
else
if
(
this
.
paidanFlag
==
1
){
this
.
zuizhongpaidanFlag
=
1
;
this
.
zuizhongpaidanFlag
=
1
;
this
.
btnShow3
=
true
;
this
.
btnShow3
=
true
;
...
...
src/views/MLargeScreen/index.vue
View file @
4a4dec9d
...
@@ -560,7 +560,7 @@ export default {
...
@@ -560,7 +560,7 @@ export default {
//执行路径
//执行路径
zhixinglujing
(
boo
,
carnumber
,
carDestination
){
zhixinglujing
(
boo
,
carnumber
,
carDestination
){
if
(
boo
){
if
(
boo
){
httpGet
(
apiPathmapNavigationQuery
,{
equipmentName
:
this
.
equipmentName
,
point
:
carDestination
}).
then
((
res1
)
=>
{
httpGet
(
apiPathmapNavigationQuery
,{
point
:
carDestination
,
equipmentName
:
this
.
equipmentName
}).
then
((
res1
)
=>
{
if
(
res1
.
code
==
200
){
if
(
res1
.
code
==
200
){
let
route1
=
res1
.
data
.
split
(
'
;
'
);
let
route1
=
res1
.
data
.
split
(
'
;
'
);
let
route2
=
[];
let
route2
=
[];
...
...
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