zhouwx
2024-12-04 80c8993820fc3f958397bebe9dbd72be6a449c55
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
interface TableDataRow {
    id: string;
    name: string;
    threshold: number;
}
export interface TableDataState {
    tableData: {
        data: Array<TableDataRow>
    }
}
export interface SetState {
    title: string;
    isShowUserDialog: boolean;
    disabled: boolean;
    setForm: {
        id: string;
        name: string;
        threshold: number;
    };
    setFormRules:{},
}
 
export interface TableDataPeople {
    id: string;
    name: string;
    phone: string;
    realName: string;
    userId: string;
}
export interface PeopleDataState {
    tableData: {
        data: Array<TableDataPeople>
        total: number;
        loading: boolean;
        listQuery: {
            pageIndex: number;
            pageSize: number;
            searchParams:{
                realName: string
            }
        };
    }
}
 
export interface PeopleState {
    title: string;
    isShowUserDialog: boolean;
    disabled: boolean;
    peopleForm: {
        id: string;
        name: string;
        phone: string;
        realName: string;
    };
    setFormRules:{},
    peopleList: Array<TableDataPeople>
}
 
 
export interface UsersInfo {
    id: string;
    warnLogId: string;
    warnUserId: string;
    warnUserName: string;
    warnUserRealName: string;
    warnUserPhone: string;
}
export interface TableDataInfo {
    id: string;
    content: string;
    warnTime: string;
    gasName: string;
    gasConcentration: string;
    gasThresholdId: string;
    handlerName: string;
    handlerRealName: string;
    handlerTime: string;
    status: string;
    method?: string;
    gasWarnLogSmsUsers: Array<UsersInfo>
}
export interface InfoDataState {
    tableData: {
        data: Array<TableDataInfo>
        total: number;
        loading: boolean;
        listQuery: {
            pageIndex: number;
            pageSize: number;
            searchParams:{
                time: string[];
                level: string;
                status: string;
                gas: string;
            }
        };
        levelList: Array<any>;
        statusList: Array<any>;
        gasList: Array<any>;
    }
}
 
export interface people {
    id: string;
    name: string;
    realName: string;
}
export interface InfoState {
    title: string;
    isShowUserDialog: boolean;
    disabled: boolean;
    infoForm: {
        id: string;
        name: string;
        method: string;
    };
    setFormRules:{},
    peopleList: Array<people>
}