|
@ -28,48 +28,40 @@ export function overhaulOrderPage(params) { |
|
|
// 操作工单
|
|
|
// 操作工单
|
|
|
export function orderClick(params) { |
|
|
export function orderClick(params) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/device-maintenance-main/orderClick', |
|
|
url: '/eam/device-inspection-main/onClick', |
|
|
'method': 'GET', |
|
|
'method': 'GET', |
|
|
params |
|
|
params |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
// 添加维修工单子项维修内容
|
|
|
// 添加维修工单子项维修内容
|
|
|
export function repairOrderDetailCreate(data) { |
|
|
export function overhaulOrderDetailCreate(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/device-maintenance-detail/create', |
|
|
url: '/eam/device-inspection-detail/create', |
|
|
'method': 'POST', |
|
|
'method': 'POST', |
|
|
data |
|
|
data |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
// 编辑维修工单子项维修内容
|
|
|
// 编辑维修工单子项维修内容
|
|
|
export function repairOrderDetailUpdate(data) { |
|
|
export function overhaulOrderDetailUpdate(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/device-maintenance-detail/update', |
|
|
url: '/eam/device-inspection-detail/update', |
|
|
'method': 'PUT', |
|
|
'method': 'PUT', |
|
|
data |
|
|
data |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
// 获得维修工单子列表
|
|
|
// 获得维修工单子列表
|
|
|
export function repairOrderDetailList(params) { |
|
|
export function overhaulOrderDetailList(params) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/device-maintenance-detail/selectListByNumber', |
|
|
url: '/eam/device-inspection-detail/selectListByNumber', |
|
|
'method': 'GET', |
|
|
'method': 'GET', |
|
|
params |
|
|
params |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
// 删除维修工单子
|
|
|
// 删除维修工单子
|
|
|
export function repairOrderDetailDelete(id) { |
|
|
export function overhaulOrderDetailDelete(id) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/device-maintenance-detail/delete?id='+id, |
|
|
url: '/eam/device-inspection-detail/delete?id='+id, |
|
|
'method': 'DELETE' |
|
|
'method': 'DELETE' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//转办
|
|
|
|
|
|
export function transfer(params) { |
|
|
|
|
|
return request({ |
|
|
|
|
|
url: '/eam/device-maintenance-main/turnTo', |
|
|
|
|
|
'method': 'GET', |
|
|
|
|
|
params |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|