@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,19 +1,19 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _toConsumableArray(
|
|
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 _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
3
3
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
-
function _iterableToArray(
|
|
5
|
-
function _arrayWithoutHoles(
|
|
6
|
-
function ownKeys(
|
|
7
|
-
function _objectSpread(
|
|
8
|
-
function _defineProperty(
|
|
9
|
-
function _toPropertyKey(
|
|
10
|
-
function _toPrimitive(
|
|
11
|
-
function _slicedToArray(
|
|
4
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
5
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
8
|
+
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; }
|
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
10
|
+
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); }
|
|
11
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
12
12
|
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."); }
|
|
13
|
-
function _unsupportedIterableToArray(
|
|
14
|
-
function _arrayLikeToArray(
|
|
15
|
-
function _iterableToArrayLimit(
|
|
16
|
-
function _arrayWithHoles(
|
|
13
|
+
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; } }
|
|
14
|
+
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; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
17
|
import { BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
18
18
|
import { Input, Button,
|
|
19
19
|
// Select,
|
|
@@ -388,7 +388,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
388
388
|
className: "".concat(classPrefix, "-info-item-txt")
|
|
389
389
|
}, "\u9700\u6C42\u9644\u4EF6"), /*#__PURE__*/React.createElement("div", {
|
|
390
390
|
className: "".concat(classPrefix, "-info-item-content")
|
|
391
|
-
}, demandFile && demandFile.fileName ? /*#__PURE__*/React.createElement("div", {
|
|
391
|
+
}, demandFile && demandFile.fileName ? (/*#__PURE__*/React.createElement("div", {
|
|
392
392
|
className: "".concat(classPrefix, "-info-item-content-row")
|
|
393
393
|
}, /*#__PURE__*/React.createElement("div", {
|
|
394
394
|
className: "".concat(classPrefix, "-info-item-yasuobao")
|
|
@@ -397,7 +397,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
397
397
|
onClick: function onClick() {
|
|
398
398
|
downloadFile();
|
|
399
399
|
}
|
|
400
|
-
}, demandFile.fileName), !isRead && /*#__PURE__*/React.createElement(IconFont, {
|
|
400
|
+
}, demandFile.fileName), !isRead && (/*#__PURE__*/React.createElement(IconFont, {
|
|
401
401
|
type: "qingchu",
|
|
402
402
|
style: {
|
|
403
403
|
color: '#67727F'
|
|
@@ -405,7 +405,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
405
405
|
onClick: function onClick() {
|
|
406
406
|
setDemandFile(void 0);
|
|
407
407
|
}
|
|
408
|
-
})) : /*#__PURE__*/React.createElement("div", {
|
|
408
|
+
})))) : (/*#__PURE__*/React.createElement("div", {
|
|
409
409
|
className: "".concat(classPrefix, "-info-item-content-row")
|
|
410
410
|
}, /*#__PURE__*/React.createElement(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, {
|
|
411
411
|
disabled: isRead
|
|
@@ -415,7 +415,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
415
415
|
type: "tianjia1"
|
|
416
416
|
}), "\u6DFB\u52A0\u6587\u4EF6")), /*#__PURE__*/React.createElement("div", {
|
|
417
417
|
className: "".concat(classPrefix, "-info-item-content-tip")
|
|
418
|
-
}, "\uFF08\u652F\u6301 ZIP\u3001RAR \u683C\u5F0F\u300110M\u4EE5\u5185\uFF09")))), /*#__PURE__*/React.createElement("div", {
|
|
418
|
+
}, "\uFF08\u652F\u6301 ZIP\u3001RAR \u683C\u5F0F\u300110M\u4EE5\u5185\uFF09"))))), /*#__PURE__*/React.createElement("div", {
|
|
419
419
|
className: "".concat(classPrefix, "-info-item")
|
|
420
420
|
}, /*#__PURE__*/React.createElement("div", {
|
|
421
421
|
className: "".concat(classPrefix, "-info-item-txt")
|
|
@@ -433,7 +433,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
433
433
|
onClick: function onClick() {
|
|
434
434
|
setTabIndex(1);
|
|
435
435
|
}
|
|
436
|
-
}, "\u7528\u6237\u5C5E\u6027")), tabIndex ? /*#__PURE__*/React.createElement("div", {
|
|
436
|
+
}, "\u7528\u6237\u5C5E\u6027")), tabIndex ? (/*#__PURE__*/React.createElement("div", {
|
|
437
437
|
className: "".concat(classPrefix, "-info-item-content-filter")
|
|
438
438
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
439
439
|
style: {
|
|
@@ -447,14 +447,14 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
447
447
|
onChange: function onChange(e) {
|
|
448
448
|
return setAttrKey(e.target.value);
|
|
449
449
|
}
|
|
450
|
-
}), !isRead && /*#__PURE__*/React.createElement(Button, {
|
|
450
|
+
}), !isRead && (/*#__PURE__*/React.createElement(Button, {
|
|
451
451
|
shape: "round",
|
|
452
452
|
className: "button",
|
|
453
453
|
onClick: function onClick() {
|
|
454
454
|
setIsEdit(true);
|
|
455
455
|
props.setIsShowSelectList && props.setIsShowSelectList('2');
|
|
456
456
|
}
|
|
457
|
-
}, "\u6DFB\u52A0\u7528\u6237\u5C5E\u6027")) : /*#__PURE__*/React.createElement("div", {
|
|
457
|
+
}, "\u6DFB\u52A0\u7528\u6237\u5C5E\u6027")))) : (/*#__PURE__*/React.createElement("div", {
|
|
458
458
|
className: "".concat(classPrefix, "-info-item-content-filter")
|
|
459
459
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
460
460
|
style: {
|
|
@@ -468,14 +468,14 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
468
468
|
onChange: function onChange(e) {
|
|
469
469
|
return setEventKey(e.target.value);
|
|
470
470
|
}
|
|
471
|
-
}), !isRead && /*#__PURE__*/React.createElement(Button, {
|
|
471
|
+
}), !isRead && (/*#__PURE__*/React.createElement(Button, {
|
|
472
472
|
shape: "round",
|
|
473
473
|
className: "button",
|
|
474
474
|
onClick: function onClick() {
|
|
475
475
|
setIsEdit(true);
|
|
476
476
|
props.setIsShowSelectList && props.setIsShowSelectList('1');
|
|
477
477
|
}
|
|
478
|
-
}, "\u6DFB\u52A0\u4E8B\u4EF6")), tabIndex ? /*#__PURE__*/React.createElement(Table, {
|
|
478
|
+
}, "\u6DFB\u52A0\u4E8B\u4EF6")))), tabIndex ? (/*#__PURE__*/React.createElement(Table, {
|
|
479
479
|
style: {
|
|
480
480
|
width: '100%',
|
|
481
481
|
borderRadius: 8,
|
|
@@ -506,7 +506,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
506
506
|
}).filter(function (item) {
|
|
507
507
|
return encryptionType < 0 || item.encryption_type === encryptionType;
|
|
508
508
|
})
|
|
509
|
-
}) : /*#__PURE__*/React.createElement(Table, {
|
|
509
|
+
})) : (/*#__PURE__*/React.createElement(Table, {
|
|
510
510
|
style: {
|
|
511
511
|
width: '100%',
|
|
512
512
|
borderRadius: 8,
|
|
@@ -532,28 +532,28 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
532
532
|
dataSource: ((pointInfo === null || pointInfo === void 0 ? void 0 : pointInfo.eventData) || ((_props$saveObj2 = props.saveObj) === null || _props$saveObj2 === void 0 ? void 0 : _props$saveObj2.selectEventList) || []).filter(function (item) {
|
|
533
533
|
return new RegExp(_.escapeRegExp(eventKey), 'i').test((item.event_name || '') + (item.alias_name || ''));
|
|
534
534
|
})
|
|
535
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
535
|
+
}))))), /*#__PURE__*/React.createElement("div", {
|
|
536
536
|
className: "".concat(classPrefix, "-right")
|
|
537
|
-
}, nodeData.length ? /*#__PURE__*/React.createElement(ProcessCanvas, {
|
|
537
|
+
}, nodeData.length ? (/*#__PURE__*/React.createElement(ProcessCanvas, {
|
|
538
538
|
data: nodeData,
|
|
539
539
|
isRead: true,
|
|
540
540
|
currentIndex: currentNodenumber ? !isHandle ? void 0 : currentNodenumber - 1 : void 0,
|
|
541
541
|
defaultScale: window.innerWidth < 1300 ? 0.75 : 1
|
|
542
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
542
|
+
})) : (/*#__PURE__*/React.createElement("div", {
|
|
543
543
|
className: "".concat(classPrefix, "-right-end")
|
|
544
544
|
}, /*#__PURE__*/React.createElement(Empty, {
|
|
545
545
|
image: Empty.PRESENTED_IMAGE_SIMPLE,
|
|
546
546
|
description: "\u6682\u65E0\u8282\u70B9"
|
|
547
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
547
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
548
548
|
className: "".concat(classPrefix, "-right-title")
|
|
549
|
-
}, "\u8282\u70B9\u9884\u89C8"))), !isHandle && isRead ? null : /*#__PURE__*/React.createElement("div", {
|
|
549
|
+
}, "\u8282\u70B9\u9884\u89C8"))), !isHandle && isRead ? null : (/*#__PURE__*/React.createElement("div", {
|
|
550
550
|
className: "".concat(classPrefix, "-footer")
|
|
551
551
|
}, !isRead && /*#__PURE__*/React.createElement(Button, {
|
|
552
552
|
onClick: onBack
|
|
553
|
-
}, "\u53D6\u6D88"), !isDemo && !isRead && /*#__PURE__*/React.createElement(Button, {
|
|
553
|
+
}, "\u53D6\u6D88"), !isDemo && !isRead && (/*#__PURE__*/React.createElement(Button, {
|
|
554
554
|
type: 'primary',
|
|
555
555
|
onClick: onCreate
|
|
556
|
-
}, "\u786E\u5B9A"), !isDemo && isRead && isHandle && authority[17228364473] && /*#__PURE__*/React.createElement(Button, {
|
|
556
|
+
}, "\u786E\u5B9A")), !isDemo && isRead && isHandle && authority[17228364473] && (/*#__PURE__*/React.createElement(Button, {
|
|
557
557
|
danger: true,
|
|
558
558
|
type: 'primary',
|
|
559
559
|
onClick: function onClick() {
|
|
@@ -566,7 +566,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
566
566
|
fontSize: 16,
|
|
567
567
|
lineHeight: '16px'
|
|
568
568
|
}
|
|
569
|
-
}), "\u9A73\u56DE"), !isDemo && isRead && isHandle && authority[17228364473] && /*#__PURE__*/React.createElement(Button, {
|
|
569
|
+
}), "\u9A73\u56DE")), !isDemo && isRead && isHandle && authority[17228364473] && (/*#__PURE__*/React.createElement(Button, {
|
|
570
570
|
type: 'primary',
|
|
571
571
|
onClick: function onClick() {
|
|
572
572
|
submitDemand(1);
|
|
@@ -578,7 +578,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
578
578
|
fontSize: 16,
|
|
579
579
|
lineHeight: '16px'
|
|
580
580
|
}
|
|
581
|
-
}), "\u540C\u610F")), /*#__PURE__*/React.createElement(Drawer, {
|
|
581
|
+
}), "\u540C\u610F")))), /*#__PURE__*/React.createElement(Drawer, {
|
|
582
582
|
className: "".concat(classPrefix, "-drawer"),
|
|
583
583
|
width: '70%',
|
|
584
584
|
title: /*#__PURE__*/React.createElement("div", null, "\u67E5\u770B\u4E8B\u4EF6\u5C5E\u6027"),
|
|
@@ -592,13 +592,13 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
592
592
|
data: (eventProp || []).filter(function (item) {
|
|
593
593
|
return item.attr_id != 31415926;
|
|
594
594
|
})
|
|
595
|
-
})), isShowBackConfirm ? /*#__PURE__*/React.createElement(BackConfirm, {
|
|
595
|
+
})), isShowBackConfirm ? (/*#__PURE__*/React.createElement(BackConfirm, {
|
|
596
596
|
onOk: function onOk() {
|
|
597
597
|
props.onBack && props.onBack();
|
|
598
598
|
},
|
|
599
599
|
onCancel: function onCancel() {
|
|
600
600
|
setIsShowBackConfirm(false);
|
|
601
601
|
}
|
|
602
|
-
}) : null);
|
|
602
|
+
})) : null);
|
|
603
603
|
};
|
|
604
604
|
export default CreateDemand;
|
|
@@ -1,222 +1,222 @@
|
|
|
1
|
-
.system-setting-create-demand {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
height: 100%;
|
|
5
|
-
padding: 0 16px 16px;
|
|
6
|
-
background: #fafafb;
|
|
7
|
-
&-row {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex: 1;
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
overflow-y: auto;
|
|
12
|
-
}
|
|
13
|
-
&-right {
|
|
14
|
-
position: relative;
|
|
15
|
-
display: flex;
|
|
16
|
-
flex: 288;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
background: #f2f3f4;
|
|
19
|
-
border: 1px solid #e6e7ea;
|
|
20
|
-
border-bottom: 0;
|
|
21
|
-
border-top-right-radius: 8px;
|
|
22
|
-
// border-bottom-right-radius: 8px;
|
|
23
|
-
.setting-graph-panel {
|
|
24
|
-
right: 14px;
|
|
25
|
-
left: auto;
|
|
26
|
-
transform: none;
|
|
27
|
-
}
|
|
28
|
-
&-end {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
width: 100%;
|
|
33
|
-
}
|
|
34
|
-
&-title {
|
|
35
|
-
position: absolute;
|
|
36
|
-
top: 16px;
|
|
37
|
-
left: 16px;
|
|
38
|
-
color: var(--io-N-, #021429);
|
|
39
|
-
font-weight: 400;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
font-family: 'PingFang SC';
|
|
42
|
-
font-style: normal;
|
|
43
|
-
line-height: 22px; /* 157.143% */
|
|
44
|
-
text-align: right;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
&-header {
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
gap: 16px;
|
|
51
|
-
align-items: center;
|
|
52
|
-
padding: 12px 0;
|
|
53
|
-
color: var(--io-N6-, #67727f);
|
|
54
|
-
font-weight: 400;
|
|
55
|
-
font-size: 14px;
|
|
56
|
-
&-back {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&-footer {
|
|
61
|
-
display: flex;
|
|
62
|
-
gap: 16px;
|
|
63
|
-
align-items: center;
|
|
64
|
-
padding: 18px 24px;
|
|
65
|
-
background: #fff;
|
|
66
|
-
border-top: 1px solid var(--io-N1-, #e6e7ea);
|
|
67
|
-
border-bottom-right-radius: 8px;
|
|
68
|
-
border-bottom-left-radius: 8px;
|
|
69
|
-
}
|
|
70
|
-
&-info {
|
|
71
|
-
display: flex;
|
|
72
|
-
flex: 912;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
gap: 24px;
|
|
75
|
-
align-items: flex-start;
|
|
76
|
-
padding: 24px 24px 24px 24px;
|
|
77
|
-
overflow: hidden;
|
|
78
|
-
overflow-y: auto;
|
|
79
|
-
background: #fff;
|
|
80
|
-
border-top-left-radius: 8px;
|
|
81
|
-
// border-bottom-left-radius: 8px;
|
|
82
|
-
&-item {
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: row;
|
|
85
|
-
// align-items: center;
|
|
86
|
-
gap: 12px;
|
|
87
|
-
width: 100%;
|
|
88
|
-
&-yasuobao {
|
|
89
|
-
width: 24px;
|
|
90
|
-
height: 24px;
|
|
91
|
-
background: url('./../images/yasuobao.png') no-repeat;
|
|
92
|
-
background-size: contain;
|
|
93
|
-
&-txt:hover {
|
|
94
|
-
text-decoration: underline;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
&-txt {
|
|
98
|
-
width: 96px;
|
|
99
|
-
margin-top: 6px;
|
|
100
|
-
color: var(----3, #5f6085);
|
|
101
|
-
font-weight: 400;
|
|
102
|
-
font-size: 14px;
|
|
103
|
-
text-align: right;
|
|
104
|
-
span {
|
|
105
|
-
margin-right: 4px;
|
|
106
|
-
color: var(--io-Error-E-, #fb5547);
|
|
107
|
-
font-weight: 400;
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
&-content {
|
|
112
|
-
position: relative;
|
|
113
|
-
flex: 1;
|
|
114
|
-
width: calc(100% - 108px);
|
|
115
|
-
input,
|
|
116
|
-
textarea {
|
|
117
|
-
border-color: #fafafb;
|
|
118
|
-
}
|
|
119
|
-
&-input-num {
|
|
120
|
-
position: absolute;
|
|
121
|
-
right: 12px;
|
|
122
|
-
bottom: 6px;
|
|
123
|
-
color: var(--io-N4-, #9aa1a9);
|
|
124
|
-
font-weight: 400;
|
|
125
|
-
font-size: 14px;
|
|
126
|
-
}
|
|
127
|
-
&-picker {
|
|
128
|
-
width: 100%;
|
|
129
|
-
background-color: #fafafb;
|
|
130
|
-
}
|
|
131
|
-
.ant-upload-disabled .system-setting-create-demand-info-item-content-btn {
|
|
132
|
-
color: #ccd0d4;
|
|
133
|
-
}
|
|
134
|
-
&-btn {
|
|
135
|
-
display: flex;
|
|
136
|
-
gap: 8px;
|
|
137
|
-
align-items: center;
|
|
138
|
-
height: 32px;
|
|
139
|
-
padding: 10px 16px;
|
|
140
|
-
color: var(--io-N-, #021429);
|
|
141
|
-
font-weight: 400;
|
|
142
|
-
font-size: 14px;
|
|
143
|
-
font-family: 'PingFang SC';
|
|
144
|
-
font-style: normal;
|
|
145
|
-
line-height: normal;
|
|
146
|
-
background: var(--io-n-05, #f2f3f4);
|
|
147
|
-
border: 1px dashed var(--io-N1-, #e6e7ea);
|
|
148
|
-
border-radius: 4px;
|
|
149
|
-
}
|
|
150
|
-
&-tip {
|
|
151
|
-
color: var(--io-N4-, #9aa1a9);
|
|
152
|
-
font-weight: 400;
|
|
153
|
-
font-size: 14px;
|
|
154
|
-
font-family: 'PingFang SC';
|
|
155
|
-
font-style: normal;
|
|
156
|
-
line-height: normal;
|
|
157
|
-
}
|
|
158
|
-
&-row {
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: row;
|
|
161
|
-
gap: 12px;
|
|
162
|
-
align-items: center;
|
|
163
|
-
height: 34px;
|
|
164
|
-
.qingchu {
|
|
165
|
-
font-size: 16px;
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
}
|
|
168
|
-
.icon-yasuobao {
|
|
169
|
-
font-size: 24px;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
&-tab {
|
|
173
|
-
display: flex;
|
|
174
|
-
flex: 1 0 0;
|
|
175
|
-
gap: 24px;
|
|
176
|
-
align-items: flex-start;
|
|
177
|
-
padding: 12px 24px 0px 24px;
|
|
178
|
-
background: var(--io-n-02, #fafafb);
|
|
179
|
-
border-bottom: 1px solid var(--io-N1-, #e6e7ea);
|
|
180
|
-
&-item {
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: column;
|
|
183
|
-
align-items: flex-start;
|
|
184
|
-
padding-bottom: 10px;
|
|
185
|
-
color: #021429;
|
|
186
|
-
font-size: 16px;
|
|
187
|
-
line-height: 20px; /* 125% */
|
|
188
|
-
border-bottom: 2px solid transparent;
|
|
189
|
-
cursor: pointer;
|
|
190
|
-
}
|
|
191
|
-
&-item-select {
|
|
192
|
-
display: flex;
|
|
193
|
-
flex-direction: column;
|
|
194
|
-
align-items: flex-start;
|
|
195
|
-
padding-bottom: 10px;
|
|
196
|
-
color: #165dff;
|
|
197
|
-
font-size: 16px;
|
|
198
|
-
line-height: 20px; /* 125% */
|
|
199
|
-
border-bottom: 2px solid #165dff;
|
|
200
|
-
cursor: pointer;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
&-filter {
|
|
204
|
-
display: flex;
|
|
205
|
-
flex-direction: row;
|
|
206
|
-
gap: 16px;
|
|
207
|
-
padding: 16px 0;
|
|
208
|
-
.button:not(.disabled) {
|
|
209
|
-
color: #1454e5;
|
|
210
|
-
border: 1px solid #1454e5;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
&-drawer {
|
|
217
|
-
.ant-drawer-header-title .ant-drawer-close {
|
|
218
|
-
position: absolute;
|
|
219
|
-
right: 6px;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
1
|
+
.system-setting-create-demand {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%;
|
|
5
|
+
padding: 0 16px 16px;
|
|
6
|
+
background: #fafafb;
|
|
7
|
+
&-row {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex: 1;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
}
|
|
13
|
+
&-right {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 288;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
background: #f2f3f4;
|
|
19
|
+
border: 1px solid #e6e7ea;
|
|
20
|
+
border-bottom: 0;
|
|
21
|
+
border-top-right-radius: 8px;
|
|
22
|
+
// border-bottom-right-radius: 8px;
|
|
23
|
+
.setting-graph-panel {
|
|
24
|
+
right: 14px;
|
|
25
|
+
left: auto;
|
|
26
|
+
transform: none;
|
|
27
|
+
}
|
|
28
|
+
&-end {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
&-title {
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 16px;
|
|
37
|
+
left: 16px;
|
|
38
|
+
color: var(--io-N-, #021429);
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
font-family: 'PingFang SC';
|
|
42
|
+
font-style: normal;
|
|
43
|
+
line-height: 22px; /* 157.143% */
|
|
44
|
+
text-align: right;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&-header {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: row;
|
|
50
|
+
gap: 16px;
|
|
51
|
+
align-items: center;
|
|
52
|
+
padding: 12px 0;
|
|
53
|
+
color: var(--io-N6-, #67727f);
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
&-back {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
&-footer {
|
|
61
|
+
display: flex;
|
|
62
|
+
gap: 16px;
|
|
63
|
+
align-items: center;
|
|
64
|
+
padding: 18px 24px;
|
|
65
|
+
background: #fff;
|
|
66
|
+
border-top: 1px solid var(--io-N1-, #e6e7ea);
|
|
67
|
+
border-bottom-right-radius: 8px;
|
|
68
|
+
border-bottom-left-radius: 8px;
|
|
69
|
+
}
|
|
70
|
+
&-info {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex: 912;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
gap: 24px;
|
|
75
|
+
align-items: flex-start;
|
|
76
|
+
padding: 24px 24px 24px 24px;
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
overflow-y: auto;
|
|
79
|
+
background: #fff;
|
|
80
|
+
border-top-left-radius: 8px;
|
|
81
|
+
// border-bottom-left-radius: 8px;
|
|
82
|
+
&-item {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: row;
|
|
85
|
+
// align-items: center;
|
|
86
|
+
gap: 12px;
|
|
87
|
+
width: 100%;
|
|
88
|
+
&-yasuobao {
|
|
89
|
+
width: 24px;
|
|
90
|
+
height: 24px;
|
|
91
|
+
background: url('./../images/yasuobao.png') no-repeat;
|
|
92
|
+
background-size: contain;
|
|
93
|
+
&-txt:hover {
|
|
94
|
+
text-decoration: underline;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
&-txt {
|
|
98
|
+
width: 96px;
|
|
99
|
+
margin-top: 6px;
|
|
100
|
+
color: var(----3, #5f6085);
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
font-size: 14px;
|
|
103
|
+
text-align: right;
|
|
104
|
+
span {
|
|
105
|
+
margin-right: 4px;
|
|
106
|
+
color: var(--io-Error-E-, #fb5547);
|
|
107
|
+
font-weight: 400;
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
&-content {
|
|
112
|
+
position: relative;
|
|
113
|
+
flex: 1;
|
|
114
|
+
width: calc(100% - 108px);
|
|
115
|
+
input,
|
|
116
|
+
textarea {
|
|
117
|
+
border-color: #fafafb;
|
|
118
|
+
}
|
|
119
|
+
&-input-num {
|
|
120
|
+
position: absolute;
|
|
121
|
+
right: 12px;
|
|
122
|
+
bottom: 6px;
|
|
123
|
+
color: var(--io-N4-, #9aa1a9);
|
|
124
|
+
font-weight: 400;
|
|
125
|
+
font-size: 14px;
|
|
126
|
+
}
|
|
127
|
+
&-picker {
|
|
128
|
+
width: 100%;
|
|
129
|
+
background-color: #fafafb;
|
|
130
|
+
}
|
|
131
|
+
.ant-upload-disabled .system-setting-create-demand-info-item-content-btn {
|
|
132
|
+
color: #ccd0d4;
|
|
133
|
+
}
|
|
134
|
+
&-btn {
|
|
135
|
+
display: flex;
|
|
136
|
+
gap: 8px;
|
|
137
|
+
align-items: center;
|
|
138
|
+
height: 32px;
|
|
139
|
+
padding: 10px 16px;
|
|
140
|
+
color: var(--io-N-, #021429);
|
|
141
|
+
font-weight: 400;
|
|
142
|
+
font-size: 14px;
|
|
143
|
+
font-family: 'PingFang SC';
|
|
144
|
+
font-style: normal;
|
|
145
|
+
line-height: normal;
|
|
146
|
+
background: var(--io-n-05, #f2f3f4);
|
|
147
|
+
border: 1px dashed var(--io-N1-, #e6e7ea);
|
|
148
|
+
border-radius: 4px;
|
|
149
|
+
}
|
|
150
|
+
&-tip {
|
|
151
|
+
color: var(--io-N4-, #9aa1a9);
|
|
152
|
+
font-weight: 400;
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
font-family: 'PingFang SC';
|
|
155
|
+
font-style: normal;
|
|
156
|
+
line-height: normal;
|
|
157
|
+
}
|
|
158
|
+
&-row {
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-direction: row;
|
|
161
|
+
gap: 12px;
|
|
162
|
+
align-items: center;
|
|
163
|
+
height: 34px;
|
|
164
|
+
.qingchu {
|
|
165
|
+
font-size: 16px;
|
|
166
|
+
cursor: pointer;
|
|
167
|
+
}
|
|
168
|
+
.icon-yasuobao {
|
|
169
|
+
font-size: 24px;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
&-tab {
|
|
173
|
+
display: flex;
|
|
174
|
+
flex: 1 0 0;
|
|
175
|
+
gap: 24px;
|
|
176
|
+
align-items: flex-start;
|
|
177
|
+
padding: 12px 24px 0px 24px;
|
|
178
|
+
background: var(--io-n-02, #fafafb);
|
|
179
|
+
border-bottom: 1px solid var(--io-N1-, #e6e7ea);
|
|
180
|
+
&-item {
|
|
181
|
+
display: flex;
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
align-items: flex-start;
|
|
184
|
+
padding-bottom: 10px;
|
|
185
|
+
color: #021429;
|
|
186
|
+
font-size: 16px;
|
|
187
|
+
line-height: 20px; /* 125% */
|
|
188
|
+
border-bottom: 2px solid transparent;
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
}
|
|
191
|
+
&-item-select {
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
align-items: flex-start;
|
|
195
|
+
padding-bottom: 10px;
|
|
196
|
+
color: #165dff;
|
|
197
|
+
font-size: 16px;
|
|
198
|
+
line-height: 20px; /* 125% */
|
|
199
|
+
border-bottom: 2px solid #165dff;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
&-filter {
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-direction: row;
|
|
206
|
+
gap: 16px;
|
|
207
|
+
padding: 16px 0;
|
|
208
|
+
.button:not(.disabled) {
|
|
209
|
+
color: #1454e5;
|
|
210
|
+
border: 1px solid #1454e5;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
&-drawer {
|
|
217
|
+
.ant-drawer-header-title .ant-drawer-close {
|
|
218
|
+
position: absolute;
|
|
219
|
+
right: 6px;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|