From 1908a80cd8224860bb704486fa78a18cc9a06bf7 Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期一, 24 一月 2022 17:42:19 +0800
Subject: [PATCH] 问题修改
---
src/api/common/common.js | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/src/api/common/common.js b/src/api/common/common.js
index e1e227d..053b140 100644
--- a/src/api/common/common.js
+++ b/src/api/common/common.js
@@ -15,3 +15,43 @@
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'
+ })
+}
+
+// 鍘傚晢涓嬫媺鍒楄〃
+export function listManufacturer() {
+ return request({
+ url: '/oa/manufacturer/findList',
+ method: 'get'
+ })
+}
--
Gitblit v1.9.1