From 85cb7809ad4b0ef96ac4b7a5f9632b9d0e114b91 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期二, 25 二月 2025 10:27:00 +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..403ace7 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: '/system/custom/selectCustomEnum',
+ method: 'get',
+ })
+}
+// 鎻愪氦娣诲姞鏋舵瀯淇℃伅
+export function addDepartment(params) {
+ return request({
+ url: '/department/addDepartment',
+ method: 'post',
+ params: params
+ })
+}
--
Gitblit v1.9.3