From 229aab817807f5886afe4acdb5d869b00ccc3137 Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期二, 21 十一月 2023 13:47:11 +0800 Subject: [PATCH] 字段修改 --- xcx/api/module/system.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xcx/api/module/system.js b/xcx/api/module/system.js index c5f210a..8baf8be 100644 --- a/xcx/api/module/system.js +++ b/xcx/api/module/system.js @@ -45,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