2024-11-18 09:02:57 +08:00
|
|
|
import type { Monitor } from '@/api/device/interface/monitor'
|
2024-11-12 18:56:33 +08:00
|
|
|
import http from '@/api'
|
|
|
|
|
|
|
|
|
|
/**
|
2024-11-19 16:30:03 +08:00
|
|
|
* @name 监测点管理模块
|
2024-11-12 18:56:33 +08:00
|
|
|
*/
|
|
|
|
|
|
2024-11-19 16:30:03 +08:00
|
|
|
//获取监测点
|
2024-11-12 18:56:33 +08:00
|
|
|
export const getPqMonList = (params: Monitor.ReqPqMonParams) => {
|
2024-11-21 14:42:26 +08:00
|
|
|
//return http.post(`/pqMon/list`, params)
|
2024-11-12 18:56:33 +08:00
|
|
|
}
|
|
|
|
|
|
2024-11-19 16:30:03 +08:00
|
|
|
//添加监测点
|
2024-11-12 18:56:33 +08:00
|
|
|
export const addPqMon = (params: Monitor.ResPqMon) => {
|
2024-11-21 14:42:26 +08:00
|
|
|
//return http.post(`/pqMon/add`, params)
|
2024-11-12 18:56:33 +08:00
|
|
|
}
|
|
|
|
|
|
2024-11-19 16:30:03 +08:00
|
|
|
//编辑监测点
|
2024-11-12 18:56:33 +08:00
|
|
|
export const updatePqMon = (params: Monitor.ResPqMon) => {
|
2024-11-21 14:42:26 +08:00
|
|
|
//return http.post(`/pqMon/update`, params)
|
2024-11-12 18:56:33 +08:00
|
|
|
}
|
|
|
|
|
|
2024-11-19 16:30:03 +08:00
|
|
|
//删除监测点
|
2024-11-12 18:56:33 +08:00
|
|
|
export const deletePqMon = (params: string[]) => {
|
2024-11-21 14:42:26 +08:00
|
|
|
//return http.post(`/pqMon/delete`, params)
|
2024-11-12 18:56:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|