| | |
| | | // 台账保存 |
| | | accountCreate: '/account/create', |
| | | accountUpdate: '/account/update', |
| | | //设备类型 |
| | | deviceTypeCreate: '/devicetype/create', |
| | | deviceTypeUpdate: '/devicetype/update', |
| | | // 车间 工段下啦数据 |
| | | getWsl: '/machine/workshopList', |
| | | getPcl: '/machine/protocolList' |
| | |
| | | url: '/component/pageQuery', |
| | | method: 'POST' |
| | | }, |
| | | deviceTypeQuery: { |
| | | url: '/devicetype/pageQuery', |
| | | method: 'POST' |
| | | }, |
| | | maintainCreate: { |
| | | url: '/maintain/save', |
| | | method: 'POST' |
| | |
| | | export function accountUpdate(params) { |
| | | return sendRequest(HttpConstants.accountUpdate, params) |
| | | } |
| | | |
| | | // 设备类型保存 |
| | | export function deviceTypeCreate(params) { |
| | | return sendRequest(HttpConstants.deviceTypeCreate, params) |
| | | } |
| | | export function deviceTypeUpdate(params) { |
| | | return sendRequest(HttpConstants.deviceTypeUpdate, params) |
| | | } |
| | | |
| | | // |
| | | export function getWsl(params) { |
| | | return getData(HttpConstants.getWsl, params) |