Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_control
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_control
Commits
44150d75
Commit
44150d75
authored
Mar 10, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车辆调度
parent
bc918f2f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
common.js
src/assets/js/common.js
+8
-0
DPcomputer16.vue
.../MLargeScreen/components/smallComponents/DPcomputer16.vue
+29
-1
index - 副本.vue
...ws/productionPlanManagement/productionPlan/index - 副本.vue
+0
-0
No files found.
src/assets/js/common.js
View file @
44150d75
...
...
@@ -2764,6 +2764,14 @@ var HttpReq = function(){
params
:
param
,
})
},
//调度车辆
ddChangeCarsScheduling
:
function
(
data
){
return
request
({
url
:
'
/api/manualScheduling/changeCarsScheduling
'
,
method
:
'
PUT
'
,
data
:
data
,
})
},
},
...
...
src/views/MLargeScreen/components/smallComponents/DPcomputer16.vue
View file @
44150d75
...
...
@@ -182,7 +182,7 @@
</div>
</div>
<div
class=
"voiceAppContent_4"
>
<button
class=
"voiceAppContent_4_btns"
>
开始调度
</button>
<button
class=
"voiceAppContent_4_btns"
@
click=
"dispatchCars()"
>
开始调度
</button>
<button
class=
"voiceAppContent_4_btns"
@
click=
"closeCarListView()"
>
关闭窗口
</button>
</div>
</div>
...
...
@@ -457,6 +457,34 @@ export default {
}
})
},
dispatchCars
(){
let
ids
=
[];
this
.
carList
.
forEach
((
item
)
=>
{
if
(
item
.
flag
){
ids
.
push
(
item
.
id
);
}
});
HttpReq
.
truckDispatching
.
ddChangeCarsScheduling
({
carStatusIdList
:
ids
,
currentPoint
:
this
.
curPaItem
.
pointName
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
'
success
'
,
duration
:
5000
});
this
.
closeCarListView
();
this
.
selectedPeningArea
({
id
:
this
.
selectedPaid
,
name
:
this
.
curPaItem
.
pointName
});
}
else
{
this
.
$notify
({
title
:
'
网络异常
'
,
type
:
'
error
'
,
duration
:
5000
});
}
})
},
closeCarListView
()
{
this
.
peopleScheAssemblyShow
=
false
;
},
...
...
src/views/productionPlanManagement/productionPlan/index - 副本.vue
deleted
100644 → 0
View file @
bc918f2f
This diff is collapsed.
Click to expand it.
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