| | |
| | | //设备类型 |
| | | deviceTypeCreate: '/devicetype/create', |
| | | deviceTypeUpdate: '/devicetype/update', |
| | | deviceTypeDelete: '/devicetype/delete', |
| | | // 车间 工段下啦数据 |
| | | getWsl: '/machine/workshopList', |
| | | getPcl: '/machine/protocolList' |
| | |
| | | url: '/devicetype/update', |
| | | method: 'POST' |
| | | }, |
| | | deviceTypeDel: { |
| | | deviceTypeDelete: { |
| | | url: '/devicetype/delete', |
| | | method: 'POST' |
| | | }, |
| | |
| | | export function deviceTypeUpdate(params) { |
| | | return sendRequest(HttpConstants.deviceTypeUpdate, params) |
| | | } |
| | | export function deviceTypeDelete(ids) { |
| | | console.log(HttpConstants.deviceTypeDelete) |
| | | return sendRequest(HttpConstants.deviceTypeDelete, { ids: ids }) |
| | | } |
| | | |
| | | // |
| | | export function getWsl(params) { |