Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_app_vue
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
zhanglw
kd_app_vue
Commits
61ffaa92
Commit
61ffaa92
authored
May 04, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单流程
parent
c0774db6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+16
-1
index.vue
src/views/MLargeScreen/index.vue
+5
-3
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
61ffaa92
...
@@ -6,9 +6,12 @@
...
@@ -6,9 +6,12 @@
class=
"el-icon-message-solid orderText1_img"
class=
"el-icon-message-solid orderText1_img"
style=
"color: #00ffff; font-size: 28px"
style=
"color: #00ffff; font-size: 28px"
></span>
></span>
<span
style=
"color: #00ffff"
>
请您前往
<span
v-show=
"orderObj.status!==3"
style=
"color: #00ffff"
>
请您前往:
<span
style=
"color: #e47e1b; font-weight: 600"
>
{{
orderObj
.
status
<
3
?
orderObj
.
zcArea
||
''
:
orderObj
.
xcArea
||
''
}}
</span>
<span
style=
"color: #e47e1b; font-weight: 600"
>
{{
orderObj
.
status
<
3
?
orderObj
.
zcArea
||
''
:
orderObj
.
xcArea
||
''
}}
</span>
</span>
</span>
<span
v-show=
"orderObj.status===3"
style=
"color: #00ffff"
>
挖机牌号:
<span
style=
"color: #e47e1b; font-weight: 600"
>
{{
orderObj
.
ccCarNumber
}}
</span>
</span>
<span
style=
"color: #00ffff"
>
状态:
{{
orderStuText
}}
</span>
<span
style=
"color: #00ffff"
>
状态:
{{
orderStuText
}}
</span>
</div>
</div>
<div
class=
"orderText2"
@
click=
"navigation()"
v-show=
"orderObj.status===1 && navStu===0"
>
<div
class=
"orderText2"
@
click=
"navigation()"
v-show=
"orderObj.status===1 && navStu===0"
>
...
@@ -90,10 +93,22 @@ export default {
...
@@ -90,10 +93,22 @@ export default {
this
.
navStu
=
0
;
this
.
navStu
=
0
;
this
.
orderStuText
=
'
正在前往
'
;
this
.
orderStuText
=
'
正在前往
'
;
this
.
orderObj
=
res
.
data
;
this
.
orderObj
=
res
.
data
;
if
(
this
.
orderObj
.
zcArea
.
length
>
5
){
this
.
orderObj
.
zcArea
=
this
.
orderObj
.
zcArea
.
substr
(
0
,
5
)
+
'
...
'
}
if
(
this
.
orderObj
.
xcArea
.
length
>
5
){
this
.
orderObj
.
xcArea
=
this
.
orderObj
.
xcArea
.
substr
(
0
,
5
)
+
'
...
'
}
this
.
audioPlayByUrl
(
xdd
);
this
.
audioPlayByUrl
(
xdd
);
}
else
{
}
else
{
if
(
res
.
data
.
id
!==
this
.
orderObj
)
{
if
(
res
.
data
.
id
!==
this
.
orderObj
)
{
this
.
orderObj
=
res
.
data
;
this
.
orderObj
=
res
.
data
;
if
(
this
.
orderObj
.
zcArea
.
length
>
6
){
this
.
orderObj
.
zcArea
=
this
.
orderObj
.
zcArea
.
substr
(
0
,
5
)
+
'
...
'
}
if
(
this
.
orderObj
.
xcArea
.
length
>
6
){
this
.
orderObj
.
xcArea
=
this
.
orderObj
.
xcArea
.
substr
(
0
,
5
)
+
'
...
'
}
}
}
this
.
orderObj
.
status
=
res
.
data
.
status
;
this
.
orderObj
.
status
=
res
.
data
.
status
;
if
(
this
.
orderObj
.
status
===
6
)
{
if
(
this
.
orderObj
.
status
===
6
)
{
...
...
src/views/MLargeScreen/index.vue
View file @
61ffaa92
...
@@ -464,6 +464,7 @@ export default {
...
@@ -464,6 +464,7 @@ export default {
const
polygon
=
new
maptalks
.
MultiPolygon
([
item
.
zuobiao
],
{
const
polygon
=
new
maptalks
.
MultiPolygon
([
item
.
zuobiao
],
{
properties
:
{
properties
:
{
name
:
item
.
name
,
name
:
item
.
name
,
areaClass
:
item
.
areaClass
,
areaLimitClass
:
item
.
areaLimitClass
areaLimitClass
:
item
.
areaLimitClass
},
},
symbol
:
{
symbol
:
{
...
@@ -500,9 +501,10 @@ export default {
...
@@ -500,9 +501,10 @@ export default {
const
point
=
new
maptalks
.
Coordinate
(
item
.
lon
,
item
.
lat
);
const
point
=
new
maptalks
.
Coordinate
(
item
.
lon
,
item
.
lat
);
this
.
mapDom
.
getLayer
(
'
regionLayer
'
).
getGeometries
().
forEach
((
polygon
)
=>
{
this
.
mapDom
.
getLayer
(
'
regionLayer
'
).
getGeometries
().
forEach
((
polygon
)
=>
{
if
(
polygon
.
containsPoint
(
point
))
{
if
(
polygon
.
containsPoint
(
point
))
{
this
.
localName
=
polygon
.
properties
.
name
;
if
(
polygon
.
properties
.
areaLimitClass
){
if
(
polygon
.
properties
.
areaLimitClass
){
area
=
polygon
.
properties
.
name
;
area
=
polygon
.
properties
.
name
;
}
else
{
this
.
localName
=
polygon
.
properties
.
name
;
}
}
}
}
})
})
...
@@ -757,8 +759,8 @@ export default {
...
@@ -757,8 +759,8 @@ export default {
//获取待装卡车列表
//获取待装卡车列表
loadData1
()
{
loadData1
()
{
httpGet
(
getAllLoadableKC
,
{
carNumber
:
this
.
carnumber
}).
then
((
res
)
=>
{
httpGet
(
getAllLoadableKC
,
{
carNumber
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
&&
res
.
data
.
length
)
{
if
(
res
.
code
==
200
)
{
this
.
daizhangCar
=
res
.
data
;
this
.
daizhangCar
=
res
.
data
||
[]
;
}
}
});
});
},
},
...
...
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