From 3da12323ba999d0af15646e2384a4c18fb414683 Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期四, 09 十二月 2021 15:00:19 +0800
Subject: [PATCH] 提交代码

---
 src/api/common/common.js |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/src/api/common/common.js b/src/api/common/common.js
index e1e227d..6a32e09 100644
--- a/src/api/common/common.js
+++ b/src/api/common/common.js
@@ -15,3 +15,35 @@
     method: 'get'
   })
 }
+
+// 楂樻牎涓嬫媺鍒楄〃
+export function listSchool() {
+  return request({
+    url: '/oa/school/select',
+    method: 'get'
+  })
+}
+
+// 鐢熶骇鎵规涓嬫媺鍒楄〃
+export function listBatch() {
+  return request({
+    url: '/oa/batch/select',
+    method: 'get'
+  })
+}
+
+// 鐢ㄦ埛涓嬫媺鍒楄〃
+export function listUser() {
+  return request({
+    url: '/system/user/select',
+    method: 'get'
+  })
+}
+
+// 閫氳繃閮ㄩ棬id鑾峰彇鐢ㄦ埛琛ㄦ牸
+export function listUserDept(p) {
+  return request({
+    url: `/system/user/byDept?deptId=${p.deptId}&pageNum=${p.pageNum}&pageSize=${p.pageSize}`,
+    method: 'get'
+  })
+}

--
Gitblit v1.9.1