|
|
|
@ -1,25 +1,25 @@ |
|
|
|
import { createAPI } from "@/utils/httpRequest.js"; |
|
|
|
|
|
|
|
/*查询设备清单*/ |
|
|
|
export const getEamObjectList = data => createAPI('api/pms/eamObject/getEamObjectList','post',data) |
|
|
|
export const getEamObjectList = data => createAPI('pms/eamObject/getEamObjectList','post',data) |
|
|
|
/*查询设备的文件内容*/ |
|
|
|
export const getFileContentList = data => createAPI('api/sys/file/getSysFileByOrderRef2','post',data) |
|
|
|
export const getFileContentList = data => createAPI('sys/file/getSysFileByOrderRef2','post',data) |
|
|
|
/*查询设备的备件清单*/ |
|
|
|
export const getDevicePartList = data => createAPI('api/pms/resourcespare/getResourceSpareListByResourceId','post',data) |
|
|
|
export const getDevicePartList = data => createAPI('pms/resourcespare/getResourceSpareListByResourceId','post',data) |
|
|
|
/*查询设备的点检项目列表*/ |
|
|
|
export const getCheckItemList = data => createAPI('api/pms/eamObject/getCheckItemList','post',data) |
|
|
|
export const getCheckItemList = data => createAPI('pms/eamObject/getCheckItemList','post',data) |
|
|
|
/*查询设备的维保项目列表*/ |
|
|
|
export const getMaintenanceItemList = data => createAPI('api/pms/eamObject/getMaintenanceItemList','post',data) |
|
|
|
export const getMaintenanceItemList = data => createAPI('pms/eamObject/getMaintenanceItemList','post',data) |
|
|
|
/*查询设备的维保计划列表*/ |
|
|
|
export const getMaintenancePlanList = data => createAPI('api/pms/eamObject/getMaintenancePlanList','post',data) |
|
|
|
export const getMaintenancePlanList = data => createAPI('pms/eamObject/getMaintenancePlanList','post',data) |
|
|
|
/*查询设备的历史工单列表*/ |
|
|
|
export const getHistoryOrderList = data => createAPI('api/pms/eamObject/getHistoryOrderList','post',data) |
|
|
|
export const getHistoryOrderList = data => createAPI('pms/eamObject/getHistoryOrderList','post',data) |
|
|
|
/*查询设备的故障现象列表*/ |
|
|
|
export const getFaultBehaviorList = data => createAPI('api/pms/eamObject/getFaultBehaviorList','post',data) |
|
|
|
export const getFaultBehaviorList = data => createAPI('pms/eamObject/getFaultBehaviorList','post',data) |
|
|
|
/*删除当前设备*/ |
|
|
|
export const deleteEamObject = data => createAPI('api/pms/eamObject/deleteEamObject','post',data) |
|
|
|
export const deleteEamObject = data => createAPI('pms/eamObject/deleteEamObject','post',data) |
|
|
|
/*图片上传*/ |
|
|
|
export const uploadEamObjectFile = data => createAPI('/api/sys/file/upload','post',data) |
|
|
|
export const uploadEamObjectFile = data => createAPI('/sys/file/upload','post',data) |
|
|
|
|
|
|
|
|
|
|
|
|