From d1d6c4f38ec0c276859d8995f4963aa1de616baa Mon Sep 17 00:00:00 2001 From: zhaobing Date: Wed, 21 Jun 2023 16:19:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9C=8D=E5=8A=A1=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=9A=84url=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/utils/webapi.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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}', }; // 项企的接口