From 858d95b05d61f992d4e510a5b44d3f2a9704d29a Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期二, 28 十一月 2023 09:21:38 +0800 Subject: [PATCH] 20231128_qiuyh_调整积分相关隐患举报 --- 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