@bit-sun/business-component 2.3.22-beta9 → 2.3.23-beta01

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 (206) hide show
  1. package/.editorconfig +16 -16
  2. package/.fatherrc.ts +5 -5
  3. package/.gitlab-ci.yml +179 -179
  4. package/.prettierignore +7 -7
  5. package/.prettierrc +11 -11
  6. package/.umirc.ts +74 -74
  7. package/README.md +27 -27
  8. package/dist/components/Business/JsonQueryTable/static.d.ts +2 -0
  9. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +12 -0
  10. package/dist/index.esm.js +1129 -580
  11. package/dist/index.js +1130 -580
  12. package/dist/utils/CustomLoginInfo.d.ts +11 -0
  13. package/dist/utils/LocalstorageUtils.d.ts +0 -5
  14. package/dist/utils/requestUtils.d.ts +28 -0
  15. package/dist/utils/utils.d.ts +0 -6
  16. package/dist 2/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +4 -0
  17. package/dist 2/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +4 -0
  18. package/dist 2/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +3 -0
  19. package/docs/index.md +21 -21
  20. package/lib/assets/drag.svg +17 -17
  21. package/lib/assets/exportFail.svg +37 -37
  22. package/lib/assets/exportProcessing.svg +28 -28
  23. package/lib/assets/exportSuccess.svg +34 -34
  24. package/lib/assets/label_icon_bottom.svg +25 -25
  25. package/lib/assets/upExport.svg +22 -22
  26. package/package.json +79 -78
  27. package/src/assets/32.svg +27 -27
  28. package/src/assets/addIcon.svg +17 -17
  29. package/src/assets/allfunc.svg +27 -27
  30. package/src/assets/arrowRight.svg +24 -24
  31. package/src/assets/btn-delete.svg +29 -29
  32. package/src/assets/btn-edit.svg +19 -19
  33. package/src/assets/btn-more.svg +17 -17
  34. package/src/assets/btn-submit.svg +19 -19
  35. package/src/assets/caidan.svg +11 -11
  36. package/src/assets/close.svg +26 -26
  37. package/src/assets/drag.svg +17 -17
  38. package/src/assets/exportFail.svg +37 -37
  39. package/src/assets/exportProcessing.svg +28 -28
  40. package/src/assets/exportSuccess.svg +34 -34
  41. package/src/assets/fixed-left-active.svg +11 -11
  42. package/src/assets/fixed-left.svg +15 -15
  43. package/src/assets/fixed-right-active.svg +11 -11
  44. package/src/assets/fixed-right.svg +15 -15
  45. package/src/assets/guanbi.svg +15 -15
  46. package/src/assets/icon-quanping.svg +15 -15
  47. package/src/assets/icon-shezhi.svg +17 -17
  48. package/src/assets/label_icon_bottom.svg +25 -25
  49. package/src/assets/list-no-img.svg +21 -21
  50. package/src/assets/morentouxiang-32.svg +23 -23
  51. package/src/assets/scanning.svg +24 -24
  52. package/src/assets/upExport.svg +22 -22
  53. package/src/common/ENUM.ts +41 -41
  54. package/src/components/Business/AddSelectBusiness/index.md +162 -162
  55. package/src/components/Business/AddSelectBusiness/index.tsx +1061 -1060
  56. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  57. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  58. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  59. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  60. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  63. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  64. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  65. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  66. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  67. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  68. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  69. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  70. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  71. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  72. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  73. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  74. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  75. package/src/components/Business/BsLayouts/index.less +79 -79
  76. package/src/components/Business/BsLayouts/index.tsx +1484 -1484
  77. package/src/components/Business/BsLayouts/service.ts +10 -10
  78. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  79. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +566 -565
  80. package/src/components/Business/BsSulaQueryTable/index.less +221 -221
  81. package/src/components/Business/BsSulaQueryTable/index.tsx +538 -531
  82. package/src/components/Business/BsSulaQueryTable/setting.tsx +854 -853
  83. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  84. package/src/components/Business/BsSulaQueryTable/utils.tsx +690 -690
  85. package/src/components/Business/CommodityEntry/index.md +70 -70
  86. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  87. package/src/components/Business/CommonAlert/index.tsx +23 -23
  88. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  89. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  90. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  91. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  92. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  93. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  94. package/src/components/Business/HomePageWrapper/index.less +33 -33
  95. package/src/components/Business/HomePageWrapper/index.md +45 -45
  96. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  97. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  98. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
  99. package/src/components/Business/JsonQueryTable/components/Formula.tsx +206 -205
  100. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  101. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  102. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  103. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  104. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  105. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  106. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  107. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  108. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  109. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  110. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  111. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  112. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  113. package/src/components/Business/JsonQueryTable/index.less +16 -16
  114. package/src/components/Business/JsonQueryTable/index.md +328 -328
  115. package/src/components/Business/JsonQueryTable/index.tsx +537 -535
  116. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  117. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  118. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  119. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  120. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  121. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  122. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  123. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  124. package/src/components/Business/JsonQueryTable/static.ts +426 -390
  125. package/src/components/Business/SearchSelect/BusinessUtils.ts +1836 -1762
  126. package/src/components/Business/SearchSelect/common.ts +75 -75
  127. package/src/components/Business/SearchSelect/index.md +1387 -1329
  128. package/src/components/Business/SearchSelect/index.tsx +55 -55
  129. package/src/components/Business/SearchSelect/utils.ts +101 -100
  130. package/src/components/Business/StateFlow/index.less +130 -130
  131. package/src/components/Business/StateFlow/index.md +60 -60
  132. package/src/components/Business/StateFlow/index.tsx +29 -29
  133. package/src/components/Business/TreeSearchSelect/index.md +185 -156
  134. package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
  135. package/src/components/Business/TreeSearchSelect/utils.ts +104 -75
  136. package/src/components/Business/columnSettingTable/columnSetting.tsx +766 -766
  137. package/src/components/Business/columnSettingTable/index.less +247 -247
  138. package/src/components/Business/columnSettingTable/index.md +357 -357
  139. package/src/components/Business/columnSettingTable/index.tsx +234 -233
  140. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +242 -241
  141. package/src/components/Business/columnSettingTable/utils.tsx +71 -71
  142. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
  143. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  144. package/src/components/Business/moreTreeTable/index.less +99 -99
  145. package/src/components/Business/moreTreeTable/index.md +448 -448
  146. package/src/components/Business/moreTreeTable/index.tsx +387 -387
  147. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  148. package/src/components/Functional/AddSelect/helps.ts +80 -79
  149. package/src/components/Functional/AddSelect/index.less +367 -367
  150. package/src/components/Functional/AddSelect/index.md +155 -155
  151. package/src/components/Functional/AddSelect/index.tsx +1171 -1170
  152. package/src/components/Functional/BillEntry/index.less +371 -371
  153. package/src/components/Functional/BillEntry/index.md +39 -39
  154. package/src/components/Functional/BillEntry/index.tsx +773 -772
  155. package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
  156. package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
  157. package/src/components/Functional/BsAntdSula/index.ts +2 -2
  158. package/src/components/Functional/DataImport/index.less +63 -63
  159. package/src/components/Functional/DataImport/index.md +44 -44
  160. package/src/components/Functional/DataImport/index.tsx +696 -695
  161. package/src/components/Functional/DataValidation/index.less +63 -63
  162. package/src/components/Functional/DataValidation/index.md +39 -39
  163. package/src/components/Functional/DataValidation/index.tsx +688 -687
  164. package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
  165. package/src/components/Functional/EllipsisTooltip/index.js +36 -36
  166. package/src/components/Functional/EllipsisTooltip/index.md +30 -30
  167. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  168. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +60 -59
  169. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  170. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  171. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  172. package/src/components/Functional/SearchSelect/index.less +115 -115
  173. package/src/components/Functional/SearchSelect/index.md +141 -141
  174. package/src/components/Functional/SearchSelect/index.tsx +885 -879
  175. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  176. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  177. package/src/components/Functional/TreeSearchSelect/index.tsx +201 -199
  178. package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
  179. package/src/components/Solution/RuleComponent/InnerSelect.tsx +62 -0
  180. package/src/components/Solution/RuleComponent/index.d.ts +29 -29
  181. package/src/components/Solution/RuleComponent/index.js +2073 -2032
  182. package/src/components/Solution/RuleComponent/index.less +230 -230
  183. package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
  184. package/src/components/Solution/RuleComponent/ruleFiled.js +2281 -2107
  185. package/src/components/Solution/RuleComponent/services.ts +13 -13
  186. package/src/components/Solution/RuleComponent/util.js +143 -139
  187. package/src/index.ts +38 -38
  188. package/src/plugin/TableColumnSetting/index.less +247 -247
  189. package/src/plugin/TableColumnSetting/index.md +50 -50
  190. package/src/plugin/TableColumnSetting/index.tsx +725 -725
  191. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  192. package/src/styles/bsDefault.less +1912 -1890
  193. package/src/utils/CheckOneUser/index.md +39 -39
  194. package/src/utils/CheckOneUser/index.ts +51 -51
  195. package/src/utils/CustomLoginInfo.ts +55 -0
  196. package/src/utils/LocalstorageUtils.ts +95 -114
  197. package/src/utils/TableUtils.tsx +18 -18
  198. package/src/utils/checkUtils.ts +39 -39
  199. package/src/utils/enumConfig.ts +11 -11
  200. package/src/utils/getFormMode.js +12 -12
  201. package/src/utils/index.ts +4 -4
  202. package/src/utils/requestUtils.ts +166 -42
  203. package/src/utils/serialize.js +7 -7
  204. package/src/utils/utils.ts +191 -212
  205. package/tsconfig.json +29 -29
  206. package/typings.d.ts +4 -4
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var axios = require('axios');
6
+ var cookie = require('js-cookie');
6
7
  var antd = require('antd');
7
8
  var _ = require('lodash');
8
9
  var umi = require('umi');
@@ -32,6 +33,7 @@ var isArray$1 = require('lodash/isArray');
32
33
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
33
34
 
34
35
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
36
+ var cookie__default = /*#__PURE__*/_interopDefaultLegacy(cookie);
35
37
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
36
38
  var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
37
39
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
@@ -44,492 +46,363 @@ var serialize__default = /*#__PURE__*/_interopDefaultLegacy(serialize);
44
46
  var castArray__default = /*#__PURE__*/_interopDefaultLegacy(castArray);
45
47
  var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$1);
46
48
 
47
- var ENUM = {
48
- // 浏览器缓存信息
49
- BROWSER_CACHE: {
50
- COLUMN_CONDITION: 'columnCondition',
51
- MAIN_AUTH_CODES: 'menuAuth_mainProject',
52
- LIMIT_MENU_DATA: 'limitedMenuData',
53
- USER_INFO: 'userInfo',
54
- DICT_CODES: 'dicData',
55
- CHILD_APP_BACK: 'child_app_back',
56
- SEARCH_FIELDS_CONDITION: 'searchFieldsCondition' //表格搜索项信息缓存
57
- }
58
- };
59
-
60
- var resposne = JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.USER_INFO) || '{}');
61
- // 存储表头
62
- var setConfigTableColumns = function setConfigTableColumns(configvalue, tableCode) {
63
- var config = localStorage.getItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION) || '[]';
64
- var configArray = JSON.parse(config);
65
- var currentSetting = configArray.filter(function (item) {
66
- return item.code === tableCode;
67
- });
68
- if (currentSetting.length) {
69
- currentSetting[0].detail = JSON.stringify(configvalue);
70
- } else {
71
- configArray.push({
72
- "code": tableCode,
73
- "detail": JSON.stringify(configvalue)
74
- });
75
- }
76
- localStorage.setItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION, JSON.stringify(configArray));
77
- };
78
- // 取表头
79
- var getConfigTableColumns = function getConfigTableColumns(tableCode) {
80
- if (!tableCode) return [];
81
- var config = localStorage.getItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION) || '[]';
82
- var configArray = JSON.parse(config);
83
- var configSetting = configArray.filter(function (item) {
84
- return item.code === tableCode;
85
- });
86
- if (configSetting.length) {
87
- return JSON.parse(configSetting[0].detail || '[]');
88
- }
89
- return [];
90
- };
91
- function getEmployeeId() {
92
- var _resposne$employeeRes;
93
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes = resposne.employeeResVo) === null || _resposne$employeeRes === void 0 ? void 0 : _resposne$employeeRes.id) || 2;
94
- }
95
- function getEmployeeCode() {
96
- var _resposne$employeeRes2;
97
- return resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes2 = resposne.employeeResVo) === null || _resposne$employeeRes2 === void 0 ? void 0 : _resposne$employeeRes2.employeeNumber;
98
- }
99
- function getSessionId() {
100
- return (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
101
- }
102
- //--------赢家项目登录信息---------
103
- function getEekaSessionId() {
104
- return (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
105
- }
106
- function getEekaAccountId() {
107
- var _resposne$personDetai;
108
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$personDetai = resposne.personDetailResDto) === null || _resposne$personDetai === void 0 ? void 0 : _resposne$personDetai.accountId) || -1;
109
- }
110
- function getEekaEmployeeId() {
111
- var _resposne$personDetai2;
112
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$personDetai2 = resposne.personDetailResDto) === null || _resposne$personDetai2 === void 0 ? void 0 : _resposne$personDetai2.employeeId) || 2;
113
- }
114
- function getEekaTenantId() {
115
- var _resposne$personDetai3;
116
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$personDetai3 = resposne.personDetailResDto) === null || _resposne$personDetai3 === void 0 ? void 0 : _resposne$personDetai3.tenantId) || 1;
117
- }
118
- function getEekaToken() {
119
- return resposne === null || resposne === void 0 ? void 0 : resposne.token;
120
- }
121
- function getUserId() {
122
- var _resposne$accountPers2;
123
- return (_resposne$accountPers2 = resposne.accountPersonDetail) === null || _resposne$accountPers2 === void 0 ? void 0 : _resposne$accountPers2.username;
124
- }
125
- function getAccountID() {
126
- var _resposne$accountPers3;
127
- return resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers3 = resposne.accountPersonDetail) === null || _resposne$accountPers3 === void 0 ? void 0 : _resposne$accountPers3.id;
128
- }
129
- function getUserName() {
130
- var _resposne$accountPers4;
131
- return resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers4 = resposne.accountPersonDetail) === null || _resposne$accountPers4 === void 0 ? void 0 : _resposne$accountPers4.employeeName;
132
- }
133
- function handleUserPhone() {
134
- var _resposne$person;
135
- var str = (resposne === null || resposne === void 0 ? void 0 : (_resposne$person = resposne.person) === null || _resposne$person === void 0 ? void 0 : _resposne$person.phone) || '';
136
- var enStr = str && str.slice(0, 3) + '****' + str.slice(str.length - 4);
137
- return enStr;
138
- }
139
-
140
- function handleRequestAuthHeader(config) {
141
- var _config$url, _config$url2;
142
- // https://www.kdocs.cn/l/coNbPpjamr5v这个表格里面涉及的接口,接口请求头里需要添加参数:x-biz-code 值就是列表里的code
143
- // 例:x-biz-code=STORE_CODE
144
- // 物理仓选择组件
145
- if ((config === null || config === void 0 ? void 0 : (_config$url = config.url) === null || _config$url === void 0 ? void 0 : _config$url.indexOf('/stock/physicalWarehouse?')) > -1) {
146
- config.headers['x-biz-code'] = 'PW_STOCK_CODE';
147
- }
148
- // 逻辑仓选择组件
149
- if ((config === null || config === void 0 ? void 0 : (_config$url2 = config.url) === null || _config$url2 === void 0 ? void 0 : _config$url2.indexOf('/stock/realWarehouse?')) > -1) {
150
- config.headers['x-biz-code'] = 'RW_STOCK_CODE';
151
- }
152
- }
153
- // 处理请求头
154
- var handleRequestHeader = function handleRequestHeader(config) {
155
- // config.headers['sso-sessionid'] = getSessionId()
156
- // config.headers['x-account-id'] = getAccountId()
157
- // config.headers['x-employee-id'] = getEmployeeId()
158
- // config.headers['x-tenant-id'] = getCurrentTenantId()
159
- //赢家项目请求头
160
- config.headers['x-sso-sessionid'] = getEekaSessionId();
161
- config.headers['x-account-id'] = getEekaAccountId();
162
- config.headers['x-employee-id'] = getEekaEmployeeId();
163
- config.headers['x-tenant-id'] = getEekaTenantId();
164
- config.headers['x-user-token'] = getEekaToken();
165
- if (localStorage.getItem('x-user-auth-context')) {
166
- config.headers['x-user-auth-context'] = localStorage.getItem('x-user-auth-context');
167
- }
168
- handleRequestAuthHeader(config);
169
- };
170
- // 拦截器
171
- axios__default['default'].interceptors.request.use(function (config) {
172
- handleRequestHeader(config);
173
- return config;
174
- });
175
-
176
- function _iterableToArrayLimit(arr, i) {
177
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
178
- if (null != _i) {
179
- var _s,
180
- _e,
181
- _x,
182
- _r,
183
- _arr = [],
184
- _n = !0,
185
- _d = !1;
49
+ function _iterableToArrayLimit(r, l) {
50
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
51
+ if (null != t) {
52
+ var e,
53
+ n,
54
+ i,
55
+ u,
56
+ a = [],
57
+ f = !0,
58
+ o = !1;
186
59
  try {
187
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
188
- if (Object(_i) !== _i) return;
189
- _n = !1;
190
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
191
- } catch (err) {
192
- _d = !0, _e = err;
60
+ if (i = (t = t.call(r)).next, 0 === l) {
61
+ if (Object(t) !== t) return;
62
+ f = !1;
63
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
64
+ } catch (r) {
65
+ o = !0, n = r;
193
66
  } finally {
194
67
  try {
195
- if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
68
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
196
69
  } finally {
197
- if (_d) throw _e;
70
+ if (o) throw n;
198
71
  }
199
72
  }
200
- return _arr;
73
+ return a;
201
74
  }
202
75
  }
203
- function ownKeys(object, enumerableOnly) {
204
- var keys = Object.keys(object);
76
+ function ownKeys(e, r) {
77
+ var t = Object.keys(e);
205
78
  if (Object.getOwnPropertySymbols) {
206
- var symbols = Object.getOwnPropertySymbols(object);
207
- enumerableOnly && (symbols = symbols.filter(function (sym) {
208
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
209
- })), keys.push.apply(keys, symbols);
79
+ var o = Object.getOwnPropertySymbols(e);
80
+ r && (o = o.filter(function (r) {
81
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
82
+ })), t.push.apply(t, o);
210
83
  }
211
- return keys;
84
+ return t;
212
85
  }
213
- function _objectSpread2(target) {
214
- for (var i = 1; i < arguments.length; i++) {
215
- var source = null != arguments[i] ? arguments[i] : {};
216
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
217
- _defineProperty(target, key, source[key]);
218
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
219
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
86
+ function _objectSpread2(e) {
87
+ for (var r = 1; r < arguments.length; r++) {
88
+ var t = null != arguments[r] ? arguments[r] : {};
89
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
90
+ _defineProperty(e, r, t[r]);
91
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
92
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
220
93
  });
221
94
  }
222
- return target;
95
+ return e;
223
96
  }
224
97
  function _regeneratorRuntime() {
225
98
  _regeneratorRuntime = function () {
226
- return exports;
99
+ return e;
227
100
  };
228
- var exports = {},
229
- Op = Object.prototype,
230
- hasOwn = Op.hasOwnProperty,
231
- defineProperty = Object.defineProperty || function (obj, key, desc) {
232
- obj[key] = desc.value;
101
+ var t,
102
+ e = {},
103
+ r = Object.prototype,
104
+ n = r.hasOwnProperty,
105
+ o = Object.defineProperty || function (t, e, r) {
106
+ t[e] = r.value;
233
107
  },
234
- $Symbol = "function" == typeof Symbol ? Symbol : {},
235
- iteratorSymbol = $Symbol.iterator || "@@iterator",
236
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
237
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
238
- function define(obj, key, value) {
239
- return Object.defineProperty(obj, key, {
240
- value: value,
108
+ i = "function" == typeof Symbol ? Symbol : {},
109
+ a = i.iterator || "@@iterator",
110
+ c = i.asyncIterator || "@@asyncIterator",
111
+ u = i.toStringTag || "@@toStringTag";
112
+ function define(t, e, r) {
113
+ return Object.defineProperty(t, e, {
114
+ value: r,
241
115
  enumerable: !0,
242
116
  configurable: !0,
243
117
  writable: !0
244
- }), obj[key];
118
+ }), t[e];
245
119
  }
246
120
  try {
247
121
  define({}, "");
248
- } catch (err) {
249
- define = function (obj, key, value) {
250
- return obj[key] = value;
122
+ } catch (t) {
123
+ define = function (t, e, r) {
124
+ return t[e] = r;
251
125
  };
252
126
  }
253
- function wrap(innerFn, outerFn, self, tryLocsList) {
254
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
255
- generator = Object.create(protoGenerator.prototype),
256
- context = new Context(tryLocsList || []);
257
- return defineProperty(generator, "_invoke", {
258
- value: makeInvokeMethod(innerFn, self, context)
259
- }), generator;
127
+ function wrap(t, e, r, n) {
128
+ var i = e && e.prototype instanceof Generator ? e : Generator,
129
+ a = Object.create(i.prototype),
130
+ c = new Context(n || []);
131
+ return o(a, "_invoke", {
132
+ value: makeInvokeMethod(t, r, c)
133
+ }), a;
260
134
  }
261
- function tryCatch(fn, obj, arg) {
135
+ function tryCatch(t, e, r) {
262
136
  try {
263
137
  return {
264
138
  type: "normal",
265
- arg: fn.call(obj, arg)
139
+ arg: t.call(e, r)
266
140
  };
267
- } catch (err) {
141
+ } catch (t) {
268
142
  return {
269
143
  type: "throw",
270
- arg: err
144
+ arg: t
271
145
  };
272
146
  }
273
147
  }
274
- exports.wrap = wrap;
275
- var ContinueSentinel = {};
148
+ e.wrap = wrap;
149
+ var h = "suspendedStart",
150
+ l = "suspendedYield",
151
+ f = "executing",
152
+ s = "completed",
153
+ y = {};
276
154
  function Generator() {}
277
155
  function GeneratorFunction() {}
278
156
  function GeneratorFunctionPrototype() {}
279
- var IteratorPrototype = {};
280
- define(IteratorPrototype, iteratorSymbol, function () {
157
+ var p = {};
158
+ define(p, a, function () {
281
159
  return this;
282
160
  });
283
- var getProto = Object.getPrototypeOf,
284
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
285
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
286
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
287
- function defineIteratorMethods(prototype) {
288
- ["next", "throw", "return"].forEach(function (method) {
289
- define(prototype, method, function (arg) {
290
- return this._invoke(method, arg);
161
+ var d = Object.getPrototypeOf,
162
+ v = d && d(d(values([])));
163
+ v && v !== r && n.call(v, a) && (p = v);
164
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
165
+ function defineIteratorMethods(t) {
166
+ ["next", "throw", "return"].forEach(function (e) {
167
+ define(t, e, function (t) {
168
+ return this._invoke(e, t);
291
169
  });
292
170
  });
293
171
  }
294
- function AsyncIterator(generator, PromiseImpl) {
295
- function invoke(method, arg, resolve, reject) {
296
- var record = tryCatch(generator[method], generator, arg);
297
- if ("throw" !== record.type) {
298
- var result = record.arg,
299
- value = result.value;
300
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
301
- invoke("next", value, resolve, reject);
302
- }, function (err) {
303
- invoke("throw", err, resolve, reject);
304
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
305
- result.value = unwrapped, resolve(result);
306
- }, function (error) {
307
- return invoke("throw", error, resolve, reject);
172
+ function AsyncIterator(t, e) {
173
+ function invoke(r, o, i, a) {
174
+ var c = tryCatch(t[r], t, o);
175
+ if ("throw" !== c.type) {
176
+ var u = c.arg,
177
+ h = u.value;
178
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
179
+ invoke("next", t, i, a);
180
+ }, function (t) {
181
+ invoke("throw", t, i, a);
182
+ }) : e.resolve(h).then(function (t) {
183
+ u.value = t, i(u);
184
+ }, function (t) {
185
+ return invoke("throw", t, i, a);
308
186
  });
309
187
  }
310
- reject(record.arg);
188
+ a(c.arg);
311
189
  }
312
- var previousPromise;
313
- defineProperty(this, "_invoke", {
314
- value: function (method, arg) {
190
+ var r;
191
+ o(this, "_invoke", {
192
+ value: function (t, n) {
315
193
  function callInvokeWithMethodAndArg() {
316
- return new PromiseImpl(function (resolve, reject) {
317
- invoke(method, arg, resolve, reject);
194
+ return new e(function (e, r) {
195
+ invoke(t, n, e, r);
318
196
  });
319
197
  }
320
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
198
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
321
199
  }
322
200
  });
323
201
  }
324
- function makeInvokeMethod(innerFn, self, context) {
325
- var state = "suspendedStart";
326
- return function (method, arg) {
327
- if ("executing" === state) throw new Error("Generator is already running");
328
- if ("completed" === state) {
329
- if ("throw" === method) throw arg;
330
- return doneResult();
331
- }
332
- for (context.method = method, context.arg = arg;;) {
333
- var delegate = context.delegate;
334
- if (delegate) {
335
- var delegateResult = maybeInvokeDelegate(delegate, context);
336
- if (delegateResult) {
337
- if (delegateResult === ContinueSentinel) continue;
338
- return delegateResult;
202
+ function makeInvokeMethod(e, r, n) {
203
+ var o = h;
204
+ return function (i, a) {
205
+ if (o === f) throw new Error("Generator is already running");
206
+ if (o === s) {
207
+ if ("throw" === i) throw a;
208
+ return {
209
+ value: t,
210
+ done: !0
211
+ };
212
+ }
213
+ for (n.method = i, n.arg = a;;) {
214
+ var c = n.delegate;
215
+ if (c) {
216
+ var u = maybeInvokeDelegate(c, n);
217
+ if (u) {
218
+ if (u === y) continue;
219
+ return u;
339
220
  }
340
221
  }
341
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
342
- if ("suspendedStart" === state) throw state = "completed", context.arg;
343
- context.dispatchException(context.arg);
344
- } else "return" === context.method && context.abrupt("return", context.arg);
345
- state = "executing";
346
- var record = tryCatch(innerFn, self, context);
347
- if ("normal" === record.type) {
348
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
222
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
223
+ if (o === h) throw o = s, n.arg;
224
+ n.dispatchException(n.arg);
225
+ } else "return" === n.method && n.abrupt("return", n.arg);
226
+ o = f;
227
+ var p = tryCatch(e, r, n);
228
+ if ("normal" === p.type) {
229
+ if (o = n.done ? s : l, p.arg === y) continue;
349
230
  return {
350
- value: record.arg,
351
- done: context.done
231
+ value: p.arg,
232
+ done: n.done
352
233
  };
353
234
  }
354
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
235
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
355
236
  }
356
237
  };
357
238
  }
358
- function maybeInvokeDelegate(delegate, context) {
359
- var methodName = context.method,
360
- method = delegate.iterator[methodName];
361
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
362
- var record = tryCatch(method, delegate.iterator, context.arg);
363
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
364
- var info = record.arg;
365
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
366
- }
367
- function pushTryEntry(locs) {
368
- var entry = {
369
- tryLoc: locs[0]
239
+ function maybeInvokeDelegate(e, r) {
240
+ var n = r.method,
241
+ o = e.iterator[n];
242
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
243
+ var i = tryCatch(o, e.iterator, r.arg);
244
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
245
+ var a = i.arg;
246
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
247
+ }
248
+ function pushTryEntry(t) {
249
+ var e = {
250
+ tryLoc: t[0]
370
251
  };
371
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
252
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
372
253
  }
373
- function resetTryEntry(entry) {
374
- var record = entry.completion || {};
375
- record.type = "normal", delete record.arg, entry.completion = record;
254
+ function resetTryEntry(t) {
255
+ var e = t.completion || {};
256
+ e.type = "normal", delete e.arg, t.completion = e;
376
257
  }
377
- function Context(tryLocsList) {
258
+ function Context(t) {
378
259
  this.tryEntries = [{
379
260
  tryLoc: "root"
380
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
381
- }
382
- function values(iterable) {
383
- if (iterable) {
384
- var iteratorMethod = iterable[iteratorSymbol];
385
- if (iteratorMethod) return iteratorMethod.call(iterable);
386
- if ("function" == typeof iterable.next) return iterable;
387
- if (!isNaN(iterable.length)) {
388
- var i = -1,
389
- next = function next() {
390
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
391
- return next.value = undefined, next.done = !0, next;
261
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
262
+ }
263
+ function values(e) {
264
+ if (e || "" === e) {
265
+ var r = e[a];
266
+ if (r) return r.call(e);
267
+ if ("function" == typeof e.next) return e;
268
+ if (!isNaN(e.length)) {
269
+ var o = -1,
270
+ i = function next() {
271
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
272
+ return next.value = t, next.done = !0, next;
392
273
  };
393
- return next.next = next;
274
+ return i.next = i;
394
275
  }
395
276
  }
396
- return {
397
- next: doneResult
398
- };
277
+ throw new TypeError(typeof e + " is not iterable");
399
278
  }
400
- function doneResult() {
401
- return {
402
- value: undefined,
403
- done: !0
404
- };
405
- }
406
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
279
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
407
280
  value: GeneratorFunctionPrototype,
408
281
  configurable: !0
409
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
282
+ }), o(GeneratorFunctionPrototype, "constructor", {
410
283
  value: GeneratorFunction,
411
284
  configurable: !0
412
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
413
- var ctor = "function" == typeof genFun && genFun.constructor;
414
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
415
- }, exports.mark = function (genFun) {
416
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
417
- }, exports.awrap = function (arg) {
285
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
286
+ var e = "function" == typeof t && t.constructor;
287
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
288
+ }, e.mark = function (t) {
289
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
290
+ }, e.awrap = function (t) {
418
291
  return {
419
- __await: arg
292
+ __await: t
420
293
  };
421
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
294
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
422
295
  return this;
423
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
424
- void 0 === PromiseImpl && (PromiseImpl = Promise);
425
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
426
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
427
- return result.done ? result.value : iter.next();
296
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
297
+ void 0 === i && (i = Promise);
298
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
299
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
300
+ return t.done ? t.value : a.next();
428
301
  });
429
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
302
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
430
303
  return this;
431
- }), define(Gp, "toString", function () {
304
+ }), define(g, "toString", function () {
432
305
  return "[object Generator]";
433
- }), exports.keys = function (val) {
434
- var object = Object(val),
435
- keys = [];
436
- for (var key in object) keys.push(key);
437
- return keys.reverse(), function next() {
438
- for (; keys.length;) {
439
- var key = keys.pop();
440
- if (key in object) return next.value = key, next.done = !1, next;
306
+ }), e.keys = function (t) {
307
+ var e = Object(t),
308
+ r = [];
309
+ for (var n in e) r.push(n);
310
+ return r.reverse(), function next() {
311
+ for (; r.length;) {
312
+ var t = r.pop();
313
+ if (t in e) return next.value = t, next.done = !1, next;
441
314
  }
442
315
  return next.done = !0, next;
443
316
  };
444
- }, exports.values = values, Context.prototype = {
317
+ }, e.values = values, Context.prototype = {
445
318
  constructor: Context,
446
- reset: function (skipTempReset) {
447
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
319
+ reset: function (e) {
320
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
448
321
  },
449
322
  stop: function () {
450
323
  this.done = !0;
451
- var rootRecord = this.tryEntries[0].completion;
452
- if ("throw" === rootRecord.type) throw rootRecord.arg;
324
+ var t = this.tryEntries[0].completion;
325
+ if ("throw" === t.type) throw t.arg;
453
326
  return this.rval;
454
327
  },
455
- dispatchException: function (exception) {
456
- if (this.done) throw exception;
457
- var context = this;
458
- function handle(loc, caught) {
459
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
460
- }
461
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
462
- var entry = this.tryEntries[i],
463
- record = entry.completion;
464
- if ("root" === entry.tryLoc) return handle("end");
465
- if (entry.tryLoc <= this.prev) {
466
- var hasCatch = hasOwn.call(entry, "catchLoc"),
467
- hasFinally = hasOwn.call(entry, "finallyLoc");
468
- if (hasCatch && hasFinally) {
469
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
470
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
471
- } else if (hasCatch) {
472
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
328
+ dispatchException: function (e) {
329
+ if (this.done) throw e;
330
+ var r = this;
331
+ function handle(n, o) {
332
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
333
+ }
334
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
335
+ var i = this.tryEntries[o],
336
+ a = i.completion;
337
+ if ("root" === i.tryLoc) return handle("end");
338
+ if (i.tryLoc <= this.prev) {
339
+ var c = n.call(i, "catchLoc"),
340
+ u = n.call(i, "finallyLoc");
341
+ if (c && u) {
342
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
343
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
344
+ } else if (c) {
345
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
473
346
  } else {
474
- if (!hasFinally) throw new Error("try statement without catch or finally");
475
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
347
+ if (!u) throw new Error("try statement without catch or finally");
348
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
476
349
  }
477
350
  }
478
351
  }
479
352
  },
480
- abrupt: function (type, arg) {
481
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
482
- var entry = this.tryEntries[i];
483
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
484
- var finallyEntry = entry;
353
+ abrupt: function (t, e) {
354
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
355
+ var o = this.tryEntries[r];
356
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
357
+ var i = o;
485
358
  break;
486
359
  }
487
360
  }
488
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
489
- var record = finallyEntry ? finallyEntry.completion : {};
490
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
361
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
362
+ var a = i ? i.completion : {};
363
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
491
364
  },
492
- complete: function (record, afterLoc) {
493
- if ("throw" === record.type) throw record.arg;
494
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
365
+ complete: function (t, e) {
366
+ if ("throw" === t.type) throw t.arg;
367
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
495
368
  },
496
- finish: function (finallyLoc) {
497
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
498
- var entry = this.tryEntries[i];
499
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
369
+ finish: function (t) {
370
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
371
+ var r = this.tryEntries[e];
372
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
500
373
  }
501
374
  },
502
- catch: function (tryLoc) {
503
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
504
- var entry = this.tryEntries[i];
505
- if (entry.tryLoc === tryLoc) {
506
- var record = entry.completion;
507
- if ("throw" === record.type) {
508
- var thrown = record.arg;
509
- resetTryEntry(entry);
375
+ catch: function (t) {
376
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
377
+ var r = this.tryEntries[e];
378
+ if (r.tryLoc === t) {
379
+ var n = r.completion;
380
+ if ("throw" === n.type) {
381
+ var o = n.arg;
382
+ resetTryEntry(r);
510
383
  }
511
- return thrown;
384
+ return o;
512
385
  }
513
386
  }
514
387
  throw new Error("illegal catch attempt");
515
388
  },
516
- delegateYield: function (iterable, resultName, nextLoc) {
389
+ delegateYield: function (e, r, n) {
517
390
  return this.delegate = {
518
- iterator: values(iterable),
519
- resultName: resultName,
520
- nextLoc: nextLoc
521
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
391
+ iterator: values(e),
392
+ resultName: r,
393
+ nextLoc: n
394
+ }, "next" === this.method && (this.arg = t), y;
522
395
  }
523
- }, exports;
396
+ }, e;
524
397
  }
525
- function _typeof(obj) {
398
+ function _typeof(o) {
526
399
  "@babel/helpers - typeof";
527
400
 
528
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
529
- return typeof obj;
530
- } : function (obj) {
531
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
532
- }, _typeof(obj);
401
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
402
+ return typeof o;
403
+ } : function (o) {
404
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
405
+ }, _typeof(o);
533
406
  }
534
407
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
535
408
  try {
@@ -761,6 +634,283 @@ function _toPropertyKey(arg) {
761
634
  return typeof key === "symbol" ? key : String(key);
762
635
  }
763
636
 
637
+ var ENUM = {
638
+ // 浏览器缓存信息
639
+ BROWSER_CACHE: {
640
+ COLUMN_CONDITION: 'columnCondition',
641
+ MAIN_AUTH_CODES: 'menuAuth_mainProject',
642
+ LIMIT_MENU_DATA: 'limitedMenuData',
643
+ USER_INFO: 'userInfo',
644
+ DICT_CODES: 'dicData',
645
+ CHILD_APP_BACK: 'child_app_back',
646
+ SEARCH_FIELDS_CONDITION: 'searchFieldsCondition' //表格搜索项信息缓存
647
+ }
648
+ };
649
+
650
+ var resposne = JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.USER_INFO) || '{}');
651
+ // 存储表头
652
+ var setConfigTableColumns = function setConfigTableColumns(configvalue, tableCode) {
653
+ var config = localStorage.getItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION) || '[]';
654
+ var configArray = JSON.parse(config);
655
+ var currentSetting = configArray.filter(function (item) {
656
+ return item.code === tableCode;
657
+ });
658
+ if (currentSetting.length) {
659
+ currentSetting[0].detail = JSON.stringify(configvalue);
660
+ } else {
661
+ configArray.push({
662
+ "code": tableCode,
663
+ "detail": JSON.stringify(configvalue)
664
+ });
665
+ }
666
+ localStorage.setItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION, JSON.stringify(configArray));
667
+ };
668
+ // 取表头
669
+ var getConfigTableColumns = function getConfigTableColumns(tableCode) {
670
+ if (!tableCode) return [];
671
+ var config = localStorage.getItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION) || '[]';
672
+ var configArray = JSON.parse(config);
673
+ var configSetting = configArray.filter(function (item) {
674
+ return item.code === tableCode;
675
+ });
676
+ if (configSetting.length) {
677
+ return JSON.parse(configSetting[0].detail || '[]');
678
+ }
679
+ return [];
680
+ };
681
+ var getCurrentTenantId = function getCurrentTenantId() {
682
+ return localStorage.getItem('current_tenant_id') || 1;
683
+ };
684
+ function getEmployeeId() {
685
+ var _resposne$employeeRes;
686
+ return (resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes = resposne.employeeResVo) === null || _resposne$employeeRes === void 0 ? void 0 : _resposne$employeeRes.id) || 2;
687
+ }
688
+ function getEmployeeCode() {
689
+ var _resposne$employeeRes2;
690
+ return resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes2 = resposne.employeeResVo) === null || _resposne$employeeRes2 === void 0 ? void 0 : _resposne$employeeRes2.employeeNumber;
691
+ }
692
+ function getSessionId() {
693
+ return (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
694
+ }
695
+ function getAccountId() {
696
+ var _resposne$accountPers;
697
+ return (resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers = resposne.accountPersonDetail) === null || _resposne$accountPers === void 0 ? void 0 : _resposne$accountPers.accountId) || -1;
698
+ }
699
+ function getUserId() {
700
+ var _resposne$accountPers2;
701
+ return (_resposne$accountPers2 = resposne.accountPersonDetail) === null || _resposne$accountPers2 === void 0 ? void 0 : _resposne$accountPers2.username;
702
+ }
703
+ function getAccountID() {
704
+ var _resposne$accountPers3;
705
+ return resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers3 = resposne.accountPersonDetail) === null || _resposne$accountPers3 === void 0 ? void 0 : _resposne$accountPers3.id;
706
+ }
707
+ function getUserName() {
708
+ var _resposne$accountPers4;
709
+ return resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers4 = resposne.accountPersonDetail) === null || _resposne$accountPers4 === void 0 ? void 0 : _resposne$accountPers4.employeeName;
710
+ }
711
+ function handleUserPhone() {
712
+ var _resposne$person;
713
+ var str = (resposne === null || resposne === void 0 ? void 0 : (_resposne$person = resposne.person) === null || _resposne$person === void 0 ? void 0 : _resposne$person.phone) || '';
714
+ var enStr = str && str.slice(0, 3) + '****' + str.slice(str.length - 4);
715
+ return enStr;
716
+ }
717
+
718
+ var resposne$1 = JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.USER_INFO) || '{}');
719
+ //--------赢家项目登录信息---------
720
+ function getEekaSessionId() {
721
+ return (resposne$1 === null || resposne$1 === void 0 ? void 0 : resposne$1.sessionId) || '';
722
+ }
723
+ function getEekaAccountId() {
724
+ var _resposne$personDetai;
725
+ return (resposne$1 === null || resposne$1 === void 0 ? void 0 : (_resposne$personDetai = resposne$1.personDetailResDto) === null || _resposne$personDetai === void 0 ? void 0 : _resposne$personDetai.accountId) || -1;
726
+ }
727
+ function getEekaEmployeeId() {
728
+ var _resposne$personDetai2;
729
+ return (resposne$1 === null || resposne$1 === void 0 ? void 0 : (_resposne$personDetai2 = resposne$1.personDetailResDto) === null || _resposne$personDetai2 === void 0 ? void 0 : _resposne$personDetai2.employeeId) || 2;
730
+ }
731
+ function getEekaTenantId() {
732
+ var _resposne$personDetai3;
733
+ return (resposne$1 === null || resposne$1 === void 0 ? void 0 : (_resposne$personDetai3 = resposne$1.personDetailResDto) === null || _resposne$personDetai3 === void 0 ? void 0 : _resposne$personDetai3.tenantId) || 1;
734
+ }
735
+ function getEekaToken() {
736
+ return resposne$1 === null || resposne$1 === void 0 ? void 0 : resposne$1.token;
737
+ }
738
+ //--------赢家项目登录信息---------
739
+ //--------国药项目登录信息---------
740
+ function getLoginHeaderInfo(headerkey) {
741
+ var storage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'cookie';
742
+ if (storage) {
743
+ if ('localStorage' === storage) {
744
+ return localStorage.getItem(headerkey);
745
+ } else if ('sessionStorage' === storage) {
746
+ return sessionStorage.getItem(headerkey);
747
+ } else if ('cookie' === storage) {
748
+ return cookie__default['default'].get(headerkey);
749
+ } else {
750
+ return localStorage.getItem(headerkey);
751
+ }
752
+ } else {
753
+ return localStorage.getItem(headerkey);
754
+ }
755
+ }
756
+ function getGuoyaoshukeCompanyId() {
757
+ return getLoginHeaderInfo('gksk-company-id');
758
+ }
759
+ function getGuoyaoshukeTenantCode() {
760
+ return getLoginHeaderInfo('gksk-tenant-code');
761
+ }
762
+ function getGuoyaoshukeTenantId() {
763
+ return getLoginHeaderInfo('gksk-tenant-id') || 1;
764
+ }
765
+ function getGuoyaoshukeToken() {
766
+ return getLoginHeaderInfo('gksk-access-token');
767
+ }
768
+ function getGuoyaoshukeUscCode() {
769
+ return getLoginHeaderInfo('gksk-usc-code');
770
+ }
771
+ //--------国药项目登录信息---------
772
+
773
+ function handleRequestAuthHeader(config) {
774
+ var _config$url, _config$url2;
775
+ // https://www.kdocs.cn/l/coNbPpjamr5v这个表格里面涉及的接口,接口请求头里需要添加参数:x-biz-code 值就是列表里的code
776
+ // 例:x-biz-code=STORE_CODE
777
+ // 物理仓选择组件
778
+ if ((config === null || config === void 0 ? void 0 : (_config$url = config.url) === null || _config$url === void 0 ? void 0 : _config$url.indexOf('/stock/physicalWarehouse?')) > -1) {
779
+ config.headers['x-biz-code'] = 'PW_STOCK_CODE';
780
+ }
781
+ // 逻辑仓选择组件
782
+ if ((config === null || config === void 0 ? void 0 : (_config$url2 = config.url) === null || _config$url2 === void 0 ? void 0 : _config$url2.indexOf('/stock/realWarehouse?')) > -1) {
783
+ config.headers['x-biz-code'] = 'RW_STOCK_CODE';
784
+ }
785
+ }
786
+ /*
787
+ * 获取当前组件服务项目
788
+ * */
789
+ var getCurrentUseProject = function getCurrentUseProject() {
790
+ var project = 'BitSun';
791
+ var hostname = window.location.hostname;
792
+ if ((hostname === null || hostname === void 0 ? void 0 : hostname.indexOf('omni')) > -1 || (hostname === null || hostname === void 0 ? void 0 : hostname.indexOf('eeka')) > -1 || (hostname === null || hostname === void 0 ? void 0 : hostname.indexOf('koradior')) > -1) {
793
+ project = 'YingJia';
794
+ }
795
+ if ((hostname === null || hostname === void 0 ? void 0 : hostname.indexOf('guoyaoshuke')) > -1 || (hostname === null || hostname === void 0 ? void 0 : hostname.indexOf('10.31.249.136')) > -1) {
796
+ project = 'GuoYao';
797
+ }
798
+ return project;
799
+ };
800
+ /*
801
+ * 处理一般请求头
802
+ * @param {*} config 请求参数配置
803
+ * */
804
+ var handleCommonHeader = function handleCommonHeader() {
805
+ var commonHeaders = {};
806
+ var defaultHeaders = {
807
+ 'sso-sessionid': getSessionId(),
808
+ 'x-account-id': getAccountId(),
809
+ 'x-employee-id': getEmployeeId(),
810
+ 'x-tenant-id': getCurrentTenantId()
811
+ };
812
+ var type = getCurrentUseProject();
813
+ switch (type) {
814
+ case 'YingJia':
815
+ commonHeaders = {
816
+ 'x-sso-sessionid': getEekaSessionId(),
817
+ 'x-account-id': getEekaAccountId(),
818
+ 'x-employee-id': getEekaEmployeeId(),
819
+ 'x-tenant-id': getEekaTenantId(),
820
+ 'x-user-token': getEekaToken()
821
+ };
822
+ break;
823
+ case 'GuoYao':
824
+ commonHeaders = {
825
+ 'gksk-company-id': getGuoyaoshukeCompanyId(),
826
+ 'gksk-tenant-id': getGuoyaoshukeTenantId(),
827
+ 'gksk-tenant-code': getGuoyaoshukeTenantCode(),
828
+ 'gksk-access-token': getGuoyaoshukeToken(),
829
+ 'gksk-usc-code': getGuoyaoshukeUscCode()
830
+ };
831
+ break;
832
+ default:
833
+ commonHeaders = defaultHeaders;
834
+ break;
835
+ }
836
+ return commonHeaders;
837
+ };
838
+ /*
839
+ * 处理请求头方法-包含一般请求头、权限请求头。组件默认统一处理一遍,若组件使用处需要可以单独在组件处传参进来处理
840
+ * @param {*} config 请求参数配置
841
+ * */
842
+ var handleRequestHeader = function handleRequestHeader(config) {
843
+ var commonHeaders = handleCommonHeader();
844
+ if (localStorage.getItem('x-user-auth-context')) {
845
+ // @ts-ignore
846
+ commonHeaders['x-user-auth-context'] = localStorage.getItem('x-user-auth-context');
847
+ }
848
+ !!!config.headers['x-biz-code'] && handleRequestAuthHeader(config);
849
+ config.headers = _objectSpread2(_objectSpread2({}, commonHeaders), config.headers);
850
+ };
851
+ // 拦截器
852
+ axios__default['default'].interceptors.request.use(function (config) {
853
+ handleRequestHeader(config);
854
+ return config;
855
+ });
856
+ /**
857
+ * 处理请求路径前缀/请求路径等使用不一的问题
858
+ * @param {*} defaultUrl 默认请求路径
859
+ * @param {*} defaultPreFix 默认请求路径的前缀
860
+ * @param {*} config 更改请求前缀/路径集合
861
+ * 示例:
862
+ * appRequestConfig: {
863
+ * '/appConfig/saveUserOrder': ['/api/user-manage'],
864
+ * '/appConfig/saveQueryCriteria': ['/api/user-manage']
865
+ * }
866
+ */
867
+ var handleRequestUrl = function handleRequestUrl(defaultPreFix, defaultUrl, config) {
868
+ var _Object$keys;
869
+ var rUrl = "".concat(defaultPreFix).concat(defaultUrl);
870
+ if (config && ((_Object$keys = Object.keys(config || {})) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
871
+ var value = config[defaultUrl] || [];
872
+ var newPreFix = value[0] || defaultPreFix;
873
+ var newUrl = value[1] || defaultUrl;
874
+ rUrl = "".concat(newPreFix).concat(newUrl);
875
+ }
876
+ return rUrl;
877
+ };
878
+ /**
879
+ * 处理错误请求
880
+ * @param {*} response 返回结果
881
+ * @param {*} needBackError 是否需要将错误回传到页面单独处理
882
+ */
883
+ function handleError(response, needBackError) {
884
+ if (judgeIsRequestError(response)) {
885
+ if (response && !needBackError) {
886
+ // @ts-ignore
887
+ response.msg && message.error(response.msg);
888
+ }
889
+ return false;
890
+ }
891
+ return true;
892
+ }
893
+ /**
894
+ * 判断为请求错误
895
+ * @param {*} res 响应体
896
+ * */
897
+ var judgeIsRequestError = function judgeIsRequestError(res) {
898
+ if (!res || (res === null || res === void 0 ? void 0 : res.status) && res.status !== '0' || (res === null || res === void 0 ? void 0 : res.code) && res.code !== '000000' && res.code !== '0') {
899
+ return true;
900
+ }
901
+ return false;
902
+ };
903
+ /**
904
+ * 判断为请求成功
905
+ * @param {*} res 响应体
906
+ * */
907
+ var judgeIsRequestSuccess = function judgeIsRequestSuccess(res) {
908
+ if ((res === null || res === void 0 ? void 0 : res.status) === '0' || (res === null || res === void 0 ? void 0 : res.code) === '000000' || (res === null || res === void 0 ? void 0 : res.code) === '0') {
909
+ return true;
910
+ }
911
+ return false;
912
+ };
913
+
764
914
  var checkQuantityAccuracy = function checkQuantityAccuracy(value, accuracy, errorInfo) {
765
915
  var errorMessage = _objectSpread2({
766
916
  showTips: true,
@@ -863,7 +1013,7 @@ function styleInject(css, ref) {
863
1013
  }
864
1014
  }
865
1015
 
866
- var css_248z = ".cardContent {\n font-family: PingFangSC, PingFangSC-Regular;\n}\n.user_card_header {\n margin-top: -32px;\n}\n.user_card_header .card_name {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n color: #000000;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 6px;\n}\n.card_company {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin-bottom: 16px;\n}\n.card_detailInfo {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin: 0 0 5px !important;\n}\n.card_department {\n color: #02B56E !important;\n}\n.user_info_card .ant-popover-inner-content {\n padding: 0px !important;\n}\n.user_info_card .ant-card-body {\n padding: 0px !important;\n}\n";
1016
+ var css_248z = ".cardContent {\n font-family: PingFangSC, PingFangSC-Regular;\n}\n.user_card_header {\n margin-top: -32px;\n}\n.user_card_header .card_name {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n color: #000000;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 6px;\n}\n.card_company {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin-bottom: 16px;\n}\n.card_detailInfo {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin: 0 0 5px !important;\n}\n.card_department {\n color: #005cff !important;\n}\n.user_info_card .ant-popover-inner-content {\n padding: 0px !important;\n}\n.user_info_card .ant-card-body {\n padding: 0px !important;\n}\n";
867
1017
  styleInject(css_248z);
868
1018
 
869
1019
  var noImg = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2244px%22%20height%3D%2244px%22%20viewBox%3D%220%200%2044%2044%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E8%92%99%E7%89%88%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%22-1.56319402e-13%201.84741111e-13%2044%201.84741111e-13%2044%2044%20-1.56319402e-13%2044%22%3E%3C%2Fpolygon%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-354.000000%2C%20-672.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E4%B8%80%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28240.000000%2C%20664.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%8D%95%E6%8D%AE%E7%BC%96%E5%8F%B7%22%20transform%3D%22translate%28106.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20transform%3D%22translate%288.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23E6F3FF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.4962332%2C15%20C29.4007284%2C15%2030.1339666%2C15.7383979%2030.1339666%2C16.6492578%20L30.1339666%2C27.5596481%20C30.1339666%2C28.4705081%2029.4007284%2C29.208906%2028.4962332%2C29.208906%20L14.6377334%2C29.208906%20C13.7332382%2C29.208906%2013%2C28.4705081%2013%2C27.5596481%20L13%2C16.6492578%20C13%2C15.7383979%2013.7332382%2C15%2014.6377334%2C15%20L28.4956873%2C15%20L28.4962332%2C15%20Z%20M28.4962332%2C16.6492578%20L14.6377334%2C16.6492578%20L14.6377334%2C27.5596481%20L28.4956873%2C27.5596481%20L28.4956873%2C16.6492578%20L28.4962332%2C16.6492578%20Z%20M26.6996397%2C18.6899395%20L26.6996397%2C20.3369983%20C24.5001638%2C20.357889%2023.12283%2C21.0967565%2022.4448084%2C22.5305113%20L22.3847582%2C22.6624519%20L22.3137897%2C22.8224299%20C21.2241511%2C25.1880154%2019.0819959%2C26.322155%2016.0560105%2C26.1940627%20L16.243258%2C26.2001099%20L16.2443498%2C24.5508521%20C18.5633803%2C24.6206707%2020.0357026%2C23.8290269%2020.8190851%2C22.1473337%20L20.8824107%2C22.006597%20L20.9479201%2C21.8603628%20C21.9158205%2C19.7680044%2023.8767333%2C18.7196262%2026.6996397%2C18.6899395%20L26.6996397%2C18.6899395%20Z%20M17.5583579%2C18.3435954%20C18.1149239%2C18.3435954%2018.5661099%2C18.7979562%2018.5661099%2C19.3584387%20C18.5661099%2C19.9189212%2018.1149239%2C20.373282%2017.5583579%2C20.373282%20C17.0016411%2C20.373282%2016.550333%2C19.9187981%2016.550333%2C19.3581638%20C16.550333%2C18.7975295%2017.0016411%2C18.3430456%2017.5583579%2C18.3430456%20L17.5583579%2C18.3435954%20Z%22%20fill%3D%22%23A3D1FF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -1301,22 +1451,6 @@ var judgeIsEmpty = function judgeIsEmpty(value) {
1301
1451
  }
1302
1452
  return false;
1303
1453
  };
1304
- /**
1305
- * 处理错误请求
1306
- * @param {*} response 返回结果
1307
- * @param {*} needBackError 是否需要将错误回传到页面单独处理
1308
- */
1309
- function handleError(response, needBackError) {
1310
- // @ts-ignore
1311
- if (!response || (response.code ? response.code !== '000000' : response.status !== '0')) {
1312
- if (response && !needBackError) {
1313
- // @ts-ignore
1314
- response.msg && message.error(response.msg);
1315
- }
1316
- return false;
1317
- }
1318
- return true;
1319
- }
1320
1454
 
1321
1455
  var css_248z$1 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
1322
1456
  styleInject(css_248z$1);
@@ -1641,7 +1775,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
1641
1775
  checkStockNum: isCheckStockNum
1642
1776
  })).then(function (result) {
1643
1777
  result = result.data;
1644
- if (result.status !== '0') {
1778
+ if (judgeIsRequestError(result)) {
1645
1779
  antd.message.error(result.msg);
1646
1780
  return;
1647
1781
  }
@@ -2208,7 +2342,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
2208
2342
  data: resultData
2209
2343
  }).then(function (result) {
2210
2344
  result = result.data;
2211
- if (result.status !== '0') {
2345
+ if (judgeIsRequestError(result)) {
2212
2346
  antd.message.error(result.msg);
2213
2347
  return;
2214
2348
  }
@@ -2640,7 +2774,9 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
2640
2774
  _ref$extralHeaders = _ref.extralHeaders,
2641
2775
  extralHeaders = _ref$extralHeaders === void 0 ? {} : _ref$extralHeaders,
2642
2776
  _ref$specialBracket = _ref.specialBracket,
2643
- specialBracket = _ref$specialBracket === void 0 ? false : _ref$specialBracket;
2777
+ specialBracket = _ref$specialBracket === void 0 ? false : _ref$specialBracket,
2778
+ _ref$noNeedSplit = _ref.noNeedSplit,
2779
+ noNeedSplit = _ref$noNeedSplit === void 0 ? false : _ref$noNeedSplit;
2644
2780
  var resultSourceKey = handleSourceName(sourceName || (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || 'supplierCode');
2645
2781
  var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
2646
2782
  var initVal = value || (selectMode ? [] : null);
@@ -2918,10 +3054,9 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
2918
3054
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(queryParams)), {
2919
3055
  headers: _objectSpread2({}, extralHeaders)
2920
3056
  }).then(function (result) {
2921
- var _result, _result2;
2922
3057
  setFetching(false);
2923
3058
  result = result.data;
2924
- if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
3059
+ if (judgeIsRequestError(result)) {
2925
3060
  antd.message.error(result.msg);
2926
3061
  return;
2927
3062
  }
@@ -3306,7 +3441,7 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
3306
3441
  }
3307
3442
  };
3308
3443
  var themeColor = {
3309
- color: '#02B56E'
3444
+ color: '#1890ff'
3310
3445
  };
3311
3446
  var formItem = function formItem(list) {
3312
3447
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
@@ -3423,9 +3558,13 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
3423
3558
  })
3424
3559
  }, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
3425
3560
  };
3426
- var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, item) {
3561
+ var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
3427
3562
  var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
3428
- return specialBracket ? "\u3010".concat(item.textShowKey, "\u3011").concat(showText) : "".concat(item.textShowKey, " ").concat(showText);
3563
+ if (noNeedSplit) {
3564
+ return item.text;
3565
+ } else {
3566
+ return specialBracket ? "\u3010".concat(item.textShowKey, "\u3011").concat(showText) : "".concat(item.textShowKey, " ").concat(showText);
3567
+ }
3429
3568
  };
3430
3569
  return /*#__PURE__*/React__default['default'].createElement("div", {
3431
3570
  className: 'search_select'
@@ -3496,7 +3635,7 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
3496
3635
  key: item.value,
3497
3636
  label: item.text
3498
3637
  }, LightHeightOption({
3499
- text: handleSelectOptionsShowValue(specialBracket, item),
3638
+ text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
3500
3639
  filterTxt: searchValue
3501
3640
  }));
3502
3641
  })), needModalTable && /*#__PURE__*/React__default['default'].createElement(antd.Button, {
@@ -3609,11 +3748,11 @@ var drag = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
3609
3748
 
3610
3749
  var fixedLeft = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1256.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28125.000000%2C%2020.000000%29%20scale%281%2C%20-1%29%20translate%28-125.000000%2C%20-20.000000%29%20translate%28116.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3611
3750
 
3612
- var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%2302B56E%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3751
+ var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3613
3752
 
3614
3753
  var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1278.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28138.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3615
3754
 
3616
- var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%2302B56E%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3755
+ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3617
3756
 
3618
3757
  var css_248z$6 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
3619
3758
  styleInject(css_248z$6);
@@ -3651,7 +3790,9 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
3651
3790
  onSearchSort: false
3652
3791
  };
3653
3792
  _this.patchUserColumnConfig = function (config) {
3654
- var tableCode = _this.props.tableCode;
3793
+ var _this$props = _this.props,
3794
+ tableCode = _this$props.tableCode,
3795
+ appRequestConfig = _this$props.appRequestConfig;
3655
3796
  if (!tableCode) return;
3656
3797
  var configvalue = config.map(function (item) {
3657
3798
  return {
@@ -3663,16 +3804,14 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
3663
3804
  };
3664
3805
  });
3665
3806
  axios__default['default']({
3666
- // url: '/user/appConfig/saveUserOrder',
3667
- url: '/api/mallops/appConfig/saveUserOrder',
3807
+ url: handleRequestUrl('/user', '/appConfig/saveUserOrder', appRequestConfig),
3668
3808
  method: 'POST',
3669
3809
  data: {
3670
3810
  "code": tableCode,
3671
3811
  "detail": JSON.stringify(configvalue)
3672
3812
  }
3673
3813
  }).then(function (res) {
3674
- var _res$data;
3675
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
3814
+ if (judgeIsRequestSuccess(res === null || res === void 0 ? void 0 : res.data)) {
3676
3815
  setConfigTableColumns(configvalue, tableCode);
3677
3816
  } else {
3678
3817
  antd.message.error('保存表头列自定义失败,请稍后尝试');
@@ -3680,10 +3819,10 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
3680
3819
  });
3681
3820
  };
3682
3821
  _this.setInitValue = function (datasource) {
3683
- var _this$props = _this.props,
3684
- _this$props$showColum = _this$props.showColumns,
3685
- showColumns = _this$props$showColum === void 0 ? [] : _this$props$showColum,
3686
- tableCode = _this$props.tableCode;
3822
+ var _this$props2 = _this.props,
3823
+ _this$props2$showColu = _this$props2.showColumns,
3824
+ showColumns = _this$props2$showColu === void 0 ? [] : _this$props2$showColu,
3825
+ tableCode = _this$props2.tableCode;
3687
3826
  // 获取当前列表定义数据
3688
3827
  var columnConfig = getConfigTableColumns(tableCode);
3689
3828
  var initialDataSourceData = columnConfig.length ? datasource.map(function (item) {
@@ -3939,9 +4078,9 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
3939
4078
  var oldIndex = _ref.oldIndex,
3940
4079
  newIndex = _ref.newIndex;
3941
4080
  var sortDataSource = _this.state.sortDataSource;
3942
- var _this$props2 = _this.props,
3943
- value = _this$props2.value,
3944
- setValue = _this$props2.setValue;
4081
+ var _this$props3 = _this.props,
4082
+ value = _this$props3.value,
4083
+ setValue = _this$props3.setValue;
3945
4084
  // if (sortDataSource[oldIndex]['fixed']) {
3946
4085
  // message.warning('固定列不可移动');
3947
4086
  // return;
@@ -4052,8 +4191,8 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
4052
4191
  _createClass(TableColumnSetting, [{
4053
4192
  key: "componentWillReceiveProps",
4054
4193
  value: function componentWillReceiveProps(nextProps) {
4055
- var _this$props3, _this$props4;
4056
- if (((_this$props3 = this.props) === null || _this$props3 === void 0 ? void 0 : _this$props3.datasource) && JSON.stringify((_this$props4 = this.props) === null || _this$props4 === void 0 ? void 0 : _this$props4.datasource) != JSON.stringify(nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource)) {
4194
+ var _this$props4, _this$props5;
4195
+ if (((_this$props4 = this.props) === null || _this$props4 === void 0 ? void 0 : _this$props4.datasource) && JSON.stringify((_this$props5 = this.props) === null || _this$props5 === void 0 ? void 0 : _this$props5.datasource) != JSON.stringify(nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource)) {
4057
4196
  this.setInitValue((nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource) || []);
4058
4197
  }
4059
4198
  }
@@ -4312,9 +4451,8 @@ var getSelectDataList = function getSelectDataList(record, item, selectKey) {
4312
4451
  var loadSelectSource = function loadSelectSource(url, params) {
4313
4452
  return new Promise(function (resolve, reject) {
4314
4453
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(params))).then(function (result) {
4315
- var _result, _result2;
4316
4454
  result = result.data;
4317
- if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
4455
+ if (judgeIsRequestError(result)) {
4318
4456
  antd.message.error(result.msg);
4319
4457
  resolve(result);
4320
4458
  return;
@@ -4381,9 +4519,8 @@ var _excluded$3 = ["onResize", "width"];
4381
4519
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
4382
4520
  return new Promise(function (resolve, reject) {
4383
4521
  axios__default['default'].post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
4384
- var _result, _result2;
4385
4522
  result = result.data;
4386
- if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
4523
+ if (judgeIsRequestError(result)) {
4387
4524
  antd.message.error(result.msg);
4388
4525
  reject(false);
4389
4526
  return;
@@ -4910,7 +5047,7 @@ var AddSelect = function AddSelect(props) {
4910
5047
  return /*#__PURE__*/React__default['default'].createElement("span", {
4911
5048
  style: {
4912
5049
  cursor: 'pointer',
4913
- color: '#02B56E'
5050
+ color: '#005CFF'
4914
5051
  },
4915
5052
  onClick: function onClick() {
4916
5053
  deleteRecord(record);
@@ -5023,10 +5160,9 @@ var AddSelect = function AddSelect(props) {
5023
5160
  currentPage: currentPage
5024
5161
  }, otherParams), fixedParam), params);
5025
5162
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(queryParams))).then(function (result) {
5026
- var _result3, _result4;
5027
5163
  setFetching(false);
5028
5164
  result = result.data;
5029
- if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
5165
+ if (judgeIsRequestError(result)) {
5030
5166
  antd.message.error(result.msg);
5031
5167
  return;
5032
5168
  }
@@ -5304,7 +5440,7 @@ var AddSelect = function AddSelect(props) {
5304
5440
  }
5305
5441
  };
5306
5442
  var themeColor = {
5307
- color: '#02B56E'
5443
+ color: '#005CFF'
5308
5444
  };
5309
5445
  var formItem = function formItem(list) {
5310
5446
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
@@ -5498,8 +5634,8 @@ var AddSelect = function AddSelect(props) {
5498
5634
  }, "\u53D6\u6D88"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
5499
5635
  key: "save-and-continue",
5500
5636
  style: {
5501
- color: '#02B56E',
5502
- borderColor: '#02B56E'
5637
+ color: '#005CFF',
5638
+ borderColor: '#005CFF'
5503
5639
  },
5504
5640
  onClick: function onClick() {
5505
5641
  handleOk(true);
@@ -5706,7 +5842,7 @@ var InputElement = function InputElement(_ref) {
5706
5842
  var data = _ref2.data,
5707
5843
  status = _ref2.status;
5708
5844
  if (status === 200) {
5709
- if (data.status === '0') {
5845
+ if (judgeIsRequestSuccess(data)) {
5710
5846
  var resultData = data.data.items.map(function (item, index) {
5711
5847
  return _objectSpread2(_objectSpread2({}, item), {}, {
5712
5848
  index: index
@@ -5749,7 +5885,7 @@ var InputElement = function InputElement(_ref) {
5749
5885
  var _tableRef$current;
5750
5886
  var dom = tableRef === null || tableRef === void 0 ? void 0 : (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[0];
5751
5887
  if (dom) {
5752
- dom.style.background = '#02B56E30';
5888
+ dom.style.background = '#005CFF30';
5753
5889
  }
5754
5890
  }
5755
5891
  }, [hoverVisibled, tableRef === null || tableRef === void 0 ? void 0 : tableRef.current]);
@@ -5799,7 +5935,7 @@ var InputElement = function InputElement(_ref) {
5799
5935
  if (dom) {
5800
5936
  tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
5801
5937
  setSelectIndex(currentIndex + 1);
5802
- dom.style.background = '#02B56E30';
5938
+ dom.style.background = '#005CFF30';
5803
5939
  dom.scrollIntoViewIfNeeded(false);
5804
5940
  }
5805
5941
  } else if (e.keyCode === 38) {
@@ -5807,7 +5943,7 @@ var InputElement = function InputElement(_ref) {
5807
5943
  if (_dom) {
5808
5944
  tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
5809
5945
  setSelectIndex(currentIndex - 1);
5810
- _dom.style.background = '#02B56E30';
5946
+ _dom.style.background = '#005CFF30';
5811
5947
  _dom.scrollIntoViewIfNeeded(false);
5812
5948
  }
5813
5949
  }
@@ -5820,7 +5956,7 @@ var InputElement = function InputElement(_ref) {
5820
5956
  // body: {
5821
5957
  // cell: ({index, record, ...props}) => {
5822
5958
  // debugger
5823
- // return <td {...props} style={selectIndex === record?.index ? {background: '#02B56E30'} : {} } />
5959
+ // return <td {...props} style={selectIndex === record?.index ? {background: '#005CFF30'} : {} } />
5824
5960
  // }
5825
5961
  // }
5826
5962
  // }
@@ -5833,7 +5969,7 @@ var InputElement = function InputElement(_ref) {
5833
5969
  _toConsumableArray(tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')).map(function (item) {
5834
5970
  item.style.background = '';
5835
5971
  });
5836
- dom.style.background = '#02B56E30';
5972
+ dom.style.background = '#005CFF30';
5837
5973
  dom.scrollIntoViewIfNeeded(false);
5838
5974
  }
5839
5975
  setSelectIndex(index);
@@ -6340,7 +6476,7 @@ var BillEntry = function BillEntry(_ref3) {
6340
6476
  return /*#__PURE__*/React__default['default'].createElement("span", {
6341
6477
  style: {
6342
6478
  cursor: 'pointer',
6343
- color: '#02B56E'
6479
+ color: '#005CFF'
6344
6480
  },
6345
6481
  onClick: function onClick() {
6346
6482
  deleteRecord(record);
@@ -6397,7 +6533,7 @@ var BillEntry = function BillEntry(_ref3) {
6397
6533
  checkStockNum: isCheckStockNum
6398
6534
  })).then(function (result) {
6399
6535
  result = result.data;
6400
- if (result.status !== '0') {
6536
+ if (judgeIsRequestError(result)) {
6401
6537
  antd.message.error(result.msg);
6402
6538
  return {
6403
6539
  flag: false
@@ -6681,9 +6817,8 @@ var getDictionaryTextByValue = function getDictionaryTextByValue(dicCode, value)
6681
6817
  var loadSelectSource$1 = function loadSelectSource(url, params) {
6682
6818
  return new Promise(function (resolve, reject) {
6683
6819
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(params))).then(function (result) {
6684
- var _result, _result2;
6685
6820
  result = result.data;
6686
- if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
6821
+ if (judgeIsRequestError(result)) {
6687
6822
  antd.message.error(result.msg);
6688
6823
  return;
6689
6824
  }
@@ -6718,6 +6853,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
6718
6853
  case 'purchaseOrg':
6719
6854
  case 'salesOrg':
6720
6855
  case 'employee2':
6856
+ case 'role':
6721
6857
  result = '/user';
6722
6858
  break;
6723
6859
  case 'deliveryMode':
@@ -8673,6 +8809,84 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
8673
8809
  }]
8674
8810
  }, modalTableBusProps);
8675
8811
  }
8812
+ // 角色选择器
8813
+ if (type === 'role') {
8814
+ requestConfig = _objectSpread2({
8815
+ url: "".concat(prefixUrl.selectPrefix, "/role"),
8816
+ filter: 'qp-name,code-orGroup,like',
8817
+ mappingTextField: 'name',
8818
+ mappingTextShowKeyField: 'code',
8819
+ mappingValueField: 'code',
8820
+ otherParams: {
8821
+ 'qp-status-eq': 10,
8822
+ sorter: 'desc-id'
8823
+ },
8824
+ sourceName: 'roleCode'
8825
+ }, requestConfigProp);
8826
+ tableSearchForm = [{
8827
+ name: 'qp-name-like',
8828
+ label: '角色名称'
8829
+ }, {
8830
+ name: 'qp-code-like',
8831
+ label: '角色编码'
8832
+ }, {
8833
+ name: 'qp-categoryCode-eq',
8834
+ type: 'select',
8835
+ label: '角色分类',
8836
+ field: {
8837
+ type: 'select',
8838
+ props: {
8839
+ notFoundContent: '暂无数据',
8840
+ allowClear: true,
8841
+ showSearch: true,
8842
+ showArrow: true,
8843
+ maxTagCount: 1,
8844
+ optionFilterProp: 'children',
8845
+ filterOption: function filterOption(input, option) {
8846
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
8847
+ }
8848
+ }
8849
+ }
8850
+ }];
8851
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/permissionCategory"), {
8852
+ pageSize: 5000,
8853
+ currentPage: 1
8854
+ })]).then(function (x) {
8855
+ formatSource(x, 0, 2, tableSearchForm);
8856
+ });
8857
+ modalTableProps = _objectSpread2({
8858
+ modalTableTitle: '选择角色',
8859
+ tableSearchForm: tableSearchForm,
8860
+ tableColumns: [{
8861
+ title: '角色编码',
8862
+ dataIndex: 'code'
8863
+ }, {
8864
+ title: '角色名称',
8865
+ dataIndex: 'name',
8866
+ render: function render(text) {
8867
+ return handleTextOverflow(text);
8868
+ }
8869
+ }, {
8870
+ title: '角色分类',
8871
+ dataIndex: 'categoryName',
8872
+ render: function render(text) {
8873
+ return handleTextOverflow(text);
8874
+ }
8875
+ }, {
8876
+ dataIndex: 'remark',
8877
+ title: '角色描述',
8878
+ render: function render(text) {
8879
+ return handleTextOverflow(text);
8880
+ }
8881
+ }, {
8882
+ dataIndex: 'applicationName',
8883
+ title: '应用',
8884
+ render: function render(text) {
8885
+ return handleTextOverflow(text);
8886
+ }
8887
+ }]
8888
+ }, modalTableBusProps);
8889
+ }
8676
8890
  return {
8677
8891
  modalTableProps: modalTableProps,
8678
8892
  requestConfig: requestConfig,
@@ -9187,9 +9401,8 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9187
9401
  React.useEffect(function () {
9188
9402
  // type: 1 尺码组; 2 配码组
9189
9403
  axios__default['default'].get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
9190
- var _result, _result2;
9191
9404
  result = result.data;
9192
- if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
9405
+ if (judgeIsRequestError(result)) {
9193
9406
  antd.message.error(result.msg);
9194
9407
  return;
9195
9408
  }
@@ -9508,9 +9721,8 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
9508
9721
  if (parProps === null || parProps === void 0 ? void 0 : parProps.isSingleColor) {
9509
9722
  // type: 1 尺码组; 2 配码组
9510
9723
  axios__default['default'].get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
9511
- var _result3, _result4;
9512
9724
  result = result.data;
9513
- if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
9725
+ if (judgeIsRequestError(result)) {
9514
9726
  antd.message.error(result.msg);
9515
9727
  return;
9516
9728
  }
@@ -9981,9 +10193,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
9981
10193
  _remoteSource$resKeyV = remoteSource.resKeyValue,
9982
10194
  resKeyValue = _remoteSource$resKeyV === void 0 ? ['id', 'name'] : _remoteSource$resKeyV,
9983
10195
  _remoteSource$initial = remoteSource.initialParams,
9984
- initialParams = _remoteSource$initial === void 0 ? {} : _remoteSource$initial;
10196
+ initialParams = _remoteSource$initial === void 0 ? {} : _remoteSource$initial,
10197
+ _remoteSource$treeChi = remoteSource.treeChildrenRoom,
10198
+ treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi;
9985
10199
  var mapSearchTree = function mapSearchTree(treeDataItem) {
9986
- var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0; // 盘算是否为父节点
10200
+ var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
9987
10201
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
9988
10202
  return {
9989
10203
  title: treeDataItem[resKeyValue[1]],
@@ -9993,7 +10207,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
9993
10207
  data: _objectSpread2({}, treeDataItem),
9994
10208
  isLeaf: !haveChildren,
9995
10209
  disabled: isDisabled(haveChildren, isRoot),
9996
- children: haveChildren ? treeDataItem.children.map(function (i) {
10210
+ children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
9997
10211
  return mapSearchTree(i);
9998
10212
  }) : []
9999
10213
  };
@@ -10020,7 +10234,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
10020
10234
  while (1) switch (_context.prev = _context.next) {
10021
10235
  case 0:
10022
10236
  resData = (res === null || res === void 0 ? void 0 : res.data) || [];
10023
- if (!(resData.status === '0' || resData.code === '000000')) {
10237
+ if (!judgeIsRequestSuccess(resData)) {
10024
10238
  _context.next = 13;
10025
10239
  break;
10026
10240
  }
@@ -10081,8 +10295,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
10081
10295
  var parallelData = function parallelData(data, result) {
10082
10296
  data.forEach(function (i) {
10083
10297
  result.push(i);
10084
- if (i.children) {
10085
- parallelData(i.children, result);
10298
+ if (i[treeChildrenRoom]) {
10299
+ parallelData(i[treeChildrenRoom], result);
10086
10300
  }
10087
10301
  });
10088
10302
  return result;
@@ -10200,20 +10414,20 @@ var handleDefaultProps = function handleDefaultProps(type, otherRequestConfig) {
10200
10414
  result = {
10201
10415
  treeCheckable: true,
10202
10416
  isChoose: true,
10203
- remoteSource: {
10417
+ remoteSource: _objectSpread2({
10204
10418
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
10205
10419
  headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10206
10420
  initialParams: {
10207
10421
  'orgViewCode': 'administrative-organization-view'
10208
10422
  },
10209
10423
  resKeyValue: ['code', 'name']
10210
- }
10424
+ }, otherRequestConfig)
10211
10425
  };
10212
10426
  break;
10213
10427
  case 'sales-organization':
10214
10428
  result = {
10215
10429
  isChoose: true,
10216
- remoteSource: {
10430
+ remoteSource: _objectSpread2({
10217
10431
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
10218
10432
  headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10219
10433
  initialParams: {
@@ -10221,13 +10435,13 @@ var handleDefaultProps = function handleDefaultProps(type, otherRequestConfig) {
10221
10435
  'qp-status-eq': 10
10222
10436
  },
10223
10437
  resKeyValue: ['code', 'name']
10224
- }
10438
+ }, otherRequestConfig)
10225
10439
  };
10226
10440
  break;
10227
10441
  case 'purchase-organization':
10228
10442
  result = {
10229
10443
  isChoose: true,
10230
- remoteSource: {
10444
+ remoteSource: _objectSpread2({
10231
10445
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
10232
10446
  headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10233
10447
  initialParams: {
@@ -10235,13 +10449,13 @@ var handleDefaultProps = function handleDefaultProps(type, otherRequestConfig) {
10235
10449
  'qp-status-eq': 10
10236
10450
  },
10237
10451
  resKeyValue: ['code', 'name']
10238
- }
10452
+ }, otherRequestConfig)
10239
10453
  };
10240
10454
  break;
10241
10455
  case 'stock-organization':
10242
10456
  result = {
10243
10457
  isChoose: true,
10244
- remoteSource: {
10458
+ remoteSource: _objectSpread2({
10245
10459
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
10246
10460
  headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10247
10461
  initialParams: {
@@ -10249,31 +10463,55 @@ var handleDefaultProps = function handleDefaultProps(type, otherRequestConfig) {
10249
10463
  'qp-status-eq': 10
10250
10464
  },
10251
10465
  resKeyValue: ['code', 'name']
10252
- }
10466
+ }, otherRequestConfig)
10467
+ };
10468
+ break;
10469
+ case 'settle-organization':
10470
+ result = {
10471
+ isChoose: true,
10472
+ remoteSource: _objectSpread2({
10473
+ url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
10474
+ headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10475
+ initialParams: {
10476
+ 'orgViewCode': 'settlement-organizational-view',
10477
+ 'qp-status-eq': 10
10478
+ },
10479
+ resKeyValue: ['code', 'name']
10480
+ }, otherRequestConfig)
10253
10481
  };
10254
10482
  break;
10255
10483
  case 'market-area':
10256
10484
  result = {
10257
10485
  isChoose: true,
10258
- remoteSource: {
10486
+ remoteSource: _objectSpread2({
10259
10487
  url: "/channel-manage/tagNode/getTree/10",
10260
10488
  headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10261
10489
  resKeyValue: ['code', 'name']
10262
- }
10490
+ }, otherRequestConfig)
10491
+ };
10492
+ break;
10493
+ case 'market-channel':
10494
+ result = {
10495
+ isChoose: true,
10496
+ remoteSource: _objectSpread2({
10497
+ url: "/channel-manage/channelInfo/tree",
10498
+ headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10499
+ resKeyValue: ['code', 'name']
10500
+ }, otherRequestConfig)
10263
10501
  };
10264
10502
  break;
10265
10503
  default:
10266
10504
  result = {
10267
10505
  treeCheckable: true,
10268
10506
  isChoose: true,
10269
- remoteSource: {
10507
+ remoteSource: _objectSpread2({
10270
10508
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
10271
10509
  headers: otherRequestConfig === null || otherRequestConfig === void 0 ? void 0 : otherRequestConfig.extralHeaders,
10272
10510
  initialParams: {
10273
10511
  'orgViewCode': 'administrative-organization-view'
10274
10512
  },
10275
10513
  resKeyValue: ['code', 'name']
10276
- }
10514
+ }, otherRequestConfig)
10277
10515
  };
10278
10516
  break;
10279
10517
  }
@@ -10299,7 +10537,7 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
10299
10537
  return true;
10300
10538
  });
10301
10539
 
10302
- var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #02B56E;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #02B56E;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #02B56E;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
10540
+ var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
10303
10541
  styleInject(css_248z$8);
10304
10542
 
10305
10543
  var index$3 = (function (props) {
@@ -10342,7 +10580,7 @@ var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20en
10342
10580
 
10343
10581
  var arrow_top = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAuBJREFUaEPtl0urjlEUx3/HXUkpErkkJAYoGbhkJB2SW2IgBibKVL6Cz2BgQMqAXCKXiHIGBhiIDJEJyjXlfu2vtWp36nj2fvZ+HG/tXW/n7bz7Wft/WXut9fTR46uvx/FTCQy3g9WB6kCmAjWFMgXMfrw6kC1hZoDqQKaA2Y//Cwd0xq9spEME6JLACOCnnRt+L8qlKwIOeDT8GRi/Ap2Q6ILASOAHsAo4DEwGDgAnAP+tmAulCTjANcBpA6/812e3kRgFfC/FoCQBByblzxl4Tx399hnYA5wq6UQpAq78ClN+mqWR/q+llNL3T8BO4AJQxIkSBBz8cgM2FfgCjAXOAC+A/cA3QJf6vZG4UoJELgEHvww4C8wMgF40oB+BI8Bey30p/xbYDtzITaccAg5+CXAJmB4oL3UF8IMBVD84DuwK9rwCNgO3cki0JeDgF9uFnRMof83AK1VU+7VEYBxwDNgR7H0GbAVutyXRhoCDXwhcBmYHql4HtlmeD+7EKqW6A6pCm4JnRGI9cL8NiVQCDn6RKT/fuuwY4CawBXg3BBAnNAE4aaD9Yj+ydHqYSiKFgIOfByjH5wYqDlgqvGkYGZzERCu3a4MYIrEOeJxCIpaAT5RSXE1KDqhJSXldQqXE68iDXYhJwHlgdRDrgTnxxGaoxik2hoCrNgu4CiwIVBN4pc3LxGHNY04xQVYGMXUX+oHnMTFjCPjYouoiyzUSqKLcBTYY+DZd1Z1Q41NKLg1iq4dsjJmXmgh46owHngJSTOuOKa8KkjMmh+4qndRTtHSXZtjo8dcXoiYCCuYB1IQOAfeAfTYitFF+sLDuhMrxUXPioHXvxre5GALhgarjGszUmBqDx6SA7fFYEkSENEtFrRQCfoj+6uOvi1EHRWxyLKo80eKkEIjAUGRLNHjP7yKnDleQ/9GBJC0qgSS5OthcHehA1KSQ1YEkuTrYXB3oQNSkkNWBJLk62NzzDvwGGnWoMahVpG4AAAAASUVORK5CYII=";
10344
10582
 
10345
- var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #494B4A;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #02B56E;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
10583
+ var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005CFF;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
10346
10584
  styleInject(css_248z$9);
10347
10585
 
10348
10586
  var _excluded$6 = ["children"],
@@ -10470,7 +10708,7 @@ var ExportIcon = function ExportIcon(_ref) {
10470
10708
  data: requestData
10471
10709
  }, others)).then(function (result) {
10472
10710
  result = result.data;
10473
- if (result.code !== '000000') {
10711
+ if (judgeIsRequestError(result)) {
10474
10712
  var _result;
10475
10713
  antd.message.error((_result = result) === null || _result === void 0 ? void 0 : _result.msg);
10476
10714
  return;
@@ -10517,7 +10755,9 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
10517
10755
  onSearchSort: false
10518
10756
  };
10519
10757
  _this.patchUserColumnConfig = function (config) {
10520
- var tableCode = _this.props.tableCode;
10758
+ var _this$props = _this.props,
10759
+ tableCode = _this$props.tableCode,
10760
+ appRequestConfig = _this$props.appRequestConfig;
10521
10761
  if (!tableCode) return;
10522
10762
  var configvalue = config.map(function (item) {
10523
10763
  return {
@@ -10529,16 +10769,14 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
10529
10769
  };
10530
10770
  });
10531
10771
  axios__default['default']({
10532
- // url: '/user/appConfig/saveUserOrder',
10533
- url: '/api/mallops/appConfig/saveUserOrder',
10772
+ url: handleRequestUrl('/user', '/appConfig/saveUserOrder', appRequestConfig),
10534
10773
  method: 'POST',
10535
10774
  data: {
10536
10775
  "code": tableCode,
10537
10776
  "detail": JSON.stringify(configvalue)
10538
10777
  }
10539
10778
  }).then(function (res) {
10540
- var _res$data;
10541
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
10779
+ if (judgeIsRequestSuccess(res === null || res === void 0 ? void 0 : res.data)) {
10542
10780
  _this.patchConfigToLocalstorage(configvalue, tableCode);
10543
10781
  } else {
10544
10782
  antd.message.error('保存表头列自定义失败,请稍后尝试');
@@ -10819,9 +11057,9 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
10819
11057
  var oldIndex = _ref.oldIndex,
10820
11058
  newIndex = _ref.newIndex;
10821
11059
  var sortDataSource = _this.state.sortDataSource;
10822
- var _this$props = _this.props,
10823
- value = _this$props.value,
10824
- setValue = _this$props.setValue;
11060
+ var _this$props2 = _this.props,
11061
+ value = _this$props2.value,
11062
+ setValue = _this$props2.setValue;
10825
11063
  // if (sortDataSource[oldIndex]['fixed']) {
10826
11064
  // message.warning('固定列不可移动');
10827
11065
  // return;
@@ -10945,8 +11183,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
10945
11183
  _createClass(SortableTable, [{
10946
11184
  key: "componentWillReceiveProps",
10947
11185
  value: function componentWillReceiveProps(nextProps) {
10948
- var _this$props2, _this$props3;
10949
- if (((_this$props2 = this.props) === null || _this$props2 === void 0 ? void 0 : _this$props2.datasource) && JSON.stringify((_this$props3 = this.props) === null || _this$props3 === void 0 ? void 0 : _this$props3.datasource) != JSON.stringify(nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource)) {
11186
+ var _this$props3, _this$props4;
11187
+ if (((_this$props3 = this.props) === null || _this$props3 === void 0 ? void 0 : _this$props3.datasource) && JSON.stringify((_this$props4 = this.props) === null || _this$props4 === void 0 ? void 0 : _this$props4.datasource) != JSON.stringify(nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource)) {
10950
11188
  this.setInitValue((nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource) || []);
10951
11189
  }
10952
11190
  }
@@ -11120,7 +11358,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
11120
11358
  }(React__default['default'].Component);
11121
11359
 
11122
11360
  var _excluded$8 = ["onResize", "width"],
11123
- _excluded2$3 = ["style", "columns", "tableCode", "summary", "dynamicColumns", "scroll"];
11361
+ _excluded2$3 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
11124
11362
  var Text = antd.Typography.Text;
11125
11363
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11126
11364
  _inherits(ColumnSettingSulaTable, _React$Component);
@@ -11284,6 +11522,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11284
11522
  style = _this$props3$style === void 0 ? null : _this$props3$style,
11285
11523
  columns = _this$props3.columns,
11286
11524
  tableCode = _this$props3.tableCode,
11525
+ appRequestConfig = _this$props3.appRequestConfig,
11287
11526
  _this$props3$summary = _this$props3.summary,
11288
11527
  summary = _this$props3$summary === void 0 ? undefined : _this$props3$summary,
11289
11528
  _this$props3$dynamicC = _this$props3.dynamicColumns,
@@ -11348,7 +11587,8 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11348
11587
  setShowColumns: this.setShowColumns,
11349
11588
  showColumns: this.state.showColumns,
11350
11589
  datasource: columns || [],
11351
- tableCode: tableCode
11590
+ tableCode: tableCode,
11591
+ appRequestConfig: appRequestConfig
11352
11592
  }))), /*#__PURE__*/React__default['default'].createElement(bssula.Table, _objectSpread2({
11353
11593
  ref: this.sulaTableRef,
11354
11594
  style: style,
@@ -11365,7 +11605,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11365
11605
  }(React__default['default'].Component);
11366
11606
 
11367
11607
  var _excluded$9 = ["onResize", "width"],
11368
- _excluded2$4 = ["columns", "tableCode", "summary", "dynamicColumns", "scroll"];
11608
+ _excluded2$4 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
11369
11609
  var Text$1 = antd.Typography.Text;
11370
11610
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
11371
11611
  _inherits(ColumnSettingTable, _React$Component);
@@ -11525,6 +11765,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
11525
11765
  var _this$props3 = this.props,
11526
11766
  columns = _this$props3.columns,
11527
11767
  tableCode = _this$props3.tableCode,
11768
+ appRequestConfig = _this$props3.appRequestConfig,
11528
11769
  _this$props3$summary = _this$props3.summary,
11529
11770
  summary = _this$props3$summary === void 0 ? undefined : _this$props3$summary,
11530
11771
  _this$props3$dynamicC = _this$props3.dynamicColumns,
@@ -11589,7 +11830,8 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
11589
11830
  setShowColumns: this.setShowColumns,
11590
11831
  showColumns: this.state.showColumns,
11591
11832
  datasource: columns || [],
11592
- tableCode: tableCode
11833
+ tableCode: tableCode,
11834
+ appRequestConfig: appRequestConfig
11593
11835
  }))), /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
11594
11836
  columns: showCol,
11595
11837
  components: {
@@ -11668,7 +11910,7 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
11668
11910
  return routerMap;
11669
11911
  };
11670
11912
 
11671
- var css_248z$b = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #02B56E;\n border: 1px solid #02B56E;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
11913
+ var css_248z$b = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005CFF;\n border: 1px solid #005CFF;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
11672
11914
  styleInject(css_248z$b);
11673
11915
 
11674
11916
  var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -11701,7 +11943,7 @@ var CommonAlert = (function (props) {
11701
11943
  className: 'common_Alert'
11702
11944
  }, /*#__PURE__*/React__default['default'].createElement(antd.Alert, _objectSpread2({
11703
11945
  style: {
11704
- borderColor: '#02B56E',
11946
+ borderColor: '#005CFF',
11705
11947
  background: '#e5eeff',
11706
11948
  borderRadius: '4px'
11707
11949
  },
@@ -12089,6 +12331,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12089
12331
  bsTableCode: '' //设置table 列的标识
12090
12332
  };
12091
12333
  _this.patchUserColumnConfig = function (config) {
12334
+ var appRequestConfig = _this.props.appRequestConfig;
12092
12335
  var that = _assertThisInitialized(_this);
12093
12336
  var configvalue = config ? config.map(function (item) {
12094
12337
  return {
@@ -12101,16 +12344,14 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12101
12344
  }) : '';
12102
12345
  return new Promise(function (resolve, reject) {
12103
12346
  axios__default['default']({
12104
- // url: '/user/appConfig/saveUserOrder',
12105
- url: '/api/mallops/appConfig/saveUserOrder',
12347
+ url: handleRequestUrl('/user', '/appConfig/saveUserOrder', appRequestConfig),
12106
12348
  method: 'POST',
12107
12349
  data: {
12108
12350
  code: that.state.bsTableCode,
12109
12351
  detail: configvalue ? JSON.stringify(configvalue) : ''
12110
12352
  }
12111
12353
  }).then(function (res) {
12112
- var _res$data;
12113
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
12354
+ if (judgeIsRequestSuccess(res === null || res === void 0 ? void 0 : res.data)) {
12114
12355
  _this.patchConfigToLocalstorage(configvalue);
12115
12356
  resolve({
12116
12357
  status: '0'
@@ -12449,7 +12690,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12449
12690
  }))
12450
12691
  }, function () {
12451
12692
  _this.handleOk().then(function (res) {
12452
- if (res.status === '0') {
12693
+ if (judgeIsRequestSuccess(res)) {
12453
12694
  antd.message.success( /*#__PURE__*/React__default['default'].createElement("span", null, "\u5B57\u6BB5\u5DF2\u9690\u85CF\uFF0C\u5982\u9700\u91CD\u65B0\u663E\u793A\u8BF7\u524D\u5F80", /*#__PURE__*/React__default['default'].createElement(antd.Typography.Link, {
12454
12695
  underline: true,
12455
12696
  onClick: _this.showModal
@@ -12842,6 +13083,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
12842
13083
  bsTableCode: '' //设置table 列的标识
12843
13084
  };
12844
13085
  _this.patchUserSearchFieldsConfig = function (config) {
13086
+ var appRequestConfig = _this.props.appRequestConfig;
12845
13087
  var that = _assertThisInitialized(_this);
12846
13088
  var configvalue = config ? config.map(function (item) {
12847
13089
  return {
@@ -12850,16 +13092,14 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
12850
13092
  };
12851
13093
  }) : '';
12852
13094
  axios__default['default']({
12853
- // url: '/user/appConfig/saveQueryCriteria',
12854
- url: '/api/mallops/appConfig/saveQueryCriteria',
13095
+ url: handleRequestUrl('/user', '/appConfig/saveQueryCriteria', appRequestConfig),
12855
13096
  method: 'POST',
12856
13097
  data: {
12857
13098
  code: that.state.bsTableCode,
12858
13099
  detail: configvalue ? JSON.stringify(configvalue) : ''
12859
13100
  }
12860
13101
  }).then(function (res) {
12861
- var _res$data;
12862
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
13102
+ if (judgeIsRequestSuccess(res === null || res === void 0 ? void 0 : res.data)) {
12863
13103
  _this.patchConfigToLocalstorage(configvalue);
12864
13104
  } else {
12865
13105
  antd.message.error('保存搜索项自定义失败,请稍后尝试');
@@ -13373,7 +13613,8 @@ var BsSulaQueryTable = (function (props) {
13373
13613
  setShowSearchFields = _useState14[1]; //搜索项字段
13374
13614
  var _props$isPage = props.isPage,
13375
13615
  pagination = props.pagination,
13376
- tableCode = props.tableCode;
13616
+ tableCode = props.tableCode,
13617
+ appRequestConfig = props.appRequestConfig;
13377
13618
  var _useState15 = React.useState('100vh'),
13378
13619
  _useState16 = _slicedToArray(_useState15, 2),
13379
13620
  height = _useState16[0],
@@ -13446,8 +13687,12 @@ var BsSulaQueryTable = (function (props) {
13446
13687
  setCommonRenderFn(props.columns);
13447
13688
  var authButton = localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES) ? JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES)) : [];
13448
13689
  Object.keys(resourceCodeArray).forEach(function (item) {
13690
+ var Item = item;
13691
+ if (Number(item.slice(-1)) >= 1) {
13692
+ Item = item.substr(0, item.length - 1);
13693
+ }
13449
13694
  if (!authButton.filter(function (itemInner) {
13450
- return item === itemInner;
13695
+ return Item === itemInner;
13451
13696
  }).length) {
13452
13697
  resourceCodeArray[item].visible = false;
13453
13698
  }
@@ -13644,7 +13889,8 @@ var BsSulaQueryTable = (function (props) {
13644
13889
  setShowSearchFields: setShowSearchFields,
13645
13890
  showSearchFields: showSearchFields,
13646
13891
  datasource: (value === null || value === void 0 ? void 0 : value.fields) || [],
13647
- bsTableCode: bsTableCode
13892
+ bsTableCode: bsTableCode,
13893
+ appRequestConfig: appRequestConfig
13648
13894
  }))),
13649
13895
  placement: "bottomRight"
13650
13896
  }, /*#__PURE__*/React__default['default'].createElement("span", {
@@ -13756,7 +14002,8 @@ var BsSulaQueryTable = (function (props) {
13756
14002
  var memoConfig = React.useMemo(function () {
13757
14003
  return _objectSpread2(_objectSpread2({}, config), {}, {
13758
14004
  summary: props.summary,
13759
- statusMapping: props.statusMapping
14005
+ statusMapping: props.statusMapping,
14006
+ appRequestConfig: props.appRequestConfig
13760
14007
  });
13761
14008
  }, [value, checkedList, showColumn, props.statusMapping, showSearchFields]);
13762
14009
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
@@ -13765,11 +14012,12 @@ var BsSulaQueryTable = (function (props) {
13765
14012
  showColumn: showColumn,
13766
14013
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
13767
14014
  bsTableCode: bsTableCode,
14015
+ appRequestConfig: appRequestConfig,
13768
14016
  onlyModal: true
13769
14017
  }));
13770
14018
  });
13771
14019
 
13772
- var css_248z$f = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #02B56E;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #02B56E;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
14020
+ var css_248z$f = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #005cff;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005CFF;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
13773
14021
  styleInject(css_248z$f);
13774
14022
 
13775
14023
  var cache = {};
@@ -13875,23 +14123,24 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
13875
14123
  var setMenuTreeData = function setMenuTreeData(routesData) {
13876
14124
  var authButton = localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES) ? JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES)) : [];
13877
14125
  var _loop = function _loop(i) {
13878
- if (routesData[i].hideInMenu) {
13879
- routesData.splice(i, 1);
13880
- return "continue";
13881
- }
13882
- if (routesData[i].code && authButton.every(function (item) {
13883
- return routesData[i].code != item;
13884
- })) {
13885
- routesData.splice(i, 1);
13886
- return "continue";
13887
- }
13888
- if (routesData[i].children) {
13889
- setMenuTreeData(routesData[i].children);
13890
- }
13891
- };
14126
+ if (routesData[i].hideInMenu) {
14127
+ routesData.splice(i, 1);
14128
+ return 0; // continue
14129
+ }
14130
+ if (routesData[i].code && authButton.every(function (item) {
14131
+ return routesData[i].code != item;
14132
+ })) {
14133
+ routesData.splice(i, 1);
14134
+ return 0; // continue
14135
+ }
14136
+ if (routesData[i].children) {
14137
+ setMenuTreeData(routesData[i].children);
14138
+ }
14139
+ },
14140
+ _ret;
13892
14141
  for (var i = routesData.length - 1; i >= 0; i--) {
13893
- var _ret = _loop(i);
13894
- if (_ret === "continue") continue;
14142
+ _ret = _loop(i);
14143
+ if (_ret === 0) continue;
13895
14144
  }
13896
14145
  };
13897
14146
  var setLoginOutPath = function setLoginOutPath() {
@@ -14025,7 +14274,7 @@ var AllFunc = function AllFunc(props) {
14025
14274
  })))));
14026
14275
  };
14027
14276
 
14028
- var css_248z$g = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
14277
+ var css_248z$g = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #1890ff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
14029
14278
  styleInject(css_248z$g);
14030
14279
 
14031
14280
  var allfunc = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Eicon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-20.000000%2C%20-1016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%280.000000%2C%20900.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9F%A5%E7%9C%8B%E5%85%A8%E9%83%A8%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%2810.000000%2C%2046.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%2810.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22navigation-icon-allfunctions%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22category%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%205.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.24999999%2C12.3585414%20L2.24999999%2C14%20L0%2C14%20L0%2C12.3585414%20L2.24999999%2C12.3585414%20Z%20M18%2C12.3585414%20L18%2C14%20L3.375%2C14%20L3.375%2C12.3585414%20L18%2C12.3585414%20Z%20M2.24999999%2C6.17954431%20L2.24999999%2C7.82100286%20L0%2C7.82100286%20L0%2C6.17954431%20L2.24999999%2C6.17954431%20L2.24999999%2C6.17954431%20Z%20M18%2C6.17954431%20L18%2C7.82100286%20L3.375%2C7.82100286%20L3.375%2C6.17954431%20L18%2C6.17954431%20L18%2C6.17954431%20Z%20M2.24999999%2C0%20L2.24999999%2C1.64145855%20L0%2C1.64145855%20L0%2C0%20L2.24999999%2C0%20L2.24999999%2C0%20Z%20M18%2C0%20L18%2C1.64145855%20L3.375%2C1.64145855%20L3.375%2C0%20L18%2C0%20L18%2C0%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14133,7 +14382,7 @@ var DrawContent = function DrawContent(_ref) {
14133
14382
  return /*#__PURE__*/React__default['default'].createElement(antd.List, {
14134
14383
  className: classNames__default['default']('allFunsList', 'allFunsListWarp'),
14135
14384
  style: {
14136
- color: '#02B56E'
14385
+ color: '#005CFF'
14137
14386
  },
14138
14387
  header: /*#__PURE__*/React__default['default'].createElement("b", null, umi.formatMessage({
14139
14388
  id: "".concat(item.name)
@@ -14225,7 +14474,7 @@ var AllFunc$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14225
14474
  })));
14226
14475
  });
14227
14476
 
14228
- var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
14477
+ var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
14229
14478
  styleInject(css_248z$h);
14230
14479
 
14231
14480
  var Morentouxiang = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2240px%22%20height%3D%2240px%22%20viewBox%3D%220%200%2040%2040%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E32%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22path-1%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2213%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-40.4%25%22%20y%3D%22-40.4%25%22%20width%3D%22180.8%25%22%20height%3D%22180.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%220%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%223.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeComposite%20in%3D%22shadowBlurOuter1%22%20in2%3D%22SourceAlpha%22%20operator%3D%22out%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeComposite%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%200%200%200%201%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22-----6.1-%E9%BB%98%E8%AE%A4%E5%9B%BE%E7%89%87%2F-Default-picture%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22B-Design-%E4%BD%93%E9%AA%8C%E8%A7%84%E8%8C%83%22%20transform%3D%22translate%28-1119.000000%2C%20-988.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2232%22%20transform%3D%22translate%281126.000000%2C%20995.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%9C%86%E5%BD%A2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url%28%23filter-2%29%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%220.8328125%22%20stroke-linejoin%3D%22square%22%20fill%3D%22%23EDF4FF%22%20fill-rule%3D%22evenodd%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2212.5835938%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.644709%2C13.6190476%20L18.9119048%2C15.0892857%20L18.9119048%2C19.5%20L7.15%2C19.5%20L7.15%2C15.0892857%20L10.4171958%2C13.6190476%20L15.644709%2C13.6190476%20Z%20M16.1261905%2C16.4047619%20L13.65%2C16.4047619%20L13.65%2C17.6428571%20L16.1261905%2C17.6428571%20L16.1261905%2C16.4047619%20Z%20M13.1857143%2C6.5%20C14.9806397%2C6.5%2016.4357143%2C7.95507456%2016.4357143%2C9.75%20C16.4357143%2C11.5449254%2014.9806397%2C13%2013.1857143%2C13%20C11.3907888%2C13%209.93571429%2C11.5449254%209.93571429%2C9.75%20C9.93571429%2C7.95507456%2011.3907888%2C6.5%2013.1857143%2C6.5%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%239AC4FF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14473,7 +14722,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14473
14722
  }))))), loginModalParams.visible && /*#__PURE__*/React__default['default'].createElement(LoginModal, _objectSpread2({}, loginModalParams)));
14474
14723
  };
14475
14724
 
14476
- var css_248z$i = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #02B56E;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
14725
+ var css_248z$i = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005cff;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
14477
14726
  styleInject(css_248z$i);
14478
14727
 
14479
14728
  var judgeIsEmpty$2 = function judgeIsEmpty(value) {
@@ -14550,7 +14799,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
14550
14799
  var afterStr = newName.substr(index + keyWord.length);
14551
14800
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", null, beforeStr), /*#__PURE__*/React__default['default'].createElement("span", {
14552
14801
  style: {
14553
- color: '#02B56E'
14802
+ color: '#1890ff'
14554
14803
  }
14555
14804
  }, keyWord), /*#__PURE__*/React__default['default'].createElement("span", null, afterStr));
14556
14805
  }
@@ -15258,7 +15507,7 @@ var MenuSetting = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15258
15507
  }));
15259
15508
  });
15260
15509
 
15261
- var css_248z$k = ".customer_menu_content {\n color: #b1bad4;\n background: #494B4A;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #E4E7ED;\n cursor: pointer;\n}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
15510
+ var css_248z$k = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #E4E7ED;\n cursor: pointer;\n}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
15262
15511
  styleInject(css_248z$k);
15263
15512
 
15264
15513
  var CustomerMenu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
@@ -15395,7 +15644,7 @@ var CustomerMenu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15395
15644
  })));
15396
15645
  });
15397
15646
 
15398
- var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #02B56E !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #02B56E;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #02B56E;\n}\n";
15647
+ var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #1890ff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #1890ff !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
15399
15648
  styleInject(css_248z$l);
15400
15649
 
15401
15650
  var closeicon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiZJREFUSEvFll1LVFEUhh/1QqjAxALrot+ggR9RQWh1UZl9kNCtv8ALf0Q3/YVuiyIqLKOUyI80RP0VXVSU+UGKF2W88q7hzPacOY4QHhiGmVn7fdZe691rTwP/+WlI9Bv9eQfQq55HWqH3NxamgOz3+q0SWEJSYpFQVWIBUIDE+oARYBj4ATQBf0rEI+Yk8Ah4CHwEdjUDoHeRnwN3gBngJrBaAgnxVmAMOA88A4aKAAp8A5wzZABYK4Dkic8CWqPEdpPO9iB20Qa8BnqBae9EkCijKhbixx2rzOeAG8CvEFdg2uRYKIh20mOIslo3RGvUlxaLXwDmgesWr+pbnovyIFPe+oYbLnHV/CLw2eIreaUssmlATngn3YAg17yL8f2I55Uo68is/VSuLuC9AZeBBQN/1nJa0Q4ClHVKuEu/fXJZihxWSbQMEM5pBlQWHUQ9E+7JduKuPWeyFiDEj7mhl2xFrdE5+WAL/64FKQJkxV858yXgqq09CXQAer8FFELyAFnxl0A/sOiaf3cN2u2usy7X7SJI3rjW0DsKSFxuUeY6RN/sFjF00ARRXzrtLkE203LljQqJvwCuAMu2YojHZA13nTJE5XrnQSlIjJ3KqIgvjlhctZa4Mv9aMuxOu1yCvAXuAlvpsAvAU+DePsTTc5KFPAHup+M6GjsIjDrgS50XzhngMfDAtq66cNIRoUYf5MqUaNUNeCiXfsUB9fylcOyetf8AAkCfGYuSNSEAAAAASUVORK5CYII=";
@@ -15560,8 +15809,8 @@ var DrawContent$1 = function DrawContent(_ref) {
15560
15809
  return /*#__PURE__*/React__default['default'].createElement("div", {
15561
15810
  className: 'left_item',
15562
15811
  style: {
15563
- borderLeft: currentOneLevel === item.path ? '2px solid #02B56E' : 'none',
15564
- color: currentOneLevel === item.path ? '#02B56E' : '#000000'
15812
+ borderLeft: currentOneLevel === item.path ? '2px solid #1890ff' : 'none',
15813
+ color: currentOneLevel === item.path ? '#1890ff' : '#000000'
15565
15814
  },
15566
15815
  onClick: function onClick(e) {
15567
15816
  e.stopPropagation();
@@ -15687,7 +15936,7 @@ var DrawContent$1 = function DrawContent(_ref) {
15687
15936
  className: "allFunsList allFunsListWarp ".concat(currentOneLevel === item.path ? 'choosedStyle' : ''),
15688
15937
  id: item.path,
15689
15938
  style: {
15690
- color: currentOneLevel === item.path ? '#fff' : '#02B56E'
15939
+ color: currentOneLevel === item.path ? '#fff' : '#005CFF'
15691
15940
  },
15692
15941
  header: /*#__PURE__*/React__default['default'].createElement("b", null, umi.formatMessage({
15693
15942
  id: "".concat(item.name)
@@ -15719,7 +15968,7 @@ var DrawContent$1 = function DrawContent(_ref) {
15719
15968
  }, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u4E0B\u6ED1\u52A0\u8F7D\u66F4\u591A"))))));
15720
15969
  };
15721
15970
 
15722
- var caidan = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-20.000000%2C%20-19.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%2820.000000%2C%2019.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%2302B56E%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.4%2C30.5%20L34.4%2C33.1%20L13.6%2C33.1%20L13.6%2C30.5%20L34.4%2C30.5%20Z%20M34.4%2C22.7%20L34.4%2C25.3%20L13.6%2C25.3%20L13.6%2C22.7%20L34.4%2C22.7%20Z%20M34.4%2C14.9%20L34.4%2C17.5%20L13.6%2C17.5%20L13.6%2C14.9%20L34.4%2C14.9%20Z%22%20id%3D%22nav-line-%E5%AF%BC%E8%88%AA%E5%85%A5%E5%8F%A3%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15971
+ var caidan = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-20.000000%2C%20-19.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%2820.000000%2C%2019.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23005CFF%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.4%2C30.5%20L34.4%2C33.1%20L13.6%2C33.1%20L13.6%2C30.5%20L34.4%2C30.5%20Z%20M34.4%2C22.7%20L34.4%2C25.3%20L13.6%2C25.3%20L13.6%2C22.7%20L34.4%2C22.7%20Z%20M34.4%2C14.9%20L34.4%2C17.5%20L13.6%2C17.5%20L13.6%2C14.9%20L34.4%2C14.9%20Z%22%20id%3D%22nav-line-%E5%AF%BC%E8%88%AA%E5%85%A5%E5%8F%A3%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15723
15972
 
15724
15973
  var guanbi = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2249px%22%20height%3D%2249px%22%20viewBox%3D%220%200%2049%2049%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%402x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28-327.000000%2C%20-7295.000000%29%22%20fill%3D%22%23FFFFFF%22%20id%3D%22%E7%BC%96%E7%BB%84-19%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28201.125000%2C%206939.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-12%22%20transform%3D%22translate%28120.750000%2C%20350.500000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%285.125000%2C%205.500000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20opacity%3D%220%22%20x%3D%220.875%22%20y%3D%220.5%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill-rule%3D%22nonzero%22%20points%3D%2216.1903531%2014.2124746%2014.6278957%2015.7683177%2023.3198919%2024.5%2014.6278957%2033.2316823%2016.1903531%2034.7875254%2024.875%2026.0624574%2033.5596469%2034.7875254%2035.1221043%2033.2316823%2026.4308431%2024.5007349%2035.1221043%2015.7683177%2033.5596469%2014.2124746%2024.875%2022.9368077%2016.1903531%2014.2132096%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15725
15974
 
@@ -15811,7 +16060,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
15811
16060
  })));
15812
16061
  };
15813
16062
 
15814
- var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #494B4A;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #02B56E;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
16063
+ var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #1890ff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
15815
16064
  styleInject(css_248z$m);
15816
16065
 
15817
16066
  var _excluded$g = ["route"];
@@ -23648,7 +23897,7 @@ function registerSuggestions(monaco) {
23648
23897
  });
23649
23898
  }
23650
23899
 
23651
- var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #02B56E;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
23900
+ var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #1890ff;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
23652
23901
  styleInject(css_248z$p);
23653
23902
 
23654
23903
  var Title = antd.Typography.Title;
@@ -24059,7 +24308,7 @@ var App = function App(_ref) {
24059
24308
  converter: function converter(_ref2) {
24060
24309
  var response = _ref2.response,
24061
24310
  data = _ref2.data;
24062
- if (response.code === '000000') {
24311
+ if (judgeIsRequestSuccess(response)) {
24063
24312
  // UpdateFiedList(data.filter(item => item.valueType == 20 || item.valueType == 21 || item.valueType == 22))
24064
24313
  var resData = data.filter(function (item) {
24065
24314
  return item.inputType != 40 && (item.valueType == 20 || item.valueType == 21 || item.valueType == 22);
@@ -24381,6 +24630,13 @@ var inputTypes = {
24381
24630
  treeCheckable: false
24382
24631
  }, normalSingleSelectProps)
24383
24632
  },
24633
+ 290: {
24634
+ // 库存组织
24635
+ type: 'bs-settleOrgSelect',
24636
+ props: _objectSpread2({
24637
+ treeCheckable: false
24638
+ }, normalSingleSelectProps)
24639
+ },
24384
24640
  310: {
24385
24641
  type: 'bs-deliveryModeSearchSelect',
24386
24642
  props: _objectSpread2({}, normalSingleSelectProps)
@@ -24398,6 +24654,14 @@ var inputTypes = {
24398
24654
  props: _objectSpread2({
24399
24655
  treeCheckable: false
24400
24656
  }, normalSingleSelectProps)
24657
+ },
24658
+ 360: {
24659
+ type: 'bs-roleSelect',
24660
+ props: _objectSpread2(_objectSpread2({}, normalSingleSelectProps), {}, {
24661
+ requestConfig: {
24662
+ filter: 'qp-name,code-orGroup-in'
24663
+ }
24664
+ })
24401
24665
  }
24402
24666
  },
24403
24667
  30: {
@@ -24527,6 +24791,13 @@ var inputTypes = {
24527
24791
  treeCheckable: true
24528
24792
  }, normalMultipleSelectProps)
24529
24793
  },
24794
+ 290: {
24795
+ // 结算组织
24796
+ type: 'bs-settleOrgSelect',
24797
+ props: _objectSpread2({
24798
+ treeCheckable: true
24799
+ }, normalMultipleSelectProps)
24800
+ },
24530
24801
  310: {
24531
24802
  type: 'bs-deliveryModeSearchSelect',
24532
24803
  props: _objectSpread2(_objectSpread2({}, normalMultipleSelectProps), {}, {
@@ -24548,6 +24819,14 @@ var inputTypes = {
24548
24819
  props: _objectSpread2({
24549
24820
  treeCheckable: false
24550
24821
  }, normalSingleSelectProps)
24822
+ },
24823
+ 360: {
24824
+ type: 'bs-roleSelect',
24825
+ props: _objectSpread2(_objectSpread2({}, normalMultipleSelectProps), {}, {
24826
+ requestConfig: {
24827
+ filter: 'qp-name,code-orGroup-in'
24828
+ }
24829
+ })
24551
24830
  }
24552
24831
  }
24553
24832
  };
@@ -24575,10 +24854,12 @@ var choiceType = Object.freeze({
24575
24854
  260: '店铺选择器',
24576
24855
  270: '员工选择器',
24577
24856
  280: '库存组织选择器',
24857
+ 290: '结算组织选择器',
24578
24858
  310: '配送方式选择器',
24579
24859
  330: '变量',
24580
24860
  340: '规则模板选择器',
24581
- 350: '营销区域选择器'
24861
+ 350: '营销区域选择器',
24862
+ 360: '角色选择器'
24582
24863
  });
24583
24864
  var inputType = {
24584
24865
  10: '输入',
@@ -26020,10 +26301,9 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
26020
26301
  Promise.all([axios__default['default'].get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(pageType))]).then(function (_ref2) {
26021
26302
  var _ref3 = _slicedToArray(_ref2, 1),
26022
26303
  res = _ref3[0];
26023
- var _ref4 = (res === null || res === void 0 ? void 0 : res.data) || {},
26024
- code = _ref4.code,
26025
- data = _ref4.data;
26026
- if (code === '000000') {
26304
+ var resD = (res === null || res === void 0 ? void 0 : res.data) || {};
26305
+ var data = resD.data;
26306
+ if (judgeIsRequestSuccess(resD)) {
26027
26307
  if (data) {
26028
26308
  var businessType = data.businessType,
26029
26309
  fieldGroup = data.code,
@@ -26044,15 +26324,15 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
26044
26324
  var axiosArr = detailTablesSetting.map(function (item) {
26045
26325
  return axios__default['default'].get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(item.tableCode));
26046
26326
  });
26047
- Promise.all(axiosArr).then(function (_ref5) {
26048
- var _ref6 = _toArray(_ref5),
26049
- resArr = _ref6.slice(0);
26327
+ Promise.all(axiosArr).then(function (_ref4) {
26328
+ var _ref5 = _toArray(_ref4),
26329
+ resArr = _ref5.slice(0);
26050
26330
  var configParams = {};
26051
26331
  detailTablesSetting.map(function (item, index) {
26052
26332
  var _resArr$index;
26053
- var _ref7 = ((_resArr$index = resArr[index]) === null || _resArr$index === void 0 ? void 0 : _resArr$index.data) || {},
26054
- code = _ref7.code,
26055
- data = _ref7.data;
26333
+ var _ref6 = ((_resArr$index = resArr[index]) === null || _resArr$index === void 0 ? void 0 : _resArr$index.data) || {},
26334
+ code = _ref6.code,
26335
+ data = _ref6.data;
26056
26336
  if (data) {
26057
26337
  var businessType = data.businessType,
26058
26338
  fieldGroup = data.code,
@@ -26608,6 +26888,8 @@ var findChangedThresholdQuery = function findChangedThresholdQuery(oldVal, newVa
26608
26888
  var isObj = function isObj(object) {
26609
26889
  return object && _typeof(object) == 'object' && Object.prototype.toString.call(object).toLowerCase() == '[object object]';
26610
26890
  };
26891
+ var dateFormat = 'YYYY-MM-DD';
26892
+ var fullDateFormat = 'YYYY-MM-DD HH:mm:ss';
26611
26893
 
26612
26894
  var RangePicker = antd.DatePicker.RangePicker;
26613
26895
  var RuleField = /*#__PURE__*/function (_Component) {
@@ -26695,30 +26977,28 @@ var RuleField = /*#__PURE__*/function (_Component) {
26695
26977
  url: extraRequestUrl,
26696
26978
  method: 'get',
26697
26979
  converter: function converter(res) {
26698
- if (handleError(res)) {
26699
- var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26700
- if (queryIdentifyType === 'dictCodeIdentify') {
26701
- var _handleData2;
26702
- _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26703
- return {
26704
- code: i.dictItemCode,
26705
- name: i.dictItemName
26706
- };
26707
- }) : [];
26708
- }
26709
- if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26710
- var _handleData3;
26711
- _handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
26712
- return {
26713
- code: i.code.toString(),
26714
- name: i.name
26715
- };
26716
- }) : [];
26717
- }
26718
- _this.setState({
26719
- thresholdList: _handleData
26720
- });
26980
+ var handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26981
+ if (queryIdentifyType === 'dictCodeIdentify') {
26982
+ var _handleData;
26983
+ handleData = ((_handleData = handleData) === null || _handleData === void 0 ? void 0 : _handleData.length) ? handleData.map(function (i) {
26984
+ return {
26985
+ code: i.dictItemCode,
26986
+ name: i.dictItemName
26987
+ };
26988
+ }) : [];
26989
+ }
26990
+ if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26991
+ var _handleData2;
26992
+ handleData = ((_handleData2 = handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? handleData.map(function (i) {
26993
+ return {
26994
+ code: i.code.toString(),
26995
+ name: i.name
26996
+ };
26997
+ }) : [];
26721
26998
  }
26999
+ _this.setState({
27000
+ thresholdList: handleData
27001
+ });
26722
27002
  return handleData;
26723
27003
  }
26724
27004
  });
@@ -26780,8 +27060,6 @@ var RuleField = /*#__PURE__*/function (_Component) {
26780
27060
  disabled = _this$props2.disabled,
26781
27061
  customerWidth = _this$props2.customerWidth;
26782
27062
  var thresholdList = _this.state.thresholdList;
26783
- var dateFormat = 'YYYY-MM-DD';
26784
- var fullDateFormat = 'YYYY-MM-DD HH:mm:ss';
26785
27063
  var styleCommon = {
26786
27064
  width: customerWidth || '150px'
26787
27065
  };
@@ -28497,6 +28775,86 @@ var RuleField = /*#__PURE__*/function (_Component) {
28497
28775
  });
28498
28776
  }
28499
28777
  }
28778
+ // 结算组织选择器
28779
+ if (dataChoiceBusinessType == 290) {
28780
+ if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
28781
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
28782
+ disabled: disabled,
28783
+ treeCheckable: dataInputBusinessType === 12,
28784
+ businessType: "settle-organization",
28785
+ labelInValue: true,
28786
+ value: values[0],
28787
+ style: styleCommon,
28788
+ onChange: function onChange(value) {
28789
+ if (dataInputBusinessType === 12) {
28790
+ values[0] = value.map(function (i) {
28791
+ return i.key;
28792
+ });
28793
+ valueNames[0] = value.map(function (i) {
28794
+ return i.label || '';
28795
+ });
28796
+ } else {
28797
+ values[0] = [value.key];
28798
+ valueNames[0] = [value.label || ''];
28799
+ }
28800
+ callback(values, valueNames);
28801
+ },
28802
+ getPopupContainer: function getPopupContainer() {
28803
+ return document.body;
28804
+ }
28805
+ }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
28806
+ disabled: disabled,
28807
+ treeCheckable: dataInputBusinessType === 12,
28808
+ businessType: "settle-organization",
28809
+ labelInValue: true,
28810
+ value: values[0],
28811
+ style: styleCommon,
28812
+ onChange: function onChange(value) {
28813
+ if (dataInputBusinessType === 12) {
28814
+ values[1] = value.map(function (i) {
28815
+ return i.key;
28816
+ });
28817
+ valueNames[1] = value.map(function (i) {
28818
+ return i.label || '';
28819
+ });
28820
+ } else {
28821
+ values[1] = [value.key];
28822
+ valueNames[1] = [value.label || ''];
28823
+ }
28824
+ callback(values, valueNames);
28825
+ },
28826
+ getPopupContainer: function getPopupContainer() {
28827
+ return document.body;
28828
+ }
28829
+ }));
28830
+ } else {
28831
+ return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
28832
+ disabled: disabled,
28833
+ treeCheckable: dataInputBusinessType === 12,
28834
+ businessType: "settle-organization",
28835
+ labelInValue: true,
28836
+ value: values[0],
28837
+ style: styleCommon,
28838
+ onChange: function onChange(value) {
28839
+ if (dataInputBusinessType === 12) {
28840
+ values = value.map(function (i) {
28841
+ return i.key;
28842
+ }) || [];
28843
+ valueNames = value.map(function (i) {
28844
+ return i.label || '';
28845
+ }) || [];
28846
+ } else {
28847
+ values = (value === null || value === void 0 ? void 0 : value.key) ? [value.key] : [];
28848
+ valueNames = (value === null || value === void 0 ? void 0 : value.label) ? [value.label] : [];
28849
+ }
28850
+ callback(values, valueNames);
28851
+ },
28852
+ getPopupContainer: function getPopupContainer() {
28853
+ return document.body;
28854
+ }
28855
+ });
28856
+ }
28857
+ }
28500
28858
  // 配送方式选择器
28501
28859
  if (dataChoiceBusinessType == 310) {
28502
28860
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
@@ -28611,6 +28969,120 @@ var RuleField = /*#__PURE__*/function (_Component) {
28611
28969
  });
28612
28970
  }
28613
28971
  }
28972
+ // 角色选择器
28973
+ if (dataChoiceBusinessType == 360) {
28974
+ if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
28975
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
28976
+ selectBusinessType: "role",
28977
+ selectProps: _objectSpread2({
28978
+ style: styleCommon,
28979
+ placeholder: '请选择角色'
28980
+ }, dataInputBusinessType === 12 ? {
28981
+ mode: 'multiple',
28982
+ maxTagCount: 1
28983
+ } : {}),
28984
+ disabled: disabled,
28985
+ labelInValue: true,
28986
+ value: values[0],
28987
+ requestConfig: {
28988
+ filterInit: 'qp-code-in'
28989
+ },
28990
+ onChange: function onChange(value) {
28991
+ if (dataInputBusinessType === 12) {
28992
+ values[0] = value.map(function (i) {
28993
+ return i.key;
28994
+ });
28995
+ valueNames[0] = value.map(function (i) {
28996
+ return i.label || '';
28997
+ });
28998
+ } else {
28999
+ values[0] = [value.key];
29000
+ valueNames[0] = [value.label || ''];
29001
+ }
29002
+ callback(values, valueNames);
29003
+ },
29004
+ getPopupContainer: function getPopupContainer() {
29005
+ return document.body;
29006
+ }
29007
+ }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
29008
+ selectBusinessType: "role",
29009
+ selectProps: _objectSpread2({
29010
+ style: styleCommon,
29011
+ placeholder: '请选择角色'
29012
+ }, dataInputBusinessType === 12 ? {
29013
+ mode: 'multiple',
29014
+ maxTagCount: 1
29015
+ } : {}),
29016
+ disabled: disabled,
29017
+ labelInValue: true,
29018
+ value: values[1],
29019
+ requestConfig: {
29020
+ filterInit: 'qp-code-in'
29021
+ },
29022
+ onChange: function onChange(value) {
29023
+ if (dataInputBusinessType === 12) {
29024
+ values[1] = value.map(function (i) {
29025
+ return i.key;
29026
+ });
29027
+ valueNames[1] = value.map(function (i) {
29028
+ return i.label || '';
29029
+ });
29030
+ } else {
29031
+ values[1] = [value.key];
29032
+ valueNames[1] = [value.label || ''];
29033
+ }
29034
+ callback(values, valueNames);
29035
+ },
29036
+ getPopupContainer: function getPopupContainer() {
29037
+ return document.body;
29038
+ }
29039
+ }));
29040
+ } else {
29041
+ var _values12;
29042
+ var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
29043
+ return {
29044
+ key: s,
29045
+ label: valueNames[vIndex]
29046
+ };
29047
+ })) || [] : values[0] && {
29048
+ key: values[0],
29049
+ label: valueNames[0]
29050
+ } || {};
29051
+ return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
29052
+ selectBusinessType: "role",
29053
+ selectProps: _objectSpread2({
29054
+ style: styleCommon,
29055
+ placeholder: '请选择角色'
29056
+ }, dataInputBusinessType === 12 ? {
29057
+ mode: 'multiple',
29058
+ maxTagCount: 1
29059
+ } : {}),
29060
+ disabled: disabled,
29061
+ labelInValue: true,
29062
+ value: _currentValue11,
29063
+ requestConfig: {
29064
+ filterInit: 'qp-code-in'
29065
+ },
29066
+ onChange: function onChange(value) {
29067
+ if (dataInputBusinessType === 12) {
29068
+ values = value.map(function (i) {
29069
+ return i.key;
29070
+ }) || [];
29071
+ valueNames = value.map(function (i) {
29072
+ return i.label || '';
29073
+ }) || [];
29074
+ } else {
29075
+ values = (value === null || value === void 0 ? void 0 : value.key) ? [value.key] : [];
29076
+ valueNames = (value === null || value === void 0 ? void 0 : value.label) ? [value.label] : [];
29077
+ }
29078
+ callback(values, valueNames);
29079
+ },
29080
+ getPopupContainer: function getPopupContainer() {
29081
+ return document.body;
29082
+ }
29083
+ });
29084
+ }
29085
+ }
28614
29086
  } else {
28615
29087
  if (dataTypeCode == 22 || dataTypeCode == 21 || dataTypeCode == 24 || dataTypeCode == 23) {
28616
29088
  //数值22, 字符串21, 布尔类型24, long23
@@ -28646,12 +29118,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
28646
29118
  }
28647
29119
  });
28648
29120
  }
28649
- } else if (dataTypeCode == 41) {
28650
- // 日期41
29121
+ } else if (dataTypeCode == 41 || dataTypeCode == 32) {
29122
+ // 日期41 日期时间32
28651
29123
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
28652
- return /*#__PURE__*/React__default['default'].createElement(RangePicker
28653
- // showTime
28654
- , {
29124
+ return /*#__PURE__*/React__default['default'].createElement(RangePicker, {
29125
+ showTime: dataTypeCode == 32,
28655
29126
  disabled: disabled,
28656
29127
  style: {
28657
29128
  width: customerWidth || '300px'
@@ -28675,6 +29146,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
28675
29146
  });
28676
29147
  } else {
28677
29148
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
29149
+ showTime: dataTypeCode == 32,
28678
29150
  format: dataTypeCode == 41 ? dateFormat : fullDateFormat,
28679
29151
  disabled: disabled,
28680
29152
  style: {
@@ -29294,6 +29766,54 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
29294
29766
  return RuleField;
29295
29767
  }(React.Component);
29296
29768
 
29769
+ var InnerSelect = (function (props) {
29770
+ var disabled = props.disabled,
29771
+ inputType = props.inputType,
29772
+ defaultValue = props.defaultValue,
29773
+ styleCommon = props.styleCommon,
29774
+ value = props.value,
29775
+ _onChange = props.onChange,
29776
+ dictionaryCode = props.dictionaryCode;
29777
+ var _useState = React.useState(getDictionarySource(dictionaryCode !== null && dictionaryCode !== void 0 ? dictionaryCode : '') || []),
29778
+ _useState2 = _slicedToArray(_useState, 2),
29779
+ dataSource = _useState2[0],
29780
+ setDataSource = _useState2[1];
29781
+ React.useEffect(function () {
29782
+ if (!!dictionaryCode && !getDictionarySource(dictionaryCode)) {
29783
+ bssula.request({
29784
+ url: "/basic/bscDictItem/allItemList?qp-code-eq=".concat(dictionaryCode),
29785
+ method: 'get',
29786
+ converter: function converter(_ref) {
29787
+ var _data$map;
29788
+ var data = _ref.data;
29789
+ var dataList = (data === null || data === void 0 ? void 0 : (_data$map = data.map) === null || _data$map === void 0 ? void 0 : _data$map.call(data, function (item) {
29790
+ return {
29791
+ label: item.dictItemName,
29792
+ value: item.dictItemCode
29793
+ };
29794
+ })) || [];
29795
+ setDataSource(dataList);
29796
+ return dataList;
29797
+ }
29798
+ });
29799
+ }
29800
+ }, [dictionaryCode]);
29801
+ return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
29802
+ disabled: disabled
29803
+ }, inputType === 30 ? {
29804
+ mode: 'multiple'
29805
+ } : {}), {}, {
29806
+ defaultValue: defaultValue,
29807
+ style: styleCommon,
29808
+ value: value === null || value === void 0 ? void 0 : value.split(','),
29809
+ onChange: function onChange(changeValue) {
29810
+ _onChange(changeValue);
29811
+ // handleEdit(ites.code, value);
29812
+ },
29813
+ options: dataSource
29814
+ }));
29815
+ });
29816
+
29297
29817
  var RangePicker$1 = antd.DatePicker.RangePicker;
29298
29818
  var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29299
29819
  _inherits(RuleObjectComponent, _Component);
@@ -29711,18 +30231,18 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29711
30231
  onClick: function onClick() {
29712
30232
  _this.handleLogicalTypeChange(itemDetail, 'or');
29713
30233
  }
29714
- }, "OR"), /*#__PURE__*/React__default['default'].createElement("p", {
30234
+ }, "\u6216\u8005"), /*#__PURE__*/React__default['default'].createElement("p", {
29715
30235
  className: 'choose_logical_type',
29716
30236
  onClick: function onClick() {
29717
30237
  _this.handleLogicalTypeChange(itemDetail, 'and');
29718
30238
  }
29719
- }, "AND")),
30239
+ }, "\u5E76\u4E14")),
29720
30240
  trigger: "focus"
29721
30241
  }, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
29722
30242
  disabled: disabled,
29723
30243
  type: "link",
29724
30244
  className: 'logical_item_btn'
29725
- }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.operationCode) == 'or' ? 'OR' : 'AND', /*#__PURE__*/React__default['default'].createElement(icons.DownOutlined, {
30245
+ }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.operationCode) == 'or' ? '或者' : '并且', /*#__PURE__*/React__default['default'].createElement(icons.DownOutlined, {
29726
30246
  style: {
29727
30247
  marginLeft: '6px'
29728
30248
  }
@@ -30005,7 +30525,9 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30005
30525
  onChange: function onChange(value) {
30006
30526
  handleEdit(ites.code, value);
30007
30527
  }
30008
- }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 && /*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
30528
+ }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && /*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
30529
+ showTime: dataTypeCode == 32,
30530
+ format: dataTypeCode == 41 ? dateFormat : fullDateFormat,
30009
30531
  disabled: disabled,
30010
30532
  defaultValue: ites.defaultValue,
30011
30533
  style: style2,
@@ -30048,23 +30570,17 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30048
30570
  key: it,
30049
30571
  value: it
30050
30572
  }, ites.enumeration[it]);
30051
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && /*#__PURE__*/React__default['default'].createElement(antd.Select, _extends({
30052
- disabled: disabled
30053
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30054
- mode: 'multiple'
30055
- } : {}, {
30573
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && /*#__PURE__*/React__default['default'].createElement(InnerSelect, {
30574
+ disabled: disabled,
30575
+ inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
30056
30576
  defaultValue: ites.defaultValue,
30057
- style: styleCommon,
30577
+ styleCommon: styleCommon,
30058
30578
  value: showValue(ites.code),
30059
30579
  onChange: function onChange(value) {
30060
30580
  handleEdit(ites.code, value);
30061
- }
30062
- }), getDictionarySource(ites === null || ites === void 0 ? void 0 : ites.dictionaryCode).map(function (it) {
30063
- return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
30064
- key: it.value,
30065
- value: it.value
30066
- }, it.text);
30067
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
30581
+ },
30582
+ dictionaryCode: ites.dictionaryCode
30583
+ }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
30068
30584
  selectBusinessType: "physicalWarehouse",
30069
30585
  selectProps: _objectSpread2({
30070
30586
  style: styleCommon,
@@ -30371,6 +30887,19 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30371
30887
  getPopupContainer: function getPopupContainer() {
30372
30888
  return document.body;
30373
30889
  }
30890
+ }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
30891
+ disabled: disabled,
30892
+ treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
30893
+ businessType: "settle-organization",
30894
+ labelInValue: true,
30895
+ value: showValue(ites.code),
30896
+ style: styleCommon,
30897
+ onChange: function onChange(value) {
30898
+ handleEdit(ites.code, value);
30899
+ },
30900
+ getPopupContainer: function getPopupContainer() {
30901
+ return document.body;
30902
+ }
30374
30903
  }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
30375
30904
  selectBusinessType: "deliveryMode",
30376
30905
  selectProps: _objectSpread2({
@@ -30392,6 +30921,27 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30392
30921
  getPopupContainer: function getPopupContainer() {
30393
30922
  return document.body;
30394
30923
  }
30924
+ }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
30925
+ selectBusinessType: "role",
30926
+ selectProps: _objectSpread2({
30927
+ style: styleCommon,
30928
+ placeholder: '请选择角色'
30929
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30930
+ mode: 'multiple',
30931
+ maxTagCount: 1
30932
+ } : {}),
30933
+ disabled: disabled,
30934
+ labelInValue: true,
30935
+ value: showValue(ites.code),
30936
+ requestConfig: {
30937
+ filterInit: 'qp-code-in'
30938
+ },
30939
+ onChange: function onChange(value) {
30940
+ handleEdit(ites.code, value);
30941
+ },
30942
+ getPopupContainer: function getPopupContainer() {
30943
+ return document.body;
30944
+ }
30395
30945
  }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && /*#__PURE__*/React__default['default'].createElement("div", {
30396
30946
  style: {
30397
30947
  display: 'flex'