From dfc4898827d73df7152d6458689324fd3485b75d Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期日, 12 十二月 2021 22:12:40 +0800
Subject: [PATCH] 修改登陆页面/系统logo/版权信息等
---
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