周俊杰
3 weeks ago
19 changed files with 739 additions and 364 deletions
@ -0,0 +1,36 @@ |
|||
package org.nl.modules.system.service.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @description / |
|||
* @author ldjun |
|||
* @date 2021-01-14 |
|||
**/ |
|||
@Data |
|||
public class ParamDto implements Serializable { |
|||
|
|||
private String id; |
|||
|
|||
private String code; |
|||
|
|||
private String name; |
|||
|
|||
private String value; |
|||
|
|||
private String remark; |
|||
|
|||
private Long create_id; |
|||
|
|||
private Long update_optid; |
|||
|
|||
private String create_name; |
|||
|
|||
private String create_time; |
|||
|
|||
private String update_optname; |
|||
|
|||
private String update_time; |
|||
} |
@ -1,217 +1,253 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function add(data) { |
|||
return request({ |
|||
url: 'api/device', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function del(ids) { |
|||
return request({ |
|||
url: 'api/device/', |
|||
method: 'delete', |
|||
data: ids |
|||
}) |
|||
return request({ |
|||
url: 'api/device/', |
|||
method: 'delete', |
|||
data: ids |
|||
}) |
|||
} |
|||
|
|||
export function edit(data) { |
|||
return request({ |
|||
url: 'api/device', |
|||
method: 'put', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device', |
|||
method: 'put', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function selectDeviceList() { |
|||
return request({ |
|||
url: 'api/device/selectList', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectList', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function selectConDeviceList() { |
|||
return request({ |
|||
url: 'api/device/selectConveyorList', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectConveyorList', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function selectDeviceListByRegion(region) { |
|||
return request({ |
|||
url: 'api/device/region/' + region, |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/region/' + region, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function selectDeviceListOne() { |
|||
return request({ |
|||
url: 'api/device/selectListOne', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectListOne', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
export function selectDeviceListTwo() { |
|||
return request({ |
|||
url: 'api/device/selectListTwo', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectListTwo', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
export function selectDeviceListThree() { |
|||
return request({ |
|||
url: 'api/device/selectListThree', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectListThree', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function selectDeviceDevicerInfo(status) { |
|||
return request({ |
|||
url: 'api/device/selectDeviceDevicerInfo/' + status, |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectDeviceDevicerInfo/' + status, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function changeDeviceStatus(data) { |
|||
return request({ |
|||
url: 'api/device/changeDeviceStatus', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/changeDeviceStatus', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function changeFenceStatus(data) { |
|||
return request({ |
|||
url: 'api/device/changeFenceStatus', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/changeFenceStatus', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function saveBarcode(data) { |
|||
return request({ |
|||
url: 'api/device/updateBarcode', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/updateBarcode', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function callAgv(data) { |
|||
return request({ |
|||
url: 'api/device/callAgv', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/callAgv', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function addMaterial(data) { |
|||
return request({ |
|||
url: 'api/device/addMaterial', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/addMaterial', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function responseAgv(data) { |
|||
return request({ |
|||
url: 'api/device/responseAgv', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/responseAgv', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function autoCreateTask(data) { |
|||
return request({ |
|||
url: 'api/device/autoCreateTask', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/autoCreateTask', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function cleanTask(data) { |
|||
return request({ |
|||
url: 'api/device/cleanTask', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/cleanTask', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function cleanMaterial(data) { |
|||
return request({ |
|||
url: 'api/device/cleanMaterial', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/cleanMaterial', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function queryStorageExtra(storage_code) { |
|||
return request({ |
|||
url: 'api/device/queryStorageExtra/' + storage_code, |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/queryStorageExtra/' + storage_code, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function reload() { |
|||
return request({ |
|||
url: 'api/device/reload', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/reload', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function cleans1(data) { |
|||
return request({ |
|||
url: 'api/device/cleans1', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/cleans1', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function cleans2(data) { |
|||
return request({ |
|||
url: 'api/device/cleans2', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/cleans2', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function enterSite1(data) { |
|||
return request({ |
|||
url: 'api/device/enterSite1', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/enterSite1', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function enterSite2(data) { |
|||
return request({ |
|||
url: 'api/device/enterSite2', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/enterSite2', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function cleans3(data) { |
|||
return request({ |
|||
url: 'api/device/cleans3', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
return request({ |
|||
url: 'api/device/cleans3', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function selectAGVList() { |
|||
return request({ |
|||
url: 'api/device/selectAGVList', |
|||
method: 'get' |
|||
}) |
|||
return request({ |
|||
url: 'api/device/selectAGVList', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
export function agvTaskType(data) { |
|||
return request({ |
|||
url: 'api/device/agvTaskType', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export default { add, edit, del, selectDeviceList, selectDeviceListByRegion, callAgv, responseAgv, selectDeviceDevicerInfo, autoCreateTask, |
|||
changeDeviceStatus, cleanTask, queryStorageExtra, selectConDeviceList, saveBarcode, selectDeviceListOne, selectDeviceListTwo, selectDeviceListThree, |
|||
addMaterial, cleanMaterial, changeFenceStatus,reload, cleans1, cleans2, enterSite1, enterSite2, cleans3, selectAGVList, agvTaskType} |
|||
return request({ |
|||
url: 'api/device/agvTaskType', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export function excelImport(data) { |
|||
return request({ |
|||
url: 'api/device/excelImport', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
export default { |
|||
add, |
|||
edit, |
|||
del, |
|||
selectDeviceList, |
|||
selectDeviceListByRegion, |
|||
callAgv, |
|||
responseAgv, |
|||
selectDeviceDevicerInfo, |
|||
autoCreateTask, |
|||
changeDeviceStatus, |
|||
cleanTask, |
|||
queryStorageExtra, |
|||
selectConDeviceList, |
|||
saveBarcode, |
|||
selectDeviceListOne, |
|||
selectDeviceListTwo, |
|||
selectDeviceListThree, |
|||
addMaterial, |
|||
cleanMaterial, |
|||
changeFenceStatus, |
|||
reload, |
|||
cleans1, |
|||
cleans2, |
|||
enterSite1, |
|||
enterSite2, |
|||
cleans3, |
|||
selectAGVList, |
|||
agvTaskType, |
|||
excelImport |
|||
} |
Loading…
Reference in new issue