newCloud/src/services/options/typings.d.ts
ylj20011123 0771f7dd3f update
2025-07-09 21:31:17 +08:00

51 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* @Author: cclu
* @Date: 2022-04-28 10:47:36
* @LastEditTime: 2024-07-17 16:27:18
* @LastEditors: cclu 1106109051@qq.com
* @Description: 配置一些全局应用类
* @FilePath: \cloud-platform\src\services\options\typings.d.ts
*/
// 字段枚举 model 下拉框数据字典)
type FieldParamsModel = {
FieldExplainField: string;
FieldEnumStatus?: string | Boolean;
FieldEnumValue?: string;
notformate?: boolean;
sessionName?: string;
ShowWholePower?: boolean;
ProvinceCode?: string | number;
FieldEnumPID?: any;
noStorge?: any;// 不管那个缓存的判断
};
// 通用选择/树数据源model
type CommonTypeModel = {
label: string;// 名称 ,
value: number;// 数值对应数据表id ,
key: string;// 数值代码(字符串) ,
type?: number;// 数据类型 ,
ico?: string;// 图标地址
children?: CommonTypeModel[] // 子级
}
// 请求结果数据model
type RequestResult = {
Result_Code: number; // 状态码 ,
Result_Desc: string; // 消息 ,
Result_Data: Record<string, any> | ListJson | string | any;// 返回对象
}
// 列表model
type ListJson = {
PageIndex: integer;// 页码 ,
PageSize: integer;// 每页显示数量 ,
TotalCount: integer;// 数据总数量 ,
OtherData?: any; // 其他数据 可能为各种类型
List: any[];// 返回数据集
}
// 文件model
export type PictureModel = {
ImageId: number; // 图片内码 ,
ImageType?: 1000 | 2000 | 3000 | 4000;// 文件类型 1000【营业执照】、2000【合同图片】, 3000 身份证人像面 4000 身份证国徽面; ,
ImageName: string; // 图片名称 ,
ImageUrl: string; // 图片地址 ,
ImagePath: string; // 图片相对路径(删除图片时提供的参数)
}