Newer
Older
KaiFengPC / src / api / floodSys / repair.js
@鲁yixuan 鲁yixuan on 19 Aug 4 KB updata
import request from '@/utils/request';

// 长效运维 事件管理 搜索列表
export function eventManagePage(query) {
  return request({
    url: '/business/preventFlood/operateEventManage/page',
    method: 'get',
    params: query,
  });
}
// 长效运维 事件管理 新增
export function eventManageAdd(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/add',
    method: 'post',
    data: data,
  });
}
// 长效运维 事件管理 修改
export function eventManageEdit(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/edit',
    method: 'put',
    data: data,
  });
}
// 长效运维 事件管理 详情
export function eventManageDetail(id) {
  return request({
    url: '/business/preventFlood/operateEventManage/' + id,
    method: 'get',
  });
}
// 长效运维 事件管理 忽略
export function eventManageIgnore(id) {
  return request({
    url: '/business/preventFlood/operateEventManage/ignore/' + id,
    method: 'put',
  });
}
// 长效运维 事件管理 转现场核查工单
export function eventManageCheck(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/submitSceneCheck',
    method: 'put',
    data: data,
  });
}
// 长效运维 事件管理 转案件中心
export function eventManageCase(id) {
  return request({
    url: '/business/preventFlood/operateEventManage/transferCaseCenter/' + id,
    method: 'put',
  });
}

// 长效运维 案件中心 搜索列表
export function anjianPage(query) {
  return request({
    url: '/business/preventFlood/operateEventManage/pageEventCenter',
    method: 'get',
    params: query,
  });
}
// 长效运维 案件中心 转维修工单
export function anjianOrder(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/transferRepairOrder',
    method: 'put',
    data: data,
  });
}

// 设备告警 站点详情-排水防涝大屏
export function rtuSiteInfoDetail(stCode) {
  return request({
    url: '/business/rtuSiteInfo/detail/' + stCode,
    method: 'get',
  });
}
// 设备告警指标转维修工单-排水防涝大屏
export function transferWarnRepairOrder(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/transferWarnRepairOrder',
    method: 'put',
    data: data,
  });
}
// 设备故障转维修工单-排水防涝大屏
export function transferDeviceFaultRepairOrder(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/transferDeviceFaultRepairOrder',
    method: 'put',
    data: data,
  });
}
// 设备告警指标忽略维修工单-排水防涝大屏
export function warnOrderIgnore(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/warnOrderIgnore',
    method: 'get',
    params: data,
  });
}
// 设备故障忽略维修工单-排水防涝大屏
export function deviceFaultOrderIgnore(data) {
  return request({
    url: '/business/preventFlood/operateEventManage/deviceFaultOrderIgnore',
    method: 'get',
    params: data,
  });
}

// 长效运维 维修管理 搜索列表
export function repairPage(query) {
  return request({
    url: '/business/preventFlood/operateRepairOrder/page',
    method: 'get',
    params: query,
  });
}
// 长效运维 维修管理 评价提交
export function repairOrder(data) {
  return request({
    url: '/business/preventFlood/operateRepairOrder/repairOrderAppraise',
    method: 'put',
    data: data,
  });
}
// 长效运维 维修管理 详情
export function repairDetail(id) {
  return request({
    url: '/business/preventFlood/operateRepairOrder/' + id,
    method: 'get',
  });
}

// 长效运维 内涝积水点 搜索列表
export function waterPointPage(query) {
  return request({
    url: '/business/preventFlood/waterloggingPoint/page',
    method: 'get',
    params: query,
  });
}
// 长效运维 内涝积水点 新增
export function waterPointAdd(data) {
  return request({
    url: '/business/preventFlood/waterloggingPoint/add',
    method: 'post',
    data: data,
  });
}
// 长效运维 内涝积水点 修改
export function waterPointEdit(data) {
  return request({
    url: '/business/preventFlood/waterloggingPoint/edit',
    method: 'put',
    data: data,
  });
}
// 长效运维 内涝积水点 删除
export function waterPointDelete(id) {
  return request({
    url: '/business/preventFlood/waterloggingPoint/' + id,
    method: 'delete',
  });
}
// 长效运维 内涝积水点 详情
export function waterPointDetail(id) {
  return request({
    url: '/business/preventFlood/waterloggingPoint/' + id,
    method: 'get',
  });
}

// 管网列表搜索告警规则
export function rtuWarnConfiglist(query) {
  return request({
    url: '/business/rtuWarnConfig/list/',
    method: 'get',
    params: query,
  });
}