|
@@ -4,7 +4,7 @@ import http from './httpUtil'
|
|
|
let arithmetic = '/arithmetic'
|
|
|
|
|
|
var Comming = 'revit'
|
|
|
- //获取打印标签模板test
|
|
|
+//获取打印标签模板test
|
|
|
export function getTest() {
|
|
|
return fetch({ method: 'GET', url: `${api}/service/template/note_template` })
|
|
|
}
|
|
@@ -393,11 +393,11 @@ export function setHeader(param) {
|
|
|
//获取头部接口
|
|
|
export function getHeader(param) {
|
|
|
let data = {
|
|
|
- "AppType": Comming,
|
|
|
- "Code": param.code,
|
|
|
- "ProjId": param.perjectId
|
|
|
- }
|
|
|
- // return fetch({ method: 'POST', url: `${api}/service/dict/equipment_family_info_header`, data })
|
|
|
+ "AppType": Comming,
|
|
|
+ "Code": param.code,
|
|
|
+ "ProjId": param.perjectId
|
|
|
+ }
|
|
|
+ // return fetch({ method: 'POST', url: `${api}/service/dict/equipment_family_info_header`, data })
|
|
|
return fetch({ method: 'POST', url: `${api}/service/dict/infocode_query_header`, data })
|
|
|
}
|
|
|
|
|
@@ -446,7 +446,7 @@ export function getSpaceFloor(param) {
|
|
|
export function createBusiness(param) {
|
|
|
let data = param.data
|
|
|
return fetch({ method: "POST", url: `${physics}/space/create?projectId=${param.ProjId}&secret=${param.secret}`, data })
|
|
|
- // return fetch({ method: "POST", url: `/test/space/create?projectId=${param.ProjId}&secret=${param.secret}`, data })
|
|
|
+ // return fetch({ method: "POST", url: `/test/space/create?projectId=${param.ProjId}&secret=${param.secret}`, data })
|
|
|
}
|
|
|
|
|
|
//批量创建业务空间
|
|
@@ -496,7 +496,7 @@ export function getGraphyId(param) {
|
|
|
export function getBussines(param) {
|
|
|
let data = param.data
|
|
|
return fetch({ method: "POST", url: `${physics}/object/outside_query?projectId=${param.ProjId}&secret=${param.secret}`, data })
|
|
|
- // return fetch({ method: "POST", url: `/test/object/outside_query?projectId=${param.ProjId}&secret=${param.secret}`, data })
|
|
|
+ // return fetch({ method: "POST", url: `/test/object/outside_query?projectId=${param.ProjId}&secret=${param.secret}`, data })
|
|
|
}
|
|
|
|
|
|
//替代前一个接口
|
|
@@ -917,7 +917,7 @@ export function equipLinkSys(param, success) {
|
|
|
export function sysLinkEquip(param, success) {
|
|
|
let url = `${baseUrl}/datacenter/sy-in-eq/link-eq`;
|
|
|
http.postJson(url, param, success)
|
|
|
-}
|
|
|
+}
|
|
|
|
|
|
//设备清单 - 统计项目下所有设备数量
|
|
|
export function countEquip(param, success) {
|