人工异常处理
This commit is contained in:
@@ -154,3 +154,20 @@ export const vehicleUnbind = (code) => post('api/pda/vehicleUnbind', {
|
||||
export const callDefective = (code) => post('api/pda/callDefective', {
|
||||
device_code: code
|
||||
})
|
||||
|
||||
/**
|
||||
* 人工异常处理
|
||||
*/
|
||||
// 区域下拉框
|
||||
export const ExceptionHandlingRegionList = () => post('api/pda/manual/ExceptionHandlingTask/regionList', {})
|
||||
// 点位下拉框
|
||||
export const ExceptionHandlingTaskList = () => post('api/pda/manual/ExceptionHandlingTask/list', {})
|
||||
// 任务信息
|
||||
export const ExceptionHandlingTaskShow = (code) => post('api/pda/manual/ExceptionHandlingTask/show', {
|
||||
region_code: code
|
||||
})
|
||||
// 确认
|
||||
export const ExceptionHandlingTask = (id, point) => post('api/pda/manual/ExceptionHandlingTask', {
|
||||
task_id: id,
|
||||
end_point: point
|
||||
})
|
||||
|
||||
16
src/config/mork2.js
Normal file
16
src/config/mork2.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const ExceptionHandlingRegionList = () => {
|
||||
let res = {'result': [{'region_name': '混料区', 'region_code': 'HL'}, {'region_name': '压制区', 'region_code': 'YZ'}, {'region_name': '分拣区', 'region_code': 'FJ'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
export const ExceptionHandlingTaskList = () => {
|
||||
let res = {'result': [{'point_name': '困料虚拟库', 'point_code': 'KLXNK'}, {'point_name': '窑前虚拟库', 'point_code': 'YQXNK'}, {'point_name': '出窑虚拟库', 'point_code': 'CYXNK'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
export const ExceptionHandlingTaskShow = () => {
|
||||
let res = {'result': [{'task_name': '钢托库叫空', 'task_status': '5', 'start_point': '叠托位', 'end_point': '拆盘机进对接位', 'task_code': '20240321000003', 'vehicle_type': '2', 'task_id': '1770638391122198528', 'vehicle_code': '0000'}, {'task_name': '钢托库叫空', 'task_status': '5', 'start_point': '叠托位', 'end_point': '拆盘机进对接位', 'task_code': '20240321000003', 'vehicle_type': '2', 'task_id': '1', 'vehicle_code': '0000'}, {'task_name': '钢托库叫空', 'task_status': '5', 'start_point': '叠托位', 'end_point': '拆盘机进对接位', 'task_code': '20240321000003', 'vehicle_type': '2', 'task_id': '2', 'vehicle_code': '0000'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
export const ExceptionHandlingTask = () => {
|
||||
let res = {code: '1', desc: 'ok'}
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user