Ben Lin
2025-01-01 3f3817a39238b262155cd5ec76fa351bb344602d
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;
@@ -14,6 +16,7 @@
  ip?: string;
  ad_info?: AD_INFO;
  ORG_CODE: string;
  PROD_CODE: string;
};
export type AccountParams = BasicPageParams & {
@@ -50,6 +53,7 @@
  isExt: string;
  isUpdate: boolean;
  show: string;
  btnType: number;
};
export type SaveRoleParams = {
@@ -158,6 +162,12 @@
export interface iSYS_ROLE_ORG {
  ROLE_CODE: string;
  ORG_CODE: string;
  HALF_CHECK: string;
}
export interface iSYS_ROLE_PROD {
  ROLE_CODE: string;
  PROD_CODE: string;
  HALF_CHECK: string;
}
@@ -300,6 +310,7 @@
export interface EntityPropertie {
  Name: string;
  DisplayName: string;
  Type: string;
}
@@ -319,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
@@ -332,3 +369,19 @@
export type ParamsListGetResultModel = BasicFetchResult<ParamsListItem>;
export type LoginLogPageListGetResultModel = BasicFetchResult<LoginLogListItem>;
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;
}
export interface ImportInput extends BaseImportInput{
  EntityJson: string;
}