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
90daef4d
Commit
90daef4d
authored
May 16, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d5a1d45f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
dingdan.mp3
src/assets/dingdan.mp3
+0
-0
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+12
-1
index.vue
src/views/MLargeScreen/index.vue
+1
-1
No files found.
src/assets/dingdan.mp3
0 → 100644
View file @
90daef4d
File added
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
90daef4d
...
@@ -9,12 +9,14 @@
...
@@ -9,12 +9,14 @@
<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=
"finishPaidanFn()"
v-show=
"btnShow2"
>
卸车
</div>
<div
class=
"orderText2"
@
click=
"finishPaidanFn()"
v-show=
"btnShow2"
>
卸车
</div>
<audio
controls
currentTime
autoplay
:src=
'startOrderSrcUrl'
style=
"display:none;"
id=
"audio1"
></audio>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
manualSchedulingQuery
,
manmadeStatusQuery
,
vehicleInformationQuery
,
vehicleInformationUpdate
,
dingDanBiaoCaoZuo
,
getZhuangCheDingDanQuery
,
getXieCheDingDanQuery
}
from
"
@/axios/api.js
"
import
{
manualSchedulingQuery
,
manmadeStatusQuery
,
vehicleInformationQuery
,
vehicleInformationUpdate
,
dingDanBiaoCaoZuo
,
getZhuangCheDingDanQuery
,
getXieCheDingDanQuery
}
from
"
@/axios/api.js
"
import
newOrder
from
'
@/assets/dingdan.mp3
'
export
default
{
export
default
{
data
(){
data
(){
...
@@ -25,6 +27,7 @@ export default {
...
@@ -25,6 +27,7 @@ export default {
btnShow1
:
false
,
//开始派单和拒绝派单展示
btnShow1
:
false
,
//开始派单和拒绝派单展示
btnShow2
:
false
,
//完成派单展示
btnShow2
:
false
,
//完成派单展示
sonTimer1
:
null
,
sonTimer1
:
null
,
startOrderSrcUrl
:
''
,
//来订单语音路径
}
}
},
},
mounted
(){
mounted
(){
...
@@ -40,12 +43,16 @@ export default {
...
@@ -40,12 +43,16 @@ export default {
this
.
btnShow1
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
startOrderSrcUrl
=
newOrder
;
let
au
=
document
.
getElementById
(
'
audio1
'
);
au
.
currentTime
=
0
;
au
.
play
();
}
}
}
}
});
});
}
}
});
});
},
2
0000
)
},
1
0000
)
},
},
methods
:{
methods
:{
loadData
(
carnumber
){
loadData
(
carnumber
){
...
@@ -62,6 +69,10 @@ export default {
...
@@ -62,6 +69,10 @@ export default {
this
.
btnShow1
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
startOrderSrcUrl
=
newOrder
;
let
au
=
document
.
getElementById
(
'
audio1
'
);
au
.
currentTime
=
0
;
au
.
play
();
}
}
}
}
});
});
...
...
src/views/MLargeScreen/index.vue
View file @
90daef4d
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<img
src=
"../../assets/images/truckTuPian/luzhang.png"
height=
"17"
>
<img
src=
"../../assets/images/truckTuPian/luzhang.png"
height=
"17"
>
<span>
路障申报
</span>
<span>
路障申报
</span>
</div>
</div>
<div
class=
"dispatchCenterStyle"
>
<div
class=
"dispatchCenterStyle"
@
click=
"voiceApFn()"
>
<img
src=
"../../assets/images/truckTuPian/diaoduzhongxin.png"
height=
"20"
>
<img
src=
"../../assets/images/truckTuPian/diaoduzhongxin.png"
height=
"20"
>
<span>
调度中心
</span>
<span>
调度中心
</span>
</div>
</div>
...
...
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