|
@@ -1,7 +1,8 @@
|
|
|
import httputils from '@/api/httputils'
|
|
|
+import store from '@/store'
|
|
|
export function queryHours({postParams}) {
|
|
|
- return httputils.postJson(`/duoduo-service/transfer/chiller/business/hours/query?projectId=Pj4419000005`, postParams)
|
|
|
+ return httputils.postJson(`/duoduo-service/transfer/chiller/business/hours/query?projectId=${store.state.projectId}`, postParams)
|
|
|
}
|
|
|
export function updateHours({postParams}) {
|
|
|
- return httputils.postJson(`/duoduo-service/transfer/chiller/business/hours/update?projectId=Pj4419000005`, postParams)
|
|
|
+ return httputils.postJson(`/duoduo-service/transfer/chiller/business/hours/update?projectId=${store.state.projectId}`, postParams)
|
|
|
}
|