소스 검색

修改系统接口 减号

haojianlong 5 년 전
부모
커밋
2fba5e9675
1개의 변경된 파일11개의 추가작업 그리고 11개의 파일을 삭제
  1. 11 11
      src/api/scan/request.js

+ 11 - 11
src/api/scan/request.js

@@ -982,13 +982,13 @@ export function deleteEquip(param, success) {
 
 //设备清单 - 查询系统关联专业 - 查询系统信息 - 查询系统所属专业类型
 export function queryLinkSys(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/query`;
+    let url = `${baseUrl}/datacenter/general-system/query`;
     http.postJson(url, param, success)
 }
 
 //查询系统信息 - 建筑楼层 - 系统一对多
 export function querySysLinkBuild(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/query-new`;
+    let url = `${baseUrl}/datacenter/general-system/query-new`;
     if (param.buildingId) {
         url += `?buildingId=${param.buildingId}`
     }
@@ -1111,25 +1111,25 @@ export function updateProperty(param, success) {
 
 //更新系统信息
 export function updateGeneralSys(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/update`;
+    let url = `${baseUrl}/datacenter/general-system/update`;
     http.postJson(url, param, success)
 }
 
 //删除系统信息
 export function deleteGeneralSys(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/delete`;
+    let url = `${baseUrl}/datacenter/general-system/delete`;
     http.postJson(url, param, success)
 }
 
 //创建系统信息
 export function createGeneralSys(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/create`;
+    let url = `${baseUrl}/datacenter/general-system/create`;
     http.postJson(url, param, success)
 }
 
 //创建系统---处理建筑楼层(一对多)
 export function createSystemBuildFloor(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/create-bd-fl`
+    let url = `${baseUrl}/datacenter/general-system/create-bd-fl`
     http.postJson(url, param, success)
 }
 
@@ -1159,7 +1159,7 @@ export function getEquipInSys(param, success) {
 
 //根据条件查询统计数量
 export function countGeneralSys(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/count`;
+    let url = `${baseUrl}/datacenter/general-system/count`;
     http.postJson(url, param, success)
 }
 
@@ -1430,19 +1430,19 @@ export function shthroughshUnlink(param, success) {
 //查询没有和当前系统关联的设备
 export function unSysEq(param, success) {
     let data = param.data
-    let url = `${baseUrl}/datacenter/generalsystem/un-sys-equip?sysId=${param.sysId}`;
+    let url = `${baseUrl}/datacenter/general-system/un-sys-equip?sysId=${param.sysId}`;
     http.postJson(url, data, success)
 }
 //查询没有和当前系统关联的竖井
 export function unSysShaft(param, success) {
     let data = param.data
-    let url = `${baseUrl}/datacenter/generalsystem/un-sys-shaft?sysId=${param.sysId}`;
+    let url = `${baseUrl}/datacenter/general-system/un-sys-shaft?sysId=${param.sysId}`;
     http.postJson(url, data, success)
 }
 //查询没有和当前系统关联的业务空间
 export function unSysZoneSpace(param, success) {
     let data = param.data
-    let url = `${baseUrl}/datacenter/generalsystem/un-sys-zoneSpaceBaseTable?sysId=${param.sysId}`;
+    let url = `${baseUrl}/datacenter/general-system/un-sys-zoneSpaceBaseTable?sysId=${param.sysId}`;
     http.postJson(url, data, success)
 }
 //查询没有和当前竖井绑定的设备
@@ -1470,7 +1470,7 @@ export function linkEqSh(param, success) {
 }
 //创建系统下的设备关系
 export function linkSysEq(param, success) {
-    let url = `${baseUrl}/datacenter/generalsystem/link-equip`;
+    let url = `${baseUrl}/datacenter/general-system/link-equip`;
     http.postJson(url, param, success)
 }
 //竖井的贯通,竖井一对多,此方法不会覆盖以前的记录