Newer
Older
DH_Apicture / src / api / FloodControlAndDrainage.js
@leishan leishan 9 days ago 9 KB youhu
  1. import request from '@/utils/request'
  2.  
  3. // 检测水位
  4. export function queryRiverWaterLevel(data) {
  5. return request({
  6. url: `/business/drainageMap/hhsxLakeInfo/queryRiverWaterLevel`,
  7. method: "post",
  8. data,
  9. });
  10. }
  11.  
  12. export function rainMapDataListBack(params) {
  13. return request({
  14. url: `/business/drainageMap/drainageDispatch/rainMapDataListBack`,
  15. method: "get",
  16. params
  17. });
  18. }
  19. export function rainCalendar(params) {
  20. return request({
  21. url: `/business/drainageMap/rainData/rainCalendar`,
  22. method: "get",
  23. params
  24. });
  25. }
  26. export function rainCalendarLately(params) {
  27. return request({
  28. url: `/business/drainageMap/rainData/rainCalendarLately`,
  29. method: "get",
  30. params
  31. });
  32. }
  33.  
  34. export function rainMapDataBack(params) {
  35. return request({
  36. url: `/business/drainageMap/drainageDispatch/rainMapDataBack`,
  37. method: "get",
  38. params
  39. });
  40. }
  41. // 人员调度
  42. export function personnelSchedulingInfoList(params) {
  43. return request({
  44. url: `/business/drainageMap/personnelSchedulingInfo/list`,
  45. method: "get",
  46. params
  47. });
  48. }
  49. // 物资调度
  50. export function schedulingInfoList(params) {
  51. return request({
  52. url: `/business/drainageMap/schedulingInfo/list`,
  53. method: "get",
  54. params
  55. });
  56. }
  57. export function managementWarehouseGood(params) {
  58. return request({
  59. url: `/business/drainageMap/managementWarehouseGood/list`,
  60. method: "get",
  61. params
  62. });
  63. }
  64. //
  65. export function siteMonitorwaterLevelBack(params) {
  66. return request({
  67. url: `/business/drainageMap/siteMonitor/waterLevelBack`,
  68. method: "get",
  69. params
  70. });
  71. }
  72. //
  73. export function selectPumpMonitorListHistory(params) {
  74. return request({
  75. url: `/business/drainageMap/facilityPump/selectPumpMonitorListHistory`,
  76. method: "get",
  77. params
  78. });
  79. }
  80. //
  81. export function getFxLogList(params) {
  82. return request({
  83. url: `/business/drainageMap/drainageDispatch/getFxLogList`,
  84. method: "get",
  85. params
  86. });
  87. }
  88. //
  89. export function getBZFxLogList(params) {
  90. return request({
  91. url: `/business/drainageMap/drainageDispatch/getBZFxLogList`,
  92. method: "get",
  93. params
  94. });
  95. }
  96. //
  97. export function warnData(params) {
  98. return request({
  99. url: `/business/drainageMap/drainageDispatch/warnData`,
  100. method: "get",
  101. params
  102. });
  103. }
  104. //
  105. export function drainageFacilityDfxgxd(data) {
  106. return request({
  107. url: `/business/drainageMap/drainageFacilityDfxgxd/list`,
  108. method: "post",
  109. data
  110. });
  111. }
  112. // 预警建议
  113. export function getResponseRecommend(params){
  114. return request({
  115. url:'/business/drainageDispatch/getResponseRecommend',
  116. method: 'get',
  117. params
  118. })
  119. }
  120. // 预警列表
  121. export function psWarningReleasePage(params){
  122. return request({
  123. url:'/business/emergencyWarningRelease/page',
  124. method: 'get',
  125. params
  126. })
  127. }
  128. // 预警新增
  129. export function psWarningReleaseSave(data){
  130. return request({
  131. url:'/business/emergencyWarningRelease/save',
  132. method: 'post',
  133. data
  134. })
  135. }
  136. // 预警发布
  137. export function emergencyWarningReleasePublish(data){
  138. return request({
  139. url:'/business/emergencyWarningRelease/publish',
  140. method: 'post',
  141. data
  142. })
  143. }
  144. // 预警解除
  145. export function emergencyWarningReleaseRelease(data){
  146. return request({
  147. url:'/business/emergencyWarningRelease/release',
  148. method: 'post',
  149. data
  150. })
  151. }
  152. // 预警说明
  153. export function psWarningIllustrate(params){
  154. return request({
  155. url:'/business/informationPlan/plan-list',
  156. method: 'get',
  157. params
  158. })
  159. }
  160. // 监测预警 ``````````````````````````
  161. // 监测预警 顶部数量
  162. export function drainageDispatchmonitorCount(params){
  163. return request({
  164. url:'/business/drainageDispatch/monitorCount',
  165. method: 'get',
  166. params
  167. })
  168. }
  169. // 监测数据
  170. export function drainageDispatchMonitorData(params){
  171. return request({
  172. url:'/business/drainageDispatch/monitorData',
  173. method: 'get',
  174. params
  175. })
  176. }
  177. // 监测告警
  178. export function drainageDispatchWarnData(params){
  179. return request({
  180. url:'/business/drainageDispatch/warnData',
  181. method: 'get',
  182. params
  183. })
  184. }
  185.  
  186. // 排涝风险区域
  187. export function drainageDispatchDrainageRiskAreaCount(params){
  188. return request({
  189. url:'/business/drainageDispatch/drainageRiskAreaCount',
  190. method: 'get',
  191. params
  192. })
  193. }
  194. // 预案分析
  195. export function drainageDispatchGetPlanAnalysis(params){
  196. return request({
  197. url:'/business/drainageDispatch/getPlanAnalysis',
  198. method: 'get',
  199. params
  200. })
  201. }
  202. // 防汛检查
  203. export function drainageDispatchGetCheckCount(params){
  204. return request({
  205. url:'/business/drainageDispatch/getCheckCount',
  206. method: 'get',
  207. params
  208. })
  209. }
  210. // 值班统计
  211. export function drainageDispatchGetDutyCount(params){
  212. return request({
  213. url:'/business/drainageDispatch/getDutyCount',
  214. method: 'get',
  215. params
  216. })
  217. }
  218. // 今日值班人员
  219. export function drainageDispatchGetFbTodayDutyUserShift(params){
  220. return request({
  221. url:'/business/drainageDispatch/getFbTodayDutyUserShift',
  222. method: 'get',
  223. params
  224. })
  225. }
  226. // 排涝值守统计
  227. export function drainageDispatchGetWatchCount(params){
  228. return request({
  229. url:'/business/drainageDispatch/getWatchCount',
  230. method: 'get',
  231. params
  232. })
  233. }
  234. // 降雨预报
  235. export function dataSiteRelationRainTrend(params){
  236. return request({
  237. url:'/business/dataSiteRelation/rainTrend',
  238. method: 'get',
  239. params
  240. })
  241. }
  242. // 当前预警信息
  243. export function getRecommendLevel(data){
  244. return request({
  245. url:'/business/emergencyWarningRelease/getRecommendLevel',
  246. method: 'get',
  247. data
  248. })
  249. }
  250. // 查询基础数据-水系汇水分区列表
  251. export function listwaterRegionInfo(query) {
  252. return request({
  253. url: '/business/waterRegionInfo/list',
  254. method: 'get',
  255. params: query,
  256. });
  257. }
  258. // 查询点位详情
  259. export function getBaseDetail(query) {
  260. return request({
  261. url: '/business/dataSiteRelation/getBaseDetail',
  262. method: 'get',
  263. params: query,
  264. });
  265. }
  266. // 防汛检查
  267. export function streetFloodList(data){
  268. return request({
  269. url:'/business/drainageMap/streetFlood/list',
  270. method: 'get',
  271. data
  272. })
  273. }
  274. // 值守检查
  275. export function watchAreaList(data){
  276. return request({
  277. url:'/business/drainageMap/watchArea/list',
  278. method: 'get',
  279. data
  280. })
  281. }
  282. // 排渍检查
  283. export function watchAreaSortingScheduling(params){
  284. return request({
  285. url:'/business/drainageMap/watchArea/SortingScheduling',
  286. method: 'get',
  287. params
  288. })
  289. }
  290. // 排渍明细
  291. export function watchAreaCheckPicture(params){
  292. return request({
  293. url:'/business/drainageMap/watchArea/checkPicture',
  294. method: 'get',
  295. params
  296. })
  297. }
  298. // 值守明细
  299. export function watchAreaDutyPersonnel(params){
  300. return request({
  301. url:'/business/drainageMap/watchArea/dutyPersonnel',
  302. method: 'get',
  303. params
  304. })
  305. }
  306. // 泵站调度
  307. export function watchAreaDutyPumpScheduling(params){
  308. return request({
  309. url:'/business/drainageMap/watchArea/pumpScheduling',
  310. method: 'get',
  311. params
  312. })
  313. }
  314. // 下发泵站调度
  315. export function dispatchOutbound(data){
  316. return request({
  317. url:'/business/drainageMap/dispatch/outbound',
  318. method: 'post',
  319. data
  320. })
  321. }
  322. export function pumpDispatchCommandSave(data){
  323. return request({
  324. url:'/business/pumpDispatchCommand/save',
  325. method: 'post',
  326. data
  327. })
  328. }
  329. export function pumpDispatchHistoryList(params){
  330. return request({
  331. url:'/business/pumpDispatchHistory/list',
  332. method: 'get',
  333. params
  334. })
  335. }
  336. // 降雨分布
  337. export function monitorUnitRainfallDistributionGetRainMap(params) {
  338. return request({
  339. url: '/business/monitorUnitRainfallDistribution/getRainMap',
  340. method: 'get',
  341. params,
  342. });
  343. }
  344. // 降雨分布数显
  345. export function monitorUnitRainfallDistributionGetRainColor(params) {
  346. return request({
  347. url: '/business/monitorUnitRainfallDistribution/getRainColor',
  348. method: 'get',
  349. params,
  350. });
  351. }
  352. // 渍水点详情
  353. export function waterloggingPointInfo(id){
  354. return request({
  355. url: `/business/waterloggingPointInfo/${id}`,
  356. method: 'get',
  357. })
  358. }
  359. // 泵站工情详情
  360. export function rainWaterPumpStationInfo(id){
  361. return request({
  362. url: `/business/rainWaterPumpStationInfo/${id}`,
  363. method: 'get',
  364. })
  365. }
  366. // 河湖详情
  367. export function lakeInfoList(query) {
  368. return request({
  369. url: '/business/lakeInfo/list',
  370. method: 'get',
  371. params: query,
  372. });
  373. }
  374. // 查询基础数据-水系汇水分区详情
  375. export function waterRegionInfo(id) {
  376. return request({
  377. url: `/business/waterRegionInfo/${id}`,
  378. method: 'get',
  379. });
  380. }
  381. // 查询基础数据-水系汇水分区详情
  382. export function lakeInfoGetWaterRegion(query) {
  383. return request({
  384. url: `/business/lakeInfo/getWaterRegion`,
  385. method: 'get',
  386. params: query,
  387. });
  388. }
  389. // 查询河湖水情 有哪些泵站
  390. export function rainWaterPumpStationInfoList(query) {
  391. return request({
  392. url: '/business/rainWaterPumpStationInfo/list',
  393. method: 'get',
  394. params: query,
  395. });
  396. }
  397. // 查询河湖水情 有哪些水闸
  398. export function waterGateInfoList(query) {
  399. return request({
  400. url: '/business/waterGateInfo/list',
  401. method: 'get',
  402. params: query,
  403. });
  404. }
  405. // 查询河湖水情 有哪些排口
  406. export function outletInfoList(query) {
  407. return request({
  408. url: '/business/outletInfo/list',
  409. method: 'get',
  410. params: query,
  411. });
  412. }
  413. // 监测点监测数据
  414. export function siteHistoryMonitorDataAnalysis(query) {
  415. return request({
  416. url: '/business/siteHistoryMonitor/dataAnalysis',
  417. method: 'get',
  418. params: query,
  419. });
  420. }
  421. // ``````````EDN`````````````````````