Ben Lin
2025-03-05 5e54b2866eb181e84de9910de06fd013a280a5c9
src/api/tigerapi/system.ts
@@ -35,6 +35,7 @@
import { defHttp } from '/@/utils/http/axios';
import { isArray, isNullOrEmpty, isTimeViaRegExp8601 } from '/@/utils/is';
import { isNumber } from 'xe-utils';
import { useUserStore } from '/@/store/modules/user';
export enum Api {
  QueryUrl = '/Base/Query',
@@ -842,6 +843,7 @@
export async function SaveEntity<T>(params: T, isUpdate: boolean, entityName: string, ...args) {
  let data;
  params['AUTH_ORG'] = useUserStore().getUserInfo.orgCode as string;
  if (isUpdate) {
    data = await defHttp.post(
      { url: Api.UpdateEntity, params: genAction(entityName, params) },