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
cf3357ec
Commit
cf3357ec
authored
Apr 22, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
183e68c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
19 deletions
+51
-19
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+27
-15
index.vue
src/views/MLargeScreen/index.vue
+24
-4
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
cf3357ec
...
...
@@ -33,10 +33,16 @@ export default {
if
(
res
.
length
==
0
){
this
.
loadData2
();
}
else
{
this
.
showDe
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
[
0
].
destination
;
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
,
size
:
1
}).
then
((
resSon1
)
=>
{
if
(
resSon1
.
code
==
200
){
if
(
resSon1
.
data
.
content
[
0
].
workStatus
==
0
){
this
.
showDe
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
[
0
].
destination
;
}
}
});
}
});
},
20000
)
...
...
@@ -49,10 +55,16 @@ export default {
if
(
res
.
length
==
0
){
this
.
loadData2
();
}
else
{
this
.
showDe
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
[
0
].
destination
;
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
,
size
:
1
}).
then
((
resSon1
)
=>
{
if
(
resSon1
.
code
==
200
){
if
(
resSon1
.
data
.
content
[
0
].
workStatus
==
0
){
this
.
showDe
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
[
0
].
destination
;
}
}
});
}
});
})
...
...
@@ -85,9 +97,9 @@ export default {
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
workStatus
:
1
,
weightStatus
:
2
}).
then
((
res
)
=>
{});
}
});
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
status
:
1
}).
then
((
res
)
=>
{});
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
carNo
:
this
.
carnumber
,
status
:
1
}).
then
((
res
)
=>
{});
}
});
},
...
...
@@ -100,9 +112,9 @@ export default {
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
oddStatus
:
1
,
workStatus
:
0
}).
then
((
res
)
=>
{});
}
});
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
status
:
0
}).
then
((
res
)
=>
{});
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
carNo
:
this
.
carnumber
,
status
:
0
}).
then
((
res
)
=>
{});
}
});
},
...
...
@@ -115,12 +127,12 @@ export default {
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
workStatus
:
0
,
weightStatus
:
0
}).
then
((
res
)
=>
{});
}
});
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
status
:
0
}).
then
((
res
)
=>
{});
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
carNo
:
this
.
carnumber
,
status
:
0
}).
then
((
res
)
=>
{});
}
});
httpDelForJson
(
dingDanBiaoCaoZuo
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{});
httpDelForJson
(
dingDanBiaoCaoZuo
,{
carNo
:
this
.
carnumber
}).
then
((
res
)
=>
{});
},
//获取当前时间
currentTime
(){
...
...
src/views/MLargeScreen/index.vue
View file @
cf3357ec
...
...
@@ -56,9 +56,9 @@
<personalCenter
ref=
"personalCenterMethod"
v-show=
"selectFunction == 6"
/>
<smallWindow
ref=
"smallWindowMethod"
v-show=
"selectFunction == 7"
/>
<!-- 地图区域 -->
<
!--
<
div
id=
"centerDiv"
class=
"mapcontainer"
>
<div
id=
"centerDiv"
class=
"mapcontainer"
>
<mars3dViewerMap
:url=
"configUrl"
@
onload=
"onMapload"
/>
</div>
-->
</div>
<!-- 电铲待装车辆列表 -->
<div
class=
"waitingtrucksView"
v-if=
"carclass == '电铲'"
>
<div
class=
"waitingtrucksView_title"
>
待装卡车列表
</div>
...
...
@@ -75,7 +75,14 @@
<
script
>
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
personalCenterInforQuery
,
vehicleInformationQuery
,
waitingtrucksQuery
,
vehicleInformationUpdate
}
from
"
@/axios/api.js
"
import
{
personalCenterInforQuery
,
vehicleInformationQuery
,
waitingtrucksQuery
,
vehicleInformationUpdate
,
dingDanBiaoCaoZuo
,
manualSchedulingQuery
}
from
"
@/axios/api.js
"
import
startOrderReceiving
from
'
./components/startOrderReceiving/index.vue
'
//接受派单
import
voiceApplication
from
'
./components/voiceApplication/index.vue
'
//语音申请
import
failureDeclaration
from
'
./components/failureDeclaration/index.vue
'
//故障申报
...
...
@@ -325,7 +332,20 @@ export default {
},
//完成装车
wanchengzhuangcheFn
(
number
){
//putForJson(vehicleInformationUpdate,{number:number,workStatus:1}).then((res) => {});
//删除
httpDelForJson
(
dingDanBiaoCaoZuo
,{
carNo
:
number
}).
then
((
res
)
=>
{});
//改订单状态
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
number
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
manualSchedulingQuery
,{
id
:
res
.
data
.
content
[
0
].
id
,
carNo
:
number
,
status
:
0
}).
then
((
res
)
=>
{});
}
});
//车辆信息状态修改
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
workStatus
:
0
,
weightStatus
:
1
,
oddStatus
:
1
}).
then
((
res
)
=>
{});
}
});
},
//地图构造完成回调
onMapload
(
map
)
{
...
...
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