From 425335fcdb7a06d80b9010e33939a82ace143bb1 Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期三, 12 二月 2025 15:04:46 +0800 Subject: [PATCH] 用户管理页面修改 --- src/api/system/user.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index b5e3edd..13fb049 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -134,3 +134,49 @@ method: 'get' }) } + +// 鑾峰彇浜轰簨绯荤粺缁勭粐 +export function selectCompaniesList() { + return request({ + url: '/companies/selectCompaniesList', + method: 'get' + }) +} +// 鑾峰彇浜轰簨绯荤粺缁勭粐涓嬬殑浜哄憳 +export function selectSimpleList(data) { + return request({ + url: '/companies/selectSimpleList', + method: 'post', + params: data + }) +} +// 鑾峰彇浜轰簨绯荤粺缁勭粐涓嬬殑浜哄憳 +export function addPersonUser(data) { + return request({ + url: '/companies/addPersonUser', + method: 'post', + params: data + }) +} +// 鑾峰彇瑙掕壊 +export function selectRoleList() { + return request({ + url: '/role/selectRoleList', + method: 'get', + }) +} +// 鑾峰彇鍗曚綅 +export function selectCustomEnum() { + return request({ + url: '/user/selectCustomEnum', + method: 'get', + }) +} +// 鎻愪氦娣诲姞鏋舵瀯淇℃伅 +export function addDepartment(params) { + return request({ + url: '/department/addDepartment', + method: 'post', + params: params + }) +} -- Gitblit v1.9.3