fix: remove FIXME

This commit is contained in:
yangsy
2025-08-21 21:13:36 +08:00
parent a6f2a0a54e
commit a9e52f1e0f

View File

@@ -63,12 +63,7 @@ export function useLineAlarmsQuery() {
}; };
try { try {
// FIXME: 暂时采用固定的时间范围
const now = dayjs(); const now = dayjs();
// const todayStart = now.startOf('date').format('YYYY-MM-DD HH:mm:ss');
// const todayEnd = now.endOf('date').format('YYYY-MM-DD HH:mm:ss');
// const todayStart = '2025-08-13 00:00:00';
// const todayEnd = '2025-08-31 23:59:59';
const todayStart = now.startOf('date').valueOf(); const todayStart = now.startOf('date').valueOf();
const todayEnd = now.endOf('date').valueOf(); const todayEnd = now.endOf('date').valueOf();
const { records: alarmList } = await postNdmDeviceAlarmLogPage(station.code, { const { records: alarmList } = await postNdmDeviceAlarmLogPage(station.code, {