|
|
|
@ -73,8 +73,8 @@ const scheduleList = ref<DevicePlanView[]>([])
|
|
|
|
const activeDevice = ref<DevicePlanView>()
|
|
|
|
const activeDevice = ref<DevicePlanView>()
|
|
|
|
|
|
|
|
|
|
|
|
const buildDefaultRange = () => {
|
|
|
|
const buildDefaultRange = () => {
|
|
|
|
const start = dayjs().startOf('day')
|
|
|
|
const start = dayjs().startOf('month').startOf('day')
|
|
|
|
const end = start.add(7, 'day').endOf('day')
|
|
|
|
const end = dayjs().endOf('month').endOf('day')
|
|
|
|
return [start.format('YYYY-MM-DD HH:mm:ss'), end.format('YYYY-MM-DD HH:mm:ss')]
|
|
|
|
return [start.format('YYYY-MM-DD HH:mm:ss'), end.format('YYYY-MM-DD HH:mm:ss')]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|