fix: 修改安全帽接口

This commit is contained in:
Vce 2024-04-07 19:00:46 +08:00
parent ff138974b0
commit 8355117502
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ export const getAlarmRecordInfoApi = (params: {}) => {
}; };
// 智能安全帽--查询实时数据信息 // 智能安全帽--查询实时数据信息
export const getRealtimeDataApi = (params: {}) => { export const getRealtimeDataApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatData/list`, params); return http.get(BASEURL + `/xmgl/safetyHatData/newestList`, params);
}; };
// 智能安全帽--查询实时数据信息 // 智能安全帽--查询实时数据信息
export const getRealtimeDataPageApi = (params: {}) => { export const getRealtimeDataPageApi = (params: {}) => {

View File

@ -937,8 +937,8 @@ function getDayRunData() {
let data = { let data = {
projectSn: store.sn, projectSn: store.sn,
devSn: queryInfo.value.devSn, devSn: queryInfo.value.devSn,
month: choiceMonth.value // month: choiceMonth.value
// day: dayValue.value day: dayValue.value
}; };
console.log("👇日行数据月份查询参数"); console.log("👇日行数据月份查询参数");
console.log(data); console.log(data);