|
@@ -8,8 +8,8 @@ export function getEquipmentLabel(
|
|
code,
|
|
code,
|
|
projectId
|
|
projectId
|
|
) {
|
|
) {
|
|
- return fetch({ method: 'GET', url: `${physics}/data-platform-3/infocode/query_property?projectId=${projectId}&type=${code}&enrich=true` })
|
|
|
|
- // return fetch({ method: 'GET', url: `${physics}/data-platform-3/infocode/query_property?type=${code}` })
|
|
|
|
|
|
+ // return fetch({ method: 'GET', url: `${physics}/data-platform-3/infocode/query_property?projectId=${projectId}&type=${code}&enrich=true` })
|
|
|
|
+ return fetch({ method: 'GET', url: `${physics}/data-platform-3/infocode/complex_query?projectId=${projectId}&type=${code}&combine=true&enrich=true` })
|
|
}
|
|
}
|
|
//获取资产value内容
|
|
//获取资产value内容
|
|
export function getEquipmentValue(
|
|
export function getEquipmentValue(
|
|
@@ -39,7 +39,7 @@ export function getwinValue(
|
|
]
|
|
]
|
|
}
|
|
}
|
|
console.log(data)
|
|
console.log(data)
|
|
- return fetch({ method: 'POST', url: `${physics}/data-platform-3/infocode/complex_query?projectId=${projectId}&secret=${secret}`, data })
|
|
|
|
|
|
+ return fetch({ method: 'POST', url: `${physics}/data-platform-3/object/batch_query?projectId=${projectId}&secret=${secret}`, data })
|
|
}
|
|
}
|
|
|
|
|
|
//通过分精度获取折线图
|
|
//通过分精度获取折线图
|