Ben Lin
2024-12-28 f9eb1a419834f97a3ab0124b132de4f977b1973b
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;
}