zhouwenxuan
2023-08-11 1c328d7233aaa6ea48fbdfb73b415eb9837956a6
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
interface TableDataRow {
    name: string;
    points: number;
}
export interface TableDataState {
    tableData: {
        data: Array<TableDataRow>
    }
}
export interface SetState {
    title: string;
    isShowUserDialog: boolean;
    disabled: boolean;
    setForm: {
        name: string;
        points: number;
    };
    setFormRules:{},
}
 
export interface TableDataPeople {
    id: string;
    name: string;
    phone: string;
}
export interface PeopleDataState {
    tableData: {
        data: Array<TableDataPeople>
        total: number;
        loading: boolean;
        listQuery: {
            pageIndex: number;
            pageSize: number;
            searchParams:{
                name: string
            }
        };
    }
}
 
export interface PeopleState {
    title: string;
    isShowUserDialog: boolean;
    disabled: boolean;
    peopleForm: {
        name: string;
        phone: string;
    };
    setFormRules:{},
    peopleList: Array<TableDataPeople>
}
 
export interface TableDataInfo {
    id: string;
    content: string;
    warningTime: string;
    name: string;
    ppm: string;
    level: string;
    notifier: string;
    managePeople: string;
    manageTime: string;
    status: string;
    method?: string;
}
export interface InfoDataState {
    tableData: {
        data: Array<TableDataInfo>
        total: number;
        loading: boolean;
        listQuery: {
            pageIndex: number;
            pageSize: number;
            searchParams:{
                time: [];
                level: string;
                status: string;
                gas: string;
            }
        };
        levelList: Array<any>;
        statusList: Array<any>;
        gasList: Array<any>;
    }
}
 
export interface people {
    id: string;
    name: string;
}
export interface InfoState {
    title: string;
    isShowUserDialog: boolean;
    disabled: boolean;
    infoForm: {
        name: string;
        method: string;
    };
    setFormRules:{},
    peopleList: Array<people>
}