@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, useContext } from 'react';
|
|
14
14
|
import './index.less';
|
|
15
15
|
import util from './../../../utils/util';
|
|
@@ -151,7 +151,7 @@ var DepartmentList = function DepartmentList(props) {
|
|
|
151
151
|
render: function render(data) {
|
|
152
152
|
return /*#__PURE__*/React.createElement("div", {
|
|
153
153
|
className: "operating"
|
|
154
|
-
}, data.parentId !== 0 && /*#__PURE__*/React.createElement(React.Fragment, null, authority[10097] && /*#__PURE__*/React.createElement("a", {
|
|
154
|
+
}, data.parentId !== 0 && (/*#__PURE__*/React.createElement(React.Fragment, null, authority[10097] && /*#__PURE__*/React.createElement("a", {
|
|
155
155
|
onClick: function onClick() {
|
|
156
156
|
return toAppSetting(data);
|
|
157
157
|
}
|
|
@@ -159,7 +159,7 @@ var DepartmentList = function DepartmentList(props) {
|
|
|
159
159
|
onClick: function onClick() {
|
|
160
160
|
return showDelPanel(data);
|
|
161
161
|
}
|
|
162
|
-
}, "\u5220\u9664")));
|
|
162
|
+
}, "\u5220\u9664"))));
|
|
163
163
|
}
|
|
164
164
|
}];
|
|
165
165
|
// 打开编辑弹窗
|
|
@@ -385,7 +385,7 @@ var DepartmentList = function DepartmentList(props) {
|
|
|
385
385
|
}
|
|
386
386
|
}, "\u786E\u8BA4\u8981\u5220\u9664\u5F53\u524D\u90E8\u95E8\u5417?"), /*#__PURE__*/React.createElement("div", {
|
|
387
387
|
className: "department-list-content"
|
|
388
|
-
}, ((_departmentList$2 = departmentList[0]) === null || _departmentList$2 === void 0 ? void 0 : _departmentList$2.defaultRowKeys.length) > 0 && !name ? /*#__PURE__*/React.createElement(BizTable, {
|
|
388
|
+
}, ((_departmentList$2 = departmentList[0]) === null || _departmentList$2 === void 0 ? void 0 : _departmentList$2.defaultRowKeys.length) > 0 && !name ? (/*#__PURE__*/React.createElement(BizTable, {
|
|
389
389
|
rowKey: "key",
|
|
390
390
|
dataSource: departmentList,
|
|
391
391
|
expandable: {
|
|
@@ -397,7 +397,7 @@ var DepartmentList = function DepartmentList(props) {
|
|
|
397
397
|
y: 550
|
|
398
398
|
},
|
|
399
399
|
pagination: false
|
|
400
|
-
}) : null, name ? /*#__PURE__*/React.createElement(BizTable, {
|
|
400
|
+
})) : null, name ? (/*#__PURE__*/React.createElement(BizTable, {
|
|
401
401
|
rowKey: "key",
|
|
402
402
|
dataSource: departmentList,
|
|
403
403
|
expandable: {
|
|
@@ -409,6 +409,6 @@ var DepartmentList = function DepartmentList(props) {
|
|
|
409
409
|
},
|
|
410
410
|
columns: columns,
|
|
411
411
|
pagination: false
|
|
412
|
-
}) : null)));
|
|
412
|
+
})) : null)));
|
|
413
413
|
};
|
|
414
414
|
export default DepartmentList;
|
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
@import './../../../constants/icons/iconfont.css';
|
|
2
|
-
|
|
3
|
-
.department-list {
|
|
4
|
-
height: 100%;
|
|
5
|
-
padding: 0;
|
|
6
|
-
overflow: auto;
|
|
7
|
-
|
|
8
|
-
.ant-form-item {
|
|
9
|
-
.ant-form-item-control-input {
|
|
10
|
-
width: 392px;
|
|
11
|
-
height: 32px;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ant-input {
|
|
16
|
-
border-color: @background-color-base !important;
|
|
17
|
-
|
|
18
|
-
&:focus {
|
|
19
|
-
border-color: @primary-color !important;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ant-table-cell {
|
|
24
|
-
height: 50px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ant-table-row-indent + .ant-table-row-expand-icon {
|
|
28
|
-
margin-top: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.app-list-head {
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
justify-content: space-between;
|
|
35
|
-
|
|
36
|
-
> div {
|
|
37
|
-
color: var(--io-n, #021429);
|
|
38
|
-
font-weight: 500;
|
|
39
|
-
font-size: 16px;
|
|
40
|
-
font-family: PingFang SC;
|
|
41
|
-
font-style: normal;
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
/* 150% */
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.platform-icons {
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: flex-start;
|
|
51
|
-
width: 100%;
|
|
52
|
-
|
|
53
|
-
span {
|
|
54
|
-
margin-right: 10px;
|
|
55
|
-
color: #cfcfcf;
|
|
56
|
-
font-size: 16px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.department-list-content {
|
|
61
|
-
margin-top: 16px;
|
|
62
|
-
|
|
63
|
-
.c-grid-cell,
|
|
64
|
-
.c-grid-header-cell {
|
|
65
|
-
text-align: left !important;
|
|
66
|
-
border: none;
|
|
67
|
-
border-bottom: 1px solid #d1d1d1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.c-grid-cell {
|
|
71
|
-
text-align: left !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.c-grid-body .c-grid-row:nth-child(2n) {
|
|
75
|
-
background: #fff !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.app-name {
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
|
|
81
|
-
&:hover {
|
|
82
|
-
color: #00a0ea;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.operating {
|
|
87
|
-
display: flex;
|
|
88
|
-
gap: 16px;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.department-dialog-content {
|
|
94
|
-
.ant-input {
|
|
95
|
-
border-color: @background-color-base !important;
|
|
96
|
-
|
|
97
|
-
&:focus {
|
|
98
|
-
border-color: @primary-color !important;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.ant-select-selector {
|
|
103
|
-
border-color: @background-color-base !important;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.biz-select-handle-input {
|
|
107
|
-
.ant-input {
|
|
108
|
-
border-color: @background-color-base !important;
|
|
109
|
-
|
|
110
|
-
&:focus {
|
|
111
|
-
border-color: @background-color-base !important;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&:focus {
|
|
116
|
-
border-color: @primary-color !important;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.ant-input-status-error {
|
|
121
|
-
border: 1px solid #fb5547 !important;
|
|
122
|
-
|
|
123
|
-
&:focus {
|
|
124
|
-
border-color: #fb5547 !important;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.ant-select-status-error {
|
|
129
|
-
border: none !important;
|
|
130
|
-
|
|
131
|
-
&:focus {
|
|
132
|
-
box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.biz-select-handle-status-error.active:not(.disable) {
|
|
137
|
-
box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.biz-select-handle-status-error {
|
|
141
|
-
.ant-input.ant-input-status-error:focus:not(.ant-input-disable):not(.ant-input-borderless),
|
|
142
|
-
.ant-input.ant-input-status-error-focused:not(.ant-input-disable):not(.ant-input-borderless) {
|
|
143
|
-
box-shadow: none !important;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.ant-form-item:last-of-type {
|
|
148
|
-
margin-bottom: 0;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
color: #5f6085;
|
|
152
|
-
|
|
153
|
-
.ant-form-item-label {
|
|
154
|
-
width: 80px;
|
|
155
|
-
text-align: right;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
1
|
+
@import './../../../constants/icons/iconfont.css';
|
|
2
|
+
|
|
3
|
+
.department-list {
|
|
4
|
+
height: 100%;
|
|
5
|
+
padding: 0;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
|
|
8
|
+
.ant-form-item {
|
|
9
|
+
.ant-form-item-control-input {
|
|
10
|
+
width: 392px;
|
|
11
|
+
height: 32px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-input {
|
|
16
|
+
border-color: @background-color-base !important;
|
|
17
|
+
|
|
18
|
+
&:focus {
|
|
19
|
+
border-color: @primary-color !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ant-table-cell {
|
|
24
|
+
height: 50px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ant-table-row-indent + .ant-table-row-expand-icon {
|
|
28
|
+
margin-top: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.app-list-head {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
|
|
36
|
+
> div {
|
|
37
|
+
color: var(--io-n, #021429);
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
font-family: PingFang SC;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
line-height: 24px;
|
|
43
|
+
/* 150% */
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.platform-icons {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: flex-start;
|
|
51
|
+
width: 100%;
|
|
52
|
+
|
|
53
|
+
span {
|
|
54
|
+
margin-right: 10px;
|
|
55
|
+
color: #cfcfcf;
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.department-list-content {
|
|
61
|
+
margin-top: 16px;
|
|
62
|
+
|
|
63
|
+
.c-grid-cell,
|
|
64
|
+
.c-grid-header-cell {
|
|
65
|
+
text-align: left !important;
|
|
66
|
+
border: none;
|
|
67
|
+
border-bottom: 1px solid #d1d1d1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.c-grid-cell {
|
|
71
|
+
text-align: left !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.c-grid-body .c-grid-row:nth-child(2n) {
|
|
75
|
+
background: #fff !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.app-name {
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
color: #00a0ea;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.operating {
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: 16px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.department-dialog-content {
|
|
94
|
+
.ant-input {
|
|
95
|
+
border-color: @background-color-base !important;
|
|
96
|
+
|
|
97
|
+
&:focus {
|
|
98
|
+
border-color: @primary-color !important;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.ant-select-selector {
|
|
103
|
+
border-color: @background-color-base !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.biz-select-handle-input {
|
|
107
|
+
.ant-input {
|
|
108
|
+
border-color: @background-color-base !important;
|
|
109
|
+
|
|
110
|
+
&:focus {
|
|
111
|
+
border-color: @background-color-base !important;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:focus {
|
|
116
|
+
border-color: @primary-color !important;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ant-input-status-error {
|
|
121
|
+
border: 1px solid #fb5547 !important;
|
|
122
|
+
|
|
123
|
+
&:focus {
|
|
124
|
+
border-color: #fb5547 !important;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ant-select-status-error {
|
|
129
|
+
border: none !important;
|
|
130
|
+
|
|
131
|
+
&:focus {
|
|
132
|
+
box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.biz-select-handle-status-error.active:not(.disable) {
|
|
137
|
+
box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.biz-select-handle-status-error {
|
|
141
|
+
.ant-input.ant-input-status-error:focus:not(.ant-input-disable):not(.ant-input-borderless),
|
|
142
|
+
.ant-input.ant-input-status-error-focused:not(.ant-input-disable):not(.ant-input-borderless) {
|
|
143
|
+
box-shadow: none !important;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ant-form-item:last-of-type {
|
|
148
|
+
margin-bottom: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
color: #5f6085;
|
|
152
|
+
|
|
153
|
+
.ant-form-item-label {
|
|
154
|
+
width: 80px;
|
|
155
|
+
text-align: right;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
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."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
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; } }
|
|
4
|
+
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; }
|
|
5
|
+
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; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React, { useEffect, useState, forwardRef, useImperativeHandle, useContext } from 'react';
|
|
8
8
|
import './styles/authConfig.less';
|
|
9
9
|
import constants from './../../../utils/constants';
|
|
@@ -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, forwardRef, useImperativeHandle, useContext } from 'react';
|
|
14
14
|
import './styles/authConfig.less';
|
|
15
15
|
import constants from './../../../utils/constants';
|
|
@@ -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/authGroup.less';
|
|
15
15
|
import { Checkbox } from 'antd';
|
|
@@ -65,7 +65,7 @@ var AuthGroup = function AuthGroup(props) {
|
|
|
65
65
|
indeterminate: !((checkedArr || []).length === (dealObj.children || []).length || !(checkedArr || []).length && !(indeterminateArr || []).length)
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
|
-
return group && group.key ? /*#__PURE__*/React.createElement("div", {
|
|
68
|
+
return group && group.key ? (/*#__PURE__*/React.createElement("div", {
|
|
69
69
|
className: "company-auth-group"
|
|
70
70
|
}, /*#__PURE__*/React.createElement("div", {
|
|
71
71
|
className: "company-auth-group-top"
|
|
@@ -81,6 +81,6 @@ var AuthGroup = function AuthGroup(props) {
|
|
|
81
81
|
data: item,
|
|
82
82
|
onChange: onModuleChange
|
|
83
83
|
});
|
|
84
|
-
})) : null;
|
|
84
|
+
}))) : null;
|
|
85
85
|
};
|
|
86
86
|
export default AuthGroup;
|
|
@@ -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';
|
|
@@ -159,7 +159,7 @@ var AuthModule = function AuthModule(props) {
|
|
|
159
159
|
}
|
|
160
160
|
onChange && onChange(dealData);
|
|
161
161
|
};
|
|
162
|
-
return data ? /*#__PURE__*/React.createElement("div", {
|
|
162
|
+
return data ? (/*#__PURE__*/React.createElement("div", {
|
|
163
163
|
className: "company-settting-auth-module"
|
|
164
164
|
}, /*#__PURE__*/React.createElement("div", {
|
|
165
165
|
className: "module-name",
|
|
@@ -173,7 +173,7 @@ var AuthModule = function AuthModule(props) {
|
|
|
173
173
|
onChange: onAllChange
|
|
174
174
|
}, reworkStringLen(data.describe)))), /*#__PURE__*/React.createElement("div", {
|
|
175
175
|
className: "module-content"
|
|
176
|
-
}, showAuth ? /*#__PURE__*/React.createElement(BizSelect, {
|
|
176
|
+
}, showAuth ? (/*#__PURE__*/React.createElement(BizSelect, {
|
|
177
177
|
className: "auth-selector",
|
|
178
178
|
overlayWidth: 100,
|
|
179
179
|
options: authStore,
|
|
@@ -186,12 +186,12 @@ var AuthModule = function AuthModule(props) {
|
|
|
186
186
|
setAuth(v);
|
|
187
187
|
change(all, indeterminate, functionGroups);
|
|
188
188
|
}
|
|
189
|
-
}) : functionGroups.map(function (group, index) {
|
|
190
|
-
return group.children && group.children.length ? /*#__PURE__*/React.createElement(MultiAuthModule, {
|
|
189
|
+
})) : functionGroups.map(function (group, index) {
|
|
190
|
+
return group.children && group.children.length ? (/*#__PURE__*/React.createElement(MultiAuthModule, {
|
|
191
191
|
key: group.key,
|
|
192
192
|
data: group,
|
|
193
193
|
onChange: onMultiModuleChange
|
|
194
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
194
|
+
})) : (/*#__PURE__*/React.createElement("div", {
|
|
195
195
|
key: group.key,
|
|
196
196
|
className: group.isVirtualApp ? 'function-group isVirtualApp' : 'function-group'
|
|
197
197
|
}, /*#__PURE__*/React.createElement(Checkbox, {
|
|
@@ -202,7 +202,7 @@ var AuthModule = function AuthModule(props) {
|
|
|
202
202
|
onGroupChange(dealArr);
|
|
203
203
|
},
|
|
204
204
|
disabled: data.radio && all && !group.checked || group.disable
|
|
205
|
-
}, reworkStringLen(group.describe)));
|
|
206
|
-
}))) : null;
|
|
205
|
+
}, reworkStringLen(group.describe))));
|
|
206
|
+
})))) : null;
|
|
207
207
|
};
|
|
208
208
|
export default AuthModule;
|