Ben Lin
2024-08-07 439e3b0f076280311b7cd4251a95820730242780
src/api/tigerapi/model/systemModel.ts
@@ -1,4 +1,6 @@
import { Ref } from 'vue';
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
export type AD_INFO = {
  nation?: string;
  province?: string;
@@ -13,6 +15,7 @@
  ip?: string;
  ad_info?: AD_INFO;
  ORG_CODE: string;
  PROD_CODE: string;
};
export type AccountParams = BasicPageParams & {
@@ -49,6 +52,7 @@
  isExt: string;
  isUpdate: boolean;
  show: string;
  btnType: number;
};
export type SaveRoleParams = {
@@ -118,7 +122,7 @@
  USER_NAME: string;
  USER_PWD: string;
  CREATE_TIME: string;
  STATUS_CODE:any;
  STATUS_CODE: any;
}
export interface UserGPListItem {
@@ -157,6 +161,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;
}
@@ -280,6 +290,72 @@
  HALF_CHECK: string;
}
export type EntityParams = {
  Namespace?: string;
  StartWith?: string;
};
export interface EntityList {
  Total: number;
  Data: EntityListItem[];
}
export interface EntityListItem {
  FullName: string;
  Namespace: string;
  Name: string;
  Properties: EntityPropertie[];
}
export interface EntityPropertie {
  Name: string;
  DisplayName: string;
  Type: string;
}
export interface SYS_LOW_CODE {
  ID: string;
  CREATE_TIME: Date;
  CREATE_USER: string;
  UPDATE_TIME: Date;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  SEARCH_FORM_JSON: string;
  BASE_FORM_JSON: string;
  FORM_JSON: string;
  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: {}; //一些其他数据
}
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
 */
@@ -290,3 +366,6 @@
export type RoleListGetResultModel = RoleListItem[];
export type ParamsListGetResultModel = BasicFetchResult<ParamsListItem>;
export type LoginLogPageListGetResultModel = BasicFetchResult<LoginLogListItem>;
export type EntityListGetResultModel = BasicFetchResult<EntityPropertie>;
export type FunctionType = (...args: any[]) => any;