From 5947e66ea3aaaecb6385adaca890864b7555720b Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 17 Mar 2025 16:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=96=B0=E5=A2=9E=E6=97=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=91=E9=80=81=E7=9F=AD=E4=BF=A1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/api/sourcing/index.ts | 9 ++++ src/views/user/sourcingNeed/index.vue | 77 +++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/src/http/api/sourcing/index.ts b/src/http/api/sourcing/index.ts index 860cc2d..c28638f 100644 --- a/src/http/api/sourcing/index.ts +++ b/src/http/api/sourcing/index.ts @@ -27,4 +27,13 @@ export const getAcceptOrdersListApi = (data: any) => { // 接单审核 export const maLeaseAuditApi = (data: any) => { return post('/material-mall/ma-lease/audit', data) +} + +// 获取组织机构 +export const getOrgApi = () => { + return get('/material-mall/userManage/getDeptTree') +} +// 获取角色列表 +export const getRoleApi = (params: any) => { + return get('/material-mall/userManage/roleList', { ...params }) } \ No newline at end of file diff --git a/src/views/user/sourcingNeed/index.vue b/src/views/user/sourcingNeed/index.vue index 44ac9dc..4f50f1f 100644 --- a/src/views/user/sourcingNeed/index.vue +++ b/src/views/user/sourcingNeed/index.vue @@ -360,6 +360,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +