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

// 泵站基础信息管理 搜索列表
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',
  });
}