diff --git a/web/client/src/utils/webapi.js b/web/client/src/utils/webapi.js index ca2b3b3..fedfdc2 100644 --- a/web/client/src/utils/webapi.js +++ b/web/client/src/utils/webapi.js @@ -89,7 +89,10 @@ export const ApiTable = { //服务记录 getRecord: 'record', + //编辑和新增 addRecord: 'record', + //删除 + delRecord: 'record/{id}', //获取维护计划 getMaintenancePlan: 'maintenancePlan', //删除维护计划 @@ -97,7 +100,13 @@ export const ApiTable = { //编辑维护计划 editMaintenancePlan: 'maintenancePlan', //计算系统可用性 - calculability: 'calculability' + calculability: 'calculability', + //设备维护记录 + getEquipment: 'equipment', + //编辑或者新增设备维护记录 + editEquipment: 'equipment', + //删除设备维护记录 + delEquipment: 'equipment/{id}', }; // 项企的接口