|
|
|
|
@ -399,6 +399,7 @@ const getDevicePageRows = (data: any): DeviceVO[] => {
|
|
|
|
|
const refreshDeviceStatusStatistics = async () => {
|
|
|
|
|
const ids = getDeviceIds().join(',')
|
|
|
|
|
const baseParams = {
|
|
|
|
|
deviceType: 2,
|
|
|
|
|
...(ids ? { ids } : {})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -492,6 +493,7 @@ const getDeviceIds = () => {
|
|
|
|
|
|
|
|
|
|
const buildParams = (startTime: string, endTime: string, pageSize = 100) => ({
|
|
|
|
|
ids: getDeviceIds().join(','),
|
|
|
|
|
deviceType: 2,
|
|
|
|
|
startTime,
|
|
|
|
|
endTime,
|
|
|
|
|
timelinePageNo: 1,
|
|
|
|
|
@ -551,6 +553,7 @@ const refreshOperationRecordRows = async () => {
|
|
|
|
|
const response = await DeviceOperationRecordApi.getDeviceOperationRecordPage({
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
pageSize: 100,
|
|
|
|
|
deviceType: 2,
|
|
|
|
|
ids: getDeviceIds().join(','),
|
|
|
|
|
startTime: start,
|
|
|
|
|
endTime: end
|
|
|
|
|
|