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 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/waterloggingPoint/page', method: 'get', params: query, }); } // 长效运维 内涝积水点 新增 export function waterPointAdd(data) { return request({ url: '/business/waterloggingPoint/add', method: 'post', data: data, }); } // 长效运维 内涝积水点 修改 export function waterPointEdit(data) { return request({ url: '/business/waterloggingPoint/edit', method: 'put', data: data, }); } // 长效运维 内涝积水点 删除 export function waterPointDelete(id) { return request({ url: '/business/waterloggingPoint/' + id, method: 'delete', }); } // 长效运维 内涝积水点 详情 export function waterPointDetail(id) { return request({ url: '/business/waterloggingPoint/' + id, method: 'get', }); }