From 5a4d79d9765dfca8812638b57d5f5fe21f7a06ee Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 16 七月 2024 17:05:25 +0800 Subject: [PATCH] 工单下发更新 --- src/api/tigerapi/model/basModel.ts | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/api/tigerapi/model/basModel.ts b/src/api/tigerapi/model/basModel.ts index 49a8891..876163a 100644 --- a/src/api/tigerapi/model/basModel.ts +++ b/src/api/tigerapi/model/basModel.ts @@ -1,6 +1,7 @@ import { Ref } from 'vue'; import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; import { ActionItem } from '/@/components/Table'; +import { CustModalParams } from './systemModel'; //鐗╂枡淇℃伅瀹炰綋 export type MaterialInfoParams = { ITEM_CODE?: string; @@ -128,7 +129,7 @@ GetHomeUrl: () => string; GetBaseColumns: (type: string | undefined) => [] | {}; GetSearchForm: (type: string | undefined) => [] | {}; - GetCrudForm: (type: string | undefined,) => [] | {}; + GetCrudForm: (type: string | undefined) => [] | {}; GetBaseForm: () => [] | {}; GetBaseCards: (type: string | undefined) => []; KeyFieldValues: (val: string, id: string) => {}; @@ -141,11 +142,13 @@ navChangeItem: (action: any, ...args) => void; GetUseModals: () => {}; GetUseDrawers: () => []; - GetUseTables: (data: Ref<Recordable[]>, ...args) => []; + 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: (type: string | undefined, ...args) => void | any; - SubmitAll: (data: Ref<any[]>) => void | any; + CustFunc: (param: CustModalParams) => void | any; + SubmitAll: (data: Ref<any[]>, keyFieldValues: Ref<{}>, ...args) => void | any; + CustInitData: (data: Ref<any[]>, keyFieldValues: Ref<{}>, type: string) => void | any; } -- Gitblit v1.9.3