1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
| /**
| * 全局接口定义
| */
| import {ElForm} from "element-plus/es";
| /**
| * 页面接口
| */
| export interface PageQueryInterface extends BaseEntityInterface {
| pageNum?: number,
| pageSize?: number,
| }/**
| * 页面接口
| */
| export interface PagesInterface {
| pageSize?: number,
| currentPage?: number,
| total?: number,
| }
|
| /**
| * 基础类型
| */
| export interface BaseEntityInterface{
| searchValue?:string,
| createBy?:string,
| createTime?:string,
| updateBy?:string,
| updateTime?:string,
| remark?:string,
| params?:{[propName:string]:any},
| status?:string,
| delFag?:string,
| }
| export interface PageInterface {
| open?:boolean,
| loading?:boolean,
| showSearch?:boolean,
| single?:boolean,
| multiple?:boolean,
| total:number,
| title?:string,
| optType?:string,//add/update/view
| dateRange?:[],
| ids?:(number|undefined)[],
| drawer:any,//右侧抽屉弹窗
| dlImport:any,//数据导入
| }
| export const PageF:PageInterface ={
| open:false,
| loading:true,
| showSearch:true,
| single:true,
| multiple:true,
| total:0,
| title:"",
| optType: '',//add/update/view
| dateRange:[],
| ids:[],
| drawer: {},//右侧抽屉弹窗
| dlImport:{},//数据导入
| }
| export type FormInstance = InstanceType<typeof ElForm>;
|
|