From 7500f4efbcbb2ec7bef19402c4ef0f1f373348c7 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期二, 02 八月 2022 16:57:09 +0800
Subject: [PATCH] 接口

---
 src/api/intellectInspectSystem/facilityAreaManage/index.ts |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/src/api/intellectInspectSystem/facilityAreaManage/index.ts b/src/api/intellectInspectSystem/facilityAreaManage/index.ts
index e69de29..154918e 100644
--- a/src/api/intellectInspectSystem/facilityAreaManage/index.ts
+++ b/src/api/intellectInspectSystem/facilityAreaManage/index.ts
@@ -0,0 +1,60 @@
+import request from '/@/utils/request';
+
+export function facilityAreaApi() {
+    return {
+        // v1
+        getFacilityAreaList: (data: object) => {
+            return request({
+                url: `/safeCheckRegion/select/listRegionByPage`,
+                method: 'post',
+                data: data
+            });
+        },
+        // v1
+        getFacilityAreaById: (data: object) => {
+            return request({
+                url: `/safeCheckRegion/select/getRegionById`,
+                method: 'post',
+                data: data
+            });
+        },
+        // v1
+        addFacilityArea: (data: object) => {
+            return request({
+                url: `/safeCheckRegion/insert/saveRegion`,
+                method: 'post',
+                data: data
+            });
+        },
+        // v1
+        modFacilityArea: (data: object) => {
+            return request({
+                url: `/safeCheckRegion/update/updateRegionById`,
+                method: 'post',
+                data: data
+            });
+        },
+        // v1
+        deleteFacilityArea: (data: object) => {
+            return request({
+                url: `/safeCheckRegion/delete/deleteRegionById`,
+                method: 'post',
+                data: data
+            });
+        },
+        // v1
+        getAllFacilityAreaList: () => {
+            return request({
+                url: `/safeCheckRegion/select/listRegionName`,
+                method: 'get'
+            });
+        },
+        // v1
+        getFacilityAreaType: () => {
+            return request({
+                url: `/SafeCheckRegionType/select/listRegionType`,
+                method: 'get'
+            });
+        }
+    };
+}

--
Gitblit v1.9.2