From e5cd5597aad68f294fcfff465e0a312713804c0d Mon Sep 17 00:00:00 2001 From: shishuaikang <280848880@qq.com> Date: 星期二, 12 十二月 2023 13:40:25 +0800 Subject: [PATCH] h5大屏伴和站样式修改 --- 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