@zgfe/modules-settings 2.1.0-zhongyuan.9 → 3.0.0-zhongyuan-set.0

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 (37) hide show
  1. package/es/constants/api.d.ts +2 -0
  2. package/es/constants/api.js +5 -1
  3. package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
  4. package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
  5. package/es/modules/companySetting/application/applicationForm.js +34 -4
  6. package/es/modules/companySetting/application/index.js +7 -8
  7. package/es/modules/companySetting/application/index.less +144 -144
  8. package/es/modules/companySetting/index.js +37 -33
  9. package/es/modules/companySetting/operationLog/index.js +22 -5
  10. package/es/modules/companySetting/role/index.less +296 -296
  11. package/es/modules/companySetting/user/index.js +41 -27
  12. package/es/modules/companySetting/user/invite.js +28 -100
  13. package/es/modules/createDemand/demo/selectPoint.js +1 -2
  14. package/es/modules/createDemand/index.js +9 -8
  15. package/es/modules/createDemand/styles/index.less +403 -403
  16. package/es/modules/createDemand_bf/demo/index.js +0 -1
  17. package/es/modules/createDemand_bf/index.js +0 -1
  18. package/es/modules/dealDemand/demo/index.js +0 -1
  19. package/es/modules/dealDemand/demo/selectPoint.js +1 -1
  20. package/es/modules/dealDemand/index.js +0 -2
  21. package/es/modules/demandManage/index.js +2 -2
  22. package/es/modules/demandManage/styles/index.less +155 -155
  23. package/es/modules/personalSetting/securityLog/index.js +1 -1
  24. package/es/modules/pointMap/createMetaDrawer.js +162 -71
  25. package/es/modules/pointMap/index.js +3 -1
  26. package/es/modules/pointMap/pageInfo.js +17 -10
  27. package/es/modules/pointMap/styles/index.less +165 -165
  28. package/es/modules/pointMap/styles/tree.css +164 -145
  29. package/es/modules/pointMap/styles/tree.less +174 -156
  30. package/es/modules/pointMap/tree.js +133 -82
  31. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +4 -3
  32. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -48
  33. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +9 -5
  34. package/es/modules/systemSetting/document-setting/index.js +7 -6
  35. package/es/modules/systemSetting/index.js +13 -15
  36. package/es/modules/systemSetting/index.less +175 -169
  37. package/package.json +3 -3
@@ -1,156 +1,174 @@
1
- .setting-point-map-tree {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- height: 100%;
6
- padding: 16px 24px;
7
- overflow: hidden;
8
- background-color: #fff;
9
- border-radius: 8px;
10
- &-select {
11
- display: flex;
12
- flex-direction: row;
13
- justify-content: space-between;
14
- height: 32px;
15
- &-box {
16
- &-txt {
17
- margin-right: 8px;
18
- overflow: hidden;
19
- white-space: nowrap;
20
- text-overflow: ellipsis;
21
- }
22
- display: flex;
23
- gap: 8px;
24
- align-items: center;
25
- .transform180 {
26
- display: inline-block;
27
- transform: rotateX(180deg);
28
- }
29
- }
30
- }
31
- &-search {
32
- position: relative;
33
- display: grid;
34
- grid-gap: 16px;
35
- grid-template-columns: 88px 1fr 20px;
36
- align-items: center;
37
- margin-top: 16px;
38
- &-selectType {
39
- width: 100px;
40
- }
41
- .qrcode-img {
42
- display: inline-flex;
43
- flex-direction: column;
44
- align-items: center;
45
- width: 200px;
46
- height: 200px;
47
- padding: 20px;
48
- > div {
49
- text-align: center;
50
- > :nth-child(2) {
51
- color: #9aa1a9;
52
- font-size: 12px;
53
- }
54
- }
55
- img {
56
- width: 144px;
57
- height: 144px;
58
- margin-top: 10px;
59
- }
60
- }
61
- .ant-popover-placement-bottom .ant-popover-arrow {
62
- left: 84%;
63
- }
64
- .loading {
65
- .ant-spin-nested-loading {
66
- padding-top: 138px;
67
- }
68
- }
69
- // .ant-select-selector {
70
- // padding-left: 40px !important;
71
- // }
72
- // .ant-select-selection-search-input {
73
- // padding-left: 30px !important;
74
- // }
75
- &-popup {
76
- .ant-select-item {
77
- height: 32px !important;
78
- padding: 4px 12px !important;
79
- }
80
- }
81
- .sousuo {
82
- position: absolute;
83
- top: 6px;
84
- left: 16px;
85
- display: none;
86
- }
87
- }
88
- &-tree {
89
- display: flex;
90
- flex: 1;
91
- flex-direction: column;
92
- margin: 16px 0 0;
93
- overflow: hidden;
94
- .gengduocaozuo1 {
95
- color: #354354;
96
- }
97
- .gengduocaozuo1:hover {
98
- color: #165dff;
99
- }
100
- .ant-tree-switcher {
101
- color: #354354;
102
- }
103
- .ant-tree,
104
- .ant-tree-list,
105
- .ant-tree-list-holder {
106
- height: 100%;
107
- }
108
- .ant-tree-list-holder {
109
- overflow-x: hidden;
110
- overflow-y: auto;
111
- }
112
- .ant-tree-node-content-wrapper {
113
- width: calc(100% - 200px);
114
- }
115
- .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
116
- background-color: #e8efff;
117
- }
118
- .ant-tree-switcher {
119
- line-height: 32px;
120
- }
121
- &-item {
122
- display: flex;
123
- flex: 1 0;
124
- gap: 10px;
125
- align-items: center;
126
- justify-content: space-between;
127
- height: 32px;
128
- padding: 0px 4px;
129
- border-radius: 4px;
130
- &-title {
131
- overflow: hidden;
132
- white-space: nowrap;
133
- text-overflow: ellipsis;
134
- &-name {
135
- margin-right: 10px;
136
- }
137
- }
138
- }
139
- .ant-tree-title {
140
- display: block;
141
- }
142
- }
143
- &-empty {
144
- display: flex;
145
- flex: 1;
146
- flex-direction: column;
147
- align-items: center;
148
- justify-content: center;
149
- .ant-empty-normal {
150
- margin: 16px 0;
151
- }
152
- .zengjia:before {
153
- margin-right: 8px;
154
- }
155
- }
156
- }
1
+ .setting-point-map-tree {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ height: 100%;
6
+ padding: 16px 24px;
7
+ overflow: hidden;
8
+ background-color: #fff;
9
+ border-radius: 8px;
10
+ &-select {
11
+ display: flex;
12
+ flex-direction: row;
13
+ justify-content: space-between;
14
+ height: 32px;
15
+ &-box {
16
+ &-txt {
17
+ margin-right: 8px;
18
+ overflow: hidden;
19
+ white-space: nowrap;
20
+ text-overflow: ellipsis;
21
+ }
22
+ display: flex;
23
+ gap: 8px;
24
+ align-items: center;
25
+ .transform180 {
26
+ display: inline-block;
27
+ transform: rotateX(180deg);
28
+ }
29
+ }
30
+ }
31
+ &-search {
32
+ position: relative;
33
+ display: grid;
34
+ grid-gap: 16px;
35
+ grid-template-columns: 88px 1fr 20px;
36
+ align-items: center;
37
+ margin-top: 16px;
38
+ &-selectType {
39
+ width: 100px;
40
+ }
41
+ .qrcode-img {
42
+ display: inline-flex;
43
+ flex-direction: column;
44
+ align-items: center;
45
+ width: 200px;
46
+ height: 240px;
47
+ padding: 20px;
48
+ > div {
49
+ text-align: center;
50
+ > :nth-child(2) {
51
+ color: #9aa1a9;
52
+ font-size: 12px;
53
+ }
54
+ }
55
+ img {
56
+ width: 144px;
57
+ height: 144px;
58
+ margin-top: 10px;
59
+ }
60
+ }
61
+ .ant-popover-placement-bottom .ant-popover-arrow {
62
+ left: 84%;
63
+ }
64
+ .loading {
65
+ .ant-spin-nested-loading {
66
+ padding-top: 138px;
67
+ }
68
+ }
69
+ // .ant-select-selector {
70
+ // padding-left: 40px !important;
71
+ // }
72
+ // .ant-select-selection-search-input {
73
+ // padding-left: 30px !important;
74
+ // }
75
+ &-popup {
76
+ .ant-select-item {
77
+ height: 32px !important;
78
+ padding: 4px 12px !important;
79
+ }
80
+ }
81
+ .sousuo {
82
+ position: absolute;
83
+ top: 6px;
84
+ left: 16px;
85
+ display: none;
86
+ }
87
+ }
88
+ &-tree {
89
+ display: flex;
90
+ flex: 1;
91
+ flex-direction: column;
92
+ margin: 16px 0 0;
93
+ overflow: hidden;
94
+ .gengduocaozuo1 {
95
+ color: #354354;
96
+ transform: translateY(4px);
97
+ }
98
+ .gengduocaozuo1:hover {
99
+ color: #165dff;
100
+ }
101
+ .ant-tree-switcher {
102
+ color: #354354;
103
+ }
104
+ .ant-tree,
105
+ .ant-tree-list,
106
+ .ant-tree-list-holder {
107
+ height: 100%;
108
+ }
109
+ .ant-tree-list-holder {
110
+ overflow-x: hidden;
111
+ overflow-y: auto;
112
+ }
113
+ .ant-tree-node-content-wrapper {
114
+ width: calc(100% - 200px);
115
+ }
116
+ .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
117
+ background-color: #e8efff;
118
+ }
119
+ .ant-tree-switcher {
120
+ line-height: 32px;
121
+ }
122
+ &-item {
123
+ display: flex;
124
+ flex: 1 0;
125
+ gap: 10px;
126
+ align-items: center;
127
+ justify-content: space-between;
128
+ height: 32px;
129
+ padding: 0px 4px;
130
+ border-radius: 4px;
131
+ &-title {
132
+ overflow: hidden;
133
+ white-space: nowrap;
134
+ text-overflow: ellipsis;
135
+ &-name {
136
+ margin-right: 10px;
137
+ }
138
+ }
139
+ &-iconList {
140
+ position: absolute;
141
+ top: 0;
142
+ right: 0;
143
+ bottom: 0;
144
+ display: none;
145
+ justify-content: space-around;
146
+ width: 85px;
147
+ font-size: 16px;
148
+ background: #ffffff;
149
+ .anticon:hover {
150
+ color: #165dff;
151
+ }
152
+ }
153
+ &:hover &-iconList {
154
+ display: flex;
155
+ }
156
+ }
157
+ .ant-tree-title {
158
+ display: block;
159
+ }
160
+ }
161
+ &-empty {
162
+ display: flex;
163
+ flex: 1;
164
+ flex-direction: column;
165
+ align-items: center;
166
+ justify-content: center;
167
+ .ant-empty-normal {
168
+ margin: 16px 0;
169
+ }
170
+ .zengjia:before {
171
+ margin-right: 8px;
172
+ }
173
+ }
174
+ }
@@ -16,7 +16,7 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
16
16
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
17
17
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
18
18
  import { Button, Dropdown, Empty, Input, message, Modal, Select, Tree, Popover, Spin, Tag, Checkbox } from 'antd';
19
- import { QuestionCircleOutlined, EnvironmentOutlined } from '@ant-design/icons';
19
+ import { QuestionCircleOutlined, EnvironmentOutlined, PlusCircleOutlined, MinusCircleOutlined, EditOutlined } from '@ant-design/icons';
20
20
  import React, { useContext, useEffect, useRef, useState } from 'react';
21
21
  import './styles/tree.less';
22
22
  import { BizDialog, BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
@@ -45,6 +45,7 @@ var formatTreeData = function formatTreeData(list, storey) {
45
45
  }
46
46
  return listTemp;
47
47
  }
48
+ return [];
48
49
  };
49
50
  var formatTreeArr = function formatTreeArr(list, arrTemp, parentName) {
50
51
  var listTemp = JSON.parse(JSON.stringify(list));
@@ -73,6 +74,7 @@ var formatTreeArr = function formatTreeArr(list, arrTemp, parentName) {
73
74
  }
74
75
  return arrTemp;
75
76
  }
77
+ return [];
76
78
  };
77
79
  var pageNum = 1;
78
80
  var pointMap = function pointMap(props) {
@@ -100,7 +102,8 @@ var pointMap = function pointMap(props) {
100
102
  var _useContext = useContext(BizGlobalDataContext),
101
103
  currentApp = _useContext.currentApp,
102
104
  route = _useContext.route,
103
- authority = _useContext.authority;
105
+ authority = _useContext.authority,
106
+ showProdDownload = _useContext.showProdDownload;
104
107
  var _useState11 = useState([]),
105
108
  _useState12 = _slicedToArray(_useState11, 2),
106
109
  pointVersionList = _useState12[0],
@@ -193,6 +196,7 @@ var pointMap = function pointMap(props) {
193
196
  });
194
197
  };
195
198
  var getPointTree = function getPointTree() {
199
+ var fn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () {};
196
200
  request(apis.getPointTree, {
197
201
  method: 'post',
198
202
  data: {
@@ -201,7 +205,7 @@ var pointMap = function pointMap(props) {
201
205
  }
202
206
  }).then(function (res) {
203
207
  if (res && res.code === '100000') {
204
- pageNum = ((res === null || res === void 0 ? void 0 : res.data.length) || 0) + 1;
208
+ pageNum = (res.data ? res.data.length : 0) + 1;
205
209
  setTreeData(formatTreeData((res === null || res === void 0 ? void 0 : res.data) || []));
206
210
  setTreeArr(formatTreeArr((res === null || res === void 0 ? void 0 : res.data) || [], [], '') || []);
207
211
  if (!selectedKeys) {
@@ -213,6 +217,7 @@ var pointMap = function pointMap(props) {
213
217
  // props.onChangePage(res?.data ? { ...res?.data[0], currentPointVersion } : undefined);
214
218
  }
215
219
  setChangeNameId(undefined);
220
+ fn();
216
221
  }
217
222
  }).catch(function (err) {
218
223
  console.log(err);
@@ -227,11 +232,12 @@ var pointMap = function pointMap(props) {
227
232
  appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId
228
233
  }
229
234
  }).then(function (res) {
230
- if (res.code == 100000) {
235
+ if (res && res.code == 100000) {
231
236
  setPointList(res.data.map(function (res) {
232
237
  return {
233
238
  label: res.labelName,
234
- value: res.id
239
+ value: res.id,
240
+ labelType: 1
235
241
  };
236
242
  }));
237
243
  }
@@ -367,9 +373,7 @@ var pointMap = function pointMap(props) {
367
373
  }
368
374
  };
369
375
  var titleRender = function titleRender(nodeData) {
370
- var onItemClick = function onItemClick(_ref) {
371
- var key = _ref.key;
372
- console.log(key, 'key');
376
+ var onItemClick = function onItemClick(key) {
373
377
  switch (key) {
374
378
  case '0':
375
379
  if (nodeData.storey >= 20) {
@@ -402,16 +406,83 @@ var pointMap = function pointMap(props) {
402
406
  };
403
407
  //位置标签list
404
408
  var color = ['magenta', 'red', 'volcano', 'orange', 'gold', 'lime', 'green', 'cyan', 'blue', 'geekblue', 'purple'];
405
- var pointContent = /*#__PURE__*/React.createElement(React.Fragment, null, nodeData.labels.map(function (res, index) {
409
+ var pointContent = /*#__PURE__*/React.createElement(React.Fragment, null, nodeData.labels && nodeData.labels.map(function (res, index) {
406
410
  return /*#__PURE__*/React.createElement(Tag, {
407
411
  key: index,
408
412
  color: color[index]
409
413
  }, res.labelName);
410
414
  }));
411
- var pointIds = nodeData.labels.map(function (res) {
415
+ var pointIds = nodeData.labels && nodeData.labels.map(function (res) {
412
416
  return res.id;
413
- });
414
- return /*#__PURE__*/React.createElement("div", {
417
+ }) || [];
418
+ var menu = {
419
+ items: [{
420
+ label: '添加子页面',
421
+ icon: /*#__PURE__*/React.createElement(IconFont, {
422
+ type: "tianjia3"
423
+ }),
424
+ key: '0'
425
+ }, {
426
+ label: '上方添加页面',
427
+ icon: /*#__PURE__*/React.createElement(IconFont, {
428
+ type: "shangfangtianjia"
429
+ }),
430
+ key: '1'
431
+ }, {
432
+ label: '下方添加页面',
433
+ icon: /*#__PURE__*/React.createElement(IconFont, {
434
+ type: "xiafangtianjia"
435
+ }),
436
+ key: '2'
437
+ }, {
438
+ label: '选择位置标签',
439
+ icon: /*#__PURE__*/React.createElement(EnvironmentOutlined, null),
440
+ key: '5',
441
+ children: pointList.map(function (res) {
442
+ return {
443
+ key: '5' + res.value,
444
+ label: (/*#__PURE__*/React.createElement(Checkbox, {
445
+ defaultChecked: pointIds.indexOf(res.value) != -1,
446
+ onChange: function onChange(e) {
447
+ onChangeTag(e, nodeData, res);
448
+ },
449
+ onClick: function onClick(e) {
450
+ e.stopPropagation();
451
+ }
452
+ }, res.label)),
453
+ disabled: true
454
+ };
455
+ })
456
+ }, {
457
+ type: 'divider'
458
+ }, {
459
+ label: '重命名',
460
+ icon: /*#__PURE__*/React.createElement(IconFont, {
461
+ type: "bianji1"
462
+ }),
463
+ key: '3'
464
+ }, {
465
+ type: 'divider'
466
+ }, {
467
+ label: '删除',
468
+ icon: /*#__PURE__*/React.createElement(IconFont, {
469
+ type: "shanchu2"
470
+ }),
471
+ key: '4'
472
+ }],
473
+ onClick: function onClick(item) {
474
+ item.domEvent.stopPropagation();
475
+ onItemClick(item.key);
476
+ }
477
+ };
478
+ return /*#__PURE__*/React.createElement(Dropdown, {
479
+ disabled: !authority[1724922805],
480
+ menu: menu,
481
+ overlayStyle: {
482
+ width: 156
483
+ },
484
+ trigger: ['contextMenu']
485
+ }, /*#__PURE__*/React.createElement("div", {
415
486
  className: "".concat(classPrefix, "-tree-item")
416
487
  }, changeNameId === nodeData.id ? (/*#__PURE__*/React.createElement(Input, {
417
488
  style: {
@@ -461,90 +532,66 @@ var pointMap = function pointMap(props) {
461
532
  placement: "topLeft",
462
533
  title: "\u4F4D\u7F6E\u6807\u7B7E",
463
534
  content: pointContent
464
- }, pointContent)))), /*#__PURE__*/React.createElement(Dropdown, {
535
+ }, pointContent)))), /*#__PURE__*/React.createElement("div", {
536
+ className: "".concat(classPrefix, "-tree-item-iconList")
537
+ }, /*#__PURE__*/React.createElement(EditOutlined, {
538
+ onClick: function onClick(e) {
539
+ e.stopPropagation();
540
+ onItemClick('3');
541
+ }
542
+ }), /*#__PURE__*/React.createElement(MinusCircleOutlined, {
543
+ onClick: function onClick(e) {
544
+ e.stopPropagation();
545
+ onItemClick('4');
546
+ }
547
+ }), /*#__PURE__*/React.createElement(PlusCircleOutlined, {
548
+ onClick: function onClick(e) {
549
+ e.stopPropagation();
550
+ onItemClick('2');
551
+ }
552
+ }), /*#__PURE__*/React.createElement(Dropdown, {
465
553
  disabled: !authority[1724922805],
466
- placement: 'bottomRight',
467
- menu: {
468
- items: [{
469
- label: '添加子页面',
470
- icon: /*#__PURE__*/React.createElement(IconFont, {
471
- type: "tianjia3"
472
- }),
473
- key: '0'
474
- }, {
475
- label: '上方添加页面',
476
- icon: /*#__PURE__*/React.createElement(IconFont, {
477
- type: "shangfangtianjia"
478
- }),
479
- key: '1'
480
- }, {
481
- label: '下方添加页面',
482
- icon: /*#__PURE__*/React.createElement(IconFont, {
483
- type: "xiafangtianjia"
484
- }),
485
- key: '2'
486
- }, {
487
- label: '选择位置标签',
488
- icon: /*#__PURE__*/React.createElement(EnvironmentOutlined, null),
489
- key: '5',
490
- children: pointList.map(function (res) {
491
- return {
492
- key: '5' + res.value,
493
- label: (/*#__PURE__*/React.createElement(Checkbox, {
494
- defaultChecked: pointIds.indexOf(res.value) != -1,
495
- onChange: function onChange(e) {
496
- onChangeTag(e, nodeData.id, res.value);
497
- }
498
- }, res.label)),
499
- disabled: true
500
- };
501
- })
502
- }, {
503
- type: 'divider'
504
- }, {
505
- label: '重命名',
506
- icon: /*#__PURE__*/React.createElement(IconFont, {
507
- type: "bianji1"
508
- }),
509
- key: '3'
510
- }, {
511
- type: 'divider'
512
- }, {
513
- label: '删除',
514
- icon: /*#__PURE__*/React.createElement(IconFont, {
515
- type: "shanchu2"
516
- }),
517
- key: '4'
518
- }],
519
- onClick: onItemClick
520
- },
554
+ menu: menu,
521
555
  overlayStyle: {
522
556
  width: 156
523
557
  },
524
558
  trigger: ['click']
525
559
  }, /*#__PURE__*/React.createElement(IconFont, {
560
+ type: "gengduocaozuo1",
526
561
  onClick: function onClick(e) {
527
562
  e.stopPropagation();
528
- },
529
- type: "gengduocaozuo1"
530
- })));
563
+ }
564
+ })))));
531
565
  };
532
- var onChangeTag = function onChangeTag(e, nodeId, value) {
533
- labelRelation(e.target.checked, nodeId, value);
566
+ var onChangeTag = function onChangeTag(e, node, option) {
567
+ labelRelation(e.target.checked, node, option);
534
568
  };
535
569
  //绑定和解绑标签
536
- var labelRelation = function labelRelation(checked, nodeId, tagId) {
570
+ var labelRelation = function labelRelation(checked, node, option) {
537
571
  request(checked ? apis.dict.addLabelRelation : apis.dict.delLabelRelation, {
538
572
  method: 'post',
539
573
  data: {
540
- id: tagId,
574
+ id: option.value,
541
575
  appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
542
576
  labelType: 1,
543
- eventId: nodeId
577
+ eventId: node.id
544
578
  }
545
579
  }).then(function (res) {
546
580
  if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
547
- getPointTree();
581
+ getPointTree(function () {
582
+ var labels = node.labels;
583
+ if (checked) {
584
+ labels.push(option);
585
+ } else {
586
+ labels = labels.filter(function (res) {
587
+ return res.id != option.value;
588
+ });
589
+ }
590
+ node.labels = labels;
591
+ props.onChangePage(_objectSpread(_objectSpread({}, node), {}, {
592
+ currentPointVersion: currentPointVersion
593
+ }));
594
+ });
548
595
  }
549
596
  });
550
597
  };
@@ -607,8 +654,8 @@ var pointMap = function pointMap(props) {
607
654
  key: item
608
655
  };
609
656
  }),
610
- onClick: function onClick(_ref2) {
611
- var key = _ref2.key;
657
+ onClick: function onClick(_ref) {
658
+ var key = _ref.key;
612
659
  setIsOpen(false);
613
660
  setValue('');
614
661
  setSelectedKeys(undefined);
@@ -647,7 +694,7 @@ var pointMap = function pointMap(props) {
647
694
  })))), /*#__PURE__*/React.createElement("a", {
648
695
  className: "".concat(classPrefix, "-select-box"),
649
696
  onClick: downloadHelpFile
650
- }, /*#__PURE__*/React.createElement(QuestionCircleOutlined, null), "\u5E2E\u52A9"), /*#__PURE__*/React.createElement("a", {
697
+ }, /*#__PURE__*/React.createElement(QuestionCircleOutlined, null), "\u5E2E\u52A9"), showProdDownload && (/*#__PURE__*/React.createElement("a", {
651
698
  className: "".concat(classPrefix, "-select-box"),
652
699
  onClick: function onClick() {
653
700
  if (!authority[1724922774]) {
@@ -658,7 +705,7 @@ var pointMap = function pointMap(props) {
658
705
  }
659
706
  }, /*#__PURE__*/React.createElement(IconFont, {
660
707
  type: "xiazai1"
661
- }), "\u5BFC\u5165\u9875\u9762")), /*#__PURE__*/React.createElement("div", {
708
+ }), "\u5BFC\u5165\u9875\u9762"))), /*#__PURE__*/React.createElement("div", {
662
709
  className: "".concat(classPrefix, "-search")
663
710
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Select, {
664
711
  className: "".concat(classPrefix, "-search-selectType"),
@@ -698,7 +745,11 @@ var pointMap = function pointMap(props) {
698
745
  open: qrCodeShareShow,
699
746
  content: /*#__PURE__*/React.createElement("div", {
700
747
  className: "".concat(qrCodeLoading ? 'loading' : '', " qrcode-img")
701
- }, /*#__PURE__*/React.createElement("div", null, "\u624B\u673A\u626B\u7801\u67E5\u770B\u57CB\u70B9\u5730\u56FE"), /*#__PURE__*/React.createElement(Spin, {
748
+ }, /*#__PURE__*/React.createElement("div", {
749
+ style: {
750
+ fontSize: '14px'
751
+ }
752
+ }, "\u624B\u673A\u626B\u7801\u67E5\u770B\u81EA\u5B9A\u4E49\u57CB\u70B9\u5730\u56FE"), /*#__PURE__*/React.createElement(Spin, {
702
753
  spinning: qrCodeLoading
703
754
  }, qrCodeShare && /*#__PURE__*/React.createElement("img", {
704
755
  src: qrCodeShare