|
@@ -1,15 +1,16 @@
|
|
|
import httputils from '@/api/httputils'
|
|
|
+import store from '@/store'
|
|
|
// 查询运行评价
|
|
|
export function runDataQury(date, { getParams }) {
|
|
|
- return httputils.getJson(`/duoduo-service/transfer/chiller/command/runDataQuery?projectId=Pj4413030001&date=` + date, getParams)
|
|
|
+ return httputils.getJson(`/duoduo-service/transfer/chiller/command/runDataQuery?projectId=${store.state.projectId}&date=` + date, getParams)
|
|
|
}
|
|
|
// 查询相似日样本
|
|
|
export function energyDayQuery(date, { getParams }) {
|
|
|
- return httputils.getJson(`/duoduo-service/transfer/chiller/command/energyDayQuery?projectId=Pj3206120001&date=` + date, getParams)
|
|
|
+ return httputils.getJson(`/duoduo-service/transfer/chiller/command/energyDayQuery?projectId=${store.state.projectId}&date=` + date, getParams)
|
|
|
}
|
|
|
// 查询一天的运行评价-室内温度页面左上角温度满足率
|
|
|
export function querychiller({ postParams }) {
|
|
|
- return httputils.postJson(`/duoduo-service/transfer/chiller/day/rpt/query?projectId=Pj4413030001`, postParams)
|
|
|
+ return httputils.postJson(`/duoduo-service/transfer/chiller/day/rpt/query?projectId=${store.state.projectId}`, postParams)
|
|
|
}
|
|
|
// 室内温度位置详情-室内温度页面中间的空间列表
|
|
|
export function querySpace({ postParams }) {
|