From cc88111d61a350a4d24cf339b526d4357f934ddf Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 30 七月 2024 00:31:12 +0800
Subject: [PATCH] 标签模板维护变量更新

---
 src/api/tigerapi/model/basModel.ts |   57 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 48 insertions(+), 9 deletions(-)

diff --git a/src/api/tigerapi/model/basModel.ts b/src/api/tigerapi/model/basModel.ts
index 33d382b..1d726be 100644
--- a/src/api/tigerapi/model/basModel.ts
+++ b/src/api/tigerapi/model/basModel.ts
@@ -1,6 +1,9 @@
 import { Ref } from 'vue';
 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;
@@ -102,19 +105,55 @@
   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>;
 
+/**
+ * @description: 鑷畾涔夋柟娉曟帴鍙�
+ * @return {*}
+ */
 export interface EntityCustFunctionType {
-  CreateAction: (fnName: string) => {};
+  CreateAction: (type: string) => {};
   ActionItem: (params: Recordable<any>, data, ...args) => ActionItem[];
-  EditeOperation: (data: Ref<any[]>, d, u) => void;
-  GetHomeUrl: () => string;
-  GetBaseColumns: () => [];
-  GetSearchForm: () => [];
-  GetCrudForm: () => [];
-  GetBaseForm: () => [];
-  GetBaseCards: () => [];
-  OthersValues: (val: string, id: string) => {}
+  EditOperation: (data: Ref<any[]>, d, u, item: string | undefined) => void;
+  OpenSelectItem: (openItemModal: Fn, ...args) => void;
+  GetSelectSuccess: (d, u, ...args) => {};
+  GetHomeUrl: (params: {} | undefined) => string;
+  GetBaseColumns: (type: string | undefined) => [] | {};
+  GetSearchForm: (type: string | undefined) => [] | {};
+  GetCrudForm: (type: string | undefined) => [] | {};
+  GetBaseForm: () => [] | {};
+  GetBaseCards: (type: string | undefined) => [];
+  KeyFieldValues: (val: string, id: string) => {};
+  GetTitle: (type: string | undefined) => {};
+  GetCrudColSlots: () => [];
+  nodeChange: ({}) => void;
+  CreateIcon: (params: Recordable<any>) => string;
+  SelectNode: (selectedNodes: Ref<any[]>) => {};
+  GetNavItems: (type: string) => NavItem[];
+  navChangeItem: (action: any, ...args) => void;
+  GetUseModals: () => {};
+  GetUseDrawers: () => [];
+  GetUseTables: (data: Ref<Recordable[]>, ...args) => {};
+  GetUseForm: (...args) => {};
+  SubmitFunc: (values: Recordable<any>, type: string, emit) => void;
+  FormSearch: (d) => string | {};
+  GetSlots: (type: string | undefined) => {};
+  GenerateHtml: (type: string | null) => HTMLElement | null;
+  CustFunc: (param: CustModalParams) => void | any;
+  SubmitAll: (data: Ref<any[]>, keyFieldValues: Ref<{}>, ...args) => void | any;
+  CustInitData: (data: Ref<any[]>, keyFieldValues: Ref<{}>, type: string) => void | any;
+  GetCustData: () => {};
+  GetRightMenuList: (node: EventDataNode, ...args) => ContextMenuItem[];
+  GetNewRow: (type: string) => {};
 }

--
Gitblit v1.9.3