Ben Lin
2025-03-11 8e977a7ec92bc1845079eda2473e9c3fc4691c8d
src/api/tigerapi/model/systemModel.ts
@@ -1,4 +1,7 @@
import { Ref } from 'vue';
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
import { extend } from 'dayjs';
export type AD_INFO = {
  nation?: string;
  province?: string;
@@ -13,6 +16,7 @@
  ip?: string;
  ad_info?: AD_INFO;
  ORG_CODE: string;
  PROD_CODE: string;
};
export type AccountParams = BasicPageParams & {
@@ -49,6 +53,7 @@
  isExt: string;
  isUpdate: boolean;
  show: string;
  btnType: number;
};
export type SaveRoleParams = {
@@ -118,7 +123,7 @@
  USER_NAME: string;
  USER_PWD: string;
  CREATE_TIME: string;
  STATUS_CODE:any;
  STATUS_CODE: any;
}
export interface UserGPListItem {
@@ -157,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;
}
@@ -280,6 +291,73 @@
  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: {}; //一些其他数据
  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
 */
@@ -290,3 +368,20 @@
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;
export interface BaseImportInput{
  typeFullName: string;
}
export interface ImportEntityValidate extends BaseImportInput {
  EntityJson: string;
  CheckJson: string;
  where: string;
}
export interface ImportInput extends BaseImportInput{
  EntityJson: string;
}