fix: remove FIXME
This commit is contained in:
@@ -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, {
|
||||||
|
|||||||
Reference in New Issue
Block a user