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
8c64d289
Commit
8c64d289
authored
Sep 22, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加导航按钮
parent
61a3eeec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+12
-6
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
8c64d289
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
</div>
</div>
<div
class=
"orderText2"
@
click=
"startPaidanFn()"
v-show=
"btnShow1"
>
接受派单
</div>
<div
class=
"orderText2"
@
click=
"startPaidanFn()"
v-show=
"btnShow1"
>
接受派单
</div>
<div
class=
"orderText2"
@
click=
"refusePaidanFn()"
v-show=
"btnShow1"
>
拒绝派单
</div>
<div
class=
"orderText2"
@
click=
"refusePaidanFn()"
v-show=
"btnShow1"
>
拒绝派单
</div>
<div
class=
"orderText2"
@
click=
"navigation()"
v-show=
"btnShow4"
>
导航前往
</div>
<div
class=
"orderText2"
@
click=
"finishPaidanFn()"
v-show=
"btnShow2"
>
卸车
</div>
<div
class=
"orderText2"
@
click=
"finishPaidanFn()"
v-show=
"btnShow2"
>
卸车
</div>
<div
class=
"orderText2"
@
click=
"finishPaidanFn1()"
v-show=
"btnShow3"
>
完成派单
</div>
<div
class=
"orderText2"
@
click=
"finishPaidanFn1()"
v-show=
"btnShow3"
>
完成派单
</div>
<audio
controls
currentTime
autoplay
:src=
'startOrderSrcUrl'
style=
"display:none;"
id=
"audio1"
></audio>
<audio
controls
currentTime
autoplay
:src=
'startOrderSrcUrl'
style=
"display:none;"
id=
"audio1"
></audio>
...
@@ -38,6 +39,7 @@ export default {
...
@@ -38,6 +39,7 @@ export default {
btnShow1
:
false
,
//开始派单和拒绝派单展示
btnShow1
:
false
,
//开始派单和拒绝派单展示
btnShow2
:
false
,
//完成派单展示
btnShow2
:
false
,
//完成派单展示
btnShow3
:
false
,
//完成派单展示
btnShow3
:
false
,
//完成派单展示
btnShow4
:
false
,
//导航显示开关
sonTimer1
:
null
,
sonTimer1
:
null
,
startOrderSrcUrl
:
''
,
//来订单语音路径
startOrderSrcUrl
:
''
,
//来订单语音路径
dingDanId
:
''
,
dingDanId
:
''
,
...
@@ -55,9 +57,6 @@ export default {
...
@@ -55,9 +57,6 @@ export default {
}
}
},
},
mounted
(){
mounted
(){
//删除路径
//this.$parent.zhixinglujing(false);
//this.$parent.zhixinglujing2(true);
this
.
sonTimer1
=
setInterval
(()
=>
{
this
.
sonTimer1
=
setInterval
(()
=>
{
//如果zhinengpaidanBoolan为true,获取人工和智能一起的调度
//如果zhinengpaidanBoolan为true,获取人工和智能一起的调度
if
(
this
.
zhinengpaidanBoolan
){
if
(
this
.
zhinengpaidanBoolan
){
...
@@ -223,7 +222,6 @@ export default {
...
@@ -223,7 +222,6 @@ export default {
}
}
});
});
}
}
},
5000
)
},
5000
)
},
},
methods
:{
methods
:{
...
@@ -391,6 +389,7 @@ export default {
...
@@ -391,6 +389,7 @@ export default {
//开始派单
//开始派单
startPaidanFn
(){
startPaidanFn
(){
this
.
btnShow1
=
false
;
this
.
btnShow1
=
false
;
this
.
btnShow4
=
true
;
this
.
$notify
({
this
.
$notify
({
title
:
'
已开始派单!
'
,
title
:
'
已开始派单!
'
,
type
:
'
success
'
,
type
:
'
success
'
,
...
@@ -438,12 +437,11 @@ export default {
...
@@ -438,12 +437,11 @@ export default {
}
}
});
});
}
}
//执行路径
//this.$parent.zhixinglujing(true);
},
},
//拒绝派单
//拒绝派单
refusePaidanFn
(){
refusePaidanFn
(){
this
.
btnShow1
=
false
;
this
.
btnShow1
=
false
;
this
.
btnShow4
=
false
;
this
.
showDe
=
false
;
this
.
showDe
=
false
;
this
.
paidanFlag
=
0
;
this
.
paidanFlag
=
0
;
this
.
zuizhongpaidanFlag
=
0
;
this
.
zuizhongpaidanFlag
=
0
;
...
@@ -500,6 +498,7 @@ export default {
...
@@ -500,6 +498,7 @@ export default {
}
else
{
}
else
{
this
.
btnShow2
=
false
;
this
.
btnShow2
=
false
;
this
.
showDe
=
false
;
this
.
showDe
=
false
;
this
.
btnShow4
=
false
;
this
.
paidanFlag
=
0
;
this
.
paidanFlag
=
0
;
this
.
zuizhongpaidanFlag
=
0
;
this
.
zuizhongpaidanFlag
=
0
;
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
...
@@ -563,6 +562,7 @@ export default {
...
@@ -563,6 +562,7 @@ export default {
});
});
}
else
{
}
else
{
this
.
btnShow3
=
false
;
this
.
btnShow3
=
false
;
this
.
btnShow4
=
false
;
this
.
showDe
=
false
;
this
.
showDe
=
false
;
this
.
paidanFlag
=
0
;
this
.
paidanFlag
=
0
;
this
.
zuizhongpaidanFlag
=
0
;
this
.
zuizhongpaidanFlag
=
0
;
...
@@ -600,6 +600,12 @@ export default {
...
@@ -600,6 +600,12 @@ export default {
});
});
},
},
//导航开启
navigation
(){
//删除路径
//this.$parent.zhixinglujing(false);
//this.$parent.zhixinglujing2(true);
},
//获取当前时间
//获取当前时间
currentTime
(){
currentTime
(){
var
date
=
new
Date
();
var
date
=
new
Date
();
...
...
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