From 32f9c2c0f41c120e468f316108d2c2ef8b8db742 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Tue, 31 Jan 2023 16:47:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs

---
 src/api/dept/index.js |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 5642008..6bf0eb5 100644
--- a/src/api/dept/index.js
+++ b/src/api/dept/index.js
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-11-30 15:18:29
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-01-30 15:22:52
+ * @LastEditTime: 2023-01-31 10:47:22
  * @FilePath: \srs-police-affairs\src\api\dept\index.js
  * @Description:
  *
@@ -149,24 +149,24 @@
 }
 
 // 小区树形数据
-// export const getPoliceStationLazyTree = (type, id) => {
-//     return request({
-//         url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`,
-//         method: 'get',
-//         params: {
-//             type,
-//             id
-//         }
-//     })
-// }
+export const getPoliceStationLazyTree = (type, id) => {
+    return request({
+        url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`,
+        method: 'get',
+        params: {
+            type,
+            id
+        }
+    })
+}
 
 // 小区树形数据
-export const getPoliceStationTrees = (name) => {
+export const getPoliceStationTrees = (params) => {
     return request({
         url: `/api/policeStationInfo/policeStationInfo/getPoliceStationTrees`,
         method: 'get',
         params: {
-            name
+            ...params
         }
     })
 }

--
Gitblit v1.9.3