浏览代码

Merge branch 'msg-sever' into dev

haojianlong 5 年之前
父节点
当前提交
88e6d5107b
共有 1 个文件被更改,包括 30 次插入30 次删除
  1. 30 30
      src/api/scan/request.js

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

@@ -1122,20 +1122,20 @@ export function deleteEquip(param, success) {
 
 //设备清单 - 查询系统关联专业 - 查询系统信息 - 查询系统所属专业类型
 export function queryLinkSys(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/query`;
-  http.postJson(url, param, success)
+    let url = `${baseUrl}/datacenter/general-system/query`;
+    http.postJson(url, param, success)
 }
 
 //查询系统信息 - 建筑楼层 - 系统一对多
 export function querySysLinkBuild(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/query-new`;
-  if (param.buildingId) {
-    url += `?buildingId=${param.buildingId}`
-  }
-  if (param.floorId) {
-    url += `&floorId=${param.floorId}`
-  }
-  http.postJson(url, param.data, success)
+    let url = `${baseUrl}/datacenter/general-system/query-new`;
+    if (param.buildingId) {
+        url += `?buildingId=${param.buildingId}`
+    }
+    if (param.floorId) {
+        url += `&floorId=${param.floorId}`
+    }
+    http.postJson(url, param.data, success)
 }
 
 
@@ -1256,25 +1256,25 @@ export function updateProperty(param, success) {
 
 //更新系统信息
 export function updateGeneralSys(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/update`;
-  http.postJson(url, param, success)
+    let url = `${baseUrl}/datacenter/general-system/update`;
+    http.postJson(url, param, success)
 }
 
 //删除系统信息
 export function deleteGeneralSys(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/delete`;
-  http.postJson(url, param, success)
+    let url = `${baseUrl}/datacenter/general-system/delete`;
+    http.postJson(url, param, success)
 }
 
 //创建系统信息
 export function createGeneralSys(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/create`;
-  http.postJson(url, param, success)
+    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)
 }
 
@@ -1304,8 +1304,8 @@ export function getEquipInSys(param, success) {
 
 //根据条件查询统计数量
 export function countGeneralSys(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/count`;
-  http.postJson(url, param, success)
+    let url = `${baseUrl}/datacenter/general-system/count`;
+    http.postJson(url, param, success)
 }
 
 //头部信息查询(查询所有设备类型-所有部件类型-所有系统类型-所有专业类型)
@@ -1580,21 +1580,21 @@ export function shthroughshUnlink(param, success) {
 }
 //查询没有和当前系统关联的设备
 export function unSysEq(param, success) {
-  let data = param.data
-  let url = `${baseUrl}/datacenter/general—system/un-sys-equip?sysId=${param.sysId}`;
-  http.postJson(url, data, success)
+    let data = param.data
+    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/general—system/un-sys-shaft?sysId=${param.sysId}`;
-  http.postJson(url, data, success)
+    let data = param.data
+    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/general—system/un-sys-zoneSpaceBaseTable?sysId=${param.sysId}`;
-  http.postJson(url, data, success)
+    let data = param.data
+    let url = `${baseUrl}/datacenter/general-system/un-sys-zoneSpaceBaseTable?sysId=${param.sysId}`;
+    http.postJson(url, data, success)
 }
 //查询没有和当前竖井绑定的设备
 export function unshaftInEq(param, success) {
@@ -1621,8 +1621,8 @@ export function linkEqSh(param, success) {
 }
 //创建系统下的设备关系
 export function linkSysEq(param, success) {
-  let url = `${baseUrl}/datacenter/general—system/link-equip`;
-  http.postJson(url, param, success)
+    let url = `${baseUrl}/datacenter/general-system/link-equip`;
+    http.postJson(url, param, success)
 }
 //竖井的贯通,竖井一对多,此方法不会覆盖以前的记录
 export function linkShaft(param, success) {