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
| declare interface RiskUnitStateType {
| riskUnitData: RiskUnitType [],
| searchQuery: {
| pageIndex: number,
| pageSize: number,
| riskCode: string,
| riskName: string,
| }
| total: number
| allRiskTypeList: Array<RiskType>
| riskList: Array<Type>,
| riskSourceList: Array<Type>
| evaluateStatusList: Array<Type>
| basicUnitList: Array<UnitType>
| allPersonList: Array<AllPersonListType>
| allExperimentList: Array<ProjectType>
| }
|
| declare interface RiskUnitType {
| id?: number
| experimentId: number | null,
| riskCode: string,
| riskName: string,
| liabilityDep: string,
| liabilityUserId: number | null,
| description: string,
| basicRiskUnitId: number | null,
| riskType?: number,
| }
|
| declare interface Type {
| id: number,
| name: string,
| }
|
| declare interface RiskType {
| id: number,
| riskType: string
| }
|
| declare interface RiskUnitDialogType {
| title: string,
| disabled: boolean
| experimentType: number | null,
| riskUnitDialogVisible: boolean,
| riskUnitForm: {
| id?: number | null
| experimentId: number | null,
| riskCode: string,
| riskName: string,
| riskUnitTypeId: number | null,
| liabilityDepId: number | null,
| liabilityUserId: number | null,
| description: string,
| basicRiskUnitId: number | null,
| riskType?: number,
| },
| riskUnitFormRules: {
|
| },
| departmentData: []
| riskTypeList: Array<RiskType>,
| specialDeviceList: Array<Type>,
| deviceUnitList: Array<Type>,
| basicUnitList: Array<UnitType>,
| allPersonList: Array<AllPersonListType>,
| allExperimentList: Array<ProjectType>,
| experimentTypeList: Array<Type>
| }
|
|