zy-react-library 1.1.0 → 1.1.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.
Files changed (76) hide show
  1. package/README.md +5 -1
  2. package/components/Cascader/Area/index.js +11 -11
  3. package/components/Cascader/Basic/index.js +23 -30
  4. package/components/Cascader/Dictionary/index.js +42 -42
  5. package/components/Cascader/Industry/index.js +12 -11
  6. package/components/Editor/index.js +43 -63
  7. package/components/FormBuilder/FormBuilder.js +97 -87
  8. package/components/FormBuilder/FormItemsRenderer.js +579 -581
  9. package/components/FormBuilder/index.js +5 -3
  10. package/components/HeaderBack/index.js +39 -32
  11. package/components/HiddenInfo/gwj/index.js +507 -439
  12. package/components/Icon/AddIcon/index.js +6 -6
  13. package/components/Icon/BackIcon/index.js +6 -6
  14. package/components/Icon/DeleteIcon/index.js +6 -6
  15. package/components/Icon/DownloadIcon/index.js +6 -6
  16. package/components/Icon/EditIcon/index.js +6 -6
  17. package/components/Icon/ExportIcon/index.js +6 -6
  18. package/components/Icon/ImportIcon/index.js +6 -6
  19. package/components/Icon/LocationIcon/index.js +6 -6
  20. package/components/Icon/PrintIcon/index.js +6 -6
  21. package/components/Icon/ResetIcon/index.js +6 -6
  22. package/components/Icon/SearchIcon/index.js +6 -6
  23. package/components/Icon/VideoIcon/index.js +6 -6
  24. package/components/Icon/ViewIcon/index.js +6 -6
  25. package/components/ImportFile/index.js +94 -91
  26. package/components/LeftTree/Area/index.js +15 -15
  27. package/components/LeftTree/Basic/index.js +54 -65
  28. package/components/LeftTree/Department/Gwj/index.js +29 -32
  29. package/components/LeftTree/Dictionary/index.js +42 -42
  30. package/components/Map/MapSelector.js +280 -254
  31. package/components/Map/index.js +90 -77
  32. package/components/Page/index.d.ts +2 -0
  33. package/components/Page/index.js +44 -34
  34. package/components/Pdf/index.js +92 -90
  35. package/components/PreviewImg/index.js +26 -32
  36. package/components/PreviewPdf/index.js +78 -86
  37. package/components/Search/index.js +147 -141
  38. package/components/Select/Basic/index.js +70 -76
  39. package/components/Select/Dictionary/index.js +42 -42
  40. package/components/Select/Personnel/Gwj/index.js +45 -49
  41. package/components/SelectCreate/index.js +33 -40
  42. package/components/SelectTree/Area/index.js +11 -17
  43. package/components/SelectTree/Basic/index.js +105 -102
  44. package/components/SelectTree/Department/Gwj/index.js +40 -46
  45. package/components/SelectTree/Dictionary/index.js +42 -42
  46. package/components/SelectTree/HiddenLevel/Gwj/index.js +33 -35
  47. package/components/SelectTree/HiddenPart/Gwj/index.js +16 -19
  48. package/components/SelectTree/Industry/index.js +12 -18
  49. package/components/Signature/index.js +68 -62
  50. package/components/Table/index.js +77 -73
  51. package/components/Table/index.less +7 -1
  52. package/components/TooltipPreviewImg/index.js +28 -27
  53. package/components/Upload/index.js +229 -275
  54. package/components/Video/AliPlayer.js +182 -160
  55. package/components/Video/index.js +71 -90
  56. package/css/common.less +4 -0
  57. package/enum/dictionary/index.js +5 -3
  58. package/enum/formItemRender/index.js +37 -35
  59. package/enum/hidden/gwj/index.js +65 -26
  60. package/enum/uploadFile/gwj/index.js +166 -84
  61. package/hooks/useDeleteFile/index.js +24 -30
  62. package/hooks/useDictionary/index.js +28 -30
  63. package/hooks/useDownloadBlob/index.js +78 -77
  64. package/hooks/useDownloadFile/index.js +76 -79
  65. package/hooks/useGetFile/index.js +32 -32
  66. package/hooks/useGetUrlQuery/index.js +1 -2
  67. package/hooks/useGetUserInfo/index.js +19 -26
  68. package/hooks/useIdle/index.js +9 -11
  69. package/hooks/useImportFile/index.js +30 -28
  70. package/hooks/useIsExistenceDuplicateSelection/index.js +25 -18
  71. package/hooks/useTable/index.js +49 -38
  72. package/hooks/useUploadFile/index.js +142 -147
  73. package/hooks/useUrlQueryCriteria/index.js +20 -13
  74. package/package.json +14 -1
  75. package/regular/index.js +34 -39
  76. package/utils/index.js +515 -511
@@ -1,21 +1,19 @@
1
- import { request } from "@cqsjjb/jjb-common-lib/http";
2
- import { Button, Descriptions, Divider, Space, Spin } from "antd";
3
- import dayjs from "dayjs";
4
- import { useEffect, useState } from "react";
5
- import { HIDDEN_RECTIFICATION_TYPE_ENUM, HIDDEN_SOURCE_ENUM, HIDDEN_STATE_ENUM } from "../../../enum/hidden/gwj";
6
- import { UPLOAD_FILE_TYPE_ENUM } from "../../../enum/uploadFile/gwj";
7
- import useDownloadFile from "../../../hooks/useDownloadFile";
8
- import useGetFile from "../../../hooks/useGetFile";
9
- import useGetUrlQuery from "../../../hooks/useGetUrlQuery";
10
- import { getFileName, getFileSuffix, getLabelName } from "../../../utils";
11
- import VideoIcon from "../../Icon/VideoIcon";
12
- import PreviewImg from "../../PreviewImg";
13
- import PreviewPdf from "../../PreviewPdf";
14
- import Video from "../../Video";
1
+ import { request } from '@cqsjjb/jjb-common-lib/http';
2
+ import { Spin, Divider, Descriptions, Space, Button } from 'antd';
3
+ import dayjs from 'dayjs';
4
+ import { useState, useEffect } from 'react';
5
+ import { HIDDEN_SOURCE_ENUM, HIDDEN_STATE_ENUM, HIDDEN_RECTIFICATION_TYPE_ENUM } from '../../../enum/hidden/gwj/index.js';
6
+ import { UPLOAD_FILE_TYPE_ENUM } from '../../../enum/uploadFile/gwj/index.js';
7
+ import useDownloadFile from '../../../hooks/useDownloadFile/index.js';
8
+ import useGetFile from '../../../hooks/useGetFile/index.js';
9
+ import useGetUrlQuery from '../../../hooks/useGetUrlQuery/index.js';
10
+ import { getLabelName, getFileSuffix, getFileName } from '../../../utils/index.js';
11
+ import VideoIcon from '../../Icon/VideoIcon/index.js';
12
+ import PreviewImg from '../../PreviewImg/index.js';
13
+ import PreviewPdf from '../../PreviewPdf/index.js';
14
+ import Video from '../../Video/index.js';
15
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
15
16
 
16
- /**
17
- * 隐患查看组件(港务局版本)
18
- */
19
17
  function HiddenInfo(props) {
20
18
  const {
21
19
  id = "",
@@ -23,9 +21,8 @@ function HiddenInfo(props) {
23
21
  hiddenId = "",
24
22
  hiddenIdKey = "hiddenId",
25
23
  history = false,
26
- onGetData,
24
+ onGetData
27
25
  } = props;
28
-
29
26
  const [info, setInfo] = useState({
30
27
  hiddenUserPresetsCO: {},
31
28
  hiddenRectifyUserCO: [],
@@ -33,7 +30,7 @@ function HiddenInfo(props) {
33
30
  hiddenAcceptUserCO: [],
34
31
  hiddenInspecCO: {},
35
32
  hiddenSpecialList: [],
36
- hiddenExtensionList: [],
33
+ hiddenExtensionList: []
37
34
  });
38
35
  const [hiddenImageFiles, setHiddenImageFiles] = useState([]);
39
36
  const [hiddenVideoFiles, setHiddenVideoFiles] = useState([]);
@@ -43,29 +40,31 @@ function HiddenInfo(props) {
43
40
  const [inspectionAcceptImageFiles, setInspectionAcceptImageFiles] = useState([]);
44
41
  const [loading, setLoading] = useState(true);
45
42
  const [videoModalOpen, setVideoModalOpen] = useState(false);
46
-
47
- const { getFile } = useGetFile();
43
+ const {
44
+ getFile
45
+ } = useGetFile();
48
46
  const query = useGetUrlQuery();
49
- const { loading: downloadFileLoading, downloadFile } = useDownloadFile();
50
-
51
- const getFileData = async (info) => {
47
+ const {
48
+ loading: downloadFileLoading,
49
+ downloadFile
50
+ } = useDownloadFile();
51
+ const getFileData = async info => {
52
52
  const hiddenImageFiles = await getFile({
53
53
  eqType: UPLOAD_FILE_TYPE_ENUM["3"],
54
- eqForeignKey: hiddenId || query[hiddenIdKey],
54
+ eqForeignKey: hiddenId || query[hiddenIdKey]
55
55
  });
56
56
  setHiddenImageFiles(hiddenImageFiles);
57
57
  const hiddenVideoFiles = await getFile({
58
58
  eqType: UPLOAD_FILE_TYPE_ENUM["102"],
59
- eqForeignKey: hiddenId || query[hiddenIdKey],
59
+ eqForeignKey: hiddenId || query[hiddenIdKey]
60
60
  });
61
61
  setHiddenVideoFiles(hiddenVideoFiles);
62
-
63
62
  if (info.hiddenRectifyUserCO && info.hiddenRectifyUserCO.length > 0) {
64
63
  for (let i = 0; i < info.hiddenRectifyUserCO.length; i++) {
65
64
  if (info.hiddenRectifyUserCO[i].hiddenUserId) {
66
65
  const afterRectificationImageFiles = await getFile({
67
66
  eqType: UPLOAD_FILE_TYPE_ENUM["4"],
68
- eqForeignKey: info.hiddenRectifyUserCO[i].hiddenUserId,
67
+ eqForeignKey: info.hiddenRectifyUserCO[i].hiddenUserId
69
68
  });
70
69
  setAfterRectificationImageFiles(prevState => [...prevState, afterRectificationImageFiles]);
71
70
  }
@@ -73,35 +72,32 @@ function HiddenInfo(props) {
73
72
  if (info.hiddenRectifyUserCO[i].hiddenSchemeCO.hiddenSchemeId) {
74
73
  const rectificationPlanImageFiles = await getFile({
75
74
  eqType: UPLOAD_FILE_TYPE_ENUM["8"],
76
- eqForeignKey: info.hiddenRectifyUserCO[i].hiddenSchemeCO.hiddenSchemeId,
75
+ eqForeignKey: info.hiddenRectifyUserCO[i].hiddenSchemeCO.hiddenSchemeId
77
76
  });
78
77
  setRectificationPlanImageFiles(prevState => [...prevState, rectificationPlanImageFiles]);
79
78
  }
80
79
  }
81
80
  }
82
81
  }
83
-
84
- if (info.isQualified === 1 && (info.hiddenAcceptUserCO && info.hiddenAcceptUserCO.length > 0)) {
82
+ if (info.isQualified === 1 && info.hiddenAcceptUserCO && info.hiddenAcceptUserCO.length > 0) {
85
83
  for (let i = 0; i < info.hiddenAcceptUserCO.length; i++) {
86
84
  const acceptImageFiles = await getFile({
87
85
  eqType: UPLOAD_FILE_TYPE_ENUM["5"],
88
- eqForeignKey: hiddenId || query[hiddenIdKey],
86
+ eqForeignKey: hiddenId || query[hiddenIdKey]
89
87
  });
90
88
  setAcceptImageFiles(prevState => [...prevState, acceptImageFiles]);
91
89
  }
92
90
  }
93
-
94
91
  if (info.hiddenInspecCO && Object.keys(info.hiddenInspecCO).length > 0) {
95
92
  const inspectionAcceptImageFiles = await getFile({
96
93
  eqType: UPLOAD_FILE_TYPE_ENUM["146"],
97
- eqForeignKey: hiddenId || query[hiddenIdKey],
94
+ eqForeignKey: hiddenId || query[hiddenIdKey]
98
95
  });
99
96
  setInspectionAcceptImageFiles(inspectionAcceptImageFiles);
100
97
  }
101
98
  };
102
-
103
99
  const getData = async () => {
104
- request(!history ? `/hidden/hidden/${id || query[idKey]}` : `/hidden/hidden/history/${id || query[idKey]}`, "get").then((res) => {
100
+ request(!history ? `/hidden/hidden/${id || query[idKey]}` : `/hidden/hidden/history/${id || query[idKey]}`, "get").then(res => {
105
101
  setInfo(res.data);
106
102
  getFileData(res.data);
107
103
  setLoading(false);
@@ -111,408 +107,480 @@ function HiddenInfo(props) {
111
107
  useEffect(() => {
112
108
  getData();
113
109
  }, [props.id, props.hiddenId]);
114
-
115
- return (
116
- <div>
117
- <Spin spinning={loading || downloadFileLoading}>
118
- <Divider orientation="left">隐患信息</Divider>
119
- <Descriptions
120
- bordered
121
- column={1}
122
- styles={{ label: { width: 200 } }}
123
- items={[
124
- { label: "隐患来源", children: getLabelName({ list: HIDDEN_SOURCE_ENUM, status: info.source }) },
125
- { label: "隐患类型", children: info.hiddenTypeName },
126
- { label: "隐患级别", children: info.hiddenLevelName },
127
- { label: "隐患状态", children: getLabelName({ list: HIDDEN_STATE_ENUM, status: info.state }) },
128
- { label: "隐患描述", children: info.hiddenDesc },
129
- ...(info.hiddenPartName ? [{ label: "隐患部位", children: info.hiddenPartName }] : []),
130
- ...(
131
- (info.source === 2 || info.source === 3) && (info.hiddenCheckListCO && Object.keys(info.hiddenCheckListCO).length > 0)
132
- ? [
133
- { label: "风险点(单元)", children: info.hiddenCheckListCO.listRiskPoints },
134
- { label: "辨识部位", children: info.hiddenCheckListCO.identifiedLocations },
135
- { label: "存在风险", children: info.hiddenCheckListCO.existingRisks },
136
- { label: "风险分级", children: info.hiddenCheckListCO.riskLevel },
137
- { label: "隐患清单", children: info.hiddenCheckListCO.listName },
138
- { label: "检查内容", children: info.hiddenCheckListCO.inspectionContent },
139
- ]
140
- : []
141
- ),
142
- ...(info.longitude
143
- ? [{
144
- label: "隐患上报位置(经纬度)",
145
- children: [info.longitude && `经度:${info.longitude}`, info.latitude && `纬度:${info.latitude}`].filter(Boolean).join(" "),
146
- }]
147
- : []),
148
- ...(info.positionDesc ? [{ label: "隐患位置描述", children: info.positionDesc }] : []),
149
- { label: "隐患发现人", children: info.creatorName },
150
- { label: "隐患发现时间", children: dayjs(info.hiddenFindTime).format("YYYY-MM-DD HH:mm:ss") },
151
- {
152
- label: "整改类型",
153
- children: getLabelName({ list: HIDDEN_RECTIFICATION_TYPE_ENUM, status: info.rectificationType }),
154
- },
155
- {
156
- label: "是否相关方",
157
- children: getLabelName({
158
- list: [{ bianma: "1", name: "是" }, { bianma: "0", name: "否" }],
159
- status: info.isRelated,
160
- }),
161
- },
162
- ...(info.isRelated === 1 ? [{ label: "相关方项目", children: info.projectName }] : []),
163
- { label: "隐患图片", children: <PreviewImg files={hiddenImageFiles} /> },
164
- ...(hiddenVideoFiles.length > 0
165
- ? [{
166
- label: "隐患视频",
167
- children: (
168
- <VideoIcon onClick={() => {
169
- setVideoModalOpen(true);
170
- }}
171
- />
172
- ),
173
- }]
174
- : []),
175
- ]}
176
- />
177
- {
178
- (info.hiddenUserPresetsCO && Object.keys(info.hiddenUserPresetsCO).length > 0) && (
179
- <>
180
- <Divider orientation="left">整改信息(发现人预填)</Divider>
181
- <Descriptions
182
- bordered
183
- column={1}
184
- styles={{ label: { width: 200 } }}
185
- items={[
186
- { label: `整改${info.isRelated === 1 ? "单位" : "部门"}`, children: info.hiddenUserPresetsCO.rectifyDeptName },
187
- { label: "整改人", children: info.hiddenUserPresetsCO.rectifyUserName },
188
- ...(info.rectificationType === 2
189
- ? [
190
- {
191
- label: "整改期限",
192
- children: dayjs(info.hiddenUserPresetsCO.rectifyDeadline).format("YYYY-MM-DD"),
193
- },
194
- ]
195
- : []),
196
- ...(info.rectificationType === 1
197
- ? [
198
- { label: "验收部门", children: info.hiddenUserPresetsCO.checkDeptName },
199
- { label: "验收人", children: info.hiddenUserPresetsCO.checkUserName },
200
- ]
201
- : []),
202
- ]}
203
- />
204
- </>
205
- )
206
- }
207
- {
208
- (info.hiddenConfirmUserCO && info.hiddenConfirmUserCO.length > 0) && (
209
- <>
210
- <Divider orientation="left">隐患确认</Divider>
211
- {
212
- info.hiddenConfirmUserCO.map(item => (
213
- <Descriptions
214
- key={item.id}
215
- bordered
216
- column={1}
217
- styles={{ label: { width: 200 } }}
218
- items={[
219
- ...(item.hiddenLevelName ? [{ label: "隐患级别", children: item.hiddenLevelName }] : []),
220
- ...(item.userName ? [{ label: "隐患确认人", children: item.userName }] : []),
221
- ...(item.rectificationTime ? [{ label: "隐患确认时间", children: item.rectificationTime }] : []),
222
- ...(item.rectifyDeptName ? [{ label: `整改${info.isRelated === 1 ? "单位" : "部门"}`, children: item.rectifyDeptName }] : []),
223
- ...(item.rectifyUserName ? [{ label: "整改人", children: item.rectifyUserName }] : []),
224
- ...(item.rectificationDeadline ? [{ label: "整改完成期限", children: item.rectificationDeadline }] : []),
225
- ...(item.checkDeptName ? [{ label: "验收部门", children: item.checkDeptName }] : []),
226
- ...(item.checkUserName ? [{ label: "验收人", children: item.checkUserName }] : []),
227
- ...(item.repulseCause
228
- ? [
229
- ...(item.repulseCause ? [{ label: "打回意见", children: item.repulseCause }] : []),
230
- ...(item.rectificationTime ? [{ label: "打回时间", children: item.rectificationTime }] : []),
231
- ]
232
- : []),
233
- ]}
234
- />
235
- ))
236
- }
237
- </>
238
- )
239
- }
240
- {
241
- info.hiddenExtensionList && info.hiddenExtensionList.length > 0 && (
242
- <>
243
- <Divider orientation="left">延期信息</Divider>
244
- {
245
- info.hiddenExtensionList.map(item => (
246
- <Descriptions
247
- key={item.id}
248
- bordered
249
- column={1}
250
- styles={{ label: { width: 200 } }}
251
- items={[
252
- ...(item.createTime ? [{ label: "申请延期日期", children: item.createTime }] : []),
253
- ...(item.delayTime ? [{ label: "延期日期", children: item.delayTime }] : []),
254
- ...(item.updateName ? [{ label: "审核人", children: item.updateName }] : []),
255
- ...(item.state === 3
256
- ? [
257
- ...(item.disposalPlan ? [{ label: "处置方案", children: item.disposalPlan }] : []),
258
- ...(item.disposalFile
259
- ? [{
260
- label: "处置方案附件",
261
- children: (
262
- getFileSuffix(item.disposalFile) === "pdf"
263
- ? <PreviewPdf name={getFileName(item.disposalFile)} url={item.disposalFile} />
264
- : (
265
- <Space>
266
- <span>{getFileName(item.disposalFile)}</span>
267
- <Button
268
- type="primary"
269
- size="small"
270
- onClick={() => downloadFile(item.disposalFile)}
271
- >
272
- 下载
273
- </Button>
274
- </Space>
275
- )
276
- ),
277
- }]
278
- : []),
279
- ]
280
- : []),
281
- {
282
- label: "延期审核状态",
283
- children: (
284
- <>
285
- {item.state === 1 && <span>待审核</span>}
286
- {item.state === 2 && <span>审批中</span>}
287
- {item.state === 3 && <span>已通过</span>}
288
- {item.state === 4 && <span>已拒绝</span>}
289
- {item.state === 5 && <span>已撤回</span>}
290
- </>
291
- ),
292
- },
293
- ...((item.state === 3 || item.state === 4)
294
- ? [{
295
- label: "延期审核时间",
296
- children: item.updateTime,
297
- }]
298
- : []),
299
- ]}
300
- />
301
- ),
302
- )
303
- }
304
- </>
305
- )
306
- }
307
- {
308
- info.hiddenSpecialList && info.hiddenSpecialList.length > 0 && (
309
- <>
310
- <Divider orientation="left">特殊处置审核信息</Divider>
311
- {
312
- info.hiddenSpecialList.map(item => (
313
- <Descriptions
314
- key={item.id}
315
- bordered
316
- column={1}
317
- styles={{ label: { width: 200 } }}
318
- items={[
319
- ...((item.state === 3 || item.state === 4)
320
- ? [
321
- ...(item.updateName ? [{ label: "审核人", children: item.updateName }] : []),
322
- ...(item.updateTime ? [{ label: "审核时间", children: item.updateTime }] : []),
323
- ]
324
- : []),
325
- { label: "无法整改原因", children: item.examine },
326
- ...(item.state === 3
327
- ? [
328
- ...(item.disposalPlan ? [{ label: "处置方案", children: item.disposalPlan }] : []),
329
- ...(item.disposalFile
330
- ? [{
331
- label: "处置方案附件",
332
- children: (
333
- getFileSuffix(item.disposalFile) === "pdf"
334
- ? <PreviewPdf name={getFileName(item.disposalFile)} url={item.disposalFile} />
335
- : (
336
- <Space>
337
- <span>{getFileName(item.disposalFile)}</span>
338
- <Button
339
- type="primary"
340
- size="small"
341
- onClick={() => downloadFile(item.disposalFile)}
342
- >
343
- 下载
344
- </Button>
345
- </Space>
346
- )
347
- ),
348
- }]
349
- : []),
350
- {
351
- label: "是否更换整改负责人",
352
- children: item.rectifyUserCO && Object.keys(item.rectifyUserCO).length > 0 ? "是" : "否",
353
- },
354
- ...(
355
- item.rectifyUserCO && Object.keys(item.rectifyUserCO).length > 0
356
- ? [{ label: "整改负责人", children: item.rectifyUserCO.userName }]
357
- : []),
358
- ]
359
- : []),
360
- {
361
- label: "特殊处置审核状态",
362
- children: (
363
- <>
364
- {item.state === 1 && <span>待审核</span>}
365
- {item.state === 2 && <span>审批中</span>}
366
- {item.state === 3 && <span>已通过</span>}
367
- {item.state === 4 && <span>已拒绝</span>}
368
- {item.state === 5 && <span>已撤回</span>}
369
- </>
370
- ),
371
- },
372
- ]}
373
- />
374
- ),
375
- )
376
- }
377
- </>
378
- )
379
- }
380
- {
381
- (info.hiddenRectifyUserCO && info.hiddenRectifyUserCO.length > 0) && (
382
- <>
383
- <Divider orientation="left">整改信息</Divider>
384
- {
385
- info.hiddenRectifyUserCO.map((item, index) => (
386
- <Descriptions
387
- key={item.id}
388
- bordered
389
- column={1}
390
- styles={{ label: { width: 200 } }}
391
- items={[
392
- ...(item.deptName ? [{ label: `整改${info.isRelated === 1 ? "单位" : "部门"}`, children: item.deptName }] : []),
393
- ...(item.userName ? [{ label: "整改人", children: item.userName }] : []),
394
- ...(item.rectificationTime ? [{ label: "整改时间", children: item.rectificationTime }] : []),
395
- ...(item.descr ? [{ label: "整改描述", children: item.descr }] : []),
396
- ...(item.investmentFunds ? [{ label: "投入资金", children: `${item.investmentFunds}元` }] : []),
397
- ...(info.tempSafeMeasure ? [{ label: "临时安全措施", children: info.tempSafeMeasure }] : []),
398
- { label: "整改后图片", children: <PreviewImg files={afterRectificationImageFiles[index]} /> },
399
- {
400
- label: "整改方案",
401
- children: (
402
- <>
403
- {item.isRectificationScheme === 0 && <span>无</span>}
404
- {item.isRectificationScheme === 1 && <span>有</span>}
405
- </>
406
- ),
407
- },
408
- ...((item.isRectificationScheme === 1 && item.hiddenSchemeCO && Object.keys(item.hiddenSchemeCO).length > 0)
409
- ? [
410
- { label: "治理标准", children: item.hiddenSchemeCO.governStanDards },
411
- { label: "治理方法", children: item.hiddenSchemeCO.governMethod },
412
- { label: "经费落实", children: item.hiddenSchemeCO.expenditure },
413
- { label: "负责人员", children: item.hiddenSchemeCO.principal },
414
- { label: "工时安排", children: item.hiddenSchemeCO.programming },
415
- { label: "时限要求", children: item.hiddenSchemeCO.timeLimitFor },
416
- { label: "工作要求", children: item.hiddenSchemeCO.jobRequireMent },
417
- { label: "其他事项", children: item.hiddenSchemeCO.otherBusiness },
418
- { label: "方案图片", children: <PreviewImg files={rectificationPlanImageFiles[index]} /> },
419
- ]
420
- : []),
421
- ]}
422
- />
423
- ))
424
- }
425
- </>
426
- )
427
- }
428
- {
429
- (info.hiddenAcceptUserCO && info.hiddenAcceptUserCO.length > 0)
430
- ? (
431
- info.isQualified === 1
432
- ? (
433
- <>
434
- <Divider orientation="left">验收信息</Divider>
435
- {
436
- info.hiddenAcceptUserCO.map((item, index) => (
437
- <Descriptions
438
- key={item.id}
439
- bordered
440
- column={1}
441
- styles={{ label: { width: 200 } }}
442
- items={[
443
- { label: "验收部门", children: item.deptName },
444
- { label: "验收人", children: item.userName },
445
- { label: "验收时间", children: item.rectificationTime },
446
- ...(item.repulseCause ? [{ label: "验收打回意见", children: item.repulseCause }] : []),
447
- { label: "是否合格", children: item.rectificationTime ? "合格" : "" },
448
- ...(item.descr ? [{ label: "验收描述", children: item.descr }] : []),
449
- ...((acceptImageFiles[index] && acceptImageFiles[index].length > 0) ? [{ label: "验收图片", children: <PreviewImg files={acceptImageFiles[index]} /> }] : []),
450
- ]}
451
- />
452
- ))
453
- }
454
- </>
455
- )
456
- : (
457
- <>
458
- <Divider orientation="left">验收打回信息</Divider>
459
- {
460
- info.hiddenAcceptUserCO.map(item => (
461
- <Descriptions
462
- key={item.id}
463
- bordered
464
- column={1}
465
- styles={{ label: { width: 200 } }}
466
- items={[
467
- { label: "验收部门", children: item.deptName },
468
- { label: "验收人", children: item.userName },
469
- { label: "验收时间", children: item.rectificationTime },
470
- { label: "验收打回意见", children: item.repulseCause },
471
- ]}
472
- />
473
- ))
474
- }
475
- </>
476
- )
477
- )
478
- : null
479
- }
480
- {
481
- (info.hiddenInspecCO && Object.keys(info.hiddenInspecCO).length > 0)
482
- ? (
483
- <>
484
- <Divider orientation="left">安全环保验收信息</Divider>
485
- <Descriptions
486
- bordered
487
- column={1}
488
- styles={{ label: { width: 200 } }}
489
- items={[
490
- { label: "验收人", children: info.hiddenInspecCO.finalCheckOr },
491
- { label: "验收时间", children: info.hiddenInspecCO.finalCheckTime },
492
- { label: "是否合格", children: info.hiddenInspecCO.finalCheck === 1 ? "合格" : "不合格" },
493
- { label: "验收描述", children: info.hiddenInspecCO.finalCheckDesc },
494
- { label: "验收图片", children: <PreviewImg files={inspectionAcceptImageFiles} /> },
495
- ]}
496
- />
497
- </>
498
- )
499
- : null
500
- }
501
- </Spin>
502
- {
503
- videoModalOpen && (
504
- <Video
505
- visible={videoModalOpen}
506
- source={hiddenVideoFiles[0].url}
507
- onCancel={() => setVideoModalOpen(false)}
508
- title="隐患视频"
509
- />
510
- )
511
- }
512
- </div>
513
- );
110
+ return /*#__PURE__*/jsxs("div", {
111
+ children: [/*#__PURE__*/jsxs(Spin, {
112
+ spinning: loading || downloadFileLoading,
113
+ children: [/*#__PURE__*/jsx(Divider, {
114
+ orientation: "left",
115
+ children: "\u9690\u60A3\u4FE1\u606F"
116
+ }), /*#__PURE__*/jsx(Descriptions, {
117
+ bordered: true,
118
+ column: 1,
119
+ styles: {
120
+ label: {
121
+ width: 200
122
+ }
123
+ },
124
+ items: [{
125
+ label: "隐患来源",
126
+ children: getLabelName({
127
+ list: HIDDEN_SOURCE_ENUM,
128
+ status: info.source
129
+ })
130
+ }, {
131
+ label: "隐患类型",
132
+ children: info.hiddenTypeName
133
+ }, {
134
+ label: "隐患级别",
135
+ children: info.hiddenLevelName
136
+ }, {
137
+ label: "隐患状态",
138
+ children: getLabelName({
139
+ list: HIDDEN_STATE_ENUM,
140
+ status: info.state
141
+ })
142
+ }, {
143
+ label: "隐患描述",
144
+ children: info.hiddenDesc
145
+ }, ...(info.hiddenPartName ? [{
146
+ label: "隐患部位",
147
+ children: info.hiddenPartName
148
+ }] : []), ...((info.source === 2 || info.source === 3) && info.hiddenCheckListCO && Object.keys(info.hiddenCheckListCO).length > 0 ? [{
149
+ label: "风险点(单元)",
150
+ children: info.hiddenCheckListCO.listRiskPoints
151
+ }, {
152
+ label: "辨识部位",
153
+ children: info.hiddenCheckListCO.identifiedLocations
154
+ }, {
155
+ label: "存在风险",
156
+ children: info.hiddenCheckListCO.existingRisks
157
+ }, {
158
+ label: "风险分级",
159
+ children: info.hiddenCheckListCO.riskLevel
160
+ }, {
161
+ label: "隐患清单",
162
+ children: info.hiddenCheckListCO.listName
163
+ }, {
164
+ label: "检查内容",
165
+ children: info.hiddenCheckListCO.inspectionContent
166
+ }] : []), ...(info.longitude ? [{
167
+ label: "隐患上报位置(经纬度)",
168
+ children: [info.longitude && `经度:${info.longitude}`, info.latitude && `纬度:${info.latitude}`].filter(Boolean).join(" ")
169
+ }] : []), ...(info.positionDesc ? [{
170
+ label: "隐患位置描述",
171
+ children: info.positionDesc
172
+ }] : []), {
173
+ label: "隐患发现人",
174
+ children: info.creatorName
175
+ }, {
176
+ label: "隐患发现时间",
177
+ children: dayjs(info.hiddenFindTime).format("YYYY-MM-DD HH:mm:ss")
178
+ }, {
179
+ label: "整改类型",
180
+ children: getLabelName({
181
+ list: HIDDEN_RECTIFICATION_TYPE_ENUM,
182
+ status: info.rectificationType
183
+ })
184
+ }, {
185
+ label: "是否相关方",
186
+ children: getLabelName({
187
+ list: [{
188
+ bianma: "1",
189
+ name: "是"
190
+ }, {
191
+ bianma: "0",
192
+ name: "否"
193
+ }],
194
+ status: info.isRelated
195
+ })
196
+ }, ...(info.isRelated === 1 ? [{
197
+ label: "相关方项目",
198
+ children: info.projectName
199
+ }] : []), {
200
+ label: "隐患图片",
201
+ children: /*#__PURE__*/jsx(PreviewImg, {
202
+ files: hiddenImageFiles
203
+ })
204
+ }, ...(hiddenVideoFiles.length > 0 ? [{
205
+ label: "隐患视频",
206
+ children: /*#__PURE__*/jsx(VideoIcon, {
207
+ onClick: () => {
208
+ setVideoModalOpen(true);
209
+ }
210
+ })
211
+ }] : [])]
212
+ }), info.hiddenUserPresetsCO && Object.keys(info.hiddenUserPresetsCO).length > 0 && /*#__PURE__*/jsxs(Fragment, {
213
+ children: [/*#__PURE__*/jsx(Divider, {
214
+ orientation: "left",
215
+ children: "\u6574\u6539\u4FE1\u606F\uFF08\u53D1\u73B0\u4EBA\u9884\u586B\uFF09"
216
+ }), /*#__PURE__*/jsx(Descriptions, {
217
+ bordered: true,
218
+ column: 1,
219
+ styles: {
220
+ label: {
221
+ width: 200
222
+ }
223
+ },
224
+ items: [{
225
+ label: `整改${info.isRelated === 1 ? "单位" : "部门"}`,
226
+ children: info.hiddenUserPresetsCO.rectifyDeptName
227
+ }, {
228
+ label: "整改人",
229
+ children: info.hiddenUserPresetsCO.rectifyUserName
230
+ }, ...(info.rectificationType === 2 ? [{
231
+ label: "整改期限",
232
+ children: dayjs(info.hiddenUserPresetsCO.rectifyDeadline).format("YYYY-MM-DD")
233
+ }] : []), ...(info.rectificationType === 1 ? [{
234
+ label: "验收部门",
235
+ children: info.hiddenUserPresetsCO.checkDeptName
236
+ }, {
237
+ label: "验收人",
238
+ children: info.hiddenUserPresetsCO.checkUserName
239
+ }] : [])]
240
+ })]
241
+ }), info.hiddenConfirmUserCO && info.hiddenConfirmUserCO.length > 0 && /*#__PURE__*/jsxs(Fragment, {
242
+ children: [/*#__PURE__*/jsx(Divider, {
243
+ orientation: "left",
244
+ children: "\u9690\u60A3\u786E\u8BA4"
245
+ }), info.hiddenConfirmUserCO.map(item => /*#__PURE__*/jsx(Descriptions, {
246
+ bordered: true,
247
+ column: 1,
248
+ styles: {
249
+ label: {
250
+ width: 200
251
+ }
252
+ },
253
+ items: [...(item.hiddenLevelName ? [{
254
+ label: "隐患级别",
255
+ children: item.hiddenLevelName
256
+ }] : []), ...(item.userName ? [{
257
+ label: "隐患确认人",
258
+ children: item.userName
259
+ }] : []), ...(item.rectificationTime ? [{
260
+ label: "隐患确认时间",
261
+ children: item.rectificationTime
262
+ }] : []), ...(item.rectifyDeptName ? [{
263
+ label: `整改${info.isRelated === 1 ? "单位" : "部门"}`,
264
+ children: item.rectifyDeptName
265
+ }] : []), ...(item.rectifyUserName ? [{
266
+ label: "整改人",
267
+ children: item.rectifyUserName
268
+ }] : []), ...(item.rectificationDeadline ? [{
269
+ label: "整改完成期限",
270
+ children: item.rectificationDeadline
271
+ }] : []), ...(item.checkDeptName ? [{
272
+ label: "验收部门",
273
+ children: item.checkDeptName
274
+ }] : []), ...(item.checkUserName ? [{
275
+ label: "验收人",
276
+ children: item.checkUserName
277
+ }] : []), ...(item.repulseCause ? [...(item.repulseCause ? [{
278
+ label: "打回意见",
279
+ children: item.repulseCause
280
+ }] : []), ...(item.rectificationTime ? [{
281
+ label: "打回时间",
282
+ children: item.rectificationTime
283
+ }] : [])] : [])]
284
+ }, item.id))]
285
+ }), info.hiddenExtensionList && info.hiddenExtensionList.length > 0 && /*#__PURE__*/jsxs(Fragment, {
286
+ children: [/*#__PURE__*/jsx(Divider, {
287
+ orientation: "left",
288
+ children: "\u5EF6\u671F\u4FE1\u606F"
289
+ }), info.hiddenExtensionList.map(item => /*#__PURE__*/jsx(Descriptions, {
290
+ bordered: true,
291
+ column: 1,
292
+ styles: {
293
+ label: {
294
+ width: 200
295
+ }
296
+ },
297
+ items: [...(item.createTime ? [{
298
+ label: "申请延期日期",
299
+ children: item.createTime
300
+ }] : []), ...(item.delayTime ? [{
301
+ label: "延期日期",
302
+ children: item.delayTime
303
+ }] : []), ...(item.updateName ? [{
304
+ label: "审核人",
305
+ children: item.updateName
306
+ }] : []), ...(item.state === 3 ? [...(item.disposalPlan ? [{
307
+ label: "处置方案",
308
+ children: item.disposalPlan
309
+ }] : []), ...(item.disposalFile ? [{
310
+ label: "处置方案附件",
311
+ children: getFileSuffix(item.disposalFile) === "pdf" ? /*#__PURE__*/jsx(PreviewPdf, {
312
+ name: getFileName(item.disposalFile),
313
+ url: item.disposalFile
314
+ }) : /*#__PURE__*/jsxs(Space, {
315
+ children: [/*#__PURE__*/jsx("span", {
316
+ children: getFileName(item.disposalFile)
317
+ }), /*#__PURE__*/jsx(Button, {
318
+ type: "primary",
319
+ size: "small",
320
+ onClick: () => downloadFile(item.disposalFile),
321
+ children: "\u4E0B\u8F7D"
322
+ })]
323
+ })
324
+ }] : [])] : []), {
325
+ label: "延期审核状态",
326
+ children: /*#__PURE__*/jsxs(Fragment, {
327
+ children: [item.state === 1 && /*#__PURE__*/jsx("span", {
328
+ children: "\u5F85\u5BA1\u6838"
329
+ }), item.state === 2 && /*#__PURE__*/jsx("span", {
330
+ children: "\u5BA1\u6279\u4E2D"
331
+ }), item.state === 3 && /*#__PURE__*/jsx("span", {
332
+ children: "\u5DF2\u901A\u8FC7"
333
+ }), item.state === 4 && /*#__PURE__*/jsx("span", {
334
+ children: "\u5DF2\u62D2\u7EDD"
335
+ }), item.state === 5 && /*#__PURE__*/jsx("span", {
336
+ children: "\u5DF2\u64A4\u56DE"
337
+ })]
338
+ })
339
+ }, ...(item.state === 3 || item.state === 4 ? [{
340
+ label: "延期审核时间",
341
+ children: item.updateTime
342
+ }] : [])]
343
+ }, item.id))]
344
+ }), info.hiddenSpecialList && info.hiddenSpecialList.length > 0 && /*#__PURE__*/jsxs(Fragment, {
345
+ children: [/*#__PURE__*/jsx(Divider, {
346
+ orientation: "left",
347
+ children: "\u7279\u6B8A\u5904\u7F6E\u5BA1\u6838\u4FE1\u606F"
348
+ }), info.hiddenSpecialList.map(item => /*#__PURE__*/jsx(Descriptions, {
349
+ bordered: true,
350
+ column: 1,
351
+ styles: {
352
+ label: {
353
+ width: 200
354
+ }
355
+ },
356
+ items: [...(item.state === 3 || item.state === 4 ? [...(item.updateName ? [{
357
+ label: "审核人",
358
+ children: item.updateName
359
+ }] : []), ...(item.updateTime ? [{
360
+ label: "审核时间",
361
+ children: item.updateTime
362
+ }] : [])] : []), {
363
+ label: "无法整改原因",
364
+ children: item.examine
365
+ }, ...(item.state === 3 ? [...(item.disposalPlan ? [{
366
+ label: "处置方案",
367
+ children: item.disposalPlan
368
+ }] : []), ...(item.disposalFile ? [{
369
+ label: "处置方案附件",
370
+ children: getFileSuffix(item.disposalFile) === "pdf" ? /*#__PURE__*/jsx(PreviewPdf, {
371
+ name: getFileName(item.disposalFile),
372
+ url: item.disposalFile
373
+ }) : /*#__PURE__*/jsxs(Space, {
374
+ children: [/*#__PURE__*/jsx("span", {
375
+ children: getFileName(item.disposalFile)
376
+ }), /*#__PURE__*/jsx(Button, {
377
+ type: "primary",
378
+ size: "small",
379
+ onClick: () => downloadFile(item.disposalFile),
380
+ children: "\u4E0B\u8F7D"
381
+ })]
382
+ })
383
+ }] : []), {
384
+ label: "是否更换整改负责人",
385
+ children: item.rectifyUserCO && Object.keys(item.rectifyUserCO).length > 0 ? "是" : "否"
386
+ }, ...(item.rectifyUserCO && Object.keys(item.rectifyUserCO).length > 0 ? [{
387
+ label: "整改负责人",
388
+ children: item.rectifyUserCO.userName
389
+ }] : [])] : []), {
390
+ label: "特殊处置审核状态",
391
+ children: /*#__PURE__*/jsxs(Fragment, {
392
+ children: [item.state === 1 && /*#__PURE__*/jsx("span", {
393
+ children: "\u5F85\u5BA1\u6838"
394
+ }), item.state === 2 && /*#__PURE__*/jsx("span", {
395
+ children: "\u5BA1\u6279\u4E2D"
396
+ }), item.state === 3 && /*#__PURE__*/jsx("span", {
397
+ children: "\u5DF2\u901A\u8FC7"
398
+ }), item.state === 4 && /*#__PURE__*/jsx("span", {
399
+ children: "\u5DF2\u62D2\u7EDD"
400
+ }), item.state === 5 && /*#__PURE__*/jsx("span", {
401
+ children: "\u5DF2\u64A4\u56DE"
402
+ })]
403
+ })
404
+ }]
405
+ }, item.id))]
406
+ }), info.hiddenRectifyUserCO && info.hiddenRectifyUserCO.length > 0 && /*#__PURE__*/jsxs(Fragment, {
407
+ children: [/*#__PURE__*/jsx(Divider, {
408
+ orientation: "left",
409
+ children: "\u6574\u6539\u4FE1\u606F"
410
+ }), info.hiddenRectifyUserCO.map((item, index) => /*#__PURE__*/jsx(Descriptions, {
411
+ bordered: true,
412
+ column: 1,
413
+ styles: {
414
+ label: {
415
+ width: 200
416
+ }
417
+ },
418
+ items: [...(item.deptName ? [{
419
+ label: `整改${info.isRelated === 1 ? "单位" : "部门"}`,
420
+ children: item.deptName
421
+ }] : []), ...(item.userName ? [{
422
+ label: "整改人",
423
+ children: item.userName
424
+ }] : []), ...(item.rectificationTime ? [{
425
+ label: "整改时间",
426
+ children: item.rectificationTime
427
+ }] : []), ...(item.descr ? [{
428
+ label: "整改描述",
429
+ children: item.descr
430
+ }] : []), ...(item.investmentFunds ? [{
431
+ label: "投入资金",
432
+ children: `${item.investmentFunds}元`
433
+ }] : []), ...(info.tempSafeMeasure ? [{
434
+ label: "临时安全措施",
435
+ children: info.tempSafeMeasure
436
+ }] : []), {
437
+ label: "整改后图片",
438
+ children: /*#__PURE__*/jsx(PreviewImg, {
439
+ files: afterRectificationImageFiles[index]
440
+ })
441
+ }, {
442
+ label: "整改方案",
443
+ children: /*#__PURE__*/jsxs(Fragment, {
444
+ children: [item.isRectificationScheme === 0 && /*#__PURE__*/jsx("span", {
445
+ children: "\u65E0"
446
+ }), item.isRectificationScheme === 1 && /*#__PURE__*/jsx("span", {
447
+ children: "\u6709"
448
+ })]
449
+ })
450
+ }, ...(item.isRectificationScheme === 1 && item.hiddenSchemeCO && Object.keys(item.hiddenSchemeCO).length > 0 ? [{
451
+ label: "治理标准",
452
+ children: item.hiddenSchemeCO.governStanDards
453
+ }, {
454
+ label: "治理方法",
455
+ children: item.hiddenSchemeCO.governMethod
456
+ }, {
457
+ label: "经费落实",
458
+ children: item.hiddenSchemeCO.expenditure
459
+ }, {
460
+ label: "负责人员",
461
+ children: item.hiddenSchemeCO.principal
462
+ }, {
463
+ label: "工时安排",
464
+ children: item.hiddenSchemeCO.programming
465
+ }, {
466
+ label: "时限要求",
467
+ children: item.hiddenSchemeCO.timeLimitFor
468
+ }, {
469
+ label: "工作要求",
470
+ children: item.hiddenSchemeCO.jobRequireMent
471
+ }, {
472
+ label: "其他事项",
473
+ children: item.hiddenSchemeCO.otherBusiness
474
+ }, {
475
+ label: "方案图片",
476
+ children: /*#__PURE__*/jsx(PreviewImg, {
477
+ files: rectificationPlanImageFiles[index]
478
+ })
479
+ }] : [])]
480
+ }, item.id))]
481
+ }), info.hiddenAcceptUserCO && info.hiddenAcceptUserCO.length > 0 ? info.isQualified === 1 ? /*#__PURE__*/jsxs(Fragment, {
482
+ children: [/*#__PURE__*/jsx(Divider, {
483
+ orientation: "left",
484
+ children: "\u9A8C\u6536\u4FE1\u606F"
485
+ }), info.hiddenAcceptUserCO.map((item, index) => /*#__PURE__*/jsx(Descriptions, {
486
+ bordered: true,
487
+ column: 1,
488
+ styles: {
489
+ label: {
490
+ width: 200
491
+ }
492
+ },
493
+ items: [{
494
+ label: "验收部门",
495
+ children: item.deptName
496
+ }, {
497
+ label: "验收人",
498
+ children: item.userName
499
+ }, {
500
+ label: "验收时间",
501
+ children: item.rectificationTime
502
+ }, ...(item.repulseCause ? [{
503
+ label: "验收打回意见",
504
+ children: item.repulseCause
505
+ }] : []), {
506
+ label: "是否合格",
507
+ children: item.rectificationTime ? "合格" : ""
508
+ }, ...(item.descr ? [{
509
+ label: "验收描述",
510
+ children: item.descr
511
+ }] : []), ...(acceptImageFiles[index] && acceptImageFiles[index].length > 0 ? [{
512
+ label: "验收图片",
513
+ children: /*#__PURE__*/jsx(PreviewImg, {
514
+ files: acceptImageFiles[index]
515
+ })
516
+ }] : [])]
517
+ }, item.id))]
518
+ }) : /*#__PURE__*/jsxs(Fragment, {
519
+ children: [/*#__PURE__*/jsx(Divider, {
520
+ orientation: "left",
521
+ children: "\u9A8C\u6536\u6253\u56DE\u4FE1\u606F"
522
+ }), info.hiddenAcceptUserCO.map(item => /*#__PURE__*/jsx(Descriptions, {
523
+ bordered: true,
524
+ column: 1,
525
+ styles: {
526
+ label: {
527
+ width: 200
528
+ }
529
+ },
530
+ items: [{
531
+ label: "验收部门",
532
+ children: item.deptName
533
+ }, {
534
+ label: "验收人",
535
+ children: item.userName
536
+ }, {
537
+ label: "验收时间",
538
+ children: item.rectificationTime
539
+ }, {
540
+ label: "验收打回意见",
541
+ children: item.repulseCause
542
+ }]
543
+ }, item.id))]
544
+ }) : null, info.hiddenInspecCO && Object.keys(info.hiddenInspecCO).length > 0 ? /*#__PURE__*/jsxs(Fragment, {
545
+ children: [/*#__PURE__*/jsx(Divider, {
546
+ orientation: "left",
547
+ children: "\u5B89\u5168\u73AF\u4FDD\u9A8C\u6536\u4FE1\u606F"
548
+ }), /*#__PURE__*/jsx(Descriptions, {
549
+ bordered: true,
550
+ column: 1,
551
+ styles: {
552
+ label: {
553
+ width: 200
554
+ }
555
+ },
556
+ items: [{
557
+ label: "验收人",
558
+ children: info.hiddenInspecCO.finalCheckOr
559
+ }, {
560
+ label: "验收时间",
561
+ children: info.hiddenInspecCO.finalCheckTime
562
+ }, {
563
+ label: "是否合格",
564
+ children: info.hiddenInspecCO.finalCheck === 1 ? "合格" : "不合格"
565
+ }, {
566
+ label: "验收描述",
567
+ children: info.hiddenInspecCO.finalCheckDesc
568
+ }, {
569
+ label: "验收图片",
570
+ children: /*#__PURE__*/jsx(PreviewImg, {
571
+ files: inspectionAcceptImageFiles
572
+ })
573
+ }]
574
+ })]
575
+ }) : null]
576
+ }), videoModalOpen && /*#__PURE__*/jsx(Video, {
577
+ visible: videoModalOpen,
578
+ source: hiddenVideoFiles[0].url,
579
+ onCancel: () => setVideoModalOpen(false),
580
+ title: "\u9690\u60A3\u89C6\u9891"
581
+ })]
582
+ });
514
583
  }
515
-
516
584
  HiddenInfo.displayName = "HiddenInfo";
517
585
 
518
- export default HiddenInfo;
586
+ export { HiddenInfo as default };