From 7a7265353879a63d47553324c19ab4bd349d03f4 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 12 Nov 2024 11:05:15 +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