From 5357fcd46f03e4b0c4ec9402d9c4fe561ffd2ce6 Mon Sep 17 00:00:00 2001 From: 张磊磊 <201175954@qq.com> Date: 星期五, 08 十二月 2023 13:04:59 +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