Ben Lin
2024-06-27 b4496ad2462843c575a3902c94a87694426f29a3
src/api/tigerapi/model/basModel.ts
@@ -102,6 +102,15 @@
  REMARK: string;
}
export interface NavItem {
  title: string;
  icon: string;
  color: string;
  url: string;
  action: string;
  isStep: boolean;
}
export type MaterialInfoPageListGetResultModel = BasicFetchResult<MaterialInfoListItem>;
export type SupplierInfoPageListGetResultModel = BasicFetchResult<SupplierInfoListItem>;
export type PackageRulePageListGetResultModel = BasicFetchResult<PackageRuleListItem>;
@@ -109,7 +118,9 @@
export interface EntityCustFunctionType {
  CreateAction: (fnName: string) => {};
  ActionItem: (params: Recordable<any>, data, ...args) => ActionItem[];
  EditeOperation: (data: Ref<any[]>, d, u) => void;
  EditOperation: (data: Ref<any[]>, d, u) => void;
  OpenSelectItem: (openItemModal: Fn, ...args) => void;
  GetSelectSuccess: (d, u, ...args) => {};
  GetHomeUrl: () => string;
  GetBaseColumns: () => [];
  GetSearchForm: () => [];
@@ -117,4 +128,12 @@
  GetBaseForm: () => [];
  GetBaseCards: () => [];
  OthersValues: (val: string, id: string) => {}
  GetTitle: () => {};
  GetCrudColSlots: () => [];
  nodeChange: ({}) => void,
  CreateIcon: (params: Recordable<any>) => string;
  SelectNode: (selectedNodes: Ref<any[]>) => {};
  GetNavItems: () => NavItem[];
  navChangeItem: (action: any, ...args) => void;
  GetUseModals: () => {};
}