zhouwx
2024-11-07 bfb8feb317f69b849994106025d9ef62eb34bd59
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
declare interface ProjectStateType {
    projectData?: Array<ProjectType>
    developData?: Array<ProjectType>
    searchQuery: {
        pageIndex: number,
        pageSize: number,
        searchParams: {
            experimentName: string,
            experimentType: null | number,
            assessLevel:  null | number,
        }
    },
    total: 0,
    experimentTypeList: Type []
    riskLevelList: Type []
    allRoomList: RoomType []
    tagBg: Array<string>
}
 
declare interface ProjectType {
    id?: number | null,
    liabilityUserId?: number | null,
    experimentCode: string,
    experimentName: string,
}
 
 
declare interface Type {
    id: number,
    name: string,
}
declare interface eType {
    typeId: number,
    typeName: string,
}
 
declare interface ProjectDialogType {
    title: string,
    disabled: boolean,
    projectDialogVisible: boolean,
    projectForm: {
        id: null | number,
        experimentName: string,
        experimentType: null | number | any,
        typeList: Array<eType>,
        liabilityUserId: null | number,
        safeLiabilityUser: string
        liabilityUserPhone: string,
        safeLiabilityUserPhone: string,
        sisStatus?: null | number,
        safeInformationSystem?: string,
        dep: string,
        experimentStep: string,
        experimentMethod: string,
        process: string,
        keyProcess: string,
        measure: string,
        timeout: null | number,
        timeoutManager: string,
        closed: null | number,
        unclosedManager: string,
        explosionProof: string,
        fireProof: string,
        poisonProof: string,
        safeManagerMethod: string,
        emergencyList: Array<emergencyListType>,
        partitionCondition: null | number,
        note: string,
        startTime?: string,
        createExperimentTime: string
        persons: SelectPersonType [],
        siteList: SelectRoomType [],
        deviceList: SelectEquipmentType [],
        stuffList: SelectMaterialType [],
        hazardousWasteList: SelectDangerType []
    },
    projectFormRules: {
 
    },
    allPersonList: Array<AllPersonListType>
    systemPersonList: Array<AllPersonListType>
    allRoomList: Array<RoomType>
    experimentTypeList: eType []
}
 
declare interface SelectDangerType {
    disabled: boolean
    wasteList: Array<WasteType>
    classifyList: Array<Type>
    wasteStorageList: Array<Type>
}
 
declare interface WasteType {
    classify: null | number,
    wasteStorage: null | number,
    handAmount: null | number,
}
 
 
declare interface SelectPersonType {
    disabled: boolean
    personList: Array<AllPersonListType>
    allPersonList: Array<AllPersonListType>
}
 
declare interface AllPersonListType {
    id?: null | number,
    personId?: null | number,
    personName: null,
    personAge: null,
    personGender:'',
    personMajor:'',
    depName:'',
    phone:'',
    aptitude:'',
    training:''
}
 
declare interface NewPersonListType {
    depId: number | null
    depName: string
    id: number
    idSerial: string
    idType: number | null
    name: string
    phone: string
    realName: string
}
 
declare interface SelectEquipmentType {
    disabled: boolean
    equipmentList: Array<AllEquipmentListType>,
    allEquipmentList: Array<AllEquipmentListType>,
    equipmentTypeList: Array<any>,
    specialDeviceList: Array<Type>
}
 
declare interface AllEquipmentListType {
    id?: null | number,
    deviceId?: null | number,
    deviceUseCount: null | number,
    deviceCode: string,
    deviceName: string,
    devicePower: string,
    specialDevice: string,
    deviceUnit?: null | number,
    safeProtect?: null | number
}
 
 
declare interface SelectMaterialType {
    disabled: boolean
    materialList: Array<AllMaterialListType>,
    allMaterialList: Array<AllMaterialListType>,
    stuffTypeList: Array<stuffType>
    stuffStorageList: Array<stuffType>
    stuffUnitList: Array<stuffType>
}
 
declare interface SelectEmergencyType {
    disabled: boolean
    emergencyList: Array<emergencyListType>
}
 
declare interface emergencyListType {
    emergencyPlanName: string,
    emergencyDrillStatus: string,
    emergencyDrill: string,
    emergencyPlan: string
}
 
declare interface SelectRoomType {
    disabled: boolean
    roomList: Array<roomListType>,
    allRoomList: Array<allRoomListType>,
    specialDeviceList: Array<stuffType>
    memberList: Array<any>
    typeList: Array<any>
    stuffStorageList: Array<stuffType>
    stuffUnitList: Array<stuffType>
}
 
declare interface roomListType {
    siteId: null | number,
    siteName: string,
    floor: string,
    room: string,
    fireFacilities: null | number,
    partitionStatus: null | number,
    siteType: string,
}
 
declare interface allRoomListType {
    id: null | number,
    siteName: string,
    floor: string,
    room: string,
    fireFacilities: null | number,
    partitionStatus: null | number,
    siteType: string,
}
 
declare interface stuffType {
    id: null | number,
    name: string
}
 
declare interface AllMaterialListType {
    id?: null | number,
    stuffId?: null | number,
    stuffUseCount: null | number,
    stuffName: string,
    stuffCode:string,
    stuffType: string,
    stuffStorage: string,
    stuffUnit: string
}
 
declare interface ApplyStartDialogType {
    title: string,
    applyStartDialogVisible: boolean,
    applyStartForm: {
        id: number | null,
        sisStatus: number | null,
        safeInformationSystem: string,
        startTime: string,
    },
    applyStartFormRules: {
 
    },
}