Newer
Older
KaiFengPC / src / api / floodSys / floodStation.js
@zhangdeliang zhangdeliang on 23 May 8 KB 初始化项目
import request from '@/utils/request';

//站点综合查询接口
export function artificialSiteSearch(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/siteSearch',
    method: 'get',
    params: query,
  });
}
// // 泵站基础信息管理 搜索列表
// export function stationPage(query) {
//   return request({
//     url: '/business/preventFlood/assetPumpBase/page',
//     method: 'get',
//     params: query,
//   });
// }
// // 泵站基础信息管理 新增
// export function stationAdd(data) {
//   return request({
//     url: '/business/preventFlood/assetPumpBase/add',
//     method: 'post',
//     data: data,
//   });
// }
// // 泵站基础信息管理 修改
// export function stationEdit(data) {
//   return request({
//     url: '/business/preventFlood/assetPumpBase/edit',
//     method: 'put',
//     data: data,
//   });
// }
// // 泵站基础信息管理 删除
// export function stationDel(id) {
//   return request({
//     url: '/business/preventFlood/assetPumpBase/' + id,
//     method: 'delete',
//   });
// }
// // 泵站基础信息管理 详情
// export function stationDetail(id) {
//   return request({
//     url: '/business/preventFlood/assetPumpBase/' + id,
//     method: 'get',
//   });
// }

// // 污水厂信息管理 搜索列表
// export function wsFactoryPage(query) {
//   return request({
//     url: '/business/preventFlood/assetSewageFactoryBase/page',
//     method: 'get',
//     params: query,
//   });
// }
// // 污水厂信息管理 新增
// export function wsFactoryAdd(data) {
//   return request({
//     url: '/business/preventFlood/assetSewageFactoryBase/add',
//     method: 'post',
//     data: data,
//   });
// }
// // 污水厂信息管理 修改
// export function wsFactoryEdit(data) {
//   return request({
//     url: '/business/preventFlood/assetSewageFactoryBase/edit',
//     method: 'put',
//     data: data,
//   });
// }
// // 污水厂信息管理 删除
// export function wsFactoryDel(id) {
//   return request({
//     url: '/business/preventFlood/assetSewageFactoryBase/' + id,
//     method: 'delete',
//   });
// }
// // 污水厂信息管理 详情
// export function wsFactoryDetail(id) {
//   return request({
//     url: '/business/preventFlood/assetSewageFactoryBase/' + id,
//     method: 'get',
//   });
// }

// 应急疏散场所 搜索列表
export function yjSitePage(query) {
  return request({
    url: '/business/preventFlood/configEmergencyEvacuationSite/page',
    method: 'get',
    params: query,
  });
}
// 应急疏散场所 新增
export function yjSiteAdd(data) {
  return request({
    url: '/business/preventFlood/configEmergencyEvacuationSite/add',
    method: 'post',
    data: data,
  });
}
// 应急疏散场所 修改
export function yjSiteEdit(data) {
  return request({
    url: '/business/preventFlood/configEmergencyEvacuationSite/edit',
    method: 'put',
    data: data,
  });
}
// 应急疏散场所 删除
export function yjSiteDel(id) {
  return request({
    url: '/business/preventFlood/configEmergencyEvacuationSite/' + id,
    method: 'delete',
  });
}
// 应急疏散场所 详情
export function yjSiteDetail(id) {
  return request({
    url: '/business/preventFlood/configEmergencyEvacuationSite/' + id,
    method: 'get',
  });
}

// 物资存放位置 搜索列表
export function wzPositionPage(query) {
  return request({
    url: '/business/preventFlood/configMaterialStoragePoint/page',
    method: 'get',
    params: query,
  });
}
// 物资存放位置 新增
export function wzPositionAdd(data) {
  return request({
    url: '/business/preventFlood/configMaterialStoragePoint/add',
    method: 'post',
    data: data,
  });
}
// 物资存放位置 修改
export function wzPositionEdit(data) {
  return request({
    url: '/business/preventFlood/configMaterialStoragePoint/edit',
    method: 'put',
    data: data,
  });
}
// 物资存放位置 删除
export function wzPositionDel(id) {
  return request({
    url: '/business/preventFlood/configMaterialStoragePoint/' + id,
    method: 'delete',
  });
}
// 物资存放位置 详情
export function wzPositionDetail(id) {
  return request({
    url: '/business/preventFlood/configMaterialStoragePoint/' + id,
    method: 'get',
  });
}

// 报警推送规则 搜索列表
export function warnRulePage(query) {
  return request({
    url: '/business/preventFlood/configWarnPushRule/page',
    method: 'get',
    params: query,
  });
}
// 报警推送规则 新增
export function warnRuleAdd(data) {
  return request({
    url: '/business/preventFlood/configWarnPushRule/add',
    method: 'post',
    data: data,
  });
}
// 报警推送规则 修改
export function warnRuleEdit(data) {
  return request({
    url: '/business/preventFlood/configWarnPushRule/edit',
    method: 'put',
    data: data,
  });
}
// 报警推送规则 删除
export function warnRuleDel(id) {
  return request({
    url: '/business/preventFlood/configWarnPushRule/' + id,
    method: 'delete',
  });
}
// 报警推送规则 详情
export function warnRuleDetail(id) {
  return request({
    url: '/business/preventFlood/configWarnPushRule/' + id,
    method: 'get',
  });
}

// 工单逾期提醒 搜索列表
export function orderRemindPage(query) {
  return request({
    url: '/business/preventFlood/configWorkOrderReminder/page',
    method: 'get',
    params: query,
  });
}
// 工单逾期提醒 新增
export function orderRemindAdd(data) {
  return request({
    url: '/business/preventFlood/configWorkOrderReminder/add',
    method: 'post',
    data: data,
  });
}
// 工单逾期提醒 修改
export function orderRemindEdit(data) {
  return request({
    url: '/business/preventFlood/configWorkOrderReminder/edit',
    method: 'put',
    data: data,
  });
}
// 工单逾期提醒 删除
export function orderRemindDel(id) {
  return request({
    url: '/business/preventFlood/configWorkOrderReminder/' + id,
    method: 'delete',
  });
}
// 工单逾期提醒 详情
export function orderRemindDetail(id) {
  return request({
    url: '/business/preventFlood/configWorkOrderReminder/' + id,
    method: 'get',
  });
}

// 海绵地块轮换配置 搜索列表
export function configSpongePage(query) {
  return request({
    url: '/business/preventFlood/configSpongeChangeConfig/page',
    method: 'get',
    params: query,
  });
}
// 海绵地块轮换配置 新增
export function configSpongeAdd(data) {
  return request({
    url: '/business/preventFlood/configSpongeChangeConfig/add',
    method: 'post',
    data: data,
  });
}
// 海绵地块轮换配置 修改
export function configSpongeEdit(data) {
  return request({
    url: '/business/preventFlood/configSpongeChangeConfig/edit',
    method: 'put',
    data: data,
  });
}
// 海绵地块轮换配置 删除
export function configSpongeDel(id) {
  return request({
    url: '/business/preventFlood/configSpongeChangeConfig/' + id,
    method: 'delete',
  });
}
// 海绵地块轮换配置 详情
export function configSpongeDetail(id) {
  return request({
    url: '/business/preventFlood/configSpongeChangeConfig/' + id,
    method: 'get',
  });
}

// 闸站基础配置 搜索列表
export function facilityGatePage(query) {
  return request({
    url: '/scada/facilityGateStation/page',
    method: 'get',
    params: query,
  });
}
// 闸站基础配置 新增
export function facilityGateAdd(data) {
  return request({
    url: '/scada/facilityGateStation/add',
    method: 'post',
    data: data,
  });
}
// 闸站基础配置 修改
export function facilityGateEdit(data) {
  return request({
    url: '/scada/facilityGateStation/edit',
    method: 'put',
    data: data,
  });
}
// 闸站基础配置 删除
export function facilityGateDel(id) {
  return request({
    url: '/scada/facilityGateStation/' + id,
    method: 'delete',
  });
}
// 闸站基础配置 详情
export function facilityGateDetail(id) {
  return request({
    url: '/scada/facilityGateStation/' + id,
    method: 'get',
  });
}
//降雨插值数据接口
export function rainDistributionMapData(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/rainDistributionMapData',
    method: 'get',
    params: query,
  });
}