From f9eb1a419834f97a3ab0124b132de4f977b1973b Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期六, 28 十二月 2024 21:00:56 +0800 Subject: [PATCH] 通用导入Excel更新 --- src/api/tigerapi/model/systemModel.ts | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/src/api/tigerapi/model/systemModel.ts b/src/api/tigerapi/model/systemModel.ts index 71388e4..33296f2 100644 --- a/src/api/tigerapi/model/systemModel.ts +++ b/src/api/tigerapi/model/systemModel.ts @@ -1,4 +1,6 @@ +import { Ref } from 'vue'; import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; +import { extend } from 'dayjs'; export type AD_INFO = { nation?: string; @@ -51,6 +53,7 @@ isExt: string; isUpdate: boolean; show: string; + btnType: number; }; export type SaveRoleParams = { @@ -327,7 +330,33 @@ ASSEMBLY_NAME: string; SEARCH_ASSY_NAME: string; CRUD_ASSY_NAME: string; + BY_ORG: string; + BY_PROD: string; + BY_WH: string; } + +/** + * @description: 鑷畾涔夊脊鍑烘鍙傛暟绫诲瀷 + * @return {*} + */ +export interface CustModalParams extends CustParams { + mValues: {}; //涓昏〃鏁版嵁 + others: {}; //涓�浜涘叾浠栨暟鎹� + keyCode: string; +} + +export interface CustParams { + cType: string; //绫诲瀷 + values: {}; //Modal妗嗗唴琛ㄥ崟鏁版嵁 + initFnName: string; //鍒濆鍖栨柟娉曞悕 + FnName: string; //鑷畾涔夋柟娉曞悕 + data: Ref<any[]>; //鏁版嵁锛岃繖閲屼竴鑸槸琛ㄦ牸鏁版嵁 +} + +export type pParams = { + group?: string; + code?: string; +}; /** * @description: Request list return value @@ -342,3 +371,18 @@ export type EntityListGetResultModel = BasicFetchResult<EntityPropertie>; export type FunctionType = (...args: any[]) => any; + +export interface BaseImportInput{ + typeFullName: string; +} + +export interface ImportEntityValidate extends BaseImportInput { + EntityJson: string; + CheckJson: string; + where: string; + typeFullName: string; +} + +export interface ImportInput extends BaseImportInput{ + EntityJson: string; +} -- Gitblit v1.9.3