From 5095007778cb9bd8a092d312498ad07e3b5a690e Mon Sep 17 00:00:00 2001
From: 张晓波 <bingbo1993@126.com>
Date: 星期三, 06 十二月 2023 16:03:09 +0800
Subject: [PATCH] 广播
---
xcx/api/module/system.js | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/xcx/api/module/system.js b/xcx/api/module/system.js
index 548fed4..8baf8be 100644
--- a/xcx/api/module/system.js
+++ b/xcx/api/module/system.js
@@ -22,8 +22,13 @@
},
}),
// 获取分公司信息
- getCompanyData: () =>
- axios.post('/engineering/company/pulldown'),
+ getCompanyData: (params) =>
+ axios.post('/engineering/company/pulldown',{
+ header: {
+ "content-type":'application/json'
+ },
+ ...params
+ }),
// 获取岗位信息
getPositionData: (params) =>
axios.post('/staff/position/findall', params),
@@ -40,6 +45,11 @@
getAllPersons: (params) =>
axios.post('/staff/platUser/pulldown', params),
// 获取所有部门信息
- getAllDepartmentData: () =>
- axios.post('/staff/depart/pulldownList'),
+ getAllDepartmentData: (params) =>
+ axios.post('/staff/depart/pulldownList',{
+ header: {
+ "content-type":'application/json'
+ },
+ ...params
+ }),
}
\ No newline at end of file
--
Gitblit v1.9.3