Ben Lin
2024-08-28 0a8a3f71f2e50f0603077197d9b1971431a64b36
src/api/tigerapi/model/basModel.ts
@@ -2,6 +2,8 @@
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
import { ActionItem } from '/@/components/Table';
import { CustModalParams } from './systemModel';
import { EventDataNode } from 'ant-design-vue/lib/tree';
import { ContextMenuItem } from '/@/components/TigerTree';
//物料信息实体
export type MaterialInfoParams = {
  ITEM_CODE?: string;
@@ -121,7 +123,7 @@
 * @return {*}
 */
export interface EntityCustFunctionType {
  CreateAction: (fnName: string) => {};
  CreateAction: (type: string, ...args) => {};
  ActionItem: (params: Recordable<any>, data, ...args) => ActionItem[];
  EditOperation: (data: Ref<any[]>, d, u, item: string | undefined) => void;
  OpenSelectItem: (openItemModal: Fn, ...args) => void;
@@ -135,7 +137,7 @@
  KeyFieldValues: (val: string, id: string) => {};
  GetTitle: (type: string | undefined) => {};
  GetCrudColSlots: () => [];
  nodeChange: ({}) => void;
  nodeChange: ({}) => Promise<any>;
  CreateIcon: (params: Recordable<any>) => string;
  SelectNode: (selectedNodes: Ref<any[]>) => {};
  GetNavItems: (type: string) => NavItem[];
@@ -151,5 +153,9 @@
  CustFunc: (param: CustModalParams) => void | any;
  SubmitAll: (data: Ref<any[]>, keyFieldValues: Ref<{}>, ...args) => void | any;
  CustInitData: (data: Ref<any[]>, keyFieldValues: Ref<{}>, type: string) => void | any;
  CustEditEnd: ({ record, index, key, value }: Recordable, type, ...args) => void | any;
  GetCustData: () => {};
  GetRightMenuList: (node: EventDataNode, ...args) => ContextMenuItem[];
  GetNewRow: (type: string) => {};
  InitCrudFormSchema: (type: string, ...args) => {};
}