diff --git a/frontend/src/api/result/result.ts b/frontend/src/api/result/result.ts index 1e11ff9..4c8d596 100644 --- a/frontend/src/api/result/result.ts +++ b/frontend/src/api/result/result.ts @@ -2,4 +2,6 @@ import http from '@/api' export const getMonitorResult = (devId: string) => http.post(`/result/getMonitorResult?devId=${devId}`) export const getMonitorDataSourceResult = (monitorId: string) => - http.get(`/result/getMonitorDataSourceResult?monitorId=${monitorId}`) \ No newline at end of file + http.get(`/result/getMonitorDataSourceResult?monitorId=${monitorId}`) + +export const updateMonitorResult = (data: any) => http.post('/result/updateMonitorResult', data) \ No newline at end of file diff --git a/frontend/src/views/home/components/reportResultPopup.vue b/frontend/src/views/home/components/reportResultPopup.vue index 83dade8..2cc7ecf 100644 --- a/frontend/src/views/home/components/reportResultPopup.vue +++ b/frontend/src/views/home/components/reportResultPopup.vue @@ -104,7 +104,7 @@