Newer
Older
urbanLifeline_YanAn / src / api / system / tanchuang.js
@zhangzhihui zhangzhihui on 21 Oct 857 bytes 监测分析弹窗
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,
  });
}