From da8dcef599d67dcc66742e53a872b45ead53b1ea Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期二, 10 十月 2023 16:36:56 +0800
Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe

---
 web/src/api/modules/safety.js |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/web/src/api/modules/safety.js b/web/src/api/modules/safety.js
index 8998857..637f94b 100644
--- a/web/src/api/modules/safety.js
+++ b/web/src/api/modules/safety.js
@@ -207,4 +207,32 @@
   // 信息删除
   deletePunishInfo: params =>
     axios.post('/secure/encourage/encourageDel', params),
+
+  /**
+  * 风险分级管控
+  */
+  RiskGrad: {
+    // 危险源告知
+    warning : {
+      getLists: params =>
+        axios.post('/secure/regionHazardInform/findAll', params),
+      insert: params =>
+        axios.post('/secure/regionHazardInform/insert', params),
+      update: params =>
+        axios.post('/secure/regionHazardInform/update', params),
+      delete: params =>
+        axios.get('/secure/regionHazardInform/delete', { params }),
+    },
+    // 区域包保
+    allocation : {
+      getLists: params =>
+        axios.post('/secure/tRegionWarranty/findAll', params),
+      insert: params =>
+        axios.post('/secure/tRegionWarranty/insert', params),
+      update: params =>
+        axios.post('/secure/tRegionWarranty/update', params),
+      delete: params =>
+        axios.get('/secure/tRegionWarranty/delete', { params }),
+    }
+  }
 }
\ No newline at end of file

--
Gitblit v1.9.3