@zgfe/modules-settings 1.2.51-zhongyuan.1 → 1.2.51-zhongyuan.7
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/README.md +33 -33
- package/es/components/card/index.less +87 -87
- package/es/components/pageLoading/index.less +7 -7
- package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
- package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
- package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
- package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
- package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
- package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
- package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
- package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
- package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
- package/es/components/picCircleSelect/index.less +37 -37
- package/es/components/processCanvas/styles/customNode.less +149 -149
- package/es/components/processCanvas/styles/index.less +34 -34
- package/es/components/settingTabs/index.less +51 -51
- package/es/constants/api.d.ts +13 -0
- package/es/constants/api.js +18 -1
- package/es/constants/icons/demo.css +539 -539
- package/es/constants/icons/demo_index.html +9871 -9871
- package/es/constants/icons/iconfont.css +1699 -1699
- package/es/constants/icons/iconfont.json +2956 -2956
- package/es/global.d.ts +4 -4
- package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
- package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
- package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
- package/es/modules/companySetting/appList/index.less +126 -126
- package/es/modules/companySetting/application/index.less +126 -126
- package/es/modules/companySetting/business/index.less +92 -92
- package/es/modules/companySetting/cost/index.less +38 -38
- package/es/modules/companySetting/department/index.less +157 -157
- package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
- package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
- package/es/modules/companySetting/edit/styles/authModule.less +82 -82
- package/es/modules/companySetting/edit/styles/user.less +54 -54
- package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
- package/es/modules/companySetting/index.less +90 -90
- package/es/modules/companySetting/info/index.less +42 -42
- package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
- package/es/modules/companySetting/mainPart/index.less +239 -239
- package/es/modules/companySetting/operationLog/index.less +33 -33
- package/es/modules/companySetting/role/index.less +296 -296
- package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
- package/es/modules/companySetting/style/common.less +79 -79
- package/es/modules/companySetting/style/reset.less +117 -117
- package/es/modules/companySetting/user/index.js +173 -4
- package/es/modules/companySetting/user/index.less +11 -0
- package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
- package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
- package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
- package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
- package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
- package/es/modules/companySetting/wechatBinding/index.less +58 -58
- package/es/modules/createDemand/styles/index.less +277 -277
- package/es/modules/createDemand_bf/styles/index.less +222 -222
- package/es/modules/createProcess/components/index.less +52 -52
- package/es/modules/createProcess/index.less +114 -114
- package/es/modules/createProcess/title/index.less +53 -53
- package/es/modules/dealDemand/styles/index.less +265 -265
- package/es/modules/demandManage/styles/index.less +210 -210
- package/es/modules/getPassword/index.less +122 -122
- package/es/modules/messageList/index.less +81 -81
- package/es/modules/personalSetting/securityLog/index.less +11 -11
- package/es/modules/personalSetting/styles/unbinding.less +73 -73
- package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
- package/es/modules/pointMap/editTxt/index.less +55 -55
- package/es/modules/pointMap/styles/index.less +38 -38
- package/es/modules/pointMap/styles/pageInfo.less +244 -244
- package/es/modules/pointMap/styles/tree.css +142 -0
- package/es/modules/pointMap/styles/tree.less +29 -0
- package/es/modules/pointMap/tree.js +53 -4
- package/es/modules/systemSetting/Dictionary.d.ts +3 -0
- package/es/modules/systemSetting/Dictionary.js +383 -0
- package/es/modules/systemSetting/DictionaryType.d.ts +14 -0
- package/es/modules/systemSetting/DictionaryType.js +203 -0
- package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
- package/es/modules/systemSetting/approvalmanage/index.less +5 -5
- package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
- package/es/modules/systemSetting/authUrl.js +2 -2
- package/es/modules/systemSetting/document-setting/index.d.ts +3 -0
- package/es/modules/systemSetting/document-setting/index.js +467 -0
- package/es/modules/systemSetting/img/empty-data.png +0 -0
- package/es/modules/systemSetting/index.css +130 -0
- package/es/modules/systemSetting/index.js +13 -1
- package/es/modules/systemSetting/index.less +136 -0
- package/es/modules/systemSetting/notice/configItem/index.less +21 -21
- package/es/modules/systemSetting/notice/edit/index.less +26 -26
- package/es/types/companySetting.d.ts +1 -0
- package/package.json +6 -2
|
@@ -0,0 +1,142 @@
|
|
|
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
|
+
}
|
|
11
|
+
.setting-point-map-tree-select {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
height: 32px;
|
|
16
|
+
}
|
|
17
|
+
.setting-point-map-tree-select-box {
|
|
18
|
+
display: flex;
|
|
19
|
+
gap: 8px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
.setting-point-map-tree-select-box-txt {
|
|
23
|
+
margin-right: 8px;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
}
|
|
28
|
+
.setting-point-map-tree-select-box .transform180 {
|
|
29
|
+
display: inline-block;
|
|
30
|
+
transform: rotateX(180deg);
|
|
31
|
+
}
|
|
32
|
+
.setting-point-map-tree-search {
|
|
33
|
+
position: relative;
|
|
34
|
+
margin-top: 16px;
|
|
35
|
+
display: grid;
|
|
36
|
+
align-items: center;
|
|
37
|
+
grid-template-columns: 1fr 80px;
|
|
38
|
+
grid-gap: 16px;
|
|
39
|
+
}
|
|
40
|
+
.setting-point-map-tree-search .qrcode-img {
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
align-items: center;
|
|
44
|
+
width: 200px;
|
|
45
|
+
min-height: 200px;
|
|
46
|
+
padding: 20px;
|
|
47
|
+
}
|
|
48
|
+
.setting-point-map-tree-search .qrcode-img > div {
|
|
49
|
+
text-align: center;
|
|
50
|
+
}
|
|
51
|
+
.setting-point-map-tree-search .qrcode-img > div > :nth-child(2) {
|
|
52
|
+
color: #9aa1a9;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
}
|
|
55
|
+
.setting-point-map-tree-search .qrcode-img img {
|
|
56
|
+
width: 144px;
|
|
57
|
+
height: 144px;
|
|
58
|
+
margin-top: 10px;
|
|
59
|
+
}
|
|
60
|
+
.setting-point-map-tree-search .loading .ant-spin-nested-loading {
|
|
61
|
+
padding-top: 138px;
|
|
62
|
+
}
|
|
63
|
+
.setting-point-map-tree-search .ant-select-selector {
|
|
64
|
+
padding-left: 40px !important;
|
|
65
|
+
}
|
|
66
|
+
.setting-point-map-tree-search .ant-select-selection-search-input {
|
|
67
|
+
padding-left: 30px !important;
|
|
68
|
+
}
|
|
69
|
+
.setting-point-map-tree-search-popup .ant-select-item {
|
|
70
|
+
height: 32px !important;
|
|
71
|
+
padding: 4px 12px !important;
|
|
72
|
+
}
|
|
73
|
+
.setting-point-map-tree-search .sousuo {
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 6px;
|
|
76
|
+
left: 16px;
|
|
77
|
+
}
|
|
78
|
+
.setting-point-map-tree-tree {
|
|
79
|
+
display: flex;
|
|
80
|
+
flex: 1;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
margin: 16px 0 0;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
}
|
|
85
|
+
.setting-point-map-tree-tree .gengduocaozuo1 {
|
|
86
|
+
color: #354354;
|
|
87
|
+
}
|
|
88
|
+
.setting-point-map-tree-tree .gengduocaozuo1:hover {
|
|
89
|
+
color: #165dff;
|
|
90
|
+
}
|
|
91
|
+
.setting-point-map-tree-tree .ant-tree-switcher {
|
|
92
|
+
color: #354354;
|
|
93
|
+
}
|
|
94
|
+
.setting-point-map-tree-tree .ant-tree,
|
|
95
|
+
.setting-point-map-tree-tree .ant-tree-list,
|
|
96
|
+
.setting-point-map-tree-tree .ant-tree-list-holder {
|
|
97
|
+
height: 100%;
|
|
98
|
+
}
|
|
99
|
+
.setting-point-map-tree-tree .ant-tree-list-holder {
|
|
100
|
+
overflow-x: hidden;
|
|
101
|
+
overflow-y: auto;
|
|
102
|
+
}
|
|
103
|
+
.setting-point-map-tree-tree .ant-tree-node-content-wrapper {
|
|
104
|
+
width: calc(100% - 200px);
|
|
105
|
+
}
|
|
106
|
+
.setting-point-map-tree-tree .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
|
107
|
+
background-color: #e8efff;
|
|
108
|
+
}
|
|
109
|
+
.setting-point-map-tree-tree .ant-tree-switcher {
|
|
110
|
+
line-height: 32px;
|
|
111
|
+
}
|
|
112
|
+
.setting-point-map-tree-tree-item {
|
|
113
|
+
display: flex;
|
|
114
|
+
flex: 1 0;
|
|
115
|
+
gap: 10px;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
height: 32px;
|
|
119
|
+
padding: 0px 4px;
|
|
120
|
+
border-radius: 4px;
|
|
121
|
+
}
|
|
122
|
+
.setting-point-map-tree-tree-item-title {
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
}
|
|
127
|
+
.setting-point-map-tree-tree .ant-tree-title {
|
|
128
|
+
display: block;
|
|
129
|
+
}
|
|
130
|
+
.setting-point-map-tree-empty {
|
|
131
|
+
display: flex;
|
|
132
|
+
flex: 1;
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
}
|
|
137
|
+
.setting-point-map-tree-empty .ant-empty-normal {
|
|
138
|
+
margin: 16px 0;
|
|
139
|
+
}
|
|
140
|
+
.setting-point-map-tree-empty .zengjia:before {
|
|
141
|
+
margin-right: 8px;
|
|
142
|
+
}
|
|
@@ -30,7 +30,36 @@
|
|
|
30
30
|
}
|
|
31
31
|
&-search {
|
|
32
32
|
position: relative;
|
|
33
|
+
display: grid;
|
|
34
|
+
grid-gap: 16px;
|
|
35
|
+
grid-template-columns: 1fr 80px;
|
|
36
|
+
align-items: center;
|
|
33
37
|
margin-top: 16px;
|
|
38
|
+
.qrcode-img {
|
|
39
|
+
display: inline-flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: center;
|
|
42
|
+
width: 200px;
|
|
43
|
+
min-height: 200px;
|
|
44
|
+
padding: 20px;
|
|
45
|
+
> div {
|
|
46
|
+
text-align: center;
|
|
47
|
+
> :nth-child(2) {
|
|
48
|
+
color: #9aa1a9;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
img {
|
|
53
|
+
width: 144px;
|
|
54
|
+
height: 144px;
|
|
55
|
+
margin-top: 10px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.loading {
|
|
59
|
+
.ant-spin-nested-loading {
|
|
60
|
+
padding-top: 138px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
34
63
|
.ant-select-selector {
|
|
35
64
|
padding-left: 40px !important;
|
|
36
65
|
}
|
|
@@ -15,7 +15,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
15
15
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
16
16
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17
17
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
18
|
-
import { Button, Dropdown, Empty, Input, message, Modal, Select, Tree } from 'antd';
|
|
18
|
+
import { Button, Dropdown, Empty, Input, message, Modal, Select, Tree, Popover, Spin } from 'antd';
|
|
19
19
|
import { QuestionCircleOutlined } from '@ant-design/icons';
|
|
20
20
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
21
21
|
import './styles/tree.less';
|
|
@@ -23,7 +23,6 @@ import { BizDialog, BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
|
23
23
|
import request from '../../utils/ajax';
|
|
24
24
|
import apis from '../../constants/api';
|
|
25
25
|
import ImportModel from './ImportModal';
|
|
26
|
-
var Search = Input.Search;
|
|
27
26
|
var classPrefix = 'setting-point-map-tree';
|
|
28
27
|
var formatTreeData = function formatTreeData(list, storey) {
|
|
29
28
|
var listTemp = JSON.parse(JSON.stringify(list));
|
|
@@ -473,6 +472,37 @@ var pointMap = function pointMap(props) {
|
|
|
473
472
|
var downloadHelpFile = function downloadHelpFile() {
|
|
474
473
|
window.open("/\u63A8\u8350\u57CB\u70B9\u65B9\u6848.xlsx");
|
|
475
474
|
};
|
|
475
|
+
// 分享看板二维码
|
|
476
|
+
var _useState35 = useState(''),
|
|
477
|
+
_useState36 = _slicedToArray(_useState35, 2),
|
|
478
|
+
qrCodeShare = _useState36[0],
|
|
479
|
+
setqrCodeShare = _useState36[1];
|
|
480
|
+
// 分享看板二维码-显示控制
|
|
481
|
+
var _useState37 = useState(false),
|
|
482
|
+
_useState38 = _slicedToArray(_useState37, 2),
|
|
483
|
+
qrCodeShareShow = _useState38[0],
|
|
484
|
+
setqrCodeShareShow = _useState38[1];
|
|
485
|
+
// 二维码加载中
|
|
486
|
+
var _useState39 = useState(false),
|
|
487
|
+
_useState40 = _slicedToArray(_useState39, 2),
|
|
488
|
+
qrCodeLoading = _useState40[0],
|
|
489
|
+
setQrCodeLoading = _useState40[1];
|
|
490
|
+
var onOpenChangeShare = function onOpenChangeShare(open) {
|
|
491
|
+
setqrCodeShareShow(open);
|
|
492
|
+
if (qrCodeShare === '') {
|
|
493
|
+
setQrCodeLoading(true);
|
|
494
|
+
request(apis.sharePanel, {
|
|
495
|
+
method: 'post',
|
|
496
|
+
data: {
|
|
497
|
+
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
498
|
+
platform: (currentApp === null || currentApp === void 0 ? void 0 : currentApp.platform) || 0
|
|
499
|
+
}
|
|
500
|
+
}).then(function (res) {
|
|
501
|
+
setqrCodeShare("data:image/png;base64,".concat(res.data));
|
|
502
|
+
setQrCodeLoading(false);
|
|
503
|
+
}).catch(function () {});
|
|
504
|
+
}
|
|
505
|
+
};
|
|
476
506
|
return /*#__PURE__*/React.createElement("div", {
|
|
477
507
|
className: classPrefix
|
|
478
508
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -546,7 +576,7 @@ var pointMap = function pointMap(props) {
|
|
|
546
576
|
type: "xiazai1"
|
|
547
577
|
}), "\u5BFC\u5165\u9875\u9762")), /*#__PURE__*/React.createElement("div", {
|
|
548
578
|
className: "".concat(classPrefix, "-search")
|
|
549
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
579
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Select, {
|
|
550
580
|
value: value,
|
|
551
581
|
placeholder: "\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0\u641C\u7D22",
|
|
552
582
|
// searchValue={value}
|
|
@@ -565,7 +595,26 @@ var pointMap = function pointMap(props) {
|
|
|
565
595
|
popupClassName: "".concat(classPrefix, "-search-popup")
|
|
566
596
|
}), /*#__PURE__*/React.createElement(IconFont, {
|
|
567
597
|
type: "sousuo"
|
|
568
|
-
})), /*#__PURE__*/React.createElement(
|
|
598
|
+
})), /*#__PURE__*/React.createElement(Popover, {
|
|
599
|
+
open: qrCodeShareShow,
|
|
600
|
+
content: /*#__PURE__*/React.createElement("div", {
|
|
601
|
+
className: "".concat(qrCodeLoading ? 'loading' : '', " qrcode-img")
|
|
602
|
+
}, /*#__PURE__*/React.createElement("div", null, "\u624B\u673A\u626B\u7801\u5206\u4EAB\u5F53\u524D\u770B\u677F"), /*#__PURE__*/React.createElement(Spin, {
|
|
603
|
+
spinning: qrCodeLoading
|
|
604
|
+
}, qrCodeShare && /*#__PURE__*/React.createElement("img", {
|
|
605
|
+
src: qrCodeShare
|
|
606
|
+
}))),
|
|
607
|
+
trigger: "hover",
|
|
608
|
+
placement: "bottom",
|
|
609
|
+
onOpenChange: onOpenChangeShare,
|
|
610
|
+
getPopupContainer: function getPopupContainer() {
|
|
611
|
+
return document.getElementById('share-qrcode-box');
|
|
612
|
+
}
|
|
613
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
614
|
+
id: "share-qrcode-box"
|
|
615
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
616
|
+
type: "daochu"
|
|
617
|
+
}), "\u5206\u4EAB\u770B\u677F"))), /*#__PURE__*/React.createElement("div", {
|
|
569
618
|
className: "".concat(classPrefix, "-tree")
|
|
570
619
|
}, treeData && treeData.length ? /*#__PURE__*/React.createElement(Tree, {
|
|
571
620
|
ref: treeRef,
|