From 05eae3efbb38ef2c71791a5619a0115c9eb5f4ed Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 06 Jan 2023 15:58:08 +0800
Subject: [PATCH] 警情相关更改

---
 src/api/home/index.js |   29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index b617e35..2b7c0df 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-12-27 14:19:19
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-01-05 15:16:20
+ * @LastEditTime: 2023-01-06 15:51:20
  * @FilePath: \srs-police-affairs\src\api\home\index.js
  * @Description: 
  * 
@@ -42,4 +42,31 @@
         method: 'get',
         params: {}
     })
+}
+
+export const getAlarmList = (type, time) => {
+    return request({
+        url: `/api/alarm/alarm/page`,
+        method: 'get',
+        params: {
+            current: 1,
+            size: 100,
+            type,
+            time
+        }
+    })
+}
+
+// 获取处警历史
+export const getActAsPoliceList = (alarmID, cjdwbh) => {
+    return request({
+        url: `/api/alarm/alarm/page`,
+        method: 'get',
+        params: {
+            current: 1,
+            size: 100,
+            alarmID,
+            cjdwbh
+        }
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3