diff --git a/src/views/home/chart.vue b/src/views/home/chart.vue index 32495ef..6dc0321 100644 --- a/src/views/home/chart.vue +++ b/src/views/home/chart.vue @@ -86,11 +86,6 @@ const operationState = computed(() => { let poll = null const getData = async () => { - const res = await syncSendCmd({ - className: 'DisinfectionCtrlServiceExt', - fnName: 'getState', - }) - console.log(res.rely.startTimestamp) const data = await syncSendCmd({ className: 'H2O2SensorMgr', fnName: 'getH2O2SensorList', @@ -100,13 +95,11 @@ const getData = async () => { const item: any = chartList.value[i] const list = await syncSendCmd({ className: 'H2O2SensorMgr', - fnName: 'getH2O2DataRecordList', + fnName: 'getDisinfectionH2O2DataRecordList', params: { type: item.type, id: item.id, - since: res.rely?.startTimestamp, interval: 30, - before: 0, }, }) chartList.value[i].data = list.rely