@bit-sun/business-component 4.0.11-alpha.26 → 4.0.11-alpha.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +257 -257
- package/dist/index.js +258 -258
- package/package.json +1 -1
- package/src/components/Functional/SearchSelect/index.tsx +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1059,13 +1059,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
|
|
|
1059
1059
|
imgHtml.innerHTML = str;
|
|
1060
1060
|
}
|
|
1061
1061
|
// 测试使用 测试类型缩小 end
|
|
1062
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (
|
|
1062
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
|
|
1063
1063
|
className: "clomnsImg"
|
|
1064
1064
|
}, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
|
|
1065
1065
|
src: url,
|
|
1066
1066
|
width: "16px",
|
|
1067
1067
|
height: "16px"
|
|
1068
|
-
}, paramsObj)))) : (
|
|
1068
|
+
}, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
1069
1069
|
className: "clomnsImg2"
|
|
1070
1070
|
}, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
1071
1071
|
src: noImg
|
|
@@ -1204,7 +1204,7 @@ function downloadExcel(data, fileName, isResUrl) {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
save_link.click();
|
|
1206
1206
|
}
|
|
1207
|
-
var
|
|
1207
|
+
var _formatter = function formatter(data, parentAuthority, parentName) {
|
|
1208
1208
|
return data.map(function (item) {
|
|
1209
1209
|
if (!item.name || !item.path) {
|
|
1210
1210
|
return null;
|
|
@@ -1224,7 +1224,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1224
1224
|
authority: item.authority || parentAuthority
|
|
1225
1225
|
});
|
|
1226
1226
|
if (item.routes) {
|
|
1227
|
-
var children =
|
|
1227
|
+
var children = _formatter(item.routes, item.authority, locale);
|
|
1228
1228
|
// Reduce memory usage
|
|
1229
1229
|
result.children = children;
|
|
1230
1230
|
}
|
|
@@ -1234,7 +1234,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1234
1234
|
return item;
|
|
1235
1235
|
});
|
|
1236
1236
|
};
|
|
1237
|
-
var memoizeOneFormatter = memoizeOne(
|
|
1237
|
+
var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
|
|
1238
1238
|
var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
|
|
1239
1239
|
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
1240
1240
|
if (backHistoryPath) {
|
|
@@ -1543,7 +1543,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
|
|
|
1543
1543
|
// sheepMap是表头字段中英文映射
|
|
1544
1544
|
// sheetCount:表的数量,默认一张
|
|
1545
1545
|
var resolveFile = /*#__PURE__*/function () {
|
|
1546
|
-
var _ref3 = _asyncToGenerator(
|
|
1546
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
1547
1547
|
var config,
|
|
1548
1548
|
data,
|
|
1549
1549
|
_args = arguments;
|
|
@@ -1582,7 +1582,7 @@ var resolveFile = /*#__PURE__*/function () {
|
|
|
1582
1582
|
}();
|
|
1583
1583
|
//读取文件
|
|
1584
1584
|
var readerXlsxToList = /*#__PURE__*/function () {
|
|
1585
|
-
var _ref4 = _asyncToGenerator(
|
|
1585
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
|
|
1586
1586
|
var _ref5, callback, sheetMap, nowFile, data2, data;
|
|
1587
1587
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
1588
1588
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -1675,14 +1675,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
|
|
|
1675
1675
|
/**---------------------数据写入excel-------结束------------------------*/
|
|
1676
1676
|
|
|
1677
1677
|
// 获取树平行结构
|
|
1678
|
-
var
|
|
1678
|
+
var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
|
|
1679
1679
|
var childrenKey = chilKey || 'children';
|
|
1680
1680
|
treeData.forEach(function (el) {
|
|
1681
1681
|
var _el$childrenKey;
|
|
1682
1682
|
result.push(el);
|
|
1683
1683
|
if ((el === null || el === void 0 ? void 0 : el[childrenKey]) && (el === null || el === void 0 ? void 0 : (_el$childrenKey = el[childrenKey]) === null || _el$childrenKey === void 0 ? void 0 : _el$childrenKey.length) > 0) {
|
|
1684
1684
|
// 子级递归
|
|
1685
|
-
|
|
1685
|
+
_coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
|
|
1686
1686
|
}
|
|
1687
1687
|
});
|
|
1688
1688
|
return result;
|
|
@@ -1959,13 +1959,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
|
|
|
1959
1959
|
imgHtml.innerHTML = str;
|
|
1960
1960
|
}
|
|
1961
1961
|
// 测试使用 测试类型缩小 end
|
|
1962
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (
|
|
1962
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
|
|
1963
1963
|
className: "clomnsImg"
|
|
1964
1964
|
}, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
|
|
1965
1965
|
src: url,
|
|
1966
1966
|
width: "16px",
|
|
1967
1967
|
height: "16px"
|
|
1968
|
-
}, paramsObj)))) : (
|
|
1968
|
+
}, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
1969
1969
|
src: noImg
|
|
1970
1970
|
}))));
|
|
1971
1971
|
};
|
|
@@ -2027,7 +2027,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
});
|
|
2029
2029
|
};
|
|
2030
|
-
var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (
|
|
2030
|
+
var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
|
|
2031
2031
|
disabled: disabled,
|
|
2032
2032
|
onChange: function onChange(e) {
|
|
2033
2033
|
var v = e.target.value;
|
|
@@ -2037,7 +2037,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
|
|
|
2037
2037
|
width: 170
|
|
2038
2038
|
},
|
|
2039
2039
|
value: inputValue
|
|
2040
|
-
}, inpProps))), type === 'number' && (
|
|
2040
|
+
}, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
|
|
2041
2041
|
disabled: disabled,
|
|
2042
2042
|
onBlur: function onBlur(e) {
|
|
2043
2043
|
var v = parseFloat(e.target.value);
|
|
@@ -2416,16 +2416,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
|
|
|
2416
2416
|
var handleExportBarCode = handleExport;
|
|
2417
2417
|
var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
|
|
2418
2418
|
var routerMap = {};
|
|
2419
|
-
var
|
|
2419
|
+
var _flattenMenuData = function flattenMenuData(data) {
|
|
2420
2420
|
data.forEach(function (menuItem) {
|
|
2421
2421
|
if (menuItem.children) {
|
|
2422
|
-
|
|
2422
|
+
_flattenMenuData(menuItem.children);
|
|
2423
2423
|
}
|
|
2424
2424
|
// Reduce memory usage
|
|
2425
2425
|
routerMap[menuItem.path] = menuItem;
|
|
2426
2426
|
});
|
|
2427
2427
|
};
|
|
2428
|
-
|
|
2428
|
+
_flattenMenuData(menuData);
|
|
2429
2429
|
return routerMap;
|
|
2430
2430
|
};
|
|
2431
2431
|
var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
|
|
@@ -2568,7 +2568,7 @@ var requestUtil = function requestUtil(_ref) {
|
|
|
2568
2568
|
return request$1(url, parms).then(handleResponseData);
|
|
2569
2569
|
};
|
|
2570
2570
|
var handleResponseData = /*#__PURE__*/function () {
|
|
2571
|
-
var _ref2 = _asyncToGenerator(
|
|
2571
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
|
|
2572
2572
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2573
2573
|
while (1) switch (_context.prev = _context.next) {
|
|
2574
2574
|
case 0:
|
|
@@ -3242,7 +3242,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
3242
3242
|
placement: "bottomLeft"
|
|
3243
3243
|
}, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
3244
3244
|
title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
|
|
3245
|
-
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (
|
|
3245
|
+
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
|
|
3246
3246
|
trigger: ['click'],
|
|
3247
3247
|
overlay: this.menuList,
|
|
3248
3248
|
placement: "bottomRight"
|
|
@@ -3917,7 +3917,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
3917
3917
|
placement: "bottomLeft"
|
|
3918
3918
|
}, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
3919
3919
|
title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
|
|
3920
|
-
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (
|
|
3920
|
+
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
|
|
3921
3921
|
trigger: ['click'],
|
|
3922
3922
|
overlay: this.menuList,
|
|
3923
3923
|
placement: "bottomRight"
|
|
@@ -5190,7 +5190,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5190
5190
|
}); // 避免搜索之后 没有了选中前的数据
|
|
5191
5191
|
var realSrs = realStr.map(function (key) {
|
|
5192
5192
|
return tmpSelectedRows.filter(function (item) {
|
|
5193
|
-
return item
|
|
5193
|
+
return item.value == key;
|
|
5194
5194
|
})[0];
|
|
5195
5195
|
}).filter(function (item) {
|
|
5196
5196
|
return item != undefined;
|
|
@@ -5313,13 +5313,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5313
5313
|
var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
|
|
5314
5314
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
5315
5315
|
className: 'search_select'
|
|
5316
|
-
}, fieldComponent ? (
|
|
5316
|
+
}, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
|
|
5317
5317
|
onClick: function onClick() {
|
|
5318
5318
|
var _fieldComponent$props, _fieldComponent$props2;
|
|
5319
5319
|
(_fieldComponent$props = fieldComponent.props) === null || _fieldComponent$props === void 0 ? void 0 : (_fieldComponent$props2 = _fieldComponent$props.onClick) === null || _fieldComponent$props2 === void 0 ? void 0 : _fieldComponent$props2.call(_fieldComponent$props);
|
|
5320
5320
|
showModal();
|
|
5321
5321
|
}
|
|
5322
|
-
}, fieldComponent)) : isShouldShowStr ? (
|
|
5322
|
+
}, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
|
|
5323
5323
|
title: getShowStr(),
|
|
5324
5324
|
style: {
|
|
5325
5325
|
overflow: 'hidden',
|
|
@@ -5346,10 +5346,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5346
5346
|
dropdownRender: function dropdownRender(menu) {
|
|
5347
5347
|
return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
|
|
5348
5348
|
},
|
|
5349
|
-
notFoundContent: fetching ? (
|
|
5349
|
+
notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
|
|
5350
5350
|
size: "small",
|
|
5351
5351
|
className: 'searchSelectSpin'
|
|
5352
|
-
})) : (
|
|
5352
|
+
})) : (/*#__PURE__*/React$1.createElement("div", {
|
|
5353
5353
|
style: {
|
|
5354
5354
|
textAlign: 'center'
|
|
5355
5355
|
}
|
|
@@ -5380,7 +5380,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5380
5380
|
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
5381
5381
|
filterTxt: searchValue
|
|
5382
5382
|
}));
|
|
5383
|
-
}))), needModalTable && isModalVisible && (
|
|
5383
|
+
}))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
5384
5384
|
maskClosable: false,
|
|
5385
5385
|
destroyOnClose: true,
|
|
5386
5386
|
width: "80%",
|
|
@@ -5977,7 +5977,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5977
5977
|
style: {
|
|
5978
5978
|
width: 525
|
|
5979
5979
|
}
|
|
5980
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
5980
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
5981
5981
|
checked: !dataSource.some(function (item) {
|
|
5982
5982
|
if (item.hidden) return true;
|
|
5983
5983
|
return false;
|
|
@@ -6015,13 +6015,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6015
6015
|
_this2.onChange(e, item.title);
|
|
6016
6016
|
}
|
|
6017
6017
|
}, item.title);
|
|
6018
|
-
}), !!seatchDataSource.length && (
|
|
6018
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
6019
6019
|
style: {
|
|
6020
6020
|
width: '144px'
|
|
6021
6021
|
}
|
|
6022
|
-
})), !seatchDataSource.length && (
|
|
6022
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
6023
6023
|
className: 'sort_table_column_all_empty'
|
|
6024
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
6024
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
6025
6025
|
className: 'sort_table_column_special'
|
|
6026
6026
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
6027
6027
|
className: 'sort_table_column_all'
|
|
@@ -6210,7 +6210,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
|
|
|
6210
6210
|
});
|
|
6211
6211
|
};
|
|
6212
6212
|
// 格式化树选择器数据源
|
|
6213
|
-
var
|
|
6213
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
6214
6214
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
6215
6215
|
return {
|
|
6216
6216
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -6220,7 +6220,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
|
6220
6220
|
isLeaf: !haveChildren,
|
|
6221
6221
|
disabled: haveChildren,
|
|
6222
6222
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
6223
|
-
return
|
|
6223
|
+
return _mapSearchTree(i, resKeyValue);
|
|
6224
6224
|
}) : []
|
|
6225
6225
|
};
|
|
6226
6226
|
};
|
|
@@ -6229,7 +6229,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
|
|
|
6229
6229
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
|
|
6230
6230
|
var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
|
|
6231
6231
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
6232
|
-
return
|
|
6232
|
+
return _mapSearchTree(ites, resKeyValue);
|
|
6233
6233
|
}) || [];
|
|
6234
6234
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
6235
6235
|
};
|
|
@@ -6400,7 +6400,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6400
6400
|
var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
|
|
6401
6401
|
// FIXME: 特殊业务逻辑
|
|
6402
6402
|
var checkSelectChange = /*#__PURE__*/function () {
|
|
6403
|
-
var _ref2 = _asyncToGenerator(
|
|
6403
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
6404
6404
|
var result;
|
|
6405
6405
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6406
6406
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6653,7 +6653,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6653
6653
|
return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
|
|
6654
6654
|
value: text || null,
|
|
6655
6655
|
onChange: function () {
|
|
6656
|
-
var _onChange = _asyncToGenerator(
|
|
6656
|
+
var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
|
|
6657
6657
|
var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
|
|
6658
6658
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
6659
6659
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -7261,10 +7261,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7261
7261
|
var newColumns = arr.map(function (col) {
|
|
7262
7262
|
return _objectSpread2({}, col);
|
|
7263
7263
|
});
|
|
7264
|
-
var
|
|
7264
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
7265
7265
|
var i = indexArr.shift();
|
|
7266
7266
|
if (indexArr.length > 0) {
|
|
7267
|
-
|
|
7267
|
+
_handleIndex(arr[i].children, indexArr);
|
|
7268
7268
|
} else {
|
|
7269
7269
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
7270
7270
|
width: size.width
|
|
@@ -7272,7 +7272,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7272
7272
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
7273
7273
|
}
|
|
7274
7274
|
};
|
|
7275
|
-
|
|
7275
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
7276
7276
|
callback(newColumns);
|
|
7277
7277
|
};
|
|
7278
7278
|
};
|
|
@@ -7282,13 +7282,13 @@ var AddSelect = function AddSelect(props) {
|
|
|
7282
7282
|
var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
|
|
7283
7283
|
setShowToChooseColumns(_toConsumableArray(newColumns));
|
|
7284
7284
|
};
|
|
7285
|
-
var
|
|
7285
|
+
var _handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
7286
7286
|
arr.forEach(function (item, index) {
|
|
7287
7287
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
7288
7288
|
return i || i === 0;
|
|
7289
7289
|
});
|
|
7290
7290
|
if (noEmptyArray$1(item.children)) {
|
|
7291
|
-
|
|
7291
|
+
_handleColumns(item.children, indexArrInside);
|
|
7292
7292
|
} else {
|
|
7293
7293
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
7294
7294
|
item.onHeaderCell = function (column) {
|
|
@@ -7304,14 +7304,14 @@ var AddSelect = function AddSelect(props) {
|
|
|
7304
7304
|
handleAntdColumnsSpecialParams(item);
|
|
7305
7305
|
return _objectSpread2({}, item);
|
|
7306
7306
|
});
|
|
7307
|
-
|
|
7307
|
+
_handleColumns(showToChooseCol, [], function (res) {
|
|
7308
7308
|
return setShowToChooseColumnsCallback(res);
|
|
7309
7309
|
});
|
|
7310
7310
|
var showSelectedCol = showColumns.map(function (item) {
|
|
7311
7311
|
handleAntdColumnsSpecialParams(item);
|
|
7312
7312
|
return _objectSpread2({}, item);
|
|
7313
7313
|
});
|
|
7314
|
-
|
|
7314
|
+
_handleColumns(showSelectedCol, [], function (res) {
|
|
7315
7315
|
return setShowColumnsCallback(res);
|
|
7316
7316
|
});
|
|
7317
7317
|
var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
|
|
@@ -7322,7 +7322,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7322
7322
|
id: "add_select_div_".concat(uniqueValue)
|
|
7323
7323
|
}, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
7324
7324
|
onClick: handleShowModal
|
|
7325
|
-
}, realButtonProps), buttonText)), isModalVisible && (
|
|
7325
|
+
}, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
7326
7326
|
width: '1200px',
|
|
7327
7327
|
style: {
|
|
7328
7328
|
top: 20
|
|
@@ -8236,7 +8236,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8236
8236
|
});
|
|
8237
8237
|
};
|
|
8238
8238
|
var handleSubmit = /*#__PURE__*/function () {
|
|
8239
|
-
var _ref4 = _asyncToGenerator(
|
|
8239
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8240
8240
|
var canEntryObject, _canEntryObject$error, messageInfo;
|
|
8241
8241
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8242
8242
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8319,10 +8319,10 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8319
8319
|
var newColumns = arr.map(function (col) {
|
|
8320
8320
|
return _objectSpread2({}, col);
|
|
8321
8321
|
});
|
|
8322
|
-
var
|
|
8322
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
8323
8323
|
var i = indexArr.shift();
|
|
8324
8324
|
if (indexArr.length > 0) {
|
|
8325
|
-
|
|
8325
|
+
_handleIndex(arr[i].children, indexArr);
|
|
8326
8326
|
} else {
|
|
8327
8327
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
8328
8328
|
width: size.width
|
|
@@ -8330,17 +8330,17 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8330
8330
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
8331
8331
|
}
|
|
8332
8332
|
};
|
|
8333
|
-
|
|
8333
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
8334
8334
|
callback(newColumns);
|
|
8335
8335
|
};
|
|
8336
8336
|
};
|
|
8337
|
-
var
|
|
8337
|
+
var _handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
8338
8338
|
arr.forEach(function (item, index) {
|
|
8339
8339
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
8340
8340
|
return i || i === 0;
|
|
8341
8341
|
});
|
|
8342
8342
|
if (noEmptyArray$1(item.children)) {
|
|
8343
|
-
|
|
8343
|
+
_handleColumns(item.children, indexArrInside);
|
|
8344
8344
|
} else {
|
|
8345
8345
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
8346
8346
|
item.onHeaderCell = function (column) {
|
|
@@ -8356,7 +8356,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8356
8356
|
handleAntdColumnsSpecialParams(item);
|
|
8357
8357
|
return _objectSpread2({}, item);
|
|
8358
8358
|
});
|
|
8359
|
-
|
|
8359
|
+
_handleColumns(showSelectedCol, [], function (res) {
|
|
8360
8360
|
return setShowColumnsCallback(res);
|
|
8361
8361
|
});
|
|
8362
8362
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -8670,7 +8670,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8670
8670
|
});
|
|
8671
8671
|
};
|
|
8672
8672
|
// 格式化树选择器数据源
|
|
8673
|
-
var
|
|
8673
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
|
|
8674
8674
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
8675
8675
|
return {
|
|
8676
8676
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -8680,7 +8680,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8680
8680
|
isLeaf: !haveChildren,
|
|
8681
8681
|
disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
|
|
8682
8682
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
8683
|
-
return
|
|
8683
|
+
return _mapSearchTree(i, resKeyValue, disabledJudge);
|
|
8684
8684
|
}) : []
|
|
8685
8685
|
};
|
|
8686
8686
|
};
|
|
@@ -8694,7 +8694,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8694
8694
|
disabledJudge = false;
|
|
8695
8695
|
}
|
|
8696
8696
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
8697
|
-
return
|
|
8697
|
+
return _mapSearchTree(ites, resKeyValue, disabledJudge);
|
|
8698
8698
|
}) || [];
|
|
8699
8699
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
8700
8700
|
};
|
|
@@ -12740,7 +12740,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
12740
12740
|
};
|
|
12741
12741
|
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
12742
12742
|
onClick: handleShowModal
|
|
12743
|
-
}, buttonProps), buttonName), modalProps.visible && (
|
|
12743
|
+
}, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
|
|
12744
12744
|
onOk: handleOk,
|
|
12745
12745
|
onCancel: handleCancel,
|
|
12746
12746
|
destroyOnClose: true,
|
|
@@ -12859,7 +12859,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12859
12859
|
treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
|
|
12860
12860
|
_remoteSource$special = remoteSource.specialBracket,
|
|
12861
12861
|
specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
|
|
12862
|
-
var
|
|
12862
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem) {
|
|
12863
12863
|
var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
|
|
12864
12864
|
var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
|
|
12865
12865
|
return {
|
|
@@ -12871,7 +12871,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12871
12871
|
isLeaf: !haveChildren,
|
|
12872
12872
|
disabled: isDisabled(haveChildren, isRoot),
|
|
12873
12873
|
children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
|
|
12874
|
-
return
|
|
12874
|
+
return _mapSearchTree(i);
|
|
12875
12875
|
}) : []
|
|
12876
12876
|
};
|
|
12877
12877
|
};
|
|
@@ -12889,8 +12889,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12889
12889
|
var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
|
|
12890
12890
|
requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
|
|
12891
12891
|
headers: headers
|
|
12892
|
-
}).then(
|
|
12893
|
-
var _ref = _asyncToGenerator(
|
|
12892
|
+
}).then(/*#__PURE__*/function () {
|
|
12893
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
12894
12894
|
var _ctx$form;
|
|
12895
12895
|
var resData, coverData, data, dataList;
|
|
12896
12896
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -12917,7 +12917,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12917
12917
|
case 9:
|
|
12918
12918
|
dataList = data && Array.isArray(data) ? data : data && [data] || [];
|
|
12919
12919
|
coverData = dataList.length && dataList.map(function (ites) {
|
|
12920
|
-
return
|
|
12920
|
+
return _mapSearchTree(ites);
|
|
12921
12921
|
}) || [];
|
|
12922
12922
|
case 11:
|
|
12923
12923
|
_context.next = 14;
|
|
@@ -12955,11 +12955,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12955
12955
|
return _formatResult;
|
|
12956
12956
|
}
|
|
12957
12957
|
};
|
|
12958
|
-
var
|
|
12958
|
+
var _parallelData = function parallelData(data, result) {
|
|
12959
12959
|
data.forEach(function (i) {
|
|
12960
12960
|
result.push(i);
|
|
12961
12961
|
if (i[treeChildrenRoom]) {
|
|
12962
|
-
|
|
12962
|
+
_parallelData(i[treeChildrenRoom], result);
|
|
12963
12963
|
}
|
|
12964
12964
|
});
|
|
12965
12965
|
return result;
|
|
@@ -12999,7 +12999,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12999
12999
|
var _ctx$form2;
|
|
13000
13000
|
var handleData = formatData(data);
|
|
13001
13001
|
// 获取选中树节点当条数据,并返回给调用业务
|
|
13002
|
-
var parallelTreeData =
|
|
13002
|
+
var parallelTreeData = _parallelData(treeData, []);
|
|
13003
13003
|
var currentItem = getSelectItem(parallelTreeData, data);
|
|
13004
13004
|
onChange(handleData, data, currentItem, parallelTreeData);
|
|
13005
13005
|
onChangeName && onChangeName(dataName);
|
|
@@ -13042,7 +13042,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13042
13042
|
var getShowStr = function getShowStr() {
|
|
13043
13043
|
var isMultiple = multiple || treeCheckable;
|
|
13044
13044
|
var kongValue = '无';
|
|
13045
|
-
var parallelTreeData =
|
|
13045
|
+
var parallelTreeData = _parallelData(treeData, []);
|
|
13046
13046
|
var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
|
|
13047
13047
|
if (isMultiple) {
|
|
13048
13048
|
return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
|
|
@@ -13054,7 +13054,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13054
13054
|
var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
|
|
13055
13055
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
13056
13056
|
className: 'tree_search_select'
|
|
13057
|
-
}, isShouldShowStr ? (
|
|
13057
|
+
}, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
|
|
13058
13058
|
title: getShowStr(),
|
|
13059
13059
|
style: {
|
|
13060
13060
|
overflow: 'hidden',
|
|
@@ -13062,7 +13062,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13062
13062
|
whiteSpace: 'nowrap'
|
|
13063
13063
|
},
|
|
13064
13064
|
className: 'search_select_show'
|
|
13065
|
-
}, getShowStr())) : (
|
|
13065
|
+
}, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
13066
13066
|
treeCheckable: treeCheckable,
|
|
13067
13067
|
maxTagCount: maxTagCount,
|
|
13068
13068
|
showSearch: showSearch,
|
|
@@ -13259,7 +13259,7 @@ var index$2 = (function (props) {
|
|
|
13259
13259
|
} : {}
|
|
13260
13260
|
}, item.text)), /*#__PURE__*/React$1.createElement("div", {
|
|
13261
13261
|
className: 'status-label-operate'
|
|
13262
|
-
}, item.isDone ? (
|
|
13262
|
+
}, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
|
|
13263
13263
|
title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
|
|
13264
13264
|
}, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
|
|
13265
13265
|
style: {
|
|
@@ -14040,7 +14040,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14040
14040
|
style: {
|
|
14041
14041
|
width: 525
|
|
14042
14042
|
}
|
|
14043
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
14043
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
14044
14044
|
checked: !dataSource.some(function (item) {
|
|
14045
14045
|
if (item.hidden) return true;
|
|
14046
14046
|
return false;
|
|
@@ -14078,13 +14078,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14078
14078
|
_this2.onChange(e, item.title);
|
|
14079
14079
|
}
|
|
14080
14080
|
}, item.title);
|
|
14081
|
-
}), !!seatchDataSource.length && (
|
|
14081
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
14082
14082
|
style: {
|
|
14083
14083
|
width: '144px'
|
|
14084
14084
|
}
|
|
14085
|
-
})), !seatchDataSource.length && (
|
|
14085
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
14086
14086
|
className: 'sort_table_column_all_empty'
|
|
14087
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
14087
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
14088
14088
|
className: 'sort_table_column_special'
|
|
14089
14089
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
14090
14090
|
className: 'sort_table_column_all'
|
|
@@ -14241,10 +14241,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14241
14241
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14242
14242
|
return _objectSpread2({}, col);
|
|
14243
14243
|
});
|
|
14244
|
-
var
|
|
14244
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
14245
14245
|
var i = indexArr.shift();
|
|
14246
14246
|
if (indexArr.length > 0) {
|
|
14247
|
-
|
|
14247
|
+
_handleIndex(arr[i].children, indexArr);
|
|
14248
14248
|
} else {
|
|
14249
14249
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14250
14250
|
width: size.width
|
|
@@ -14252,7 +14252,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14252
14252
|
handleBssulaColumnsSpecialParams(arr[i]);
|
|
14253
14253
|
}
|
|
14254
14254
|
};
|
|
14255
|
-
|
|
14255
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
14256
14256
|
_this.setState({
|
|
14257
14257
|
showColumns: _toConsumableArray(newColumns)
|
|
14258
14258
|
});
|
|
@@ -14330,13 +14330,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14330
14330
|
showSummary = summary;
|
|
14331
14331
|
}
|
|
14332
14332
|
}
|
|
14333
|
-
var
|
|
14333
|
+
var _handleColumns = function handleColumns(arr, indexArr) {
|
|
14334
14334
|
arr.forEach(function (item, index) {
|
|
14335
14335
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
14336
14336
|
return i || i === 0;
|
|
14337
14337
|
});
|
|
14338
14338
|
if (noEmptyArray$1(item.children)) {
|
|
14339
|
-
|
|
14339
|
+
_handleColumns(item.children, indexArrInside);
|
|
14340
14340
|
} else {
|
|
14341
14341
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
14342
14342
|
item.onHeaderCell = function (column) {
|
|
@@ -14352,7 +14352,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14352
14352
|
handleBssulaColumnsSpecialParams(item);
|
|
14353
14353
|
return _objectSpread2({}, item);
|
|
14354
14354
|
});
|
|
14355
|
-
|
|
14355
|
+
_handleColumns(showCol, []);
|
|
14356
14356
|
if (dynamicColumns.length) {
|
|
14357
14357
|
showCol = this.handledynamicColumns(showCol);
|
|
14358
14358
|
}
|
|
@@ -14486,10 +14486,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14486
14486
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14487
14487
|
return _objectSpread2({}, col);
|
|
14488
14488
|
});
|
|
14489
|
-
var
|
|
14489
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
14490
14490
|
var i = indexArr.shift();
|
|
14491
14491
|
if (indexArr.length > 0) {
|
|
14492
|
-
|
|
14492
|
+
_handleIndex(arr[i].children, indexArr);
|
|
14493
14493
|
} else {
|
|
14494
14494
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14495
14495
|
width: size.width
|
|
@@ -14497,7 +14497,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14497
14497
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
14498
14498
|
}
|
|
14499
14499
|
};
|
|
14500
|
-
|
|
14500
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
14501
14501
|
_this.setState({
|
|
14502
14502
|
showColumns: _toConsumableArray(newColumns)
|
|
14503
14503
|
});
|
|
@@ -14573,13 +14573,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14573
14573
|
showSummary = summary;
|
|
14574
14574
|
}
|
|
14575
14575
|
}
|
|
14576
|
-
var
|
|
14576
|
+
var _handleColumns = function handleColumns(arr, indexArr) {
|
|
14577
14577
|
arr.forEach(function (item, index) {
|
|
14578
14578
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
14579
14579
|
return i || i === 0;
|
|
14580
14580
|
});
|
|
14581
14581
|
if (noEmptyArray$1(item.children)) {
|
|
14582
|
-
|
|
14582
|
+
_handleColumns(item.children, indexArrInside);
|
|
14583
14583
|
} else {
|
|
14584
14584
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
14585
14585
|
item.onHeaderCell = function (column) {
|
|
@@ -14595,7 +14595,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14595
14595
|
handleAntdColumnsSpecialParams(item);
|
|
14596
14596
|
return _objectSpread2({}, item);
|
|
14597
14597
|
});
|
|
14598
|
-
|
|
14598
|
+
_handleColumns(showCol, []);
|
|
14599
14599
|
if (dynamicColumns.length) {
|
|
14600
14600
|
showCol = this.handledynamicColumns(showCol);
|
|
14601
14601
|
}
|
|
@@ -14692,20 +14692,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
|
|
|
14692
14692
|
};
|
|
14693
14693
|
var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
14694
14694
|
var routerMap = {};
|
|
14695
|
-
var
|
|
14695
|
+
var _flattenMenuData2 = function flattenMenuData(data, parent) {
|
|
14696
14696
|
var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
|
|
14697
14697
|
data.forEach(function (menuItem) {
|
|
14698
14698
|
var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
|
|
14699
14699
|
nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
|
|
14700
14700
|
});
|
|
14701
14701
|
if (newMenuItem.children) {
|
|
14702
|
-
|
|
14702
|
+
_flattenMenuData2(newMenuItem.children, newMenuItem);
|
|
14703
14703
|
}
|
|
14704
14704
|
// Reduce memory usage
|
|
14705
14705
|
routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
|
|
14706
14706
|
});
|
|
14707
14707
|
};
|
|
14708
|
-
|
|
14708
|
+
_flattenMenuData2(menuData, {});
|
|
14709
14709
|
return routerMap;
|
|
14710
14710
|
};
|
|
14711
14711
|
// mode类型判断
|
|
@@ -15011,7 +15011,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15011
15011
|
display: 'flex',
|
|
15012
15012
|
gap: '8px'
|
|
15013
15013
|
}
|
|
15014
|
-
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (
|
|
15014
|
+
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
|
|
15015
15015
|
title: "\u53D6\u6D88\u5168\u5C4F"
|
|
15016
15016
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
15017
15017
|
onClick: function onClick() {
|
|
@@ -15019,7 +15019,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15019
15019
|
},
|
|
15020
15020
|
width: 24,
|
|
15021
15021
|
src: scanning
|
|
15022
|
-
}))) : (
|
|
15022
|
+
}))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
|
|
15023
15023
|
title: "\u5168\u5C4F"
|
|
15024
15024
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
15025
15025
|
onClick: function onClick() {
|
|
@@ -15027,7 +15027,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15027
15027
|
},
|
|
15028
15028
|
width: 24,
|
|
15029
15029
|
src: quanping
|
|
15030
|
-
}))))) : null)), alertProps && (
|
|
15030
|
+
}))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15031
15031
|
}, function (prevProps, nextProps) {
|
|
15032
15032
|
if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
|
|
15033
15033
|
return false;
|
|
@@ -15112,7 +15112,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15112
15112
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
15113
15113
|
className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
|
|
15114
15114
|
}, item));
|
|
15115
|
-
}))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (
|
|
15115
|
+
}))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15116
15116
|
}, function (prevProps, nextProps) {
|
|
15117
15117
|
if (prevProps.title !== nextProps.title) {
|
|
15118
15118
|
return false;
|
|
@@ -15752,7 +15752,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15752
15752
|
});
|
|
15753
15753
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15754
15754
|
className: 'sort_table_wrapper'
|
|
15755
|
-
}, visible && (
|
|
15755
|
+
}, visible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
15756
15756
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
15757
15757
|
wrapClassName: 'sort_table_wrapper',
|
|
15758
15758
|
width: 810,
|
|
@@ -15803,7 +15803,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15803
15803
|
width: 525,
|
|
15804
15804
|
height: 24
|
|
15805
15805
|
}
|
|
15806
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
15806
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
15807
15807
|
checked: !dataSource.some(function (item) {
|
|
15808
15808
|
if (item.hidden) return true;
|
|
15809
15809
|
return false;
|
|
@@ -15857,13 +15857,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15857
15857
|
_this2.onChange(e, item.title);
|
|
15858
15858
|
}
|
|
15859
15859
|
}, item.title);
|
|
15860
|
-
}), !!seatchDataSource.length && (
|
|
15860
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
15861
15861
|
style: {
|
|
15862
15862
|
width: '144px'
|
|
15863
15863
|
}
|
|
15864
|
-
})), !seatchDataSource.length && (
|
|
15864
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
15865
15865
|
className: 'sort_table_column_all_empty'
|
|
15866
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
15866
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
15867
15867
|
className: 'sort_table_column_special'
|
|
15868
15868
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
15869
15869
|
className: 'sort_table_column_all'
|
|
@@ -16337,7 +16337,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16337
16337
|
});
|
|
16338
16338
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
16339
16339
|
className: 'sort_table_wrapper'
|
|
16340
|
-
}, visible && (
|
|
16340
|
+
}, visible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
16341
16341
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
16342
16342
|
wrapClassName: 'sort_table_wrapper',
|
|
16343
16343
|
width: 820,
|
|
@@ -16382,7 +16382,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16382
16382
|
style: {
|
|
16383
16383
|
width: 525
|
|
16384
16384
|
}
|
|
16385
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
16385
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
16386
16386
|
checked: !dataSource.some(function (item) {
|
|
16387
16387
|
if (item.hidden) return true;
|
|
16388
16388
|
return false;
|
|
@@ -16418,11 +16418,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16418
16418
|
_this2.onChange(e, item.name);
|
|
16419
16419
|
}
|
|
16420
16420
|
}, item.label);
|
|
16421
|
-
}), !!newSearchSource.length && (
|
|
16421
|
+
}), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
16422
16422
|
style: {
|
|
16423
16423
|
width: '144px'
|
|
16424
16424
|
}
|
|
16425
|
-
})), !newSearchSource.length && (
|
|
16425
|
+
})), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
16426
16426
|
className: 'sort_table_column_all_empty'
|
|
16427
16427
|
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
|
|
16428
16428
|
className: 'sort_table_content_wrapper'
|
|
@@ -16848,7 +16848,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
16848
16848
|
actionsRender = actionsRender.concat([{
|
|
16849
16849
|
type: 'text',
|
|
16850
16850
|
props: {
|
|
16851
|
-
children: (
|
|
16851
|
+
children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
|
|
16852
16852
|
request: {
|
|
16853
16853
|
url: (value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.url) || "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.type),
|
|
16854
16854
|
params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
|
|
@@ -17094,7 +17094,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17094
17094
|
datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
|
|
17095
17095
|
bsTableCode: bsTableCode,
|
|
17096
17096
|
onlyModal: true
|
|
17097
|
-
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (
|
|
17097
|
+
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
|
|
17098
17098
|
ref: exportTableRef,
|
|
17099
17099
|
setShowColumns: setShowExportColumns,
|
|
17100
17100
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -17187,11 +17187,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17187
17187
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
17188
17188
|
var resultList = [];
|
|
17189
17189
|
var newRouter = cloneDeep(router);
|
|
17190
|
-
var
|
|
17190
|
+
var _deep = function deep(router) {
|
|
17191
17191
|
if (router && Array.isArray(router)) {
|
|
17192
17192
|
router.forEach(function (item) {
|
|
17193
17193
|
if (item.children && Array.isArray(item.children)) {
|
|
17194
|
-
|
|
17194
|
+
_deep(item.children);
|
|
17195
17195
|
} else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
|
|
17196
17196
|
return d === item.code;
|
|
17197
17197
|
})) {
|
|
@@ -17205,10 +17205,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17205
17205
|
resultList.push(_objectSpread2({}, router));
|
|
17206
17206
|
}
|
|
17207
17207
|
};
|
|
17208
|
-
|
|
17208
|
+
_deep(newRouter);
|
|
17209
17209
|
callBack([].concat(resultList));
|
|
17210
17210
|
};
|
|
17211
|
-
var
|
|
17211
|
+
var _setMenuTreeData = function setMenuTreeData(routesData) {
|
|
17212
17212
|
var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
|
|
17213
17213
|
var _loop = function _loop(i) {
|
|
17214
17214
|
if (routesData[i].hideInMenu) {
|
|
@@ -17222,7 +17222,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
|
|
|
17222
17222
|
return 0; // continue
|
|
17223
17223
|
}
|
|
17224
17224
|
if (routesData[i].children) {
|
|
17225
|
-
|
|
17225
|
+
_setMenuTreeData(routesData[i].children);
|
|
17226
17226
|
}
|
|
17227
17227
|
},
|
|
17228
17228
|
_ret;
|
|
@@ -17243,16 +17243,16 @@ var setLoginOutPath = function setLoginOutPath() {
|
|
|
17243
17243
|
};
|
|
17244
17244
|
var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
|
|
17245
17245
|
var routerMap = {};
|
|
17246
|
-
var
|
|
17246
|
+
var _flattenMenuData = function flattenMenuData(data) {
|
|
17247
17247
|
data.forEach(function (menuItem) {
|
|
17248
17248
|
if (menuItem.children) {
|
|
17249
|
-
|
|
17249
|
+
_flattenMenuData(menuItem.children);
|
|
17250
17250
|
}
|
|
17251
17251
|
// Reduce memory usage
|
|
17252
17252
|
routerMap[menuItem.path] = menuItem;
|
|
17253
17253
|
});
|
|
17254
17254
|
};
|
|
17255
|
-
|
|
17255
|
+
_flattenMenuData(menuData);
|
|
17256
17256
|
return routerMap;
|
|
17257
17257
|
};
|
|
17258
17258
|
var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
|
|
@@ -17398,7 +17398,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17398
17398
|
sethomepageData(homepageDataList);
|
|
17399
17399
|
setroutesData(routesDataList);
|
|
17400
17400
|
}, []);
|
|
17401
|
-
var
|
|
17401
|
+
var _renderChildItem = function renderChildItem(child) {
|
|
17402
17402
|
if (!child.hideInMenu && child.children) {
|
|
17403
17403
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
|
|
17404
17404
|
style: {
|
|
@@ -17408,7 +17408,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17408
17408
|
}, formatMessage({
|
|
17409
17409
|
id: "".concat(child.locale)
|
|
17410
17410
|
})), child.children.map(function (menuItem) {
|
|
17411
|
-
return
|
|
17411
|
+
return _renderChildItem(menuItem);
|
|
17412
17412
|
}));
|
|
17413
17413
|
} else if (!child.hideInMenu && child.path) {
|
|
17414
17414
|
return /*#__PURE__*/React$1.createElement(List.Item, {
|
|
@@ -17443,7 +17443,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17443
17443
|
className: 'drawerWarp'
|
|
17444
17444
|
}, homepageData && homepageData.filter(function (d) {
|
|
17445
17445
|
return !d.hideInMenu;
|
|
17446
|
-
}).length > 0 && (
|
|
17446
|
+
}).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
|
|
17447
17447
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
17448
17448
|
dataSource: homepageData,
|
|
17449
17449
|
renderItem: function renderItem(child) {
|
|
@@ -17478,7 +17478,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17478
17478
|
bordered: true,
|
|
17479
17479
|
dataSource: item.children,
|
|
17480
17480
|
renderItem: function renderItem(child) {
|
|
17481
|
-
return
|
|
17481
|
+
return _renderChildItem(child);
|
|
17482
17482
|
}
|
|
17483
17483
|
});
|
|
17484
17484
|
})));
|
|
@@ -17538,7 +17538,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
17538
17538
|
src: allfunc
|
|
17539
17539
|
})), /*#__PURE__*/React$1.createElement("span", {
|
|
17540
17540
|
className: 'btnSpan2'
|
|
17541
|
-
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (
|
|
17541
|
+
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
17542
17542
|
style: {
|
|
17543
17543
|
left: isDrawer ? 140 : 0,
|
|
17544
17544
|
top: 50
|
|
@@ -17584,7 +17584,7 @@ function outLogin(_x) {
|
|
|
17584
17584
|
return _outLogin.apply(this, arguments);
|
|
17585
17585
|
}
|
|
17586
17586
|
function _outLogin() {
|
|
17587
|
-
_outLogin = _asyncToGenerator(
|
|
17587
|
+
_outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
17588
17588
|
var res;
|
|
17589
17589
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17590
17590
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -17726,7 +17726,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
17726
17726
|
});
|
|
17727
17727
|
};
|
|
17728
17728
|
var loginOut = /*#__PURE__*/function () {
|
|
17729
|
-
var _ref2 = _asyncToGenerator(
|
|
17729
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
17730
17730
|
var sessionId;
|
|
17731
17731
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17732
17732
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -17830,7 +17830,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
17830
17830
|
marginRight: '0px'
|
|
17831
17831
|
},
|
|
17832
17832
|
src: './xialajiantou-new.svg'
|
|
17833
|
-
}))))), loginModalParams.visible && (
|
|
17833
|
+
}))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
|
|
17834
17834
|
};
|
|
17835
17835
|
|
|
17836
17836
|
// -- 查询店铺 --
|
|
@@ -17838,7 +17838,7 @@ function getStoreByName(_x) {
|
|
|
17838
17838
|
return _getStoreByName.apply(this, arguments);
|
|
17839
17839
|
}
|
|
17840
17840
|
function _getStoreByName() {
|
|
17841
|
-
_getStoreByName = _asyncToGenerator(
|
|
17841
|
+
_getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
17842
17842
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17843
17843
|
while (1) switch (_context.prev = _context.next) {
|
|
17844
17844
|
case 0:
|
|
@@ -17906,7 +17906,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
17906
17906
|
return _fetchUserList.apply(this, arguments);
|
|
17907
17907
|
}
|
|
17908
17908
|
function _fetchUserList() {
|
|
17909
|
-
_fetchUserList = _asyncToGenerator(
|
|
17909
|
+
_fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
|
|
17910
17910
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
17911
17911
|
while (1) switch (_context3.prev = _context3.next) {
|
|
17912
17912
|
case 0:
|
|
@@ -17954,7 +17954,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
17954
17954
|
return debounce$1(loadOptions, debounceTimeout);
|
|
17955
17955
|
}, [debounceTimeout, key]);
|
|
17956
17956
|
var changeInput = /*#__PURE__*/function () {
|
|
17957
|
-
var _ref = _asyncToGenerator(
|
|
17957
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
|
|
17958
17958
|
var res;
|
|
17959
17959
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17960
17960
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -17976,7 +17976,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
17976
17976
|
};
|
|
17977
17977
|
}();
|
|
17978
17978
|
useEffect(function () {
|
|
17979
|
-
_asyncToGenerator(
|
|
17979
|
+
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
17980
17980
|
var res;
|
|
17981
17981
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
17982
17982
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -18141,7 +18141,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18141
18141
|
var resultList = [];
|
|
18142
18142
|
var newRouter = cloneDeep$1(router);
|
|
18143
18143
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
18144
|
-
var
|
|
18144
|
+
var _deep = function deep(router) {
|
|
18145
18145
|
if (router && Array.isArray(router)) {
|
|
18146
18146
|
router.forEach(function (item) {
|
|
18147
18147
|
if (item.routes && Array.isArray(item.routes)) {
|
|
@@ -18151,7 +18151,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18151
18151
|
d.nameEdit = true;
|
|
18152
18152
|
}
|
|
18153
18153
|
});
|
|
18154
|
-
|
|
18154
|
+
_deep(item.routes);
|
|
18155
18155
|
} else if (!item.hideInMenu && (name ? formatMessage({
|
|
18156
18156
|
id: "menu.".concat(item.name)
|
|
18157
18157
|
}).indexOf(name) !== -1 : true)) {
|
|
@@ -18170,7 +18170,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18170
18170
|
}));
|
|
18171
18171
|
}
|
|
18172
18172
|
};
|
|
18173
|
-
|
|
18173
|
+
_deep(newRouter);
|
|
18174
18174
|
setroutesData([].concat(resultList));
|
|
18175
18175
|
};
|
|
18176
18176
|
var renderLineStyl = function renderLineStyl(name) {
|
|
@@ -18252,7 +18252,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18252
18252
|
},
|
|
18253
18253
|
title: item.fullPathName
|
|
18254
18254
|
}, renderLineStyl(item.fullPathName));
|
|
18255
|
-
}))))), showSelectStore && (
|
|
18255
|
+
}))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
|
|
18256
18256
|
employeeCode: employeeCode
|
|
18257
18257
|
})), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
|
|
18258
18258
|
};
|
|
@@ -18267,7 +18267,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
18267
18267
|
var TreeNode = Tree.TreeNode;
|
|
18268
18268
|
var Search$2 = Input.Search;
|
|
18269
18269
|
var dataList = [];
|
|
18270
|
-
var
|
|
18270
|
+
var _generateList = function generateList(data) {
|
|
18271
18271
|
for (var i = 0; i < data.length; i++) {
|
|
18272
18272
|
var node = data[i];
|
|
18273
18273
|
var path = node.path,
|
|
@@ -18277,11 +18277,11 @@ var generateList = function generateList(data) {
|
|
|
18277
18277
|
name: name
|
|
18278
18278
|
});
|
|
18279
18279
|
if (node.children) {
|
|
18280
|
-
|
|
18280
|
+
_generateList(node.children);
|
|
18281
18281
|
}
|
|
18282
18282
|
}
|
|
18283
18283
|
};
|
|
18284
|
-
var
|
|
18284
|
+
var _getParentKey = function getParentKey(path, tree) {
|
|
18285
18285
|
var parentKey;
|
|
18286
18286
|
for (var i = 0; i < tree.length; i++) {
|
|
18287
18287
|
var node = tree[i];
|
|
@@ -18290,8 +18290,8 @@ var getParentKey = function getParentKey(path, tree) {
|
|
|
18290
18290
|
return item.path === path;
|
|
18291
18291
|
})) {
|
|
18292
18292
|
parentKey = node.path;
|
|
18293
|
-
} else if (
|
|
18294
|
-
parentKey =
|
|
18293
|
+
} else if (_getParentKey(path, node.children)) {
|
|
18294
|
+
parentKey = _getParentKey(path, node.children);
|
|
18295
18295
|
}
|
|
18296
18296
|
}
|
|
18297
18297
|
}
|
|
@@ -18322,7 +18322,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18322
18322
|
var treeData = _this.state.treeData;
|
|
18323
18323
|
var expandedKeys = dataList.map(function (item) {
|
|
18324
18324
|
if (item.name.indexOf(value) > -1) {
|
|
18325
|
-
return
|
|
18325
|
+
return _getParentKey(item.path, treeData);
|
|
18326
18326
|
}
|
|
18327
18327
|
return null;
|
|
18328
18328
|
}).filter(function (item, i, self) {
|
|
@@ -18336,22 +18336,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18336
18336
|
};
|
|
18337
18337
|
_this.getPathList = function (originData) {
|
|
18338
18338
|
var pathList = [];
|
|
18339
|
-
var
|
|
18339
|
+
var _getList = function getList(data) {
|
|
18340
18340
|
if (Array.isArray(data)) {
|
|
18341
18341
|
data.forEach(function (item) {
|
|
18342
18342
|
pathList.push(item.path);
|
|
18343
18343
|
if (item.children) {
|
|
18344
|
-
|
|
18344
|
+
_getList(item.children);
|
|
18345
18345
|
}
|
|
18346
18346
|
});
|
|
18347
18347
|
} else {
|
|
18348
18348
|
pathList.push(data.path);
|
|
18349
18349
|
if (data.children) {
|
|
18350
|
-
|
|
18350
|
+
_getList(data.children);
|
|
18351
18351
|
}
|
|
18352
18352
|
}
|
|
18353
18353
|
};
|
|
18354
|
-
|
|
18354
|
+
_getList(originData);
|
|
18355
18355
|
return pathList;
|
|
18356
18356
|
};
|
|
18357
18357
|
_this.handleAdd2Menu = function (path) {
|
|
@@ -18360,18 +18360,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18360
18360
|
customerMenuData = _this$props.customerMenuData,
|
|
18361
18361
|
setCustomerMenuData = _this$props.setCustomerMenuData;
|
|
18362
18362
|
var filterItem;
|
|
18363
|
-
var
|
|
18363
|
+
var _filterMenuItem = function filterMenuItem(menuData) {
|
|
18364
18364
|
menuData.forEach(function (item) {
|
|
18365
18365
|
if (item.path === path) {
|
|
18366
18366
|
filterItem = _objectSpread2({}, item);
|
|
18367
18367
|
return;
|
|
18368
18368
|
}
|
|
18369
18369
|
if (item.children) {
|
|
18370
|
-
|
|
18370
|
+
_filterMenuItem(item.children);
|
|
18371
18371
|
}
|
|
18372
18372
|
});
|
|
18373
18373
|
};
|
|
18374
|
-
|
|
18374
|
+
_filterMenuItem(treeData);
|
|
18375
18375
|
var addPathList = _this.getPathList(filterItem);
|
|
18376
18376
|
var oldPathList = _this.getPathList(customerMenuData);
|
|
18377
18377
|
var isRepet = false;
|
|
@@ -18401,8 +18401,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18401
18401
|
return item.path === '/';
|
|
18402
18402
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
18403
18403
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
18404
|
-
|
|
18405
|
-
|
|
18404
|
+
_setMenuTreeData(routesData);
|
|
18405
|
+
_generateList(routesData);
|
|
18406
18406
|
this.setState({
|
|
18407
18407
|
treeData: routesData
|
|
18408
18408
|
});
|
|
@@ -18416,16 +18416,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18416
18416
|
expandedKeys = _this$state.expandedKeys,
|
|
18417
18417
|
autoExpandParent = _this$state.autoExpandParent,
|
|
18418
18418
|
treeData = _this$state.treeData;
|
|
18419
|
-
var
|
|
18419
|
+
var _loop = function loop(data) {
|
|
18420
18420
|
return data.map(function (item) {
|
|
18421
18421
|
var index = item.name.indexOf(searchValue);
|
|
18422
18422
|
var beforeStr = item.name.substr(0, index);
|
|
18423
18423
|
var afterStr = item.name.substr(index + searchValue.length);
|
|
18424
|
-
var name = index > -1 ? (
|
|
18424
|
+
var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
|
|
18425
18425
|
style: {
|
|
18426
18426
|
color: '#f50'
|
|
18427
18427
|
}
|
|
18428
|
-
}, searchValue), afterStr)) : (
|
|
18428
|
+
}, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
|
|
18429
18429
|
if (item.children && item.children.length) {
|
|
18430
18430
|
return /*#__PURE__*/React$1.createElement(TreeNode, {
|
|
18431
18431
|
path: item.path,
|
|
@@ -18447,7 +18447,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18447
18447
|
width: 18,
|
|
18448
18448
|
src: arrowRight
|
|
18449
18449
|
}))))
|
|
18450
|
-
},
|
|
18450
|
+
}, _loop(item.children));
|
|
18451
18451
|
}
|
|
18452
18452
|
return /*#__PURE__*/React$1.createElement(TreeNode, {
|
|
18453
18453
|
path: item.path,
|
|
@@ -18497,7 +18497,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18497
18497
|
onExpand: this.onExpand,
|
|
18498
18498
|
expandedKeys: expandedKeys,
|
|
18499
18499
|
autoExpandParent: autoExpandParent
|
|
18500
|
-
},
|
|
18500
|
+
}, _loop(treeData))));
|
|
18501
18501
|
}
|
|
18502
18502
|
}]);
|
|
18503
18503
|
}(React$1.Component);
|
|
@@ -18530,24 +18530,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18530
18530
|
var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
|
|
18531
18531
|
var dragObj;
|
|
18532
18532
|
var finalDropItem;
|
|
18533
|
-
var
|
|
18533
|
+
var _loop = function loop(data, path, callback) {
|
|
18534
18534
|
for (var i = 0; i < data.length; i++) {
|
|
18535
18535
|
if (data[i].path === path) {
|
|
18536
18536
|
return callback(data[i], i, data);
|
|
18537
18537
|
}
|
|
18538
18538
|
if (data[i].children) {
|
|
18539
|
-
|
|
18539
|
+
_loop(data[i].children, path, callback);
|
|
18540
18540
|
}
|
|
18541
18541
|
}
|
|
18542
18542
|
};
|
|
18543
18543
|
var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
|
|
18544
|
-
|
|
18544
|
+
_loop(data, dragKey, function (item, index, arr) {
|
|
18545
18545
|
arr.splice(index, 1);
|
|
18546
18546
|
dragObj = item;
|
|
18547
18547
|
});
|
|
18548
18548
|
if (!info.dropToGap) {
|
|
18549
18549
|
// Drop on the content
|
|
18550
|
-
|
|
18550
|
+
_loop(data, dropKey, function (item) {
|
|
18551
18551
|
item.children = item.children || [];
|
|
18552
18552
|
item.children.unshift(dragObj);
|
|
18553
18553
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -18558,7 +18558,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18558
18558
|
// Is expanded
|
|
18559
18559
|
dropPosition === 1 // On the bottom gap
|
|
18560
18560
|
) {
|
|
18561
|
-
|
|
18561
|
+
_loop(data, dropKey, function (item) {
|
|
18562
18562
|
item.children = item.children || [];
|
|
18563
18563
|
item.children.unshift(dragObj);
|
|
18564
18564
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -18566,7 +18566,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18566
18566
|
} else {
|
|
18567
18567
|
var ar;
|
|
18568
18568
|
var i;
|
|
18569
|
-
|
|
18569
|
+
_loop(data, dropKey, function (item, index, arr) {
|
|
18570
18570
|
ar = arr;
|
|
18571
18571
|
i = index;
|
|
18572
18572
|
});
|
|
@@ -18605,17 +18605,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18605
18605
|
title: '编辑名称',
|
|
18606
18606
|
callBack: function callBack(newName) {
|
|
18607
18607
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
18608
|
-
var
|
|
18608
|
+
var _editTreeDataName = function editTreeDataName(oldTreeData) {
|
|
18609
18609
|
oldTreeData.forEach(function (treeItem) {
|
|
18610
18610
|
if (treeItem.path === item.path) {
|
|
18611
18611
|
treeItem.name = newName;
|
|
18612
18612
|
}
|
|
18613
18613
|
if (treeItem.children) {
|
|
18614
|
-
|
|
18614
|
+
_editTreeDataName(treeItem.children);
|
|
18615
18615
|
}
|
|
18616
18616
|
});
|
|
18617
18617
|
};
|
|
18618
|
-
|
|
18618
|
+
_editTreeDataName(oldTreeData);
|
|
18619
18619
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
18620
18620
|
_this.setState({
|
|
18621
18621
|
modalInfo: {
|
|
@@ -18660,7 +18660,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18660
18660
|
title: '新增子目录',
|
|
18661
18661
|
callBack: function callBack(newName) {
|
|
18662
18662
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
18663
|
-
var
|
|
18663
|
+
var _addChildFolder = function addChildFolder(oldTreeData) {
|
|
18664
18664
|
oldTreeData.forEach(function (treeItem) {
|
|
18665
18665
|
if (treeItem.path === item.path) {
|
|
18666
18666
|
treeItem.children ? treeItem.children.push({
|
|
@@ -18672,11 +18672,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18672
18672
|
}];
|
|
18673
18673
|
}
|
|
18674
18674
|
if (treeItem.children) {
|
|
18675
|
-
|
|
18675
|
+
_addChildFolder(treeItem.children);
|
|
18676
18676
|
}
|
|
18677
18677
|
});
|
|
18678
18678
|
};
|
|
18679
|
-
|
|
18679
|
+
_addChildFolder(oldTreeData);
|
|
18680
18680
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
18681
18681
|
_this.setState({
|
|
18682
18682
|
modalInfo: {
|
|
@@ -18735,7 +18735,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18735
18735
|
var _this$state = this.state,
|
|
18736
18736
|
modalInfo = _this$state.modalInfo,
|
|
18737
18737
|
checkedKeys = _this$state.checkedKeys;
|
|
18738
|
-
var
|
|
18738
|
+
var _loop2 = function loop(data) {
|
|
18739
18739
|
return data.map(function (item) {
|
|
18740
18740
|
if (item.children && item.children.length) {
|
|
18741
18741
|
return /*#__PURE__*/React$1.createElement(TreeNode$1, {
|
|
@@ -18752,7 +18752,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18752
18752
|
e.stopPropagation();
|
|
18753
18753
|
}
|
|
18754
18754
|
}, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
|
|
18755
|
-
},
|
|
18755
|
+
}, _loop2(item.children));
|
|
18756
18756
|
}
|
|
18757
18757
|
return /*#__PURE__*/React$1.createElement(TreeNode$1, {
|
|
18758
18758
|
path: item.path,
|
|
@@ -18831,7 +18831,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18831
18831
|
children: 'children'
|
|
18832
18832
|
},
|
|
18833
18833
|
onDrop: this.onDrop
|
|
18834
|
-
},
|
|
18834
|
+
}, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
|
|
18835
18835
|
width: 600,
|
|
18836
18836
|
bodyStyle: {
|
|
18837
18837
|
paddingTop: '32px',
|
|
@@ -18944,7 +18944,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18944
18944
|
pathname: item.path
|
|
18945
18945
|
});
|
|
18946
18946
|
};
|
|
18947
|
-
var
|
|
18947
|
+
var _getMenuDom = function getMenuDom(menuData) {
|
|
18948
18948
|
return menuData.map(function (item) {
|
|
18949
18949
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
18950
18950
|
style: {
|
|
@@ -18959,7 +18959,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18959
18959
|
fontWeight: item.children || !item.component ? 'bolder' : '400',
|
|
18960
18960
|
paddingLeft: '4px'
|
|
18961
18961
|
}
|
|
18962
|
-
}, item.name), !!item.children && !!item.children.length &&
|
|
18962
|
+
}, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
|
|
18963
18963
|
});
|
|
18964
18964
|
};
|
|
18965
18965
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -18985,7 +18985,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18985
18985
|
style: {
|
|
18986
18986
|
paddingLeft: '5px'
|
|
18987
18987
|
}
|
|
18988
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (
|
|
18988
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
18989
18989
|
style: {
|
|
18990
18990
|
left: isDrawer ? 140 : 0
|
|
18991
18991
|
},
|
|
@@ -19006,7 +19006,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19006
19006
|
visible: isDrawer
|
|
19007
19007
|
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
|
|
19008
19008
|
className: 'menu_title_line'
|
|
19009
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"),
|
|
19009
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
19010
19010
|
title: /*#__PURE__*/React$1.createElement("span", {
|
|
19011
19011
|
style: {
|
|
19012
19012
|
fontWeight: '600',
|
|
@@ -19080,7 +19080,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19080
19080
|
return item.path === '/';
|
|
19081
19081
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
19082
19082
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
19083
|
-
|
|
19083
|
+
_setMenuTreeData(routesData);
|
|
19084
19084
|
routesData.forEach(function (item) {
|
|
19085
19085
|
if (item.children) {
|
|
19086
19086
|
routesDataList.push(item);
|
|
@@ -19110,7 +19110,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19110
19110
|
setHeight(clientHeight - 190);
|
|
19111
19111
|
setDrawHeight(clientHeight - 70);
|
|
19112
19112
|
};
|
|
19113
|
-
var
|
|
19113
|
+
var _renderChildItem = function renderChildItem(child) {
|
|
19114
19114
|
if (!child.hideInMenu && child.children) {
|
|
19115
19115
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
|
|
19116
19116
|
style: {
|
|
@@ -19120,7 +19120,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19120
19120
|
}, formatMessage({
|
|
19121
19121
|
id: "".concat(child.locale)
|
|
19122
19122
|
})), child.children.map(function (menuItem) {
|
|
19123
|
-
return
|
|
19123
|
+
return _renderChildItem(menuItem);
|
|
19124
19124
|
}));
|
|
19125
19125
|
} else if (!child.hideInMenu && child.path) {
|
|
19126
19126
|
return /*#__PURE__*/React$1.createElement(List.Item, {
|
|
@@ -19262,7 +19262,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19262
19262
|
onMenuClick(e, item);
|
|
19263
19263
|
}
|
|
19264
19264
|
}, item.name);
|
|
19265
|
-
}))), !!SearhData.length ? (
|
|
19265
|
+
}))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
|
|
19266
19266
|
className: 'search_menu_content'
|
|
19267
19267
|
}, SearhData.map(function (item) {
|
|
19268
19268
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -19271,7 +19271,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19271
19271
|
},
|
|
19272
19272
|
key: item.path
|
|
19273
19273
|
}, item.name);
|
|
19274
|
-
}))) : (
|
|
19274
|
+
}))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
19275
19275
|
style: {
|
|
19276
19276
|
height: "".concat(rightMenuHeight, "px"),
|
|
19277
19277
|
overflowY: 'scroll',
|
|
@@ -19283,7 +19283,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19283
19283
|
className: 'drawerWarp_right'
|
|
19284
19284
|
}, homepageData && homepageData.filter(function (d) {
|
|
19285
19285
|
return !d.hideInMenu;
|
|
19286
|
-
}).length > 0 && (
|
|
19286
|
+
}).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
|
|
19287
19287
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
19288
19288
|
dataSource: homepageData,
|
|
19289
19289
|
renderItem: function renderItem(child) {
|
|
@@ -19324,7 +19324,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19324
19324
|
bordered: true,
|
|
19325
19325
|
dataSource: item.children,
|
|
19326
19326
|
renderItem: function renderItem(child) {
|
|
19327
|
-
return
|
|
19327
|
+
return _renderChildItem(child);
|
|
19328
19328
|
}
|
|
19329
19329
|
});
|
|
19330
19330
|
})), /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -19482,10 +19482,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
19482
19482
|
var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
|
|
19483
19483
|
var menuKeys = [];
|
|
19484
19484
|
var docsId = [];
|
|
19485
|
-
var
|
|
19485
|
+
var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
|
|
19486
19486
|
data.forEach(function (item) {
|
|
19487
19487
|
if (item.children && item.children.length > 0) {
|
|
19488
|
-
|
|
19488
|
+
_getLimitedMenuKeys(item.children);
|
|
19489
19489
|
} else {
|
|
19490
19490
|
var originPath = item.path.replace(/^\/\w+\//, '/');
|
|
19491
19491
|
menuKeys.push(originPath);
|
|
@@ -19496,7 +19496,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
19496
19496
|
});
|
|
19497
19497
|
};
|
|
19498
19498
|
try {
|
|
19499
|
-
|
|
19499
|
+
_getLimitedMenuKeys(limitedMenuData);
|
|
19500
19500
|
} catch (e) {}
|
|
19501
19501
|
return {
|
|
19502
19502
|
menuKeys: menuKeys,
|
|
@@ -19730,10 +19730,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
19730
19730
|
return (node.path || '').includes('all-general-documents');
|
|
19731
19731
|
};
|
|
19732
19732
|
// 递归获取树列表
|
|
19733
|
-
var
|
|
19733
|
+
var _getTreeList = function getTreeList(data) {
|
|
19734
19734
|
data.forEach(function (node) {
|
|
19735
19735
|
if (node.routes && node.routes.length > 0) {
|
|
19736
|
-
|
|
19736
|
+
_getTreeList(node.routes);
|
|
19737
19737
|
return;
|
|
19738
19738
|
}
|
|
19739
19739
|
// todo:暂时处理非wujie环境不做404管控
|
|
@@ -19764,7 +19764,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
19764
19764
|
}
|
|
19765
19765
|
});
|
|
19766
19766
|
};
|
|
19767
|
-
|
|
19767
|
+
_getTreeList(treeData);
|
|
19768
19768
|
return treeList;
|
|
19769
19769
|
};
|
|
19770
19770
|
_this.getDictionarySource = function (dicCode) {
|
|
@@ -20393,7 +20393,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20393
20393
|
updateState = _ref8.updateState;
|
|
20394
20394
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
20395
20395
|
className: "tab_title_content"
|
|
20396
|
-
}, item.tab, item.key !== '/' && (
|
|
20396
|
+
}, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
|
|
20397
20397
|
info: item,
|
|
20398
20398
|
operateFun: _this3.operateFun,
|
|
20399
20399
|
listenRouterState: listenRouterState
|
|
@@ -20529,7 +20529,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20529
20529
|
};
|
|
20530
20530
|
}
|
|
20531
20531
|
var OperationsSlot = {
|
|
20532
|
-
left: (
|
|
20532
|
+
left: (/*#__PURE__*/React$1.createElement("div", {
|
|
20533
20533
|
className: 'tab_left_operate'
|
|
20534
20534
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
20535
20535
|
onClick: function onClick() {
|
|
@@ -20545,7 +20545,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20545
20545
|
_this3.setTabNavTransLate(-100);
|
|
20546
20546
|
}
|
|
20547
20547
|
}, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
|
|
20548
|
-
right: (
|
|
20548
|
+
right: (/*#__PURE__*/React$1.createElement("div", {
|
|
20549
20549
|
style: {
|
|
20550
20550
|
opacity: this.state.isSlider ? 1 : 0.5
|
|
20551
20551
|
},
|
|
@@ -20643,7 +20643,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20643
20643
|
onMouseLeave: function onMouseLeave() {
|
|
20644
20644
|
_this3.setShowMenu(false);
|
|
20645
20645
|
}
|
|
20646
|
-
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (
|
|
20646
|
+
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
|
|
20647
20647
|
style: {
|
|
20648
20648
|
position: 'absolute',
|
|
20649
20649
|
top: '14px',
|
|
@@ -20662,7 +20662,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20662
20662
|
postMenuData: function postMenuData(menus) {
|
|
20663
20663
|
return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
|
|
20664
20664
|
},
|
|
20665
|
-
links: [!this.state.collapse ? (
|
|
20665
|
+
links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
|
|
20666
20666
|
ref: this.allFunc,
|
|
20667
20667
|
itemPath: itemPath,
|
|
20668
20668
|
handleClose: this.handleClose,
|
|
@@ -20680,7 +20680,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20680
20680
|
},
|
|
20681
20681
|
menu: {
|
|
20682
20682
|
request: function () {
|
|
20683
|
-
var _request = _asyncToGenerator(
|
|
20683
|
+
var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
20684
20684
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
20685
20685
|
while (1) switch (_context.prev = _context.next) {
|
|
20686
20686
|
case 0:
|
|
@@ -20815,7 +20815,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
20815
20815
|
getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
|
|
20816
20816
|
timeFormat = _this$props4.timeFormat,
|
|
20817
20817
|
transparentProps = _this$props4.transparentProps;
|
|
20818
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (
|
|
20818
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (/*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
20819
20819
|
getDictionarySource: getDictionarySource,
|
|
20820
20820
|
getDictionaryTextByValue: getDictionaryTextByValue,
|
|
20821
20821
|
timeFormat: timeFormat
|
|
@@ -20839,12 +20839,12 @@ var index$5 = (function (props) {
|
|
|
20839
20839
|
});
|
|
20840
20840
|
|
|
20841
20841
|
// @ts-nocheck
|
|
20842
|
-
var
|
|
20842
|
+
var _getAllColumns = function getAllColumns(columns) {
|
|
20843
20843
|
var result = [];
|
|
20844
20844
|
columns.forEach(function (column) {
|
|
20845
20845
|
if (column.children) {
|
|
20846
20846
|
result.push(column);
|
|
20847
|
-
result.push.apply(result,
|
|
20847
|
+
result.push.apply(result, _getAllColumns(column.children));
|
|
20848
20848
|
} else {
|
|
20849
20849
|
result.push(column);
|
|
20850
20850
|
}
|
|
@@ -20853,7 +20853,7 @@ var getAllColumns = function getAllColumns(columns) {
|
|
|
20853
20853
|
};
|
|
20854
20854
|
var convertToRows = function convertToRows(originColumns) {
|
|
20855
20855
|
var maxLevel = 1;
|
|
20856
|
-
var
|
|
20856
|
+
var _traverse = function traverse(column, parent) {
|
|
20857
20857
|
if (parent) {
|
|
20858
20858
|
column.level = parent.level + 1;
|
|
20859
20859
|
if (maxLevel < column.level) {
|
|
@@ -20863,7 +20863,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
20863
20863
|
if (column.children) {
|
|
20864
20864
|
var colSpan = 0;
|
|
20865
20865
|
column.children.forEach(function (subColumn) {
|
|
20866
|
-
|
|
20866
|
+
_traverse(subColumn, column);
|
|
20867
20867
|
colSpan += subColumn.colSpan;
|
|
20868
20868
|
});
|
|
20869
20869
|
column.colSpan = colSpan;
|
|
@@ -20873,13 +20873,13 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
20873
20873
|
};
|
|
20874
20874
|
originColumns.forEach(function (column) {
|
|
20875
20875
|
column.level = 1;
|
|
20876
|
-
|
|
20876
|
+
_traverse(column);
|
|
20877
20877
|
});
|
|
20878
20878
|
var rows = [];
|
|
20879
20879
|
for (var i = 0; i < maxLevel; i++) {
|
|
20880
20880
|
rows.push([]);
|
|
20881
20881
|
}
|
|
20882
|
-
var allColumns =
|
|
20882
|
+
var allColumns = _getAllColumns(originColumns);
|
|
20883
20883
|
allColumns.forEach(function (column) {
|
|
20884
20884
|
if (!column.children) {
|
|
20885
20885
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -20919,7 +20919,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
20919
20919
|
};
|
|
20920
20920
|
var headersToRows = function headersToRows(originColumns) {
|
|
20921
20921
|
var maxLevel = 1;
|
|
20922
|
-
var
|
|
20922
|
+
var _traverse2 = function traverse(column, parent) {
|
|
20923
20923
|
if (parent) {
|
|
20924
20924
|
//计算当前元素属于第几个层级
|
|
20925
20925
|
column.level = parent.level + 1;
|
|
@@ -20932,7 +20932,7 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
20932
20932
|
var colSpan = 0;
|
|
20933
20933
|
column.children.forEach(function (subColumn) {
|
|
20934
20934
|
//进行递归
|
|
20935
|
-
|
|
20935
|
+
_traverse2(subColumn, column);
|
|
20936
20936
|
colSpan += subColumn.colSpan;
|
|
20937
20937
|
});
|
|
20938
20938
|
column.colSpan = colSpan;
|
|
@@ -20942,14 +20942,14 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
20942
20942
|
};
|
|
20943
20943
|
originColumns.forEach(function (column) {
|
|
20944
20944
|
column.level = 1;
|
|
20945
|
-
|
|
20945
|
+
_traverse2(column);
|
|
20946
20946
|
});
|
|
20947
20947
|
var rows = [];
|
|
20948
20948
|
var lastData = [];
|
|
20949
20949
|
for (var i = 0; i < maxLevel; i++) {
|
|
20950
20950
|
rows.push([]);
|
|
20951
20951
|
}
|
|
20952
|
-
var allColumns =
|
|
20952
|
+
var allColumns = _getAllColumns(originColumns);
|
|
20953
20953
|
allColumns.forEach(function (column) {
|
|
20954
20954
|
if (!column.children) {
|
|
20955
20955
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -26966,7 +26966,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
|
|
|
26966
26966
|
}
|
|
26967
26967
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
26968
26968
|
};
|
|
26969
|
-
var
|
|
26969
|
+
var _hasHighLightChildren = function hasHighLightChildren() {
|
|
26970
26970
|
var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
26971
26971
|
var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
|
|
26972
26972
|
var children = hightLightData.children,
|
|
@@ -26977,7 +26977,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
|
|
|
26977
26977
|
lineEnd = _loc2[2];
|
|
26978
26978
|
if (children) {
|
|
26979
26979
|
return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
|
|
26980
|
-
return
|
|
26980
|
+
return _hasHighLightChildren(v, highLightLine);
|
|
26981
26981
|
});
|
|
26982
26982
|
}
|
|
26983
26983
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
@@ -26989,7 +26989,7 @@ function createHighLightTreeData(treeData, highLightLine) {
|
|
|
26989
26989
|
var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
|
|
26990
26990
|
data.forEach(function (node) {
|
|
26991
26991
|
if (!node) return;
|
|
26992
|
-
node.toggled =
|
|
26992
|
+
node.toggled = _hasHighLightChildren(node, highLightLine);
|
|
26993
26993
|
node.active = isHightLight(node, highLightLine);
|
|
26994
26994
|
if (node.children) {
|
|
26995
26995
|
if (node.active) {
|
|
@@ -28420,7 +28420,7 @@ var valueType = {
|
|
|
28420
28420
|
};
|
|
28421
28421
|
|
|
28422
28422
|
var getDynamicDict = /*#__PURE__*/function () {
|
|
28423
|
-
var _ref = _asyncToGenerator(
|
|
28423
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
|
|
28424
28424
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28425
28425
|
while (1) switch (_context.prev = _context.next) {
|
|
28426
28426
|
case 0:
|
|
@@ -28488,7 +28488,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
28488
28488
|
value: false
|
|
28489
28489
|
}];
|
|
28490
28490
|
var ref = useRef();
|
|
28491
|
-
useMount(
|
|
28491
|
+
useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
28492
28492
|
var _ref$current, source;
|
|
28493
28493
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28494
28494
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -28602,7 +28602,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
28602
28602
|
source: {
|
|
28603
28603
|
relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
|
|
28604
28604
|
type: function () {
|
|
28605
|
-
var _type = _asyncToGenerator(
|
|
28605
|
+
var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
28606
28606
|
var form, values, name, relates, source;
|
|
28607
28607
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
28608
28608
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -29082,7 +29082,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29082
29082
|
source: {
|
|
29083
29083
|
relates: ['choiceType', 'inputType'],
|
|
29084
29084
|
type: function () {
|
|
29085
|
-
var _type2 = _asyncToGenerator(
|
|
29085
|
+
var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
|
|
29086
29086
|
var values, name, form, source;
|
|
29087
29087
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
29088
29088
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -29304,7 +29304,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29304
29304
|
width: 900,
|
|
29305
29305
|
maskClosable: false,
|
|
29306
29306
|
onOk: function () {
|
|
29307
|
-
var _onOk = _asyncToGenerator(
|
|
29307
|
+
var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
29308
29308
|
var _ref$current4, _res$editableStatus;
|
|
29309
29309
|
var res, _res$defaultValue;
|
|
29310
29310
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
@@ -29376,7 +29376,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29376
29376
|
}()
|
|
29377
29377
|
}), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
|
|
29378
29378
|
ref: ref
|
|
29379
|
-
})), maintainOptionsModal.visible && (
|
|
29379
|
+
})), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
|
|
29380
29380
|
};
|
|
29381
29381
|
|
|
29382
29382
|
// @ts-nocheck
|
|
@@ -29990,7 +29990,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
29990
29990
|
return setVisible(false);
|
|
29991
29991
|
},
|
|
29992
29992
|
className: 'customFieldsDrawer'
|
|
29993
|
-
}, detailTablesSetting.length == 0 && (
|
|
29993
|
+
}, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
|
|
29994
29994
|
style: {
|
|
29995
29995
|
display: 'flex'
|
|
29996
29996
|
}
|
|
@@ -29999,13 +29999,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
29999
29999
|
flex: 1,
|
|
30000
30000
|
width: 500
|
|
30001
30001
|
}
|
|
30002
|
-
}, isEmpty(moduleParams) ? (
|
|
30002
|
+
}, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30003
30003
|
style: {
|
|
30004
30004
|
padding: "10px 0",
|
|
30005
30005
|
fontSize: "16px",
|
|
30006
30006
|
fontWeight: "bolder"
|
|
30007
30007
|
}
|
|
30008
|
-
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (
|
|
30008
|
+
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
|
|
30009
30009
|
style: {
|
|
30010
30010
|
flex: 1
|
|
30011
30011
|
}
|
|
@@ -30014,7 +30014,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30014
30014
|
onRun: onClickRun,
|
|
30015
30015
|
value: jsonEditorVal,
|
|
30016
30016
|
shallowHeight: height
|
|
30017
|
-
})))), detailTablesSetting.length > 0 && (
|
|
30017
|
+
})))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
|
|
30018
30018
|
defaultActiveKey: activeKey,
|
|
30019
30019
|
onChange: function onChange(v) {
|
|
30020
30020
|
return setActiveKey(v);
|
|
@@ -30031,13 +30031,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30031
30031
|
flex: 1,
|
|
30032
30032
|
width: 500
|
|
30033
30033
|
}
|
|
30034
|
-
}, isEmpty(moduleParams) ? (
|
|
30034
|
+
}, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30035
30035
|
style: {
|
|
30036
30036
|
padding: "10px 0",
|
|
30037
30037
|
fontSize: "16px",
|
|
30038
30038
|
fontWeight: "bolder"
|
|
30039
30039
|
}
|
|
30040
|
-
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (
|
|
30040
|
+
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
|
|
30041
30041
|
style: {
|
|
30042
30042
|
flex: 1
|
|
30043
30043
|
}
|
|
@@ -30059,13 +30059,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30059
30059
|
flex: 1,
|
|
30060
30060
|
width: 500
|
|
30061
30061
|
}
|
|
30062
|
-
}, !tablesConfigParams[k.tableCode] ? (
|
|
30062
|
+
}, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30063
30063
|
style: {
|
|
30064
30064
|
padding: "10px 0",
|
|
30065
30065
|
fontSize: "16px",
|
|
30066
30066
|
fontWeight: "bolder"
|
|
30067
30067
|
}
|
|
30068
|
-
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (
|
|
30068
|
+
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
|
|
30069
30069
|
style: {
|
|
30070
30070
|
flex: 1
|
|
30071
30071
|
}
|
|
@@ -30211,7 +30211,7 @@ function getMetaData(_x) {
|
|
|
30211
30211
|
|
|
30212
30212
|
// 获取数据
|
|
30213
30213
|
function _getMetaData() {
|
|
30214
|
-
_getMetaData = _asyncToGenerator(
|
|
30214
|
+
_getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
|
|
30215
30215
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30216
30216
|
while (1) switch (_context.prev = _context.next) {
|
|
30217
30217
|
case 0:
|
|
@@ -30433,7 +30433,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
30433
30433
|
tableState = _useState4[0],
|
|
30434
30434
|
setTableState = _useState4[1];
|
|
30435
30435
|
var handleOpen = /*#__PURE__*/function () {
|
|
30436
|
-
var _ref = _asyncToGenerator(
|
|
30436
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30437
30437
|
var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
|
|
30438
30438
|
var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
|
|
30439
30439
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -30752,7 +30752,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
30752
30752
|
destroyOnClose: true
|
|
30753
30753
|
}, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
|
|
30754
30754
|
ref: queryTableRef
|
|
30755
|
-
}, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (
|
|
30755
|
+
}, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (/*#__PURE__*/React$1.createElement(Row, {
|
|
30756
30756
|
justify: "center",
|
|
30757
30757
|
style: {
|
|
30758
30758
|
marginBottom: 30,
|
|
@@ -30868,7 +30868,7 @@ var CustomSelector = (function (props) {
|
|
|
30868
30868
|
var _props$ctx7;
|
|
30869
30869
|
return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
|
|
30870
30870
|
}
|
|
30871
|
-
})), showType === 'modalTable' && (
|
|
30871
|
+
})), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
|
|
30872
30872
|
type: "primary",
|
|
30873
30873
|
style: {
|
|
30874
30874
|
width: '30px',
|
|
@@ -30954,7 +30954,7 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
30954
30954
|
_useState2 = _slicedToArray(_useState, 2),
|
|
30955
30955
|
handSource = _useState2[0],
|
|
30956
30956
|
setHandSource = _useState2[1];
|
|
30957
|
-
useEffect(
|
|
30957
|
+
useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30958
30958
|
var resData, data;
|
|
30959
30959
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30960
30960
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -31106,7 +31106,7 @@ function getRegularThresholdRange(_x) {
|
|
|
31106
31106
|
return _getRegularThresholdRange.apply(this, arguments);
|
|
31107
31107
|
}
|
|
31108
31108
|
function _getRegularThresholdRange() {
|
|
31109
|
-
_getRegularThresholdRange = _asyncToGenerator(
|
|
31109
|
+
_getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
31110
31110
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31111
31111
|
while (1) switch (_context.prev = _context.next) {
|
|
31112
31112
|
case 0:
|
|
@@ -31260,7 +31260,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31260
31260
|
};
|
|
31261
31261
|
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
31262
31262
|
_this.getRegularThresholdRange = /*#__PURE__*/function () {
|
|
31263
|
-
var _ref = _asyncToGenerator(
|
|
31263
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
31264
31264
|
var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
|
|
31265
31265
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31266
31266
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -32205,7 +32205,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32205
32205
|
isAll: true,
|
|
32206
32206
|
needNameAndCode: true,
|
|
32207
32207
|
notChangeOnSelect: true,
|
|
32208
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32208
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
32209
32209
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
32210
32210
|
while (1) switch (_context2.prev = _context2.next) {
|
|
32211
32211
|
case 0:
|
|
@@ -32254,7 +32254,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32254
32254
|
isAll: true,
|
|
32255
32255
|
needNameAndCode: true,
|
|
32256
32256
|
notChangeOnSelect: true,
|
|
32257
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32257
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
32258
32258
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
32259
32259
|
while (1) switch (_context3.prev = _context3.next) {
|
|
32260
32260
|
case 0:
|
|
@@ -32305,7 +32305,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32305
32305
|
isAll: true,
|
|
32306
32306
|
needNameAndCode: true,
|
|
32307
32307
|
notChangeOnSelect: true,
|
|
32308
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32308
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
32309
32309
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
32310
32310
|
while (1) switch (_context4.prev = _context4.next) {
|
|
32311
32311
|
case 0:
|
|
@@ -34269,7 +34269,7 @@ var App$1 = function App(_ref) {
|
|
|
34269
34269
|
borderRadius: '5px',
|
|
34270
34270
|
cursor: 'pointer'
|
|
34271
34271
|
}
|
|
34272
|
-
}, isStaticNumber ? (
|
|
34272
|
+
}, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
|
|
34273
34273
|
autoFocus: true,
|
|
34274
34274
|
onClick: function onClick(e) {
|
|
34275
34275
|
return e.stopPropagation();
|
|
@@ -34556,7 +34556,7 @@ function RenderCompItem(props) {
|
|
|
34556
34556
|
dictData = _useState2[0],
|
|
34557
34557
|
setDictData = _useState2[1];
|
|
34558
34558
|
var getDictData = /*#__PURE__*/function () {
|
|
34559
|
-
var _ref = _asyncToGenerator(
|
|
34559
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
34560
34560
|
var _data$map;
|
|
34561
34561
|
var data;
|
|
34562
34562
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -34598,7 +34598,7 @@ function RenderCompItem(props) {
|
|
|
34598
34598
|
var style2 = {
|
|
34599
34599
|
width: '100px'
|
|
34600
34600
|
};
|
|
34601
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (
|
|
34601
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React$1.createElement(Input, {
|
|
34602
34602
|
disabled: disabled,
|
|
34603
34603
|
allowClear: true,
|
|
34604
34604
|
onClear: function onClear() {
|
|
@@ -34609,7 +34609,7 @@ function RenderCompItem(props) {
|
|
|
34609
34609
|
onBlur: function onBlur(e) {
|
|
34610
34610
|
handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
|
|
34611
34611
|
}
|
|
34612
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && (
|
|
34612
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && (/*#__PURE__*/React$1.createElement(InputNumber, {
|
|
34613
34613
|
disabled: disabled,
|
|
34614
34614
|
// max={Number.MAX_SAFE_INTEGER}
|
|
34615
34615
|
max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
|
|
@@ -34622,7 +34622,7 @@ function RenderCompItem(props) {
|
|
|
34622
34622
|
onChange: function onChange(value) {
|
|
34623
34623
|
handleEdit(ites.code, value);
|
|
34624
34624
|
}
|
|
34625
|
-
})) || 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) && (
|
|
34625
|
+
})) || 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$1.createElement(DatePicker, {
|
|
34626
34626
|
showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
|
|
34627
34627
|
format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
|
|
34628
34628
|
disabled: disabled,
|
|
@@ -34632,7 +34632,7 @@ function RenderCompItem(props) {
|
|
|
34632
34632
|
onChange: function onChange(value, dateString) {
|
|
34633
34633
|
handleEdit(ites.code, dateString);
|
|
34634
34634
|
}
|
|
34635
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (
|
|
34635
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React$1.createElement(RangePicker$1, {
|
|
34636
34636
|
showTime: true,
|
|
34637
34637
|
disabled: disabled,
|
|
34638
34638
|
defaultValue: ites.defaultValue,
|
|
@@ -34641,7 +34641,7 @@ function RenderCompItem(props) {
|
|
|
34641
34641
|
onChange: function onChange(value, timeString) {
|
|
34642
34642
|
handleEdit(ites.code, timeString);
|
|
34643
34643
|
}
|
|
34644
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (
|
|
34644
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React$1.createElement(Switch, {
|
|
34645
34645
|
disabled: disabled,
|
|
34646
34646
|
defaultChecked: !!ites.defaultValue,
|
|
34647
34647
|
style: style2,
|
|
@@ -34649,7 +34649,7 @@ function RenderCompItem(props) {
|
|
|
34649
34649
|
onChange: function onChange(value) {
|
|
34650
34650
|
handleEdit(ites.code, value);
|
|
34651
34651
|
}
|
|
34652
|
-
})) || 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) === 10 && (
|
|
34652
|
+
})) || 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) === 10 && (/*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
|
|
34653
34653
|
disabled: disabled,
|
|
34654
34654
|
allowClear: true,
|
|
34655
34655
|
showArrow: true
|
|
@@ -34667,7 +34667,7 @@ function RenderCompItem(props) {
|
|
|
34667
34667
|
key: it,
|
|
34668
34668
|
value: it
|
|
34669
34669
|
}, ites.enumeration[it]);
|
|
34670
|
-
}))) || 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 && (
|
|
34670
|
+
}))) || 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$1.createElement(InnerSelect, {
|
|
34671
34671
|
disabled: disabled,
|
|
34672
34672
|
inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
|
|
34673
34673
|
defaultValue: ites.defaultValue,
|
|
@@ -34677,7 +34677,7 @@ function RenderCompItem(props) {
|
|
|
34677
34677
|
handleEdit(ites.code, value);
|
|
34678
34678
|
},
|
|
34679
34679
|
dictionaryCode: ites.dictionaryCode
|
|
34680
|
-
})) || 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 && (
|
|
34680
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
34681
34681
|
selectBusinessType: "physicalWarehouse",
|
|
34682
34682
|
selectProps: _objectSpread2({
|
|
34683
34683
|
style: styleCommon,
|
|
@@ -34699,7 +34699,7 @@ function RenderCompItem(props) {
|
|
|
34699
34699
|
getPopupContainer: function getPopupContainer() {
|
|
34700
34700
|
return document.body;
|
|
34701
34701
|
}
|
|
34702
|
-
})) || 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) === 120 && (
|
|
34702
|
+
})) || 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) === 120 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34703
34703
|
selectBusinessType: "realWarehouse",
|
|
34704
34704
|
selectProps: _objectSpread2({
|
|
34705
34705
|
style: styleCommon,
|
|
@@ -34721,7 +34721,7 @@ function RenderCompItem(props) {
|
|
|
34721
34721
|
getPopupContainer: function getPopupContainer() {
|
|
34722
34722
|
return document.body;
|
|
34723
34723
|
}
|
|
34724
|
-
})) || 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) === 130 && (
|
|
34724
|
+
})) || 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) === 130 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34725
34725
|
selectBusinessType: "virtualWarehouse",
|
|
34726
34726
|
selectProps: _objectSpread2({
|
|
34727
34727
|
style: styleCommon,
|
|
@@ -34743,7 +34743,7 @@ function RenderCompItem(props) {
|
|
|
34743
34743
|
getPopupContainer: function getPopupContainer() {
|
|
34744
34744
|
return document.body;
|
|
34745
34745
|
}
|
|
34746
|
-
})) || 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) === 140 && (
|
|
34746
|
+
})) || 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) === 140 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34747
34747
|
selectBusinessType: "channelWarehouse",
|
|
34748
34748
|
selectProps: _objectSpread2({
|
|
34749
34749
|
style: styleCommon,
|
|
@@ -34765,7 +34765,7 @@ function RenderCompItem(props) {
|
|
|
34765
34765
|
getPopupContainer: function getPopupContainer() {
|
|
34766
34766
|
return document.body;
|
|
34767
34767
|
}
|
|
34768
|
-
})) || 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) === 150 && (
|
|
34768
|
+
})) || 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) === 150 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34769
34769
|
selectBusinessType: "spuCommodity",
|
|
34770
34770
|
selectProps: _objectSpread2({
|
|
34771
34771
|
style: styleCommon,
|
|
@@ -34786,7 +34786,7 @@ function RenderCompItem(props) {
|
|
|
34786
34786
|
getPopupContainer: function getPopupContainer() {
|
|
34787
34787
|
return document.body;
|
|
34788
34788
|
}
|
|
34789
|
-
})) || 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) === 160 && (
|
|
34789
|
+
})) || 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) === 160 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34790
34790
|
selectBusinessType: "skuCommodity",
|
|
34791
34791
|
selectProps: _objectSpread2({
|
|
34792
34792
|
style: styleCommon,
|
|
@@ -34807,13 +34807,13 @@ function RenderCompItem(props) {
|
|
|
34807
34807
|
getPopupContainer: function getPopupContainer() {
|
|
34808
34808
|
return document.body;
|
|
34809
34809
|
}
|
|
34810
|
-
})) || 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) === 190 && (
|
|
34810
|
+
})) || 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) === 190 && (/*#__PURE__*/React$1.createElement(BsCascader, {
|
|
34811
34811
|
disabled: disabled,
|
|
34812
34812
|
isAll: true,
|
|
34813
34813
|
needNameAndCode: true,
|
|
34814
34814
|
notChangeOnSelect: true,
|
|
34815
34815
|
initRequestSource: function () {
|
|
34816
|
-
var _initRequestSource = _asyncToGenerator(
|
|
34816
|
+
var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
34817
34817
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
34818
34818
|
while (1) switch (_context2.prev = _context2.next) {
|
|
34819
34819
|
case 0:
|
|
@@ -34855,7 +34855,7 @@ function RenderCompItem(props) {
|
|
|
34855
34855
|
getPopupContainer: function getPopupContainer() {
|
|
34856
34856
|
return document.body;
|
|
34857
34857
|
}
|
|
34858
|
-
})) || 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) === 210 && (
|
|
34858
|
+
})) || 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) === 210 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
|
|
34859
34859
|
disabled: disabled,
|
|
34860
34860
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
34861
34861
|
businessType: "department",
|
|
@@ -34868,7 +34868,7 @@ function RenderCompItem(props) {
|
|
|
34868
34868
|
getPopupContainer: function getPopupContainer() {
|
|
34869
34869
|
return document.body;
|
|
34870
34870
|
}
|
|
34871
|
-
})) || 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) === 220 && (
|
|
34871
|
+
})) || 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) === 220 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
|
|
34872
34872
|
disabled: disabled,
|
|
34873
34873
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
34874
34874
|
businessType: "purchase-organization",
|
|
@@ -34881,7 +34881,7 @@ function RenderCompItem(props) {
|
|
|
34881
34881
|
getPopupContainer: function getPopupContainer() {
|
|
34882
34882
|
return document.body;
|
|
34883
34883
|
}
|
|
34884
|
-
})) || 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) === 230 && (
|
|
34884
|
+
})) || 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) === 230 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
|
|
34885
34885
|
disabled: disabled,
|
|
34886
34886
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
34887
34887
|
businessType: "sales-organization",
|
|
@@ -34894,7 +34894,7 @@ function RenderCompItem(props) {
|
|
|
34894
34894
|
getPopupContainer: function getPopupContainer() {
|
|
34895
34895
|
return document.body;
|
|
34896
34896
|
}
|
|
34897
|
-
})) || 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) === 240 && (
|
|
34897
|
+
})) || 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) === 240 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34898
34898
|
selectBusinessType: "supplier2",
|
|
34899
34899
|
selectProps: _objectSpread2({
|
|
34900
34900
|
style: styleCommon,
|
|
@@ -34915,7 +34915,7 @@ function RenderCompItem(props) {
|
|
|
34915
34915
|
getPopupContainer: function getPopupContainer() {
|
|
34916
34916
|
return document.body;
|
|
34917
34917
|
}
|
|
34918
|
-
})) || 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) === 250 && (
|
|
34918
|
+
})) || 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) === 250 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34919
34919
|
selectBusinessType: "customer2",
|
|
34920
34920
|
selectProps: _objectSpread2({
|
|
34921
34921
|
style: styleCommon,
|
|
@@ -34936,7 +34936,7 @@ function RenderCompItem(props) {
|
|
|
34936
34936
|
getPopupContainer: function getPopupContainer() {
|
|
34937
34937
|
return document.body;
|
|
34938
34938
|
}
|
|
34939
|
-
})) || 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) === 260 && (
|
|
34939
|
+
})) || 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) === 260 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34940
34940
|
selectBusinessType: "shopFile2",
|
|
34941
34941
|
selectProps: _objectSpread2({
|
|
34942
34942
|
style: styleCommon,
|
|
@@ -34957,7 +34957,7 @@ function RenderCompItem(props) {
|
|
|
34957
34957
|
getPopupContainer: function getPopupContainer() {
|
|
34958
34958
|
return document.body;
|
|
34959
34959
|
}
|
|
34960
|
-
})) || 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) === 270 && (
|
|
34960
|
+
})) || 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) === 270 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
34961
34961
|
selectBusinessType: "employee2",
|
|
34962
34962
|
selectProps: _objectSpread2({
|
|
34963
34963
|
style: styleCommon,
|
|
@@ -34978,7 +34978,7 @@ function RenderCompItem(props) {
|
|
|
34978
34978
|
getPopupContainer: function getPopupContainer() {
|
|
34979
34979
|
return document.body;
|
|
34980
34980
|
}
|
|
34981
|
-
})) || 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) === 280 && (
|
|
34981
|
+
})) || 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) === 280 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
|
|
34982
34982
|
disabled: disabled,
|
|
34983
34983
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
34984
34984
|
businessType: "stock-organization",
|
|
@@ -34991,7 +34991,7 @@ function RenderCompItem(props) {
|
|
|
34991
34991
|
getPopupContainer: function getPopupContainer() {
|
|
34992
34992
|
return document.body;
|
|
34993
34993
|
}
|
|
34994
|
-
})) || 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 && (
|
|
34994
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
34995
34995
|
disabled: disabled,
|
|
34996
34996
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
34997
34997
|
businessType: "settle-organization",
|
|
@@ -35004,7 +35004,7 @@ function RenderCompItem(props) {
|
|
|
35004
35004
|
getPopupContainer: function getPopupContainer() {
|
|
35005
35005
|
return document.body;
|
|
35006
35006
|
}
|
|
35007
|
-
})) || 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 && (
|
|
35007
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35008
35008
|
selectBusinessType: "deliveryMode",
|
|
35009
35009
|
selectProps: _objectSpread2({
|
|
35010
35010
|
style: styleCommon,
|
|
@@ -35025,7 +35025,7 @@ function RenderCompItem(props) {
|
|
|
35025
35025
|
getPopupContainer: function getPopupContainer() {
|
|
35026
35026
|
return document.body;
|
|
35027
35027
|
}
|
|
35028
|
-
})) || 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 && (
|
|
35028
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35029
35029
|
selectBusinessType: "role",
|
|
35030
35030
|
selectProps: _objectSpread2({
|
|
35031
35031
|
style: styleCommon,
|
|
@@ -35046,7 +35046,7 @@ function RenderCompItem(props) {
|
|
|
35046
35046
|
getPopupContainer: function getPopupContainer() {
|
|
35047
35047
|
return document.body;
|
|
35048
35048
|
}
|
|
35049
|
-
})) || 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) === 410 && (
|
|
35049
|
+
})) || 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) === 410 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
35050
35050
|
selectBusinessType: "brand",
|
|
35051
35051
|
selectProps: _objectSpread2({
|
|
35052
35052
|
style: styleCommon,
|
|
@@ -35067,7 +35067,7 @@ function RenderCompItem(props) {
|
|
|
35067
35067
|
getPopupContainer: function getPopupContainer() {
|
|
35068
35068
|
return document.body;
|
|
35069
35069
|
}
|
|
35070
|
-
})) || 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) === 420 && (
|
|
35070
|
+
})) || 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) === 420 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35071
35071
|
disabled: disabled,
|
|
35072
35072
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35073
35073
|
businessType: "background-category",
|
|
@@ -35080,7 +35080,7 @@ function RenderCompItem(props) {
|
|
|
35080
35080
|
getPopupContainer: function getPopupContainer() {
|
|
35081
35081
|
return document.body;
|
|
35082
35082
|
}
|
|
35083
|
-
})) || 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) === 40 && (
|
|
35083
|
+
})) || 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) === 40 && (/*#__PURE__*/React$1.createElement(CustomSelector, {
|
|
35084
35084
|
selectProps: _objectSpread2(_objectSpread2({
|
|
35085
35085
|
style: styleCommon,
|
|
35086
35086
|
placeholder: '请选择'
|
|
@@ -35103,7 +35103,7 @@ function RenderCompItem(props) {
|
|
|
35103
35103
|
onChange: function onChange(value) {
|
|
35104
35104
|
handleEdit(ites.code, value);
|
|
35105
35105
|
}
|
|
35106
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (
|
|
35106
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
|
|
35107
35107
|
style: {
|
|
35108
35108
|
display: 'flex'
|
|
35109
35109
|
}
|
|
@@ -35615,7 +35615,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
35615
35615
|
queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
|
|
35616
35616
|
queryIdentifyType = 'dynamicDictCodeIdentify';
|
|
35617
35617
|
}
|
|
35618
|
-
var parallelTreeData =
|
|
35618
|
+
var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
|
|
35619
35619
|
var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
|
|
35620
35620
|
var _i$key;
|
|
35621
35621
|
return ((i === null || i === void 0 ? void 0 : (_i$key = i.key) === null || _i$key === void 0 ? void 0 : _i$key.indexOf('.')) > -1 ? i.id : i.key) === (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId);
|
|
@@ -36542,13 +36542,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
|
|
|
36542
36542
|
var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
|
|
36543
36543
|
// 处理对象-设置了必填-规则实例保存时数据必填校验
|
|
36544
36544
|
if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
|
|
36545
|
-
var list =
|
|
36545
|
+
var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
|
|
36546
36546
|
var requiredList = list.filter(function (c) {
|
|
36547
36547
|
return c.required == 1;
|
|
36548
36548
|
}) || []; // 获取对象属性为true的集合
|
|
36549
36549
|
(requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
|
|
36550
36550
|
var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
|
|
36551
|
-
var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ?
|
|
36551
|
+
var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? _coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
|
|
36552
36552
|
(coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : coverExpressionTree.length) && (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : (_coverExpressionTree$ = coverExpressionTree.forEach) === null || _coverExpressionTree$ === void 0 ? void 0 : _coverExpressionTree$.call(coverExpressionTree, function (e) {
|
|
36553
36553
|
if (requiredList.some(function (r) {
|
|
36554
36554
|
return r.id === e.elementId;
|
|
@@ -37137,7 +37137,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37137
37137
|
style: {
|
|
37138
37138
|
float: 'right'
|
|
37139
37139
|
}
|
|
37140
|
-
})), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (
|
|
37140
|
+
})), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
|
|
37141
37141
|
onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
|
|
37142
37142
|
ruleGroupInfo: {
|
|
37143
37143
|
ruleGroupList: ruleGroupList,
|
|
@@ -37155,7 +37155,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37155
37155
|
callBack: function callBack(newData) {
|
|
37156
37156
|
upDateData(newData);
|
|
37157
37157
|
}
|
|
37158
|
-
}))) : (
|
|
37158
|
+
}))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
37159
37159
|
style: {
|
|
37160
37160
|
padding: 20
|
|
37161
37161
|
}
|
|
@@ -37530,4 +37530,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
37530
37530
|
}, children));
|
|
37531
37531
|
};
|
|
37532
37532
|
|
|
37533
|
-
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
|
|
37533
|
+
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
|