win-chart 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +166 -0
- package/build/index.html +1 -0
- package/build/js/index.js +1 -0
- package/build/report-web.html +39 -0
- package/package.json +3 -1
- package/rsbuild.config.ts +5 -0
- package/tsconfig.json +1 -0
- package/src/api/README.md +0 -15
- package/src/api/index.js +0 -5
- package/src/api/layout/index.js +0 -32
- package/src/api/request.ts +0 -87
- package/src/api/url-map/index.js +0 -10
- package/src/api/user/index.js +0 -12
- package/src/components/FilterContext.tsx +0 -6
- package/src/components/GlobalStyle.tsx +0 -25
- package/src/components/HalfScreenBrowser.tsx +0 -95
- package/src/components/ImgBox.tsx +0 -19
- package/src/components/JumpBtn.tsx +0 -38
- package/src/components/MCardWrapper.tsx +0 -33
- package/src/components/NoContent/index.tsx +0 -85
- package/src/components/ResponsiveReactGridLayout.tsx +0 -218
- package/src/components/SliderDecoration.tsx +0 -27
- package/src/components/VisionUserConfigContext.ts +0 -6
- package/src/components/WinMenu/README.md +0 -11
- package/src/components/WinMenu/WinHeader.tsx +0 -5
- package/src/components/WinMenu/components/ExtraBox.tsx +0 -61
- package/src/components/WinMenu/components/FullMenuBox.tsx +0 -80
- package/src/components/WinMenu/components/FullMenuContainer.tsx +0 -50
- package/src/components/WinMenu/components/FullMenuItem.tsx +0 -128
- package/src/components/WinMenu/components/LangSwitch.tsx +0 -84
- package/src/components/WinMenu/components/LogoBox.tsx +0 -29
- package/src/components/WinMenu/components/PinDialog.tsx +0 -72
- package/src/components/WinMenu/components/PinnedMenuBox.tsx +0 -183
- package/src/components/WinMenu/components/UserBox.tsx +0 -83
- package/src/components/WinMenu/hooks/useUserInfo.ts +0 -21
- package/src/components/WinMenu/hooks/useUserMenu.ts +0 -35
- package/src/components/WinMenu/index.tsx +0 -100
- package/src/components/WinMenu/services/WinService.ts +0 -79
- package/src/components/WinMenu/services/request.ts +0 -53
- package/src/components/WinMenu/utils/const.ts +0 -80
- package/src/components/WinMenu/utils/enum.ts +0 -19
- package/src/components/WinMenu/utils/interface.ts +0 -61
- package/src/components/WinMenu/utils/map.ts +0 -39
- package/src/components/WinMenu/utils/tool.ts +0 -142
- package/src/components/WinMenu/utils/type.ts +0 -1
- package/src/components/hover-view.tsx +0 -48
- package/src/components/icon.tsx +0 -44
- package/src/components/indicator-remark.tsx +0 -25
- package/src/components/none-content.tsx +0 -93
- package/src/components/panel-tab.tsx +0 -150
- package/src/components/panel-title-tab.tsx +0 -60
- package/src/components/win-card/components/ChartContent.tsx +0 -47
- package/src/components/win-card/components/Indicator.tsx +0 -42
- package/src/components/win-card/components/IndicatorArea.tsx +0 -63
- package/src/components/win-card/components/IndicatorInfo.tsx +0 -78
- package/src/components/win-card/components/MatterContent.tsx +0 -121
- package/src/components/win-card/components/MatterList.tsx +0 -141
- package/src/components/win-card/components/NoticeContent.tsx +0 -73
- package/src/components/win-card/components/NoticeList.tsx +0 -68
- package/src/components/win-card/components/SelectDecoration.tsx +0 -34
- package/src/components/win-card/components/WinRankContent.tsx +0 -102
- package/src/components/win-card/index.tsx +0 -298
- package/src/components/win-card/utils/interface.ts +0 -12
- package/src/components/win-card/utils/tool.ts +0 -11
- package/src/components/win-card-mobile/components/ChartContent.tsx +0 -47
- package/src/components/win-card-mobile/components/DualLineBar.tsx +0 -61
- package/src/components/win-card-mobile/components/Indicator.tsx +0 -42
- package/src/components/win-card-mobile/components/IndicatorArea.tsx +0 -65
- package/src/components/win-card-mobile/components/IndicatorInfo.tsx +0 -83
- package/src/components/win-card-mobile/components/SelectDecoration.tsx +0 -28
- package/src/components/win-card-mobile/index.tsx +0 -235
- package/src/components/win-card-mobile/utils/interface.ts +0 -12
- package/src/components/win-card-mobile/utils/tool.ts +0 -9
- package/src/components/win-chart/components/chart-wrapper.tsx +0 -5
- package/src/components/win-chart/index.tsx +0 -59
- package/src/components/win-chart/theme/win-dark.json +0 -372
- package/src/components/win-chart/theme/win-light.json +0 -372
- package/src/components/win-chart/utils/const.ts +0 -37
- package/src/components/win-chart/utils/getAreaSpec.ts +0 -150
- package/src/components/win-chart/utils/getBarSpec.ts +0 -60
- package/src/components/win-chart/utils/getChartOptions.ts +0 -59
- package/src/components/win-chart/utils/getColumnSpec.ts +0 -112
- package/src/components/win-chart/utils/getDualSpec.ts +0 -79
- package/src/components/win-chart/utils/getFunnelSpec.ts +0 -70
- package/src/components/win-chart/utils/getLineSpec.ts +0 -53
- package/src/components/win-chart/utils/getPieSpec.ts +0 -124
- package/src/components/win-chart/utils/getRadarSpec.ts +0 -87
- package/src/components/win-chart/utils/tool.ts +0 -163
- package/src/components/win-chart/utils/type.ts +0 -96
- package/src/components/win-icon/index.tsx +0 -97
- package/src/components/win-v/components/EmptyBox.tsx +0 -9
- package/src/components/win-v/components/VDialog.tsx +0 -173
- package/src/components/win-v/components/VDialogBtn.tsx +0 -119
- package/src/components/win-v/components/VDialogMsg.tsx +0 -325
- package/src/components/win-v/components/VInput.tsx +0 -15
- package/src/components/win-v/components/VRemindMsgList.tsx +0 -303
- package/src/components/win-v/components/VRobot.tsx +0 -97
- package/src/components/win-v/hooks/useVDialogCore.ts +0 -102
- package/src/components/win-v/hooks/useVDialogOperate.ts +0 -132
- package/src/components/win-v/hooks/useVDialogState.ts +0 -52
- package/src/components/win-v/hooks/useVRemindMsgShow.ts +0 -15
- package/src/components/win-v/index.tsx +0 -205
- package/src/components/win-wrappers/card-wrapper.tsx +0 -103
- package/src/components/win-wrappers/dot-wrapper.tsx +0 -18
- package/src/components/win-wrappers/iframe-wrapper.tsx +0 -7
- package/src/components/win-wrappers/request-wrapper.tsx +0 -190
- package/src/global.d.ts +0 -53
- package/src/hooks/useCardOptionList.ts +0 -23
- package/src/hooks/useCostFiltersDicList.ts +0 -22
- package/src/hooks/useFbiUrl.ts +0 -22
- package/src/hooks/useHalfScreenState.ts +0 -50
- package/src/hooks/useHasIntersected.ts +0 -36
- package/src/hooks/useIndicatorCardInfo.ts +0 -26
- package/src/hooks/useIndicatorCardQueryList.ts +0 -22
- package/src/hooks/useIndicatorClassifyList.ts +0 -25
- package/src/hooks/useIndicatorDetailsDateList.ts +0 -22
- package/src/hooks/useIndicatorDetailsInfo.ts +0 -49
- package/src/hooks/useIndicatorDetailsTrend.ts +0 -25
- package/src/hooks/useIndicatorDicList.ts +0 -22
- package/src/hooks/useIndicatorLabelList.ts +0 -20
- package/src/hooks/useIndicatorList.ts +0 -24
- package/src/hooks/useIndicatorRangeList.ts +0 -20
- package/src/hooks/useIndicatorTypeList.ts +0 -20
- package/src/hooks/useIndicatorUnitList.ts +0 -21
- package/src/hooks/useListenQuery.ts +0 -29
- package/src/hooks/useMobile.ts +0 -58
- package/src/hooks/useNotice.ts +0 -42
- package/src/hooks/useOrgLevelList.ts +0 -23
- package/src/hooks/usePageSelection.ts +0 -121
- package/src/hooks/usePageState.ts +0 -22
- package/src/hooks/usePendingList.ts +0 -27
- package/src/hooks/usePortalPageInfo.ts +0 -43
- package/src/hooks/useRefreshByLocationChange.ts +0 -16
- package/src/hooks/useReportIndicatorList.ts +0 -21
- package/src/hooks/useReportInfo.ts +0 -45
- package/src/hooks/useReportPersonList.ts +0 -21
- package/src/hooks/useScriptLoader.ts +0 -22
- package/src/hooks/useUnreadMsgList.ts +0 -26
- package/src/hooks/useUserAvatar.ts +0 -23
- package/src/hooks/useVReportInfo.ts +0 -50
- package/src/hooks/useVisionUserConfig.ts +0 -25
- package/src/hooks/useWorkbenchOptions.ts +0 -63
- package/src/index.tsx +0 -20
- package/src/services/CardService.ts +0 -91
- package/src/services/CommonService.ts +0 -23
- package/src/services/CostService.ts +0 -56
- package/src/services/DialogService.ts +0 -74
- package/src/services/IndicatorService.ts +0 -406
- package/src/services/PageService.ts +0 -204
- package/src/services/ReportService.ts +0 -335
- package/src/services/WorkbenchService.ts +0 -411
- package/src/styles/README.md +0 -12
- package/src/styles/index.scss +0 -9
- package/src/styles/mixins/index.scss +0 -25
- package/src/styles/next-cover.scss +0 -4
- package/src/styles/normalize.scss +0 -27
- package/src/styles/utilities/index.scss +0 -5
- package/src/styles/vars/index.scss +0 -17
- package/src/types/enum-workbench.ts +0 -29
- package/src/types/enum.ts +0 -156
- package/src/types/index.ts +0 -19
- package/src/types/indicator.ts +0 -299
- package/src/types/interface.ts +0 -303
- package/src/types/portal.ts +0 -211
- package/src/types/report.ts +0 -28
- package/src/types/type.ts +0 -11
- package/src/types/user.ts +0 -28
- package/src/utils/README.md +0 -4
- package/src/utils/arms.ts +0 -59
- package/src/utils/arr.ts +0 -123
- package/src/utils/const-workbench.ts +0 -9
- package/src/utils/const.ts +0 -18
- package/src/utils/index.ts +0 -18
- package/src/utils/init.ts +0 -5
- package/src/utils/map-workbench.ts +0 -66
- package/src/utils/map.ts +0 -377
- package/src/utils/number.ts +0 -101
- package/src/utils/page.ts +0 -81
- package/src/utils/str.ts +0 -26
- package/src/utils/tools.ts +0 -44
- package/src/utils/tree.ts +0 -145
- package/src/utils/url.ts +0 -40
- package/src/utils/util.ts +0 -99
- package/src/utils/workbench.ts +0 -25
package/src/types/indicator.ts
DELETED
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
import { ICharInfo } from 'src/components/win-chart';
|
|
2
|
-
import { WinCardChartType } from './enum';
|
|
3
|
-
import { IListItem } from './interface';
|
|
4
|
-
import { WinCardStatus } from './type';
|
|
5
|
-
|
|
6
|
-
export type IndicatorLabel = 'OKR' | 'CORE' | 'ORDINARY';
|
|
7
|
-
|
|
8
|
-
interface IIndicatorConfig {
|
|
9
|
-
id: number;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 单位
|
|
13
|
-
*/
|
|
14
|
-
unit: string;
|
|
15
|
-
/**
|
|
16
|
-
* 指标所在侧 0 左 1 右
|
|
17
|
-
*/
|
|
18
|
-
yAxis: number;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* 指标别名
|
|
22
|
-
*/
|
|
23
|
-
alias?: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* 是否堆叠
|
|
27
|
-
*/
|
|
28
|
-
isStack?: boolean;
|
|
29
|
-
|
|
30
|
-
extra?: {
|
|
31
|
-
/**
|
|
32
|
-
* 默认 0 日期 0 目标 1
|
|
33
|
-
*/
|
|
34
|
-
subTitle: number;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export type IndicatorCardSize = 'min' | 'medium' | 'max';
|
|
39
|
-
|
|
40
|
-
export interface IIndicatorCardConfig {
|
|
41
|
-
subscribed?: boolean;
|
|
42
|
-
name: string;
|
|
43
|
-
id: number;
|
|
44
|
-
type: string;
|
|
45
|
-
dataAccCode: string;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* 业务分类
|
|
49
|
-
*/
|
|
50
|
-
bizCode: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* 卡片类型
|
|
54
|
-
*/
|
|
55
|
-
chartType: WinCardChartType;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* 占多少个网格
|
|
59
|
-
*/
|
|
60
|
-
colWidth: number;
|
|
61
|
-
colHeight: number;
|
|
62
|
-
description: string;
|
|
63
|
-
detailUrl: string;
|
|
64
|
-
status: WinCardStatus;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* 排序
|
|
68
|
-
*/
|
|
69
|
-
rankOrder: number;
|
|
70
|
-
commonConfig: {
|
|
71
|
-
orgLevel: string;
|
|
72
|
-
labelField: string;
|
|
73
|
-
limit: number;
|
|
74
|
-
color?: string[];
|
|
75
|
-
yStart?: number[];
|
|
76
|
-
xAxisLabelRotate?: number;
|
|
77
|
-
xAxisLabelLength?: number;
|
|
78
|
-
sort?: 'asc' | 'desc';
|
|
79
|
-
};
|
|
80
|
-
indicatorConfig: IIndicatorConfig[];
|
|
81
|
-
sizeMap: {
|
|
82
|
-
min: [1, 2];
|
|
83
|
-
medium: [1, 4];
|
|
84
|
-
max: [2, 4];
|
|
85
|
-
};
|
|
86
|
-
size: IndicatorCardSize;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface IIndicatorListInfo extends ICharInfo {
|
|
90
|
-
indicatorId: number;
|
|
91
|
-
}
|
|
92
|
-
export interface IIndicatorDataInfo {
|
|
93
|
-
indicator?: {
|
|
94
|
-
instanceId: number;
|
|
95
|
-
date: string;
|
|
96
|
-
value: string;
|
|
97
|
-
expected: string;
|
|
98
|
-
};
|
|
99
|
-
list0?: IIndicatorListInfo[];
|
|
100
|
-
list1?: IIndicatorListInfo[];
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export interface IIndicatorInfo {
|
|
104
|
-
/**
|
|
105
|
-
* 指标 ID
|
|
106
|
-
*/
|
|
107
|
-
indicatorId: number;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* 指标 Code
|
|
111
|
-
*/
|
|
112
|
-
indicatorCode: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* 指标名称
|
|
116
|
-
*/
|
|
117
|
-
indicatorName: string;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* 指标标签
|
|
121
|
-
*/
|
|
122
|
-
indicatorLabel: 'OKR' | 'CORE' | 'ORDINARY';
|
|
123
|
-
|
|
124
|
-
indicatorType: string;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* 指标内部筛选默认名称
|
|
128
|
-
*/
|
|
129
|
-
selectLabel: string;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* 内部下拉选项值
|
|
133
|
-
*/
|
|
134
|
-
valueCode: string;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* 值
|
|
138
|
-
*/
|
|
139
|
-
value: number;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* 统计时间
|
|
143
|
-
*/
|
|
144
|
-
date: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* 目标值
|
|
148
|
-
*/
|
|
149
|
-
expectValue: number;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* 目标达成率
|
|
153
|
-
*/
|
|
154
|
-
ratio: number;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* 是否订阅
|
|
158
|
-
*/
|
|
159
|
-
followed: boolean;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* 模版 有目标值 1 无目标值 2
|
|
163
|
-
*/
|
|
164
|
-
cardTemplate: '1' | '2';
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* 指标实例说明
|
|
168
|
-
*/
|
|
169
|
-
desc: string;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* 单位
|
|
173
|
-
*/
|
|
174
|
-
unit?: string;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* 数据字典名称
|
|
178
|
-
*/
|
|
179
|
-
name: string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* 展示名称(分层)
|
|
183
|
-
*/
|
|
184
|
-
label: string;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* 偏差值
|
|
188
|
-
*/
|
|
189
|
-
diffValue: number;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* 同比
|
|
193
|
-
*/
|
|
194
|
-
yearCompare: number;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* 周期环比
|
|
198
|
-
*/
|
|
199
|
-
chain: number;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* 日环比
|
|
203
|
-
*/
|
|
204
|
-
dod: number;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* 是否可以下钻
|
|
208
|
-
*/
|
|
209
|
-
downShow: boolean;
|
|
210
|
-
|
|
211
|
-
downId: number;
|
|
212
|
-
|
|
213
|
-
downName: string;
|
|
214
|
-
|
|
215
|
-
downType: string;
|
|
216
|
-
|
|
217
|
-
uniqueCode: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export interface IBizTotal {
|
|
221
|
-
label: string;
|
|
222
|
-
area?: number;
|
|
223
|
-
income: number;
|
|
224
|
-
cost: number;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export interface IShowData {
|
|
228
|
-
code: string;
|
|
229
|
-
type: string;
|
|
230
|
-
value1: IIndicatorInfo[];
|
|
231
|
-
value2: IIndicatorInfo[];
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export interface IRiskInfo {
|
|
235
|
-
riskId: string;
|
|
236
|
-
riskLevel: string;
|
|
237
|
-
riskLevelDesc: string;
|
|
238
|
-
riskDescription: string;
|
|
239
|
-
statusDesc: string;
|
|
240
|
-
parkName: string;
|
|
241
|
-
name: string;
|
|
242
|
-
time: string;
|
|
243
|
-
statusCode: string;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export interface IRegionInfo {
|
|
247
|
-
region: string;
|
|
248
|
-
operatingProjectArea: string;
|
|
249
|
-
operatingProjectCnt: string;
|
|
250
|
-
progressProjectArea: string;
|
|
251
|
-
progressProjectCnt: string;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
export interface IIndicatorTableDataQuery {
|
|
255
|
-
level?: string;
|
|
256
|
-
name?: string;
|
|
257
|
-
subId?: number;
|
|
258
|
-
type?: string;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* 指标中心详情而信息
|
|
263
|
-
*/
|
|
264
|
-
export interface IIndicatorDetailsInfo {
|
|
265
|
-
style: 1 | 2;
|
|
266
|
-
name: string;
|
|
267
|
-
desc: string;
|
|
268
|
-
listValue: IIndicatorInfo[];
|
|
269
|
-
timeValue: IListItem<number>[];
|
|
270
|
-
dimension: string;
|
|
271
|
-
targetShow: boolean;
|
|
272
|
-
downId?: number;
|
|
273
|
-
unit: string;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
export interface IIndicatorInfoQuery {
|
|
277
|
-
subId?: number | string;
|
|
278
|
-
name?: string;
|
|
279
|
-
type?: string;
|
|
280
|
-
indicatorDate?: string;
|
|
281
|
-
originId?: number | string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export interface IIndicatorChangeInfo {
|
|
285
|
-
code: string;
|
|
286
|
-
name: string;
|
|
287
|
-
value: string;
|
|
288
|
-
unit: string;
|
|
289
|
-
diff: string;
|
|
290
|
-
children: IIndicatorChangeInfo[];
|
|
291
|
-
key: string;
|
|
292
|
-
url?: string;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export interface IIndicatorMsgChangeInfo {
|
|
296
|
-
lastVisitDay: string;
|
|
297
|
-
msg: string;
|
|
298
|
-
indicators: IIndicatorChangeInfo[];
|
|
299
|
-
}
|
package/src/types/interface.ts
DELETED
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { OperateType } from './enum';
|
|
3
|
-
import { IIndicatorCardConfig } from './indicator';
|
|
4
|
-
import { ICardGroupInfo, IMatterPendingInfo, INoticeInfo } from './portal';
|
|
5
|
-
|
|
6
|
-
export interface IStyleProps {
|
|
7
|
-
style?: CSSProperties;
|
|
8
|
-
className?: string;
|
|
9
|
-
id?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface IListItemDataSourceMap {
|
|
13
|
-
[p: string]: IListItem[];
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 列表选项
|
|
18
|
-
*/
|
|
19
|
-
export interface IListItem<T = string> {
|
|
20
|
-
label: string;
|
|
21
|
-
value: T;
|
|
22
|
-
children?: IListItem<T>[];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface IResponse<T = any> {
|
|
26
|
-
data: T;
|
|
27
|
-
errorCode: string;
|
|
28
|
-
errorMsg: string;
|
|
29
|
-
msg?: string;
|
|
30
|
-
success: boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* 图表选项
|
|
35
|
-
*/
|
|
36
|
-
export interface IChartListItem {
|
|
37
|
-
label: string;
|
|
38
|
-
fullLabel?: string;
|
|
39
|
-
value: number;
|
|
40
|
-
type: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* 记录项
|
|
45
|
-
*/
|
|
46
|
-
export interface IParkRecordItem {
|
|
47
|
-
/**
|
|
48
|
-
* 记录ID
|
|
49
|
-
*/
|
|
50
|
-
id: number;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* 园区编码
|
|
54
|
-
*/
|
|
55
|
-
parkCode: string;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* 园区名称
|
|
59
|
-
*/
|
|
60
|
-
parkName: string;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 创建时间
|
|
64
|
-
*/
|
|
65
|
-
gmtCreate: number;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* 修改时间
|
|
69
|
-
*/
|
|
70
|
-
gmtModified: number;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* 操作记录项
|
|
75
|
-
*/
|
|
76
|
-
export interface IOperateRecordInfo {
|
|
77
|
-
/**
|
|
78
|
-
* 时间
|
|
79
|
-
*/
|
|
80
|
-
gmtCreate: number;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* 操作
|
|
84
|
-
*/
|
|
85
|
-
operation: string;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* 备注
|
|
89
|
-
*/
|
|
90
|
-
remark: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* 操作人
|
|
94
|
-
*/
|
|
95
|
-
operatorName: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* 文件信息项
|
|
100
|
-
*/
|
|
101
|
-
export interface IFileInfoListItem {
|
|
102
|
-
/**
|
|
103
|
-
* 附件类型(1-图片,2-视频,3-其他)
|
|
104
|
-
*/
|
|
105
|
-
fileType: 1 | 2 | 3;
|
|
106
|
-
ossKey: string;
|
|
107
|
-
ossUrl: string;
|
|
108
|
-
name: string;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* 本地文件信息
|
|
113
|
-
*/
|
|
114
|
-
export interface IFileInfoListLocalItem {
|
|
115
|
-
/**
|
|
116
|
-
* 附件类型(1-图片,2-视频,3-其他)
|
|
117
|
-
*/
|
|
118
|
-
fileType: 1 | 2 | 3;
|
|
119
|
-
ossKey: string;
|
|
120
|
-
ossUrl: string;
|
|
121
|
-
name: string;
|
|
122
|
-
imgURL: string;
|
|
123
|
-
response: {
|
|
124
|
-
ossKey: string;
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* 键值对
|
|
130
|
-
*/
|
|
131
|
-
export type IKeyValueItem = Record<string, any>;
|
|
132
|
-
|
|
133
|
-
export interface ICnQuery {
|
|
134
|
-
currentPage?: number;
|
|
135
|
-
pageSize?: number;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export interface ICnPaging {
|
|
139
|
-
currentPage: number;
|
|
140
|
-
pageSize: number;
|
|
141
|
-
totalCount: number;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export interface ICnTableData<T = any> {
|
|
145
|
-
paging: ICnPaging;
|
|
146
|
-
tableData: T[];
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export interface IBizQuery {
|
|
150
|
-
bizType: string;
|
|
151
|
-
bizIds: string[];
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
interface IFileData {
|
|
155
|
-
key: string;
|
|
156
|
-
name?: string;
|
|
157
|
-
url?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export interface IUploadFileInfo {
|
|
161
|
-
status: string | 'done';
|
|
162
|
-
name: string;
|
|
163
|
-
size: number;
|
|
164
|
-
type: string;
|
|
165
|
-
key: string;
|
|
166
|
-
response?: {
|
|
167
|
-
data: IFileData;
|
|
168
|
-
};
|
|
169
|
-
url?: string;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export interface IOperateState {
|
|
173
|
-
type: OperateType;
|
|
174
|
-
id?: number;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export interface INextPageMenuInfo {
|
|
178
|
-
menuTitle: string;
|
|
179
|
-
menuUrl: string;
|
|
180
|
-
path: string;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export interface IShowInfo {
|
|
184
|
-
title: string;
|
|
185
|
-
content?: string | number;
|
|
186
|
-
img?: string;
|
|
187
|
-
time?: string | number;
|
|
188
|
-
url?: string;
|
|
189
|
-
buttonName?: string;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export interface IMatterInfo {
|
|
193
|
-
applyTime: string;
|
|
194
|
-
title: string;
|
|
195
|
-
url: string;
|
|
196
|
-
applicantName: string;
|
|
197
|
-
handlerName: string;
|
|
198
|
-
status: string;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export interface ISearchCondition {
|
|
202
|
-
dataAccVal: string;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export interface IRecommendInfo {
|
|
206
|
-
word: string;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export interface ISearchResListInfo {
|
|
210
|
-
bizId: string;
|
|
211
|
-
title: string;
|
|
212
|
-
content: string;
|
|
213
|
-
url: string;
|
|
214
|
-
ext?: {
|
|
215
|
-
code: string;
|
|
216
|
-
dataAccVal: string;
|
|
217
|
-
type: string;
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export interface ISearchResInfo {
|
|
222
|
-
count: number;
|
|
223
|
-
type: string;
|
|
224
|
-
list: ISearchResListInfo[];
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export interface IHazardInfo {
|
|
228
|
-
parkName: string;
|
|
229
|
-
parkCode: string;
|
|
230
|
-
riskDescribe: string;
|
|
231
|
-
riskNumber: number;
|
|
232
|
-
progress: number;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export interface ISearchByTypeCondition {
|
|
236
|
-
keyWord?: string;
|
|
237
|
-
type: string;
|
|
238
|
-
page: number;
|
|
239
|
-
pageSize: number;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export interface ICardInfo {
|
|
243
|
-
size: 'medium' | 'min' | 'max';
|
|
244
|
-
id: number;
|
|
245
|
-
x?: number;
|
|
246
|
-
y?: number;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
export interface IPortalPageInfo {
|
|
250
|
-
id: number;
|
|
251
|
-
name: string;
|
|
252
|
-
code: string;
|
|
253
|
-
pageType: string;
|
|
254
|
-
status: string;
|
|
255
|
-
digitalSpaceUrl: string;
|
|
256
|
-
comment: null;
|
|
257
|
-
cardList: ICardInfo[];
|
|
258
|
-
content: string;
|
|
259
|
-
configMap: {
|
|
260
|
-
[p: string]: IIndicatorCardConfig;
|
|
261
|
-
};
|
|
262
|
-
groupDTOList: ICardGroupInfo[];
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export interface IVisionUserConfig {
|
|
266
|
-
[p: string]: string;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
export interface IZNoticeInfo {
|
|
270
|
-
title: string;
|
|
271
|
-
bizId: string;
|
|
272
|
-
releaseDate: number;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export interface IOssSign {
|
|
276
|
-
accessId: string;
|
|
277
|
-
ossAccessKeyId: string;
|
|
278
|
-
policy: string;
|
|
279
|
-
host: string;
|
|
280
|
-
expire: string;
|
|
281
|
-
key: string;
|
|
282
|
-
signature: string;
|
|
283
|
-
securityToken: string;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
export interface IOssUploadData
|
|
287
|
-
extends Pick<
|
|
288
|
-
IOssSign,
|
|
289
|
-
'signature' | 'policy' | 'ossAccessKeyId' | 'host' | 'securityToken'
|
|
290
|
-
> {
|
|
291
|
-
file: File;
|
|
292
|
-
key: string;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export interface IWorkbenchOptions {
|
|
296
|
-
roleList: IListItem[];
|
|
297
|
-
pendingList: IMatterPendingInfo[];
|
|
298
|
-
noticeList: INoticeInfo[];
|
|
299
|
-
LEVEL_2?: IListItem[];
|
|
300
|
-
LEVEL_3?: IListItem[];
|
|
301
|
-
LEVEL_4?: IListItem[];
|
|
302
|
-
LEVEL_5?: IListItem[];
|
|
303
|
-
}
|