@zgfe/modules-settings 1.2.51-zhongyuan.1 → 1.2.51-zhongyuan.5
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 +387 -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 +111 -0
- package/es/modules/systemSetting/index.js +19 -8
- package/es/modules/systemSetting/index.less +117 -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,73 +1,73 @@
|
|
|
1
|
-
.personal-mfa-unbinding-page {
|
|
2
|
-
// margin: -40px;
|
|
3
|
-
|
|
4
|
-
.unbinding-banner {
|
|
5
|
-
width: 100%;
|
|
6
|
-
padding: 32px 0 24px;
|
|
7
|
-
text-align: center;
|
|
8
|
-
background: url('../images/banner.png');
|
|
9
|
-
background-size: 100% 100%;
|
|
10
|
-
|
|
11
|
-
.unbinding-img {
|
|
12
|
-
display: inline-block;
|
|
13
|
-
width: 120px;
|
|
14
|
-
height: 120px;
|
|
15
|
-
background-image: url('../images/unbinding.png');
|
|
16
|
-
background-size: 120px 120px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.title {
|
|
20
|
-
margin-top: 16px;
|
|
21
|
-
color: #021429;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
font-size: 16px;
|
|
24
|
-
line-height: 22px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.desc {
|
|
28
|
-
margin-top: 8px;
|
|
29
|
-
color: #67727f;
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
line-height: 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.label {
|
|
35
|
-
width: 86px;
|
|
36
|
-
height: 24px;
|
|
37
|
-
margin: 8px auto 0;
|
|
38
|
-
color: #29bd52;
|
|
39
|
-
font-size: 14px;
|
|
40
|
-
line-height: 24px;
|
|
41
|
-
background: #d4f2dc;
|
|
42
|
-
border-radius: 2px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.unbinding-content-wrap {
|
|
47
|
-
padding-top: 24px;
|
|
48
|
-
|
|
49
|
-
.unbinding-content {
|
|
50
|
-
width: 520px;
|
|
51
|
-
height: 180px;
|
|
52
|
-
margin: 0 auto;
|
|
53
|
-
padding: 24px;
|
|
54
|
-
border: 1px solid #e6e7ea;
|
|
55
|
-
border-radius: 4px;
|
|
56
|
-
|
|
57
|
-
.title {
|
|
58
|
-
color: #021429;
|
|
59
|
-
font-weight: 500;
|
|
60
|
-
font-size: 14px;
|
|
61
|
-
line-height: 20px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.verification {
|
|
65
|
-
margin-top: 24px;
|
|
66
|
-
.button-container {
|
|
67
|
-
margin-left: 40px;
|
|
68
|
-
text-align: center;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
.personal-mfa-unbinding-page {
|
|
2
|
+
// margin: -40px;
|
|
3
|
+
|
|
4
|
+
.unbinding-banner {
|
|
5
|
+
width: 100%;
|
|
6
|
+
padding: 32px 0 24px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
background: url('../images/banner.png');
|
|
9
|
+
background-size: 100% 100%;
|
|
10
|
+
|
|
11
|
+
.unbinding-img {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
width: 120px;
|
|
14
|
+
height: 120px;
|
|
15
|
+
background-image: url('../images/unbinding.png');
|
|
16
|
+
background-size: 120px 120px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.title {
|
|
20
|
+
margin-top: 16px;
|
|
21
|
+
color: #021429;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
line-height: 22px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.desc {
|
|
28
|
+
margin-top: 8px;
|
|
29
|
+
color: #67727f;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
line-height: 20px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.label {
|
|
35
|
+
width: 86px;
|
|
36
|
+
height: 24px;
|
|
37
|
+
margin: 8px auto 0;
|
|
38
|
+
color: #29bd52;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
line-height: 24px;
|
|
41
|
+
background: #d4f2dc;
|
|
42
|
+
border-radius: 2px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.unbinding-content-wrap {
|
|
47
|
+
padding-top: 24px;
|
|
48
|
+
|
|
49
|
+
.unbinding-content {
|
|
50
|
+
width: 520px;
|
|
51
|
+
height: 180px;
|
|
52
|
+
margin: 0 auto;
|
|
53
|
+
padding: 24px;
|
|
54
|
+
border: 1px solid #e6e7ea;
|
|
55
|
+
border-radius: 4px;
|
|
56
|
+
|
|
57
|
+
.title {
|
|
58
|
+
color: #021429;
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
line-height: 20px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.verification {
|
|
65
|
+
margin-top: 24px;
|
|
66
|
+
.button-container {
|
|
67
|
+
margin-left: 40px;
|
|
68
|
+
text-align: center;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -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 from 'react';
|
|
8
8
|
import './../styles/unbinding.less';
|
|
9
9
|
import { Button, Form, Input } from 'antd';
|
|
@@ -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 { IconFont } from '@zgfe/business-lib';
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
import ImportModal from '..';
|
|
@@ -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 { BizDialog, BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
14
14
|
import React, { useContext, useState } from 'react';
|
|
15
15
|
import { Upload, Spin, message, Button } from 'antd';
|
|
@@ -128,7 +128,7 @@ var ImportModal = function ImportModal(props) {
|
|
|
128
128
|
style: {
|
|
129
129
|
marginBottom: 16
|
|
130
130
|
}
|
|
131
|
-
}, "\u5BFC\u5165\u529F\u80FD\u652F\u6301\u5BFC\u5165\u9875\u9762\u548C\u5C42\u7EA7\u5173\u7CFB\uFF0C\u589E\u91CF\u5BFC\u5165\u4E0D\u8986\u76D6\u539F\u6570\u636E\uFF0C\u4E0D\u652F\u6301\u5BFC\u5165\u9875\u9762\u4E8B\u4EF6\u3002"), fileData ? /*#__PURE__*/React.createElement("div", {
|
|
131
|
+
}, "\u5BFC\u5165\u529F\u80FD\u652F\u6301\u5BFC\u5165\u9875\u9762\u548C\u5C42\u7EA7\u5173\u7CFB\uFF0C\u589E\u91CF\u5BFC\u5165\u4E0D\u8986\u76D6\u539F\u6570\u636E\uFF0C\u4E0D\u652F\u6301\u5BFC\u5165\u9875\u9762\u4E8B\u4EF6\u3002"), fileData ? (/*#__PURE__*/React.createElement("div", {
|
|
132
132
|
className: "".concat(classPrefix, "-show-container")
|
|
133
133
|
}, /*#__PURE__*/React.createElement("div", {
|
|
134
134
|
className: "".concat(classPrefix, "-show-container-content")
|
|
@@ -143,7 +143,7 @@ var ImportModal = function ImportModal(props) {
|
|
|
143
143
|
className: "".concat(classPrefix, "-show-container-content-file-size")
|
|
144
144
|
}, fileData.size ? (fileData.size / 1024).toFixed(1) : '', " kb"))), /*#__PURE__*/React.createElement(Upload, _objectSpread({}, UploadProps), /*#__PURE__*/React.createElement("a", {
|
|
145
145
|
className: "".concat(classPrefix, "-upload-txt")
|
|
146
|
-
}, "\u91CD\u65B0\u4E0A\u4F20"))) : /*#__PURE__*/React.createElement(Dragger, _objectSpread({
|
|
146
|
+
}, "\u91CD\u65B0\u4E0A\u4F20")))) : (/*#__PURE__*/React.createElement(Dragger, _objectSpread({
|
|
147
147
|
className: "".concat(classPrefix, "-export-container")
|
|
148
148
|
}, UploadProps), /*#__PURE__*/React.createElement(IconFont, {
|
|
149
149
|
type: "file-add",
|
|
@@ -152,6 +152,6 @@ var ImportModal = function ImportModal(props) {
|
|
|
152
152
|
className: "".concat(classPrefix, "-export-container-h1")
|
|
153
153
|
}, "\u5C06\u6570\u636E\u6587\u4EF6\u62D6\u5230\u6B64\u5904 \u6216", /*#__PURE__*/React.createElement("a", null, "\u70B9\u51FB\u4E0A\u4F20")), /*#__PURE__*/React.createElement("div", {
|
|
154
154
|
className: "".concat(classPrefix, "-export-container-h2")
|
|
155
|
-
}, "\u652F\u6301 xls\u3001xlsx \u683C\u5F0F\uFF0C\u6700\u592710M"))));
|
|
155
|
+
}, "\u652F\u6301 xls\u3001xlsx \u683C\u5F0F\uFF0C\u6700\u592710M")))));
|
|
156
156
|
};
|
|
157
157
|
export default ImportModal;
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.import-meta-modal {
|
|
4
|
-
&-icon-file {
|
|
5
|
-
color: @primary-color;
|
|
6
|
-
font-size: 48px !important;
|
|
7
|
-
}
|
|
8
|
-
&-icon-export {
|
|
9
|
-
margin-right: @margin-xss;
|
|
10
|
-
}
|
|
11
|
-
&-export-btn {
|
|
12
|
-
display: block;
|
|
13
|
-
width: fit-content;
|
|
14
|
-
// margin-top: @margin-md;
|
|
15
|
-
}
|
|
16
|
-
.ant-upload.ant-upload-drag {
|
|
17
|
-
background: #fafafb;
|
|
18
|
-
/* io/中性/N2-置灰信息 */
|
|
19
|
-
border: 1px dashed #ccd0d4;
|
|
20
|
-
}
|
|
21
|
-
.ant-upload.ant-upload-drag .ant-upload {
|
|
22
|
-
padding: 40px 0;
|
|
23
|
-
}
|
|
24
|
-
&-export-container {
|
|
25
|
-
border-radius: 4px;
|
|
26
|
-
&-h1 {
|
|
27
|
-
margin-top: -8px;
|
|
28
|
-
margin-bottom: 4px;
|
|
29
|
-
}
|
|
30
|
-
&-h2 {
|
|
31
|
-
color: @text-color-secondary;
|
|
32
|
-
font-size: 12px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-show-container {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: space-between;
|
|
40
|
-
padding: 24px;
|
|
41
|
-
background: #fafafb;
|
|
42
|
-
/* io/中性/N1-按钮边框 线色 */
|
|
43
|
-
border: 1px solid #e6e7ea;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
&-content {
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
&-icon {
|
|
49
|
-
margin-right: 12px;
|
|
50
|
-
color: @primary-color;
|
|
51
|
-
font-size: 40px !important;
|
|
52
|
-
}
|
|
53
|
-
&-file {
|
|
54
|
-
&-title {
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
}
|
|
57
|
-
&-size {
|
|
58
|
-
color: @text-color-secondary;
|
|
59
|
-
font-size: 12px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-spin {
|
|
66
|
-
background: #fafafb;
|
|
67
|
-
border: 1px solid #e6e7ea;
|
|
68
|
-
border-radius: 4px;
|
|
69
|
-
&-icon.anticon {
|
|
70
|
-
color: @primary-color;
|
|
71
|
-
font-size: 24px;
|
|
72
|
-
}
|
|
73
|
-
.ant-spin-text {
|
|
74
|
-
margin-top: @margin-xs;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&-upload-txt {
|
|
79
|
-
font-size: 16px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.ant-modal-body {
|
|
83
|
-
padding-top: 8px !important;
|
|
84
|
-
}
|
|
85
|
-
&-footer {
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
align-items: center;
|
|
89
|
-
justify-content: space-between;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.import-meta-modal {
|
|
4
|
+
&-icon-file {
|
|
5
|
+
color: @primary-color;
|
|
6
|
+
font-size: 48px !important;
|
|
7
|
+
}
|
|
8
|
+
&-icon-export {
|
|
9
|
+
margin-right: @margin-xss;
|
|
10
|
+
}
|
|
11
|
+
&-export-btn {
|
|
12
|
+
display: block;
|
|
13
|
+
width: fit-content;
|
|
14
|
+
// margin-top: @margin-md;
|
|
15
|
+
}
|
|
16
|
+
.ant-upload.ant-upload-drag {
|
|
17
|
+
background: #fafafb;
|
|
18
|
+
/* io/中性/N2-置灰信息 */
|
|
19
|
+
border: 1px dashed #ccd0d4;
|
|
20
|
+
}
|
|
21
|
+
.ant-upload.ant-upload-drag .ant-upload {
|
|
22
|
+
padding: 40px 0;
|
|
23
|
+
}
|
|
24
|
+
&-export-container {
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
&-h1 {
|
|
27
|
+
margin-top: -8px;
|
|
28
|
+
margin-bottom: 4px;
|
|
29
|
+
}
|
|
30
|
+
&-h2 {
|
|
31
|
+
color: @text-color-secondary;
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-show-container {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
padding: 24px;
|
|
41
|
+
background: #fafafb;
|
|
42
|
+
/* io/中性/N1-按钮边框 线色 */
|
|
43
|
+
border: 1px solid #e6e7ea;
|
|
44
|
+
border-radius: 4px;
|
|
45
|
+
&-content {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
&-icon {
|
|
49
|
+
margin-right: 12px;
|
|
50
|
+
color: @primary-color;
|
|
51
|
+
font-size: 40px !important;
|
|
52
|
+
}
|
|
53
|
+
&-file {
|
|
54
|
+
&-title {
|
|
55
|
+
font-size: 16px;
|
|
56
|
+
}
|
|
57
|
+
&-size {
|
|
58
|
+
color: @text-color-secondary;
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-spin {
|
|
66
|
+
background: #fafafb;
|
|
67
|
+
border: 1px solid #e6e7ea;
|
|
68
|
+
border-radius: 4px;
|
|
69
|
+
&-icon.anticon {
|
|
70
|
+
color: @primary-color;
|
|
71
|
+
font-size: 24px;
|
|
72
|
+
}
|
|
73
|
+
.ant-spin-text {
|
|
74
|
+
margin-top: @margin-xs;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-upload-txt {
|
|
79
|
+
font-size: 16px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ant-modal-body {
|
|
83
|
+
padding-top: 8px !important;
|
|
84
|
+
}
|
|
85
|
+
&-footer {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: space-between;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -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 from 'react';
|
|
8
8
|
// import DemandManage from './../index';
|
|
9
9
|
// import { DemoWrapper } from '@zgfe/business-lib';
|
|
@@ -54,7 +54,7 @@ export default (function () {
|
|
|
54
54
|
}
|
|
55
55
|
}, /*#__PURE__*/React.createElement(DemandManage, {
|
|
56
56
|
setIsShowSelectList: initFun
|
|
57
|
-
}), isShowSelectList ? /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
}), isShowSelectList ? (/*#__PURE__*/React.createElement("div", {
|
|
58
58
|
style: {
|
|
59
59
|
position: 'absolute',
|
|
60
60
|
top: 0,
|
|
@@ -95,5 +95,5 @@ export default (function () {
|
|
|
95
95
|
onChangeSelectObj: setSelectObj,
|
|
96
96
|
selectObj: selectObj,
|
|
97
97
|
selectTreeName: ''
|
|
98
|
-
}))) : null));
|
|
98
|
+
})))) : null));
|
|
99
99
|
});
|
|
@@ -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 { Input, message } from 'antd';
|
|
8
8
|
import React, { useImperativeHandle, useRef, useState } from 'react';
|
|
9
9
|
import './index.less';
|
|
@@ -84,7 +84,7 @@ var BizEditText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
84
84
|
};
|
|
85
85
|
return /*#__PURE__*/React.createElement("div", {
|
|
86
86
|
className: classPrefix
|
|
87
|
-
}, isEdit || props.isInput ? /*#__PURE__*/React.createElement("div", {
|
|
87
|
+
}, isEdit || props.isInput ? (/*#__PURE__*/React.createElement("div", {
|
|
88
88
|
className: "".concat(classPrefix, "-input")
|
|
89
89
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
90
90
|
ref: inputRef,
|
|
@@ -98,15 +98,15 @@ var BizEditText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
98
98
|
placeholder: "\u8BF7\u8F93\u5165".concat(props.name || ''),
|
|
99
99
|
onBlur: onBlur,
|
|
100
100
|
onChange: onChange
|
|
101
|
-
}), props.max && /*#__PURE__*/React.createElement("div", {
|
|
101
|
+
}), props.max && (/*#__PURE__*/React.createElement("div", {
|
|
102
102
|
className: "".concat(classPrefix, "-input-num")
|
|
103
103
|
}, /*#__PURE__*/React.createElement("span", {
|
|
104
104
|
style: {
|
|
105
105
|
color: '#021429'
|
|
106
106
|
}
|
|
107
|
-
}, (curTitle || '').length), /*#__PURE__*/React.createElement("span", null, "/", props.max)), errorText ? /*#__PURE__*/React.createElement("span", {
|
|
107
|
+
}, (curTitle || '').length), /*#__PURE__*/React.createElement("span", null, "/", props.max))), errorText ? /*#__PURE__*/React.createElement("span", {
|
|
108
108
|
className: "".concat(classPrefix, "-error-tip")
|
|
109
|
-
}, errorText) : null) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
109
|
+
}, errorText) : null)) : (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
110
110
|
className: "".concat(classPrefix, "-content"),
|
|
111
111
|
style: {
|
|
112
112
|
color: props.value ? '#021429' : '#9AA1A9',
|
|
@@ -118,13 +118,13 @@ var BizEditText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
118
118
|
}
|
|
119
119
|
setIsEdit(true);
|
|
120
120
|
}
|
|
121
|
-
}, props.value || props.placeholder || '请输入'), props.canEdit && !props.isOnlyTxt && !props.isHideIcon ? /*#__PURE__*/React.createElement(IconFont, {
|
|
121
|
+
}, props.value || props.placeholder || '请输入'), props.canEdit && !props.isOnlyTxt && !props.isHideIcon ? (/*#__PURE__*/React.createElement(IconFont, {
|
|
122
122
|
className: "".concat(classPrefix, "-icon"),
|
|
123
123
|
type: "bianji1",
|
|
124
124
|
onClick: function onClick() {
|
|
125
125
|
setIsEdit(true);
|
|
126
126
|
}
|
|
127
|
-
}) : null));
|
|
127
|
+
})) : null)));
|
|
128
128
|
});
|
|
129
129
|
BizEditText.defaultProps = {
|
|
130
130
|
required: true,
|