From 8f5009a3d57821c2c97690b8419e428967b5e981 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期一, 03 六月 2024 22:48:41 +0800 Subject: [PATCH] 低代码更新 --- src/api/tigerapi/dept.ts | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/api/tigerapi/dept.ts b/src/api/tigerapi/dept.ts index 86f302e..ac58304 100644 --- a/src/api/tigerapi/dept.ts +++ b/src/api/tigerapi/dept.ts @@ -108,8 +108,12 @@ // 鎹偣涓嬫媺鏍� export const optionsListApi = async (params: Recordable) => { // const usParams = genAction('V_USER_ORG', `USER_ID='${userid}'`); - const usParams = genAction('V_USER_ORG', { QueryAble_T:"", where: "USER_ID = '" + params + "'", order:''}); - var data = await defHttp.post( + const usParams = genAction('V_USER_ORG', { + QueryAble_T: '', + where: "USER_ID = '" + params + "'", + order: '', + }); + const data = await defHttp.post( { url: Api.QueryUrl, params: usParams }, { errorMessageMode: 'none', @@ -117,6 +121,5 @@ // apiUrl: globSetting.taskApiUrl }, ); - return data + return data; }; - -- Gitblit v1.9.3