@zgfe/modules-settings 1.2.51-zhongyuan.0 → 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.
Files changed (173) hide show
  1. package/README.md +33 -33
  2. package/es/components/card/demo/index.js +6 -6
  3. package/es/components/card/index.js +6 -6
  4. package/es/components/card/index.less +87 -87
  5. package/es/components/pageLoading/index.less +7 -7
  6. package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
  7. package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
  8. package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
  9. package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
  10. package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
  11. package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
  12. package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
  13. package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
  14. package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
  15. package/es/components/picCircleSelect/demo/index.js +5 -5
  16. package/es/components/picCircleSelect/index.js +7 -8
  17. package/es/components/picCircleSelect/index.less +37 -37
  18. package/es/components/processCanvas/customNode/node_point.js +4 -4
  19. package/es/components/processCanvas/demo/index.js +5 -6
  20. package/es/components/processCanvas/index.js +11 -11
  21. package/es/components/processCanvas/styles/customNode.less +149 -149
  22. package/es/components/processCanvas/styles/index.less +34 -34
  23. package/es/components/processCanvas/toolbar.js +5 -5
  24. package/es/components/selectAppWrapper/index.js +14 -15
  25. package/es/components/settingTabs/index.js +5 -5
  26. package/es/components/settingTabs/index.less +51 -51
  27. package/es/constants/api.d.ts +13 -0
  28. package/es/constants/api.js +18 -2
  29. package/es/constants/icons/demo.css +539 -539
  30. package/es/constants/icons/demo_index.html +9871 -9871
  31. package/es/constants/icons/iconfont.css +1699 -1699
  32. package/es/constants/icons/iconfont.json +2956 -2956
  33. package/es/global.d.ts +4 -4
  34. package/es/modules/appSettings/appInfo/index.js +7 -7
  35. package/es/modules/appSettings/dataAccessFilter/index.js +5 -5
  36. package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
  37. package/es/modules/appSettings/virtualSource/index.js +7 -7
  38. package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
  39. package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
  40. package/es/modules/companySetting/appList/index.js +12 -12
  41. package/es/modules/companySetting/appList/index.less +126 -126
  42. package/es/modules/companySetting/application/applicationForm.js +9 -9
  43. package/es/modules/companySetting/application/applicationSetting.js +5 -5
  44. package/es/modules/companySetting/application/index.js +28 -28
  45. package/es/modules/companySetting/application/index.less +126 -126
  46. package/es/modules/companySetting/business/businessForm.js +7 -7
  47. package/es/modules/companySetting/business/index.js +27 -27
  48. package/es/modules/companySetting/business/index.less +92 -92
  49. package/es/modules/companySetting/cost/index.js +20 -20
  50. package/es/modules/companySetting/cost/index.less +38 -38
  51. package/es/modules/companySetting/department/index.js +16 -16
  52. package/es/modules/companySetting/department/index.less +157 -157
  53. package/es/modules/companySetting/edit/authConfig.js +5 -5
  54. package/es/modules/companySetting/edit/authConfigCEP.js +11 -11
  55. package/es/modules/companySetting/edit/authGroup.js +13 -13
  56. package/es/modules/companySetting/edit/authModule.js +18 -18
  57. package/es/modules/companySetting/edit/multiAuthModule.js +13 -13
  58. package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
  59. package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
  60. package/es/modules/companySetting/edit/styles/authModule.less +82 -82
  61. package/es/modules/companySetting/edit/styles/user.less +54 -54
  62. package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
  63. package/es/modules/companySetting/edit/user.js +14 -14
  64. package/es/modules/companySetting/edit/userGroup.js +16 -16
  65. package/es/modules/companySetting/index.js +29 -29
  66. package/es/modules/companySetting/index.less +90 -90
  67. package/es/modules/companySetting/info/index.js +7 -7
  68. package/es/modules/companySetting/info/index.less +42 -42
  69. package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
  70. package/es/modules/companySetting/mainPart/index.js +28 -28
  71. package/es/modules/companySetting/mainPart/index.less +239 -239
  72. package/es/modules/companySetting/mainPart/mainPartForm.js +13 -13
  73. package/es/modules/companySetting/mainPart/mainPartSetting.js +5 -5
  74. package/es/modules/companySetting/mainPart/useColumns.js +16 -16
  75. package/es/modules/companySetting/operationLog/index.js +13 -13
  76. package/es/modules/companySetting/operationLog/index.less +33 -33
  77. package/es/modules/companySetting/role/index.js +23 -23
  78. package/es/modules/companySetting/role/index.less +296 -296
  79. package/es/modules/companySetting/role/setDataRangeDialog/index.js +2 -2
  80. package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
  81. package/es/modules/companySetting/style/common.less +79 -79
  82. package/es/modules/companySetting/style/reset.less +117 -117
  83. package/es/modules/companySetting/user/index.js +193 -24
  84. package/es/modules/companySetting/user/index.less +11 -0
  85. package/es/modules/companySetting/user/invite.js +14 -14
  86. package/es/modules/companySetting/virtualApp/config.js +8 -8
  87. package/es/modules/companySetting/virtualApp/index.js +12 -12
  88. package/es/modules/companySetting/virtualApp/panels/list.js +8 -9
  89. package/es/modules/companySetting/virtualApp/panels/sourceItem.js +7 -7
  90. package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
  91. package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
  92. package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
  93. package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
  94. package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
  95. package/es/modules/companySetting/wechatBinding/index.js +7 -7
  96. package/es/modules/companySetting/wechatBinding/index.less +58 -58
  97. package/es/modules/createDemand/collectionAttributeList.js +9 -9
  98. package/es/modules/createDemand/constants.js +17 -17
  99. package/es/modules/createDemand/demo/index.js +7 -7
  100. package/es/modules/createDemand/demo/selectPoint.js +13 -13
  101. package/es/modules/createDemand/index.js +39 -41
  102. package/es/modules/createDemand/styles/index.less +277 -277
  103. package/es/modules/createDemand_bf/collectionAttributeList.js +9 -9
  104. package/es/modules/createDemand_bf/constants.js +4 -4
  105. package/es/modules/createDemand_bf/index.js +35 -35
  106. package/es/modules/createDemand_bf/styles/index.less +222 -222
  107. package/es/modules/createProcess/components/index.less +52 -52
  108. package/es/modules/createProcess/components/processNode.js +11 -11
  109. package/es/modules/createProcess/index.js +17 -17
  110. package/es/modules/createProcess/index.less +114 -114
  111. package/es/modules/createProcess/title/index.js +11 -11
  112. package/es/modules/createProcess/title/index.less +53 -53
  113. package/es/modules/dealDemand/collectionAttributeList.js +9 -9
  114. package/es/modules/dealDemand/constants.js +7 -7
  115. package/es/modules/dealDemand/demo/index.js +7 -7
  116. package/es/modules/dealDemand/demo/selectPoint.js +13 -13
  117. package/es/modules/dealDemand/index.js +22 -24
  118. package/es/modules/dealDemand/styles/index.less +265 -265
  119. package/es/modules/demandManage/index.js +14 -15
  120. package/es/modules/demandManage/styles/index.less +210 -210
  121. package/es/modules/getPassword/index.js +10 -10
  122. package/es/modules/getPassword/index.less +122 -122
  123. package/es/modules/messageList/index.js +7 -8
  124. package/es/modules/messageList/index.less +81 -81
  125. package/es/modules/personalSetting/index.js +5 -5
  126. package/es/modules/personalSetting/info/index.js +5 -5
  127. package/es/modules/personalSetting/reset/index.js +5 -5
  128. package/es/modules/personalSetting/securityLog/index.js +14 -14
  129. package/es/modules/personalSetting/securityLog/index.less +11 -11
  130. package/es/modules/personalSetting/styles/unbinding.less +73 -73
  131. package/es/modules/personalSetting/unbinding/index.js +5 -5
  132. package/es/modules/pointMap/ImportModal/demo/index.js +5 -5
  133. package/es/modules/pointMap/ImportModal/index.js +14 -14
  134. package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
  135. package/es/modules/pointMap/demo/index.js +7 -7
  136. package/es/modules/pointMap/editTxt/index.js +11 -11
  137. package/es/modules/pointMap/editTxt/index.less +55 -55
  138. package/es/modules/pointMap/index.js +11 -11
  139. package/es/modules/pointMap/pageInfo.js +44 -46
  140. package/es/modules/pointMap/styles/index.less +38 -38
  141. package/es/modules/pointMap/styles/pageInfo.less +244 -244
  142. package/es/modules/pointMap/styles/tree.css +142 -0
  143. package/es/modules/pointMap/styles/tree.less +29 -0
  144. package/es/modules/pointMap/tree.js +75 -27
  145. package/es/modules/systemSetting/Dictionary.d.ts +3 -0
  146. package/es/modules/systemSetting/Dictionary.js +387 -0
  147. package/es/modules/systemSetting/DictionaryType.d.ts +14 -0
  148. package/es/modules/systemSetting/DictionaryType.js +203 -0
  149. package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.js +14 -14
  150. package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
  151. package/es/modules/systemSetting/approvalmanage/index.js +5 -5
  152. package/es/modules/systemSetting/approvalmanage/index.less +5 -5
  153. package/es/modules/systemSetting/approvalmanage/processManage/index.js +13 -13
  154. package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
  155. package/es/modules/systemSetting/authUrl.js +15 -15
  156. package/es/modules/systemSetting/document-setting/index.d.ts +3 -0
  157. package/es/modules/systemSetting/document-setting/index.js +467 -0
  158. package/es/modules/systemSetting/img/empty-data.png +0 -0
  159. package/es/modules/systemSetting/index.css +111 -0
  160. package/es/modules/systemSetting/index.js +19 -8
  161. package/es/modules/systemSetting/index.less +117 -0
  162. package/es/modules/systemSetting/notice/configItem/index.less +21 -21
  163. package/es/modules/systemSetting/notice/edit/index.js +5 -5
  164. package/es/modules/systemSetting/notice/edit/index.less +26 -26
  165. package/es/modules/systemSetting/notice/index.js +11 -11
  166. package/es/requests/department.js +6 -6
  167. package/es/requests/role.js +6 -6
  168. package/es/types/companySetting.d.ts +1 -0
  169. package/es/utils/base64.js +0 -1
  170. package/es/utils/constants.js +0 -4
  171. package/es/utils/functionalPermissions.js +6 -8
  172. package/es/utils/util.js +16 -16
  173. package/package.json +9 -7
@@ -1,19 +1,19 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
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(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
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(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
15
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
16
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
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
+ }