@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
package/es/global.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface Window {
|
|
2
|
-
__POWERED_BY_QIANKUN__?: any;
|
|
3
|
-
__INJECTED_PUBLIC_PATH_BY_QIANKUN__?: any;
|
|
4
|
-
}
|
|
1
|
+
interface Window {
|
|
2
|
+
__POWERED_BY_QIANKUN__?: any;
|
|
3
|
+
__INJECTED_PUBLIC_PATH_BY_QIANKUN__?: any;
|
|
4
|
+
}
|
|
@@ -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, { useContext } from 'react';
|
|
8
8
|
import { Button, Form, Input, notification } from 'antd';
|
|
9
9
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
@@ -93,7 +93,7 @@ var AppInfo = function AppInfo(_ref) {
|
|
|
93
93
|
}]
|
|
94
94
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
95
95
|
placeholder: "\u59D3\u540D"
|
|
96
|
-
})), showAppAccount ? /*#__PURE__*/React.createElement(Form.Item, {
|
|
96
|
+
})), showAppAccount ? (/*#__PURE__*/React.createElement(Form.Item, {
|
|
97
97
|
label: "\u5907\u6CE8",
|
|
98
98
|
name: "appAccount",
|
|
99
99
|
rules: [{
|
|
@@ -105,7 +105,7 @@ var AppInfo = function AppInfo(_ref) {
|
|
|
105
105
|
}]
|
|
106
106
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
107
107
|
placeholder: "\u8BF7\u586B\u5199\u5907\u6CE8"
|
|
108
|
-
})) : '', /*#__PURE__*/React.createElement(Form.Item, {
|
|
108
|
+
}))) : '', /*#__PURE__*/React.createElement(Form.Item, {
|
|
109
109
|
shouldUpdate: true
|
|
110
110
|
}, function () {
|
|
111
111
|
return /*#__PURE__*/React.createElement(Button, {
|
|
@@ -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 } from 'react';
|
|
8
8
|
import { Button, Form, Input, notification } from 'antd';
|
|
9
9
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.explain {
|
|
2
|
-
margin-left: 12px;
|
|
3
|
-
color: #b2b2b2;
|
|
4
|
-
font-size: 12px;
|
|
5
|
-
}
|
|
1
|
+
.explain {
|
|
2
|
+
margin-left: 12px;
|
|
3
|
+
color: #b2b2b2;
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
}
|
|
@@ -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 { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
8
8
|
import { notification } from 'antd';
|
|
9
9
|
import React, { useEffect } from 'react';
|
|
@@ -126,7 +126,7 @@ var AppVirtualSource = function AppVirtualSource(props) {
|
|
|
126
126
|
});
|
|
127
127
|
setConfigData(dealData);
|
|
128
128
|
};
|
|
129
|
-
return /*#__PURE__*/React.createElement("div", null, selectApp ? /*#__PURE__*/React.createElement("div", {
|
|
129
|
+
return /*#__PURE__*/React.createElement("div", null, selectApp ? (/*#__PURE__*/React.createElement("div", {
|
|
130
130
|
className: "app-setting-virtual-source"
|
|
131
131
|
}, /*#__PURE__*/React.createElement("div", {
|
|
132
132
|
className: "source-app-list virtual-app-table-box"
|
|
@@ -149,6 +149,6 @@ var AppVirtualSource = function AppVirtualSource(props) {
|
|
|
149
149
|
changeData(event_id, app_id, checked, index);
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
|
-
})))) : /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E"));
|
|
152
|
+
}))))) : (/*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E")));
|
|
153
153
|
};
|
|
154
154
|
export default AppVirtualSource;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
@import url(./table.less);
|
|
2
|
-
|
|
3
|
-
.app-setting-virtual-source {
|
|
4
|
-
height: 100%;
|
|
5
|
-
min-height: 120px;
|
|
6
|
-
padding: 20px;
|
|
7
|
-
overflow: auto;
|
|
8
|
-
|
|
9
|
-
.source-app-list {
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: auto;
|
|
12
|
-
|
|
13
|
-
.source-app-name {
|
|
14
|
-
display: inline-block;
|
|
15
|
-
width: 354px;
|
|
16
|
-
margin-left: 10px;
|
|
17
|
-
|
|
18
|
-
.source-app-events-num {
|
|
19
|
-
display: inline-block;
|
|
20
|
-
// margin-left: 10px;
|
|
21
|
-
|
|
22
|
-
.empty-data {
|
|
23
|
-
line-height: 47px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
@import url(./table.less);
|
|
2
|
+
|
|
3
|
+
.app-setting-virtual-source {
|
|
4
|
+
height: 100%;
|
|
5
|
+
min-height: 120px;
|
|
6
|
+
padding: 20px;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
|
|
9
|
+
.source-app-list {
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: auto;
|
|
12
|
+
|
|
13
|
+
.source-app-name {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
width: 354px;
|
|
16
|
+
margin-left: 10px;
|
|
17
|
+
|
|
18
|
+
.source-app-events-num {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
// margin-left: 10px;
|
|
21
|
+
|
|
22
|
+
.empty-data {
|
|
23
|
+
line-height: 47px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
.virtual-app-table-box {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
// width: 100%;
|
|
5
|
-
font-size: 14px;
|
|
6
|
-
border: 1px solid #dadada;
|
|
7
|
-
|
|
8
|
-
.table-title {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-shrink: 0;
|
|
11
|
-
// padding: 0 20px;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
height: 32px;
|
|
14
|
-
color: #565656;
|
|
15
|
-
font-size: 0;
|
|
16
|
-
line-height: 32px;
|
|
17
|
-
background: #e6e6e6;
|
|
18
|
-
|
|
19
|
-
> div,
|
|
20
|
-
> span {
|
|
21
|
-
display: inline-block;
|
|
22
|
-
// margin-left: 10px;
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
|
|
25
|
-
.table-body {
|
|
26
|
-
min-height: 47px;
|
|
27
|
-
padding: 0 20px;
|
|
28
|
-
|
|
29
|
-
.empty-data {
|
|
30
|
-
text-align: center;
|
|
31
|
-
|
|
32
|
-
> div,
|
|
33
|
-
> span {
|
|
34
|
-
border-bottom: 1px solid #eeeeee;
|
|
35
|
-
|
|
36
|
-
> div,
|
|
37
|
-
> span {
|
|
38
|
-
display: inline-block;
|
|
39
|
-
margin-left: 10px;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
|
|
42
|
-
&:last-child {
|
|
43
|
-
border: none;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
1
|
+
.virtual-app-table-box {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
// width: 100%;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
border: 1px solid #dadada;
|
|
7
|
+
|
|
8
|
+
.table-title {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-shrink: 0;
|
|
11
|
+
// padding: 0 20px;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
height: 32px;
|
|
14
|
+
color: #565656;
|
|
15
|
+
font-size: 0;
|
|
16
|
+
line-height: 32px;
|
|
17
|
+
background: #e6e6e6;
|
|
18
|
+
|
|
19
|
+
> div,
|
|
20
|
+
> span {
|
|
21
|
+
display: inline-block;
|
|
22
|
+
// margin-left: 10px;
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
|
|
25
|
+
.table-body {
|
|
26
|
+
min-height: 47px;
|
|
27
|
+
padding: 0 20px;
|
|
28
|
+
|
|
29
|
+
.empty-data {
|
|
30
|
+
text-align: center;
|
|
31
|
+
|
|
32
|
+
> div,
|
|
33
|
+
> span {
|
|
34
|
+
border-bottom: 1px solid #eeeeee;
|
|
35
|
+
|
|
36
|
+
> div,
|
|
37
|
+
> span {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
margin-left: 10px;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
|
|
42
|
+
&:last-child {
|
|
43
|
+
border: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function _createForOfIteratorHelper(
|
|
2
|
-
function _slicedToArray(
|
|
1
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw 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(
|
|
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
8
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
9
9
|
import './index.less';
|
|
10
10
|
import util from './../../../utils/util';
|
|
@@ -113,7 +113,7 @@ var appList = function appList(props) {
|
|
|
113
113
|
dataIndex: 'apps',
|
|
114
114
|
render: function render(apps) {
|
|
115
115
|
// const data = res[1];
|
|
116
|
-
return /*#__PURE__*/React.createElement("div", null, (apps || []).length ? /*#__PURE__*/React.createElement("div", {
|
|
116
|
+
return /*#__PURE__*/React.createElement("div", null, (apps || []).length ? (/*#__PURE__*/React.createElement("div", {
|
|
117
117
|
className: "platform-icons"
|
|
118
118
|
}, apps.map(function (item) {
|
|
119
119
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -123,7 +123,7 @@ var appList = function appList(props) {
|
|
|
123
123
|
key: item.id,
|
|
124
124
|
className: "icon-".concat(getPlatIcon(item.sdkPlatform))
|
|
125
125
|
}));
|
|
126
|
-
})) : /*#__PURE__*/React.createElement("span", null, "\u672A\u63A5\u5165\u6570\u636E"));
|
|
126
|
+
}))) : (/*#__PURE__*/React.createElement("span", null, "\u672A\u63A5\u5165\u6570\u636E")));
|
|
127
127
|
}
|
|
128
128
|
}, {
|
|
129
129
|
title: 'key',
|
|
@@ -141,12 +141,12 @@ var appList = function appList(props) {
|
|
|
141
141
|
onClick: function onClick() {
|
|
142
142
|
return toAppSetting(data);
|
|
143
143
|
}
|
|
144
|
-
}, "\u5E94\u7528\u8BBE\u7F6E"), authority[10101] && /*#__PURE__*/React.createElement("span", {
|
|
144
|
+
}, "\u5E94\u7528\u8BBE\u7F6E"), authority[10101] && (/*#__PURE__*/React.createElement("span", {
|
|
145
145
|
onClick: function onClick() {
|
|
146
146
|
return showDelPanel(data);
|
|
147
147
|
},
|
|
148
148
|
className: "icon-delete"
|
|
149
|
-
}));
|
|
149
|
+
})));
|
|
150
150
|
}
|
|
151
151
|
}];
|
|
152
152
|
useEffect(function () {
|
|
@@ -350,7 +350,7 @@ var appList = function appList(props) {
|
|
|
350
350
|
var _formRef$current4;
|
|
351
351
|
setAppNameVal((_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : _formRef$current4.getFieldValue('appNameVal'));
|
|
352
352
|
}
|
|
353
|
-
}, (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion) === 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
|
|
353
|
+
}, (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion) === 0 && (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
|
|
354
354
|
className: "app-list-version-warning"
|
|
355
355
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
356
356
|
type: "tishi1"
|
|
@@ -364,7 +364,7 @@ var appList = function appList(props) {
|
|
|
364
364
|
value: AppVersion.bank
|
|
365
365
|
}, "\u57CE\u5546\u884C\u573A\u666F\u7248\u672C"), /*#__PURE__*/React.createElement(Radio, {
|
|
366
366
|
value: AppVersion.finance
|
|
367
|
-
}, "\u8BC1\u5238\u7248\u672C")))), /*#__PURE__*/React.createElement(Form.Item, {
|
|
367
|
+
}, "\u8BC1\u5238\u7248\u672C"))))), /*#__PURE__*/React.createElement(Form.Item, {
|
|
368
368
|
name: 'appNameVal',
|
|
369
369
|
className: "app-list-form-item"
|
|
370
370
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
@import './../../../constants/icons/iconfont.css';
|
|
2
|
-
|
|
3
|
-
.app-list {
|
|
4
|
-
height: 100%;
|
|
5
|
-
margin-top: 8px;
|
|
6
|
-
padding: 0;
|
|
7
|
-
overflow: auto;
|
|
8
|
-
|
|
9
|
-
.applist-head {
|
|
10
|
-
.c-button {
|
|
11
|
-
margin-right: 20px;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.app-list-content {
|
|
16
|
-
margin-top: 20px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.platform-icons {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: flex-start;
|
|
23
|
-
width: 100%;
|
|
24
|
-
|
|
25
|
-
span {
|
|
26
|
-
margin-right: 10px;
|
|
27
|
-
color: #cfcfcf;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.app-list-content {
|
|
33
|
-
.c-grid-cell,
|
|
34
|
-
.c-grid-header-cell {
|
|
35
|
-
text-align: left !important;
|
|
36
|
-
border: none;
|
|
37
|
-
border-bottom: 1px solid #d1d1d1;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.c-grid-cell {
|
|
41
|
-
text-align: left !important;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.c-grid-body .c-grid-row:nth-child(2n) {
|
|
45
|
-
background: #fff !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.app-name {
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
|
|
51
|
-
&:hover {
|
|
52
|
-
color: #00a0ea;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.operating {
|
|
57
|
-
span {
|
|
58
|
-
color: #00a0ea;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
span.icon-delete {
|
|
63
|
-
margin-left: 10px;
|
|
64
|
-
color: #cfcfcf;
|
|
65
|
-
|
|
66
|
-
&:hover {
|
|
67
|
-
color: #00a0ea;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.dialog-content {
|
|
74
|
-
color: #858585;
|
|
75
|
-
|
|
76
|
-
.c-input {
|
|
77
|
-
margin-bottom: 20px;
|
|
78
|
-
color: #000;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.app-version .ant-radio-wrapper {
|
|
83
|
-
margin-right: 48px !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-version-warning {
|
|
87
|
-
display: flex;
|
|
88
|
-
gap: 10px;
|
|
89
|
-
align-items: center;
|
|
90
|
-
height: 32px;
|
|
91
|
-
padding: 0 16px;
|
|
92
|
-
color: #021429;
|
|
93
|
-
background-color: #e6f7ff;
|
|
94
|
-
border: 1px solid #91d5ff;
|
|
95
|
-
border-radius: 2px;
|
|
96
|
-
|
|
97
|
-
.bsicon {
|
|
98
|
-
color: #1890ff;
|
|
99
|
-
font-size: 14px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&-create-app .ant-modal-header {
|
|
104
|
-
padding-bottom: 0 !important;
|
|
105
|
-
|
|
106
|
-
.ant-modal-title {
|
|
107
|
-
margin-bottom: 24px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&-form-item.ant-form-item {
|
|
112
|
-
margin-bottom: 16px !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-desc {
|
|
116
|
-
li {
|
|
117
|
-
padding-left: 4px;
|
|
118
|
-
color: #9aa1a9;
|
|
119
|
-
|
|
120
|
-
&::before {
|
|
121
|
-
margin-right: 8px;
|
|
122
|
-
content: '•';
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
1
|
+
@import './../../../constants/icons/iconfont.css';
|
|
2
|
+
|
|
3
|
+
.app-list {
|
|
4
|
+
height: 100%;
|
|
5
|
+
margin-top: 8px;
|
|
6
|
+
padding: 0;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
|
|
9
|
+
.applist-head {
|
|
10
|
+
.c-button {
|
|
11
|
+
margin-right: 20px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.app-list-content {
|
|
16
|
+
margin-top: 20px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.platform-icons {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: flex-start;
|
|
23
|
+
width: 100%;
|
|
24
|
+
|
|
25
|
+
span {
|
|
26
|
+
margin-right: 10px;
|
|
27
|
+
color: #cfcfcf;
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.app-list-content {
|
|
33
|
+
.c-grid-cell,
|
|
34
|
+
.c-grid-header-cell {
|
|
35
|
+
text-align: left !important;
|
|
36
|
+
border: none;
|
|
37
|
+
border-bottom: 1px solid #d1d1d1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.c-grid-cell {
|
|
41
|
+
text-align: left !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.c-grid-body .c-grid-row:nth-child(2n) {
|
|
45
|
+
background: #fff !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.app-name {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
color: #00a0ea;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.operating {
|
|
57
|
+
span {
|
|
58
|
+
color: #00a0ea;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
span.icon-delete {
|
|
63
|
+
margin-left: 10px;
|
|
64
|
+
color: #cfcfcf;
|
|
65
|
+
|
|
66
|
+
&:hover {
|
|
67
|
+
color: #00a0ea;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.dialog-content {
|
|
74
|
+
color: #858585;
|
|
75
|
+
|
|
76
|
+
.c-input {
|
|
77
|
+
margin-bottom: 20px;
|
|
78
|
+
color: #000;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.app-version .ant-radio-wrapper {
|
|
83
|
+
margin-right: 48px !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&-version-warning {
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: 10px;
|
|
89
|
+
align-items: center;
|
|
90
|
+
height: 32px;
|
|
91
|
+
padding: 0 16px;
|
|
92
|
+
color: #021429;
|
|
93
|
+
background-color: #e6f7ff;
|
|
94
|
+
border: 1px solid #91d5ff;
|
|
95
|
+
border-radius: 2px;
|
|
96
|
+
|
|
97
|
+
.bsicon {
|
|
98
|
+
color: #1890ff;
|
|
99
|
+
font-size: 14px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&-create-app .ant-modal-header {
|
|
104
|
+
padding-bottom: 0 !important;
|
|
105
|
+
|
|
106
|
+
.ant-modal-title {
|
|
107
|
+
margin-bottom: 24px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&-form-item.ant-form-item {
|
|
112
|
+
margin-bottom: 16px !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&-desc {
|
|
116
|
+
li {
|
|
117
|
+
padding-left: 4px;
|
|
118
|
+
color: #9aa1a9;
|
|
119
|
+
|
|
120
|
+
&::before {
|
|
121
|
+
margin-right: 8px;
|
|
122
|
+
content: '•';
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|