From 08d4018e84039c5a9d400790704fa931afdc861b Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 31 七月 2024 23:18:01 +0800 Subject: [PATCH] 模板变量维护更新 --- src/api/tigerapi/model/basModel.ts | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/api/tigerapi/model/basModel.ts b/src/api/tigerapi/model/basModel.ts index eaabab4..6290318 100644 --- a/src/api/tigerapi/model/basModel.ts +++ b/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; @@ -151,5 +153,8 @@ 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) => {}; } -- Gitblit v1.9.3