You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.4 KiB
TypeScript

3 years ago
import { FormRules } from 'element-plus';
declare global {
/**
*
*/
interface FieldOption {
key: number;
label: string;
visible: boolean;
}
3 years ago
/**
*
*/
interface DialogOption {
/**
*
*/
title?: string;
/**
*
*/
visible: boolean;
}
3 years ago
interface UploadOption {
/** 设置上传的请求头部 */
headers: { [key: string]: any };
3 years ago
/** 上传的地址 */
url: string;
}
3 years ago
/**
*
*/
interface ImportOption extends UploadOption {
/** 是否显示弹出层 */
open: boolean;
/** 弹出层标题 */
title: string;
/** 是否禁用上传 */
isUploading: boolean;
3 years ago
/** 其他参数 */
[key: string]: any;
}
/**
*
*/
interface DictDataOption {
label: string;
value: string;
elTagType?: ElTagType;
elTagClass?: string;
}
3 years ago
interface BaseEntity {
createBy?: any;
createDept?: any;
createTime?: string;
updateBy?: any;
updateTime?: any;
}
3 years ago
/**
*
* T :
* D :
*/
interface PageData<T, D> {
form: T;
queryParams: D;
rules: FormRules;
}
/**
*
*/
interface PageQuery {
pageNum: number;
pageSize: number;
}
3 years ago
}
export {};