From ec7dfbe267438850ff2a67ada24a77336285618f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Wed, 1 Jun 2022 23:05:39 +0800 Subject: [PATCH 1/4] contrib-readme-action has updated readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 5977d2f..db56bf2 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,30 @@ server { ## 贡献者 + + + + + +
+ + eryajf +
+ 二丫讲梵 +
+
+ + OTR37 +
+ OTR37 +
+
+ + xinyuandd +
+ xinyuandd +
+
From 90d5af1b6e6d3b97c37fab9cefe2ceef6856f02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Wed, 1 Jun 2022 23:05:55 +0800 Subject: [PATCH 2/4] contrib-readme-action has updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index db56bf2..fdc475c 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ server { xinyuandd
- xinyuandd + Xinyuandd
From 5cea69fdffeb119ef3c0b1b4212e458c4389c26d Mon Sep 17 00:00:00 2001 From: xinyuandd Date: Thu, 2 Jun 2022 11:07:34 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=92=89=E9=92=89?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E7=94=A8=E6=88=B7=E5=88=B0ldap=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8C=89=E9=92=AE=E5=92=8C=E6=8E=A5=E5=8F=A3=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/personnel/group.js | 8 ++++++++ src/api/personnel/user.js | 11 +++++++++-- src/views/personnel/group/index.vue | 30 ++++++++++++++++------------- src/views/personnel/user/index.vue | 18 ++++++++++++++++- 4 files changed, 51 insertions(+), 16 deletions(-) diff --git a/src/api/personnel/group.js b/src/api/personnel/group.js index adfbd24..449944d 100644 --- a/src/api/personnel/group.js +++ b/src/api/personnel/group.js @@ -72,3 +72,11 @@ export function delGroup(data) { data }) } +// 同步钉钉部门信息 +export function syncDingTalkDeptsApi(data) { + return request({ + url: '/api/group/syncDingTalkDepts', + method: 'post', + data + }) +} diff --git a/src/api/personnel/user.js b/src/api/personnel/user.js index 25189d9..ce5b8ac 100644 --- a/src/api/personnel/user.js +++ b/src/api/personnel/user.js @@ -26,7 +26,7 @@ export function changePwd(data) { }) } -// 创建用户(已完成) +// 创建用户(已完成) export function createUser(data) { return request({ url: '/api/user/add', @@ -51,4 +51,11 @@ export function batchDeleteUserByIds(data) { data }) } - +// 同步钉钉用户信息 +export function syncDingTalkUsersApi(data) { + return request({ + url: '/api/user/syncDingTalkUsers', + method: 'post', + data + }) +} diff --git a/src/views/personnel/group/index.vue b/src/views/personnel/group/index.vue index d328868..2ec8eb0 100644 --- a/src/views/personnel/group/index.vue +++ b/src/views/personnel/group/index.vue @@ -20,6 +20,9 @@ 批量删除 + + 同步钉钉部门 + @@ -43,18 +46,6 @@ - @@ -104,7 +95,7 @@