Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
卡
卡车调度系统
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
caicaicai
卡车调度系统
Commits
e18f5419
Commit
e18f5419
authored
Mar 09, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b909d563
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
335 additions
and
692 deletions
+335
-692
common.js
src/assets/js/common.js
+62
-0
index.vue
...telligentDispatchManagement/carManualScheduling/index.vue
+2
-2
index.vue
...ispatchManagement/carManualSchedulingManagement/index.vue
+13
-2
index.vue
...ntelligentDispatchManagement/carVoiceSupplement/index.vue
+258
-688
No files found.
src/assets/js/common.js
View file @
e18f5419
...
@@ -783,6 +783,68 @@ var HttpReq = function(){
...
@@ -783,6 +783,68 @@ var HttpReq = function(){
data
:
data
,
data
:
data
,
})
})
},
},
//智能派单——人工补录
personRecordingQuery
:
function
(
param
){
return
request
({
url
:
'
/api/Manmades
'
,
method
:
'
get
'
,
params
:
param
,
})
},
personRecordingAdd
:
function
(
data
){
return
request
({
url
:
'
/api/Manmades
'
,
method
:
'
POST
'
,
data
:
data
,
}).
then
((
res
)
=>
{
return
res
})
},
personRecordingUpdate
:
function
(
data
){
return
request
({
url
:
'
/api/Manmades
'
,
method
:
'
PUT
'
,
data
:
data
,
})
},
personRecordingDel
:
function
(
data
){
return
request
({
url
:
'
/api/Manmades
'
,
method
:
'
Delete
'
,
data
:
data
,
})
},
//智能派单——人工调度所属调度车辆
personRecordingCarsQuery
:
function
(
param
){
return
request
({
url
:
'
/api/Mans
'
,
method
:
'
get
'
,
params
:
param
,
})
},
personRecordingCarsAdd
:
function
(
data
){
return
request
({
url
:
'
/api/Mans
'
,
method
:
'
POST
'
,
data
:
data
,
}).
then
((
res
)
=>
{
return
res
})
},
personRecordingCarsUpdate
:
function
(
data
){
return
request
({
url
:
'
/api/Mans
'
,
method
:
'
PUT
'
,
data
:
data
,
})
},
personRecordingCarsDel
:
function
(
data
){
return
request
({
url
:
'
/api/Mans
'
,
method
:
'
Delete
'
,
data
:
data
,
})
},
...
...
src/views/IntelligentDispatchManagement/carManualScheduling/index.vue
View file @
e18f5419
...
@@ -117,13 +117,13 @@ export default {
...
@@ -117,13 +117,13 @@ export default {
}
}
})
})
//获取车队
//获取车队
HttpReq
.
truckDispatching
.
carFleetQuery
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
carFleetQuery
(
{
size
:
9999
}
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
carFleetData
=
res
.
data
.
content
;
this
.
carFleetData
=
res
.
data
.
content
;
}
}
})
})
//获取区域信息
//获取区域信息
HttpReq
.
truckDispatching
.
RegionalInformationQuery
().
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
RegionalInformationQuery
(
{
size
:
9999
}
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
areaInformationData
=
res
.
data
.
content
;
this
.
areaInformationData
=
res
.
data
.
content
;
}
}
...
...
src/views/IntelligentDispatchManagement/carManualSchedulingManagement/index.vue
View file @
e18f5419
...
@@ -169,16 +169,17 @@ export default {
...
@@ -169,16 +169,17 @@ export default {
//删除提示
//删除提示
toDelete
(
item
)
{
toDelete
(
item
)
{
var
id
=
item
.
id
;
var
id
=
item
.
id
;
var
odd
=
item
.
odd
;
this
.
$confirm
(
'
确认删除该条数据吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确认删除该条数据吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
type
:
'
warning
'
}).
then
((
e
)
=>
{
}).
then
((
e
)
=>
{
this
.
reqRemoveProject
([
id
])
this
.
reqRemoveProject
([
id
]
,
odd
)
}).
catch
((
e
)
=>
{})
}).
catch
((
e
)
=>
{})
},
},
//删除调度
//删除调度
reqRemoveProject
(
item
){
reqRemoveProject
(
item
,
itemOdd
){
HttpReq
.
truckDispatching
.
manualSchedulingDel
(
item
).
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
manualSchedulingDel
(
item
).
then
((
res
)
=>
{
if
(
res
.
status
==
400
){
if
(
res
.
status
==
400
){
this
.
$notify
({
this
.
$notify
({
...
@@ -195,6 +196,16 @@ export default {
...
@@ -195,6 +196,16 @@ export default {
}
}
this
.
loadData
();
this
.
loadData
();
})
})
//获取所属车辆并且删除
HttpReq
.
truckDispatching
.
manualSchedulingCarsQuery
({
size
:
9999
,
odd
:
itemOdd
}).
then
((
res
)
=>
{
let
delCheckCarsList
=
[];
if
(
res
.
code
==
200
){
res
.
data
.
content
.
forEach
((
itemSon
)
=>
{
delCheckCarsList
.
push
(
itemSon
.
id
);
});
HttpReq
.
truckDispatching
.
manualSchedulingCarsDel
(
delCheckCarsList
).
then
((
res
)
=>
{
})
}
})
},
},
currentTime
(
time
){
currentTime
(
time
){
var
date
=
new
Date
(
time
);
var
date
=
new
Date
(
time
);
...
...
src/views/IntelligentDispatchManagement/carVoiceSupplement/index.vue
View file @
e18f5419
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