import request from '@/utils/request'; // 获取站点下拉选择列表数据/siteManage/list/select export function siteManageList(params) { return request({ url: `/scada/siteManage/list/select`, method: 'get', params, }); } // 获取站点分组的下拉选择列表数据/siteGroup/list/select export function siteGroupList(params) { return request({ url: `/scada/siteGroup/list/select`, method: 'get', }); } export function sitePropertyRelation(data) { return request({ url: `/scada/data_query/historyDataPage`, method: 'post', data, }); } export const progressList = params => { return request({ url: `/scada/report/progress/by/type/list`, method: 'get', params: { ...params }, }); }; // 点击搜索项目进度统计数据上报详情 export const projectInfo = id => { return request({ url: `/scada/report/project/info/${id}`, method: 'get', }); }; // 分页搜索站点报警预警信息记录/siteWarningLog/page export const siteWarningLog = id => { return request({ url: `/scada/siteWarningLog/page`, method: 'get', }); }; export const data_queryheads = data => { return request({ url: `/scada/data_query/heads`, method: 'post', data, }); }; export const realtimeDataList = data => { return request({ url: `/scada/data_query/realtimeDataList`, method: 'post', data, }); }; export const headConfig = data => { return request({ url: `/scada/plcPointInfo/headConfig`, method: 'post', data, }); }; export const headRelation = data => { return request({ url: `/scada/plcPointInfo/headRelation`, method: 'post', data, }); }; // 数据报表统计 表头 export const reportDataHead = data => { return request({ url: `/scada/reportData/head`, method: 'post', data, }); }; // 数据报表统计 数据 export const reportDataPage = data => { return request({ url: `/scada/reportData/page`, method: 'post', data, }); };