From 1f6893d24ba87313d4114c68813073ead53b2e12 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期五, 30 八月 2024 09:26:22 +0800
Subject: [PATCH] 群发新通讯录懒加载

---
 src/api/contactBook.js |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/api/contactBook.js b/src/api/contactBook.js
index 3e92f78..203c5ed 100644
--- a/src/api/contactBook.js
+++ b/src/api/contactBook.js
@@ -112,9 +112,27 @@
 }
 
 // 通讯录下拉接口
-export function getNewAddressBook(){
+// export function getNewAddressBook(){
+//     return request({
+//         url: '/org/structure/select/user',
+//         method: 'get'
+//     })
+// }
+
+//新通讯录-根据平级单位查人
+export function getNewAddressBookUser(id){
     return request({
-        url: '/org/structure/select/user',
+        url: '/org/user/select/user/' + id,
         method: 'get'
     })
-}
\ No newline at end of file
+}
+//新通讯录-根据区划查子级以及平级单位
+export function getNewAddressBookArea(){
+    return request({
+        url: '/sys/districtInfo/select/org',
+        method: 'get'
+    })
+}
+
+
+

--
Gitblit v1.9.2