import request from '@/utils/request'; // 搜索RTU监测项分页 export function pageRtuSiteMonitor(query) { return request({ url: '/business/rtuSiteMonitor/page', method: 'get', params: query, }); } // 搜索RTU监测项列表 export function listRtuSiteMonitor(query) { return request({ url: '/business/rtuMonitorProperty/list', method: 'get', params: query, }); } // 搜索RTU监测项详细 export function getRtuSiteMonitor(id) { return request({ url: '/business/rtuSiteMonitor/' + id, method: 'get', }); } // 新增RTU监测项 export function addRtuSiteMonitor(data) { return request({ url: '/business/rtuSiteMonitor/add', method: 'post', data: data, }); } // 修改RTU监测项 export function updateRtuSiteMonitor(data) { return request({ url: '/business/rtuSiteMonitor/edit', method: 'put', data: data, }); } // 删除RTU监测项 export function delRtuSiteMonitor(id) { return request({ url: '/business/rtuSiteMonitor/' + id, method: 'delete', }); }