|
@@ -1893,8 +1893,27 @@ export function getAllEqPaType(param, success) {
|
|
let url = `${baseUrl}/datacenter/class-def/query-equip-comm-type`
|
|
let url = `${baseUrl}/datacenter/class-def/query-equip-comm-type`
|
|
http.postJson(url, param, success)
|
|
http.postJson(url, param, success)
|
|
}
|
|
}
|
|
-//查询信息
|
|
|
|
|
|
+
|
|
|
|
+// 查询空间信息
|
|
export function getZoneQuery(param,success) {
|
|
export function getZoneQuery(param,success) {
|
|
let url = `${baseUrl}/datacenter/class-def/query-equip-comm-type`
|
|
let url = `${baseUrl}/datacenter/class-def/query-equip-comm-type`
|
|
http.postJson(url,param,success)
|
|
http.postJson(url,param,success)
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+//创建空间分区对象
|
|
|
|
+export function zoneCreate(param,success) {
|
|
|
|
+ let url = `${baseUrl}/datacenter/object/zone/create`
|
|
|
|
+ http.postJson(url,param,success)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//跟据id删除分区对象
|
|
|
|
+export function zoneDelete(param,success) {
|
|
|
|
+ let url = `${baseUrl}/datacenter/object/zone/delete`
|
|
|
|
+ http.postJson(url,param,success)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//更新分区对象信息
|
|
|
|
+export function handleZoneUpdate(param,success) {
|
|
|
|
+ let url = `${baseUrl}/datacenter/object/zone/update`
|
|
|
|
+ http.postJson(url,param,success)
|
|
|
|
+}
|