@zgfe/modules-settings 1.2.51-zhongyuan.1 → 1.2.51-zhongyuan.8
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/demo/index.js +6 -6
- package/es/components/card/index.js +6 -6
- 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/demo/index.js +5 -5
- package/es/components/picCircleSelect/index.js +7 -8
- package/es/components/picCircleSelect/index.less +37 -37
- package/es/components/processCanvas/customNode/node_point.js +4 -4
- package/es/components/processCanvas/demo/index.js +5 -6
- package/es/components/processCanvas/index.js +11 -11
- package/es/components/processCanvas/styles/customNode.less +149 -149
- package/es/components/processCanvas/styles/index.less +34 -34
- package/es/components/processCanvas/toolbar.js +5 -5
- package/es/components/selectAppWrapper/index.js +14 -15
- package/es/components/settingTabs/index.js +5 -5
- package/es/components/settingTabs/index.less +51 -51
- package/es/constants/api.d.ts +13 -0
- package/es/constants/api.js +18 -2
- 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/appInfo/index.js +7 -7
- package/es/modules/appSettings/dataAccessFilter/index.js +5 -5
- package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
- package/es/modules/appSettings/virtualSource/index.js +7 -7
- 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.js +12 -12
- package/es/modules/companySetting/appList/index.less +126 -126
- package/es/modules/companySetting/application/applicationForm.js +9 -9
- package/es/modules/companySetting/application/applicationSetting.js +5 -5
- package/es/modules/companySetting/application/index.js +28 -28
- package/es/modules/companySetting/application/index.less +126 -126
- package/es/modules/companySetting/business/businessForm.js +7 -7
- package/es/modules/companySetting/business/index.js +27 -27
- package/es/modules/companySetting/business/index.less +92 -92
- package/es/modules/companySetting/cost/index.js +20 -20
- package/es/modules/companySetting/cost/index.less +38 -38
- package/es/modules/companySetting/department/index.js +16 -16
- package/es/modules/companySetting/department/index.less +157 -157
- package/es/modules/companySetting/edit/authConfig.js +5 -5
- package/es/modules/companySetting/edit/authConfigCEP.js +11 -11
- package/es/modules/companySetting/edit/authGroup.js +13 -13
- package/es/modules/companySetting/edit/authModule.js +18 -18
- package/es/modules/companySetting/edit/multiAuthModule.js +13 -13
- 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/edit/user.js +14 -14
- package/es/modules/companySetting/edit/userGroup.js +16 -16
- package/es/modules/companySetting/index.js +29 -29
- package/es/modules/companySetting/index.less +90 -90
- package/es/modules/companySetting/info/index.js +7 -7
- 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.js +28 -28
- package/es/modules/companySetting/mainPart/index.less +239 -239
- package/es/modules/companySetting/mainPart/mainPartForm.js +13 -13
- package/es/modules/companySetting/mainPart/mainPartSetting.js +5 -5
- package/es/modules/companySetting/mainPart/useColumns.js +16 -16
- package/es/modules/companySetting/operationLog/index.js +13 -13
- package/es/modules/companySetting/operationLog/index.less +33 -33
- package/es/modules/companySetting/role/index.js +23 -23
- package/es/modules/companySetting/role/index.less +296 -296
- package/es/modules/companySetting/role/setDataRangeDialog/index.js +2 -2
- 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 +193 -24
- package/es/modules/companySetting/user/index.less +11 -0
- package/es/modules/companySetting/user/invite.js +14 -14
- package/es/modules/companySetting/virtualApp/config.js +8 -8
- package/es/modules/companySetting/virtualApp/index.js +12 -12
- package/es/modules/companySetting/virtualApp/panels/list.js +8 -9
- package/es/modules/companySetting/virtualApp/panels/sourceItem.js +7 -7
- 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.js +7 -7
- package/es/modules/companySetting/wechatBinding/index.less +58 -58
- package/es/modules/createDemand/collectionAttributeList.js +9 -9
- package/es/modules/createDemand/constants.js +17 -17
- package/es/modules/createDemand/demo/index.js +7 -7
- package/es/modules/createDemand/demo/selectPoint.js +13 -13
- package/es/modules/createDemand/index.js +39 -41
- package/es/modules/createDemand/styles/index.less +277 -277
- package/es/modules/createDemand_bf/collectionAttributeList.js +9 -9
- package/es/modules/createDemand_bf/constants.js +4 -4
- package/es/modules/createDemand_bf/index.js +35 -35
- package/es/modules/createDemand_bf/styles/index.less +222 -222
- package/es/modules/createProcess/components/index.less +52 -52
- package/es/modules/createProcess/components/processNode.js +11 -11
- package/es/modules/createProcess/index.js +17 -17
- package/es/modules/createProcess/index.less +114 -114
- package/es/modules/createProcess/title/index.js +11 -11
- package/es/modules/createProcess/title/index.less +53 -53
- package/es/modules/dealDemand/collectionAttributeList.js +9 -9
- package/es/modules/dealDemand/constants.js +7 -7
- package/es/modules/dealDemand/demo/index.js +7 -7
- package/es/modules/dealDemand/demo/selectPoint.js +13 -13
- package/es/modules/dealDemand/index.js +22 -24
- package/es/modules/dealDemand/styles/index.less +265 -265
- package/es/modules/demandManage/index.js +14 -15
- package/es/modules/demandManage/styles/index.less +210 -210
- package/es/modules/getPassword/index.js +10 -10
- package/es/modules/getPassword/index.less +122 -122
- package/es/modules/messageList/index.js +7 -8
- package/es/modules/messageList/index.less +81 -81
- package/es/modules/personalSetting/index.js +5 -5
- package/es/modules/personalSetting/info/index.js +5 -5
- package/es/modules/personalSetting/reset/index.js +5 -5
- package/es/modules/personalSetting/securityLog/index.js +14 -14
- package/es/modules/personalSetting/securityLog/index.less +11 -11
- package/es/modules/personalSetting/styles/unbinding.less +73 -73
- package/es/modules/personalSetting/unbinding/index.js +5 -5
- package/es/modules/pointMap/ImportModal/demo/index.js +5 -5
- package/es/modules/pointMap/ImportModal/index.js +14 -14
- package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
- package/es/modules/pointMap/demo/index.js +7 -7
- package/es/modules/pointMap/editTxt/index.js +11 -11
- package/es/modules/pointMap/editTxt/index.less +55 -55
- package/es/modules/pointMap/index.js +11 -11
- package/es/modules/pointMap/pageInfo.js +44 -46
- 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 +75 -27
- package/es/modules/systemSetting/Dictionary.d.ts +3 -0
- package/es/modules/systemSetting/Dictionary.js +385 -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.js +14 -14
- package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
- package/es/modules/systemSetting/approvalmanage/index.js +5 -5
- package/es/modules/systemSetting/approvalmanage/index.less +5 -5
- package/es/modules/systemSetting/approvalmanage/processManage/index.js +13 -13
- package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
- package/es/modules/systemSetting/authUrl.js +15 -15
- 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 +89 -0
- package/es/modules/systemSetting/index.js +19 -8
- package/es/modules/systemSetting/index.less +133 -0
- package/es/modules/systemSetting/notice/configItem/index.less +21 -21
- package/es/modules/systemSetting/notice/edit/index.js +5 -5
- package/es/modules/systemSetting/notice/edit/index.less +26 -26
- package/es/modules/systemSetting/notice/index.js +11 -11
- package/es/requests/department.js +6 -6
- package/es/requests/role.js +6 -6
- package/es/types/companySetting.d.ts +1 -0
- package/es/utils/base64.js +0 -1
- package/es/utils/constants.js +0 -4
- package/es/utils/functionalPermissions.js +6 -8
- package/es/utils/util.js +16 -16
- package/package.json +5 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
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; } }
|
|
10
|
+
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; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import React, { useEffect, useState } from 'react';
|
|
14
14
|
import './styles/authModule.less';
|
|
15
15
|
import { Checkbox } from 'antd';
|
|
@@ -108,7 +108,7 @@ var multiAuthModule = function multiAuthModule(props) {
|
|
|
108
108
|
var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
109
109
|
return util.splitString(str, 16).str;
|
|
110
110
|
};
|
|
111
|
-
return data ? /*#__PURE__*/React.createElement("div", {
|
|
111
|
+
return data ? (/*#__PURE__*/React.createElement("div", {
|
|
112
112
|
className: "multi-level-group"
|
|
113
113
|
}, /*#__PURE__*/React.createElement("div", {
|
|
114
114
|
className: "function-name",
|
|
@@ -131,6 +131,6 @@ var multiAuthModule = function multiAuthModule(props) {
|
|
|
131
131
|
},
|
|
132
132
|
disabled: data.radio && all && !group.checked || group.disable
|
|
133
133
|
}, reworkStringLen(group.describe)));
|
|
134
|
-
}))) : null;
|
|
134
|
+
})))) : null;
|
|
135
135
|
};
|
|
136
136
|
export default multiAuthModule;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.company-setting-auth-config {
|
|
2
|
-
margin: 0 20px;
|
|
3
|
-
}
|
|
1
|
+
.company-setting-auth-config {
|
|
2
|
+
margin: 0 20px;
|
|
3
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.company-auth-group {
|
|
2
|
-
position: relative;
|
|
3
|
-
.company-auth-group-top {
|
|
4
|
-
height: 36px;
|
|
5
|
-
margin-top: 20px;
|
|
6
|
-
padding: 0 20px;
|
|
7
|
-
line-height: 36px;
|
|
8
|
-
background-color: #f3f8fa;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
.company-auth-group {
|
|
2
|
+
position: relative;
|
|
3
|
+
.company-auth-group-top {
|
|
4
|
+
height: 36px;
|
|
5
|
+
margin-top: 20px;
|
|
6
|
+
padding: 0 20px;
|
|
7
|
+
line-height: 36px;
|
|
8
|
+
background-color: #f3f8fa;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
.company-settting-auth-module {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
min-height: 51px;
|
|
6
|
-
background-color: #ffffff;
|
|
7
|
-
.module-name {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
width: 202px;
|
|
12
|
-
padding-left: 20px;
|
|
13
|
-
background-color: #fafafa;
|
|
14
|
-
border: 1px solid #dadada;
|
|
15
|
-
.item-label {
|
|
16
|
-
width: 100%;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
text-align: left;
|
|
20
|
-
text-overflow: ellipsis;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.module-content {
|
|
24
|
-
position: relative;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex: 1;
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
flex-wrap: wrap;
|
|
29
|
-
align-items: flex-start;
|
|
30
|
-
padding-left: 20px;
|
|
31
|
-
border: 1px solid #dadada;
|
|
32
|
-
border-left: 0;
|
|
33
|
-
.auth-selector {
|
|
34
|
-
top: 13px;
|
|
35
|
-
flex: none;
|
|
36
|
-
margin-right: 20px;
|
|
37
|
-
}
|
|
38
|
-
.function-group {
|
|
39
|
-
width: 25%;
|
|
40
|
-
min-height: 50px;
|
|
41
|
-
line-height: 50px;
|
|
42
|
-
text-align: left;
|
|
43
|
-
}
|
|
44
|
-
.function-group.isVirtualApp {
|
|
45
|
-
width: 50%;
|
|
46
|
-
}
|
|
47
|
-
.multi-level-group {
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
width: 100%;
|
|
51
|
-
padding: 10px 0;
|
|
52
|
-
border-bottom: 1px dotted #dadada;
|
|
53
|
-
.function-name {
|
|
54
|
-
width: calc(25% - 20px);
|
|
55
|
-
margin-right: 20px;
|
|
56
|
-
line-height: 30px;
|
|
57
|
-
text-align: left;
|
|
58
|
-
border-right: 1px solid #dadada;
|
|
59
|
-
}
|
|
60
|
-
.function-content {
|
|
61
|
-
flex: 1;
|
|
62
|
-
.function-item {
|
|
63
|
-
display: inline-block;
|
|
64
|
-
width: 33%;
|
|
65
|
-
line-height: 30px;
|
|
66
|
-
text-align: left;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
.multi-level-group:last-child {
|
|
71
|
-
border-bottom: none;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
.company-auth-group {
|
|
76
|
-
.company-settting-auth-module:not(:first-child) {
|
|
77
|
-
.module-name,
|
|
78
|
-
.module-content {
|
|
79
|
-
border-top: 0;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
1
|
+
.company-settting-auth-module {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
min-height: 51px;
|
|
6
|
+
background-color: #ffffff;
|
|
7
|
+
.module-name {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
width: 202px;
|
|
12
|
+
padding-left: 20px;
|
|
13
|
+
background-color: #fafafa;
|
|
14
|
+
border: 1px solid #dadada;
|
|
15
|
+
.item-label {
|
|
16
|
+
width: 100%;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
text-align: left;
|
|
20
|
+
text-overflow: ellipsis;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.module-content {
|
|
24
|
+
position: relative;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex: 1;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
flex-wrap: wrap;
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
padding-left: 20px;
|
|
31
|
+
border: 1px solid #dadada;
|
|
32
|
+
border-left: 0;
|
|
33
|
+
.auth-selector {
|
|
34
|
+
top: 13px;
|
|
35
|
+
flex: none;
|
|
36
|
+
margin-right: 20px;
|
|
37
|
+
}
|
|
38
|
+
.function-group {
|
|
39
|
+
width: 25%;
|
|
40
|
+
min-height: 50px;
|
|
41
|
+
line-height: 50px;
|
|
42
|
+
text-align: left;
|
|
43
|
+
}
|
|
44
|
+
.function-group.isVirtualApp {
|
|
45
|
+
width: 50%;
|
|
46
|
+
}
|
|
47
|
+
.multi-level-group {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: row;
|
|
50
|
+
width: 100%;
|
|
51
|
+
padding: 10px 0;
|
|
52
|
+
border-bottom: 1px dotted #dadada;
|
|
53
|
+
.function-name {
|
|
54
|
+
width: calc(25% - 20px);
|
|
55
|
+
margin-right: 20px;
|
|
56
|
+
line-height: 30px;
|
|
57
|
+
text-align: left;
|
|
58
|
+
border-right: 1px solid #dadada;
|
|
59
|
+
}
|
|
60
|
+
.function-content {
|
|
61
|
+
flex: 1;
|
|
62
|
+
.function-item {
|
|
63
|
+
display: inline-block;
|
|
64
|
+
width: 33%;
|
|
65
|
+
line-height: 30px;
|
|
66
|
+
text-align: left;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.multi-level-group:last-child {
|
|
71
|
+
border-bottom: none;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
.company-auth-group {
|
|
76
|
+
.company-settting-auth-module:not(:first-child) {
|
|
77
|
+
.module-name,
|
|
78
|
+
.module-content {
|
|
79
|
+
border-top: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
.company-setting-user {
|
|
2
|
-
position: relative;
|
|
3
|
-
height: 100%;
|
|
4
|
-
padding: 20px;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
color: #354052;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
.company-setting-user-title {
|
|
9
|
-
margin-bottom: 30px;
|
|
10
|
-
font-size: 18px;
|
|
11
|
-
line-height: 18px;
|
|
12
|
-
}
|
|
13
|
-
.company-setting-user-name {
|
|
14
|
-
margin-left: 20px;
|
|
15
|
-
line-height: 35px;
|
|
16
|
-
}
|
|
17
|
-
.company-setting-user-groups {
|
|
18
|
-
margin-left: 20px;
|
|
19
|
-
}
|
|
20
|
-
.item-label {
|
|
21
|
-
display: inline-block;
|
|
22
|
-
width: 85px;
|
|
23
|
-
text-align: right;
|
|
24
|
-
}
|
|
25
|
-
.company-setting-footer {
|
|
26
|
-
margin-top: 40px;
|
|
27
|
-
text-align: right;
|
|
28
|
-
.c-button {
|
|
29
|
-
margin-right: 20px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.select-group {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
margin: 10px;
|
|
39
|
-
.all-btn {
|
|
40
|
-
color: #3d62d2;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
}
|
|
43
|
-
.delete-btn {
|
|
44
|
-
color: #f55858;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
#ant-select {
|
|
49
|
-
width: 100%;
|
|
50
|
-
.ant-select-item-option-selected {
|
|
51
|
-
color: #3d62d2 !important;
|
|
52
|
-
background-color: #fff !important;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
.company-setting-user {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
color: #354052;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
.company-setting-user-title {
|
|
9
|
+
margin-bottom: 30px;
|
|
10
|
+
font-size: 18px;
|
|
11
|
+
line-height: 18px;
|
|
12
|
+
}
|
|
13
|
+
.company-setting-user-name {
|
|
14
|
+
margin-left: 20px;
|
|
15
|
+
line-height: 35px;
|
|
16
|
+
}
|
|
17
|
+
.company-setting-user-groups {
|
|
18
|
+
margin-left: 20px;
|
|
19
|
+
}
|
|
20
|
+
.item-label {
|
|
21
|
+
display: inline-block;
|
|
22
|
+
width: 85px;
|
|
23
|
+
text-align: right;
|
|
24
|
+
}
|
|
25
|
+
.company-setting-footer {
|
|
26
|
+
margin-top: 40px;
|
|
27
|
+
text-align: right;
|
|
28
|
+
.c-button {
|
|
29
|
+
margin-right: 20px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.select-group {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
margin: 10px;
|
|
39
|
+
.all-btn {
|
|
40
|
+
color: #3d62d2;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
.delete-btn {
|
|
44
|
+
color: #f55858;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
#ant-select {
|
|
49
|
+
width: 100%;
|
|
50
|
+
.ant-select-item-option-selected {
|
|
51
|
+
color: #3d62d2 !important;
|
|
52
|
+
background-color: #fff !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
.company-setting-user-group {
|
|
2
|
-
position: relative;
|
|
3
|
-
height: 100%;
|
|
4
|
-
padding: 20px;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
color: #354052;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
.company-setting-group-title {
|
|
9
|
-
margin-bottom: 30px;
|
|
10
|
-
font-size: 18px;
|
|
11
|
-
line-height: 18px;
|
|
12
|
-
}
|
|
13
|
-
.company-setting-user-name {
|
|
14
|
-
margin-left: 20px;
|
|
15
|
-
line-height: 35px;
|
|
16
|
-
}
|
|
17
|
-
.company-setting-users {
|
|
18
|
-
margin-top: 20px;
|
|
19
|
-
margin-left: 20px;
|
|
20
|
-
}
|
|
21
|
-
.encryption-wrap {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
margin-top: 20px;
|
|
25
|
-
margin-left: 20px;
|
|
26
|
-
.encryption-item {
|
|
27
|
-
margin-right: 5px;
|
|
28
|
-
}
|
|
29
|
-
label {
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
input {
|
|
33
|
-
margin-right: 5px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.company-setting-footer {
|
|
38
|
-
margin-top: 40px;
|
|
39
|
-
text-align: right;
|
|
40
|
-
.c-button {
|
|
41
|
-
margin-right: 20px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
.company-setting-user-group {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
color: #354052;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
.company-setting-group-title {
|
|
9
|
+
margin-bottom: 30px;
|
|
10
|
+
font-size: 18px;
|
|
11
|
+
line-height: 18px;
|
|
12
|
+
}
|
|
13
|
+
.company-setting-user-name {
|
|
14
|
+
margin-left: 20px;
|
|
15
|
+
line-height: 35px;
|
|
16
|
+
}
|
|
17
|
+
.company-setting-users {
|
|
18
|
+
margin-top: 20px;
|
|
19
|
+
margin-left: 20px;
|
|
20
|
+
}
|
|
21
|
+
.encryption-wrap {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
margin-top: 20px;
|
|
25
|
+
margin-left: 20px;
|
|
26
|
+
.encryption-item {
|
|
27
|
+
margin-right: 5px;
|
|
28
|
+
}
|
|
29
|
+
label {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
input {
|
|
33
|
+
margin-right: 5px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.company-setting-footer {
|
|
38
|
+
margin-top: 40px;
|
|
39
|
+
text-align: right;
|
|
40
|
+
.c-button {
|
|
41
|
+
margin-right: 20px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
3
3
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
-
function _unsupportedIterableToArray(
|
|
5
|
-
function _arrayLikeToArray(
|
|
6
|
-
function _iterableToArrayLimit(
|
|
7
|
-
function _arrayWithHoles(
|
|
8
|
-
function ownKeys(
|
|
9
|
-
function _objectSpread(
|
|
10
|
-
function _defineProperty(
|
|
11
|
-
function _toPropertyKey(
|
|
12
|
-
function _toPrimitive(
|
|
4
|
+
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; } }
|
|
5
|
+
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; }
|
|
6
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
8
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
13
|
import React, { useEffect, useRef, useState } from 'react';
|
|
14
14
|
import './styles/user.less';
|
|
15
15
|
import { Button, notification, Tabs, Select } from 'antd';
|
|
@@ -260,7 +260,7 @@ var Info = function Info(props) {
|
|
|
260
260
|
onChange: function onChange(e) {
|
|
261
261
|
return setCurrentTab(e);
|
|
262
262
|
}
|
|
263
|
-
}, !serviceType || serviceType === 1 ? /*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
263
|
+
}, !serviceType || serviceType === 1 ? (/*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
264
264
|
tab: "\u8BF8\u845Bio",
|
|
265
265
|
key: "io"
|
|
266
266
|
}, /*#__PURE__*/React.createElement(AuthConfig, {
|
|
@@ -268,13 +268,13 @@ var Info = function Info(props) {
|
|
|
268
268
|
config: data.authConfig ? data.authConfig.defaultAuth : {},
|
|
269
269
|
appList: companyAppList,
|
|
270
270
|
leftMenus: leftMenus
|
|
271
|
-
})) : null, !serviceType || serviceType === 2 ? /*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
271
|
+
}))) : null, !serviceType || serviceType === 2 ? (/*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
272
272
|
tab: "CEP",
|
|
273
273
|
key: "cep"
|
|
274
274
|
}, /*#__PURE__*/React.createElement(AuthConfigCEP, {
|
|
275
275
|
ref: refAuthCEPConfig,
|
|
276
276
|
CEPData: CEPData
|
|
277
|
-
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
277
|
+
}))) : null), /*#__PURE__*/React.createElement("div", {
|
|
278
278
|
className: "company-setting-footer"
|
|
279
279
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
280
280
|
onClick: onCancelCallback
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
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; } }
|
|
10
|
+
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; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import React, { useEffect, useRef, useState } from 'react';
|
|
14
14
|
import './styles/userGroup.less';
|
|
15
15
|
import constants from './../../../utils/constants';
|
|
@@ -321,7 +321,7 @@ var CompanySettingUserGroup = function CompanySettingUserGroup(props) {
|
|
|
321
321
|
var _option$label;
|
|
322
322
|
return ((_option$label = option === null || option === void 0 ? void 0 : option.label) !== null && _option$label !== void 0 ? _option$label : '').toLowerCase().includes(input.toLowerCase());
|
|
323
323
|
}
|
|
324
|
-
}))), isAdmin ? /*#__PURE__*/React.createElement("div", {
|
|
324
|
+
}))), isAdmin ? (/*#__PURE__*/React.createElement("div", {
|
|
325
325
|
className: "encryption-wrap"
|
|
326
326
|
}, /*#__PURE__*/React.createElement("div", {
|
|
327
327
|
className: "encryption-name"
|
|
@@ -342,12 +342,12 @@ var CompanySettingUserGroup = function CompanySettingUserGroup(props) {
|
|
|
342
342
|
},
|
|
343
343
|
value: 1,
|
|
344
344
|
className: "encryption-item"
|
|
345
|
-
}, "\u660E\u6587"))) : null, /*#__PURE__*/React.createElement(Tabs, {
|
|
345
|
+
}, "\u660E\u6587")))) : null, /*#__PURE__*/React.createElement(Tabs, {
|
|
346
346
|
activeKey: currentTab,
|
|
347
347
|
onChange: function onChange(e) {
|
|
348
348
|
return setCurrentTab(e);
|
|
349
349
|
}
|
|
350
|
-
}, !serviceType || serviceType === 1 ? /*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
350
|
+
}, !serviceType || serviceType === 1 ? (/*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
351
351
|
tab: "\u8BF8\u845Bio",
|
|
352
352
|
key: "io"
|
|
353
353
|
}, /*#__PURE__*/React.createElement(AuthConfig, {
|
|
@@ -355,13 +355,13 @@ var CompanySettingUserGroup = function CompanySettingUserGroup(props) {
|
|
|
355
355
|
config: data && data.authConfig || {},
|
|
356
356
|
appList: companyAppList,
|
|
357
357
|
leftMenus: leftMenus
|
|
358
|
-
})) : null, !serviceType || serviceType === 2 ? /*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
358
|
+
}))) : null, !serviceType || serviceType === 2 ? (/*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
359
359
|
tab: "CEP",
|
|
360
360
|
key: "cep"
|
|
361
361
|
}, /*#__PURE__*/React.createElement(AuthConfigCEP, {
|
|
362
362
|
ref: refAuthCEPConfig,
|
|
363
363
|
CEPData: CEPData
|
|
364
|
-
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
364
|
+
}))) : null), /*#__PURE__*/React.createElement("div", {
|
|
365
365
|
className: "company-setting-footer"
|
|
366
366
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
367
367
|
onClick: onCancelCallback
|