From 3a02d6a0f7c5d2dfb2df2e1635315304b85695eb Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期二, 10 五月 2022 17:49:39 +0800 Subject: [PATCH] 提交代码 --- src/api/common/common.js | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/src/api/common/common.js b/src/api/common/common.js index e1e227d..ec14bac 100644 --- a/src/api/common/common.js +++ b/src/api/common/common.js @@ -15,3 +15,44 @@ method: 'get' }) } + +// 楂樻牎涓嬫媺鍒楄〃 +export function listSchool(query) { + return request({ + url: '/oa/school/select', + method: 'get', + params: query + }) +} + +// 鐢熶骇鎵规涓嬫媺鍒楄〃 +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