| | |
| | | }) |
| | | } |
| | | |
| | | export function fetchRecordsList(mId) { |
| | | return request({ |
| | | url: '/mes/productionSchedul/pageRecords/'+mId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export function fetchScheduleById(id) { |
| | | return request({ |
| | | url: '/mes/productionSchedul/'+id, |
| | | url: '/mes/productionSchedul/selTime/'+id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | method: 'put', |
| | | data: data |
| | | }) |
| | | } |
| | | } |
| | | |
| | | export function checkTimeLines(data) { |
| | | return request({ |
| | | url: '/mes/productionSchedul/checkTimeLines', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function deleteSchedul(mId) { |
| | | return request({ |
| | | url: '/mes/productionSchedul/'+mId, |
| | | method: 'delete', |
| | | }) |
| | | } |
| | | |
| | | export function updateSchedul(data) { |
| | | return request({ |
| | | url: '/mes/productionSchedul/updateByMId', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function updateState(data) { |
| | | return request({ |
| | | url: '/mes/productionSchedul/updateState', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function getProductionSchedulReport() { |
| | | return request({ |
| | | url: '/mes/productionSchedul/getReport', |
| | | method: 'get', |
| | | }) |
| | | } |