Ben Lin
2024-04-28 f6566a3d1eddc6388b5a8cfca988a8b842d4e4e4
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;
};