import request from '@/utils/request'; // /callRecords/list export function callRecordsList(query) { return request({ url: '/business/callRecords/list', method: 'get', params: query, }); } // /siteTableConfig/selectBoxBySiteNo/{siteNo} export function selectBoxBySiteNo(siteNo) { return request({ url: `/business/siteTableConfig/selectBoxBySiteNo/${siteNo}`, method: 'get', }); } // /siteInfoMonitor/selectSiteMonitorBySiteType export function selectSiteMonitorBySiteType(data) { return request({ url: '/business/siteInfoMonitor/selectSiteMonitorBySiteType', method: 'post', data, }); } // /waterloggingArchive/list export function waterloggingArchiveList(query) { console.log('query', query); return request({ url: '/business/waterloggingArchive/list', method: 'get', params: query, }); } // /siteInfoMonitor/selectByVideoUrls export function selectByVideoUrls(data) { return request({ url: '/business/siteInfoMonitor/selectByVideoUrls', method: 'post', data, }); } // 排水 站点最新一条数据记录 export function realtimeDataLatest(stCode) { return request({ url: '/business/rtuSiteMonitor/realtimeData/' + stCode, method: 'get', }); } // 数据统计-动态表头 export function dataAnalysisHead(query) { return request({ url: '/business/siteHistoryMonitor/dataAnalysis/heads', method: 'get', params: query, }); } // 数据统计-表格数据 export function dataAnalysisBody(query) { return request({ url: '/business/siteHistoryMonitor/dataAnalysis', method: 'get', params: query, }); } // 燃气 /dockingThorughfare/list export function dockingList(query) { return request({ url: '/business/dockingThorughfare/list', method: 'get', params: query, }); } // 燃气 /dockingThorughfareHistory/page export function dockingHistory(query){ return request({ url: '/business/dockingThorughfareHistory/page', method: 'get', params: query, });business }