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
c0ff2bbf
Commit
c0ff2bbf
authored
Sep 22, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改装卸车订单展示
parent
8c64d289
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+9
-0
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
c0ff2bbf
...
...
@@ -5,6 +5,7 @@
<span
class=
"el-icon-message-solid orderText1_img"
style=
"color:#00FFFF;font-size:28px;"
></span>
<span
style=
"color:#00FFFF;"
>
请车牌号
{{
carnumber
}}
前往
</span>
<span
style=
"color:#E47E1B;font-weight:600;"
>
{{
carDestination
}}
</span>
<span
style=
"color:#00FFFF;"
>
{{
orderClass
}}
</span>
</div>
<div
class=
"orderText2"
@
click=
"startPaidanFn()"
v-show=
"btnShow1"
>
接受派单
</div>
<div
class=
"orderText2"
@
click=
"refusePaidanFn()"
v-show=
"btnShow1"
>
拒绝派单
</div>
...
...
@@ -36,6 +37,7 @@ export default {
showDe
:
false
,
carnumber
:
''
,
carDestination
:
''
,
orderClass
:
''
,
btnShow1
:
false
,
//开始派单和拒绝派单展示
btnShow2
:
false
,
//完成派单展示
btnShow3
:
false
,
//完成派单展示
...
...
@@ -83,6 +85,7 @@ export default {
this
.
carDestination
=
res_1
.
data
.
content
[
0
].
destination
;
this
.
dingDanId
=
res_1
.
data
.
content
[
0
].
id
;
this
.
equipmentName
=
resSon1
.
data
.
content
[
0
].
equipmentName
;
this
.
orderClass
=
'
装车
'
;
//启动语音
this
.
startOrderSrcUrl
=
newOrder
;
let
au
=
document
.
getElementById
(
'
audio1
'
);
...
...
@@ -96,6 +99,7 @@ export default {
this
.
carDestination
=
res_1
.
data
.
content
[
0
].
destination
;
this
.
dingDanId
=
res_1
.
data
.
content
[
0
].
id
;
this
.
equipmentName
=
resSon1
.
data
.
content
[
0
].
equipmentName
;
this
.
orderClass
=
'
卸车
'
;
}
}
//获取车辆坐标计算距离并返回给后台
...
...
@@ -120,6 +124,7 @@ export default {
})
}
else
{
//如果有人工调度
this
.
orderClass
=
''
;
//有人工调度就删除智能调度单子
httpGet
(
dingDanBiaoCaoZuo
,{
sort
:
'
createTime,desc
'
,
carNo
:
this
.
carnumber
,
flag
:
0
}).
then
((
resDel
)
=>
{
if
(
resDel
.
code
==
200
){
...
...
@@ -168,6 +173,7 @@ export default {
});
}
else
{
//如果zhinengpaidanBoolan为false,获取人工的调度
this
.
orderClass
=
''
;
httpGet
(
dingDanBiaoCaoZuo
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
,
flag
:
1
}).
then
((
res
)
=>
{
if
(
res
.
data
.
content
.
length
==
0
){
this
.
showDe
=
false
;
...
...
@@ -227,6 +233,7 @@ export default {
methods
:{
loadData
(
carnumber
){
this
.
carnumber
=
carnumber
;
this
.
orderClass
=
''
;
this
.
$nextTick
(()
=>
{
//如果zhinengpaidanBoolan为true,获取人工和智能一起的调度
if
(
this
.
zhinengpaidanBoolan
){
...
...
@@ -253,6 +260,7 @@ export default {
this
.
carDestination
=
res_1
.
data
.
content
[
0
].
destination
;
this
.
dingDanId
=
res_1
.
data
.
content
[
0
].
id
;
this
.
equipmentName
=
resSon1
.
data
.
content
[
0
].
equipmentName
;
this
.
orderClass
=
'
装车
'
;
}
else
{
this
.
showDe
=
true
;
this
.
btnShow1
=
false
;
...
...
@@ -261,6 +269,7 @@ export default {
this
.
carDestination
=
res_1
.
data
.
content
[
0
].
destination
;
this
.
dingDanId
=
res_1
.
data
.
content
[
0
].
id
;
this
.
equipmentName
=
resSon1
.
data
.
content
[
0
].
equipmentName
;
this
.
orderClass
=
'
卸车
'
;
}
}
//获取车辆坐标计算距离并返回给后台
...
...
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