@bit-sun/business-component 4.0.12-alpha.10 → 4.0.12-alpha.11
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
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"
|
|
@@ -4075,7 +4075,7 @@ function ToCDB(str) {
|
|
|
4075
4075
|
return tmp;
|
|
4076
4076
|
}
|
|
4077
4077
|
|
|
4078
|
-
var css_248z$5 = ".search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table-cell .ant-table-selection-column .ant-radio,\n.search_select_dropdown_table table tr td.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n overflow: hidden;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n";
|
|
4078
|
+
var css_248z$5 = ".search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(150%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table-cell .ant-table-selection-column .ant-radio,\n.search_select_dropdown_table table tr td.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n overflow: hidden;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n";
|
|
4079
4079
|
styleInject(css_248z$5);
|
|
4080
4080
|
|
|
4081
4081
|
var columnsPerRow = 4; // 每行的列数
|
|
@@ -4128,7 +4128,7 @@ var zhankaitiaojian = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enco
|
|
|
4128
4128
|
|
|
4129
4129
|
var Option$1 = Select.Option;
|
|
4130
4130
|
var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
4131
|
-
var _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
4131
|
+
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
4132
4132
|
var value = props.value,
|
|
4133
4133
|
onChangeTemp = props.onChange,
|
|
4134
4134
|
_props$selectProps = props.selectProps,
|
|
@@ -4190,8 +4190,11 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4190
4190
|
listHeight: 160,
|
|
4191
4191
|
optionLabelProp: "label",
|
|
4192
4192
|
autoClearSearchValue: false,
|
|
4193
|
-
placement: '
|
|
4193
|
+
placement: 'bottomRight'
|
|
4194
4194
|
});
|
|
4195
|
+
var pathname = window.location.href;
|
|
4196
|
+
var pattern = /(action|create|edit|view)/;
|
|
4197
|
+
var isFormPage = ((_pathname$match = pathname.match(pattern)) === null || _pathname$match === void 0 ? void 0 : _pathname$match.length) > 0;
|
|
4195
4198
|
var initPagination = {
|
|
4196
4199
|
showQuickJumper: true,
|
|
4197
4200
|
showSizeChanger: false,
|
|
@@ -5316,13 +5319,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5316
5319
|
var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
|
|
5317
5320
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
5318
5321
|
className: 'search_select'
|
|
5319
|
-
}, fieldComponent ? (
|
|
5322
|
+
}, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
|
|
5320
5323
|
onClick: function onClick() {
|
|
5321
5324
|
var _fieldComponent$props, _fieldComponent$props2;
|
|
5322
5325
|
(_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);
|
|
5323
5326
|
showModal();
|
|
5324
5327
|
}
|
|
5325
|
-
}, fieldComponent)) : isShouldShowStr ? (
|
|
5328
|
+
}, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
|
|
5326
5329
|
title: getShowStr(),
|
|
5327
5330
|
style: {
|
|
5328
5331
|
overflow: 'hidden',
|
|
@@ -5331,7 +5334,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5331
5334
|
},
|
|
5332
5335
|
className: 'search_select_show'
|
|
5333
5336
|
}, getShowStr())) : /*#__PURE__*/React$1.createElement("div", {
|
|
5334
|
-
className: "search_select_show",
|
|
5337
|
+
className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
|
|
5335
5338
|
id: "search_select_div_".concat(uniqueValue)
|
|
5336
5339
|
}, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
5337
5340
|
labelInValue: labelInValue,
|
|
@@ -5349,10 +5352,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5349
5352
|
dropdownRender: function dropdownRender(menu) {
|
|
5350
5353
|
return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
|
|
5351
5354
|
},
|
|
5352
|
-
notFoundContent: fetching ? (
|
|
5355
|
+
notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
|
|
5353
5356
|
size: "small",
|
|
5354
5357
|
className: 'searchSelectSpin'
|
|
5355
|
-
})) : (
|
|
5358
|
+
})) : (/*#__PURE__*/React$1.createElement("div", {
|
|
5356
5359
|
style: {
|
|
5357
5360
|
textAlign: 'center'
|
|
5358
5361
|
}
|
|
@@ -5373,7 +5376,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5373
5376
|
}, /*#__PURE__*/React$1.createElement(SearchOutlined, null))
|
|
5374
5377
|
} : {}), currentSelectProps), {}, {
|
|
5375
5378
|
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
5376
|
-
return _getPopupContainer && _getPopupContainer(triggerNode)
|
|
5379
|
+
return triggerNode.parentElement || _getPopupContainer && _getPopupContainer(triggerNode);
|
|
5377
5380
|
}
|
|
5378
5381
|
}), items.map(function (item) {
|
|
5379
5382
|
return /*#__PURE__*/React$1.createElement(Option$1, {
|
|
@@ -5383,7 +5386,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5383
5386
|
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
5384
5387
|
filterTxt: searchValue
|
|
5385
5388
|
}));
|
|
5386
|
-
}))), needModalTable && isModalVisible && (
|
|
5389
|
+
}))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
5387
5390
|
maskClosable: false,
|
|
5388
5391
|
destroyOnClose: true,
|
|
5389
5392
|
width: "80%",
|
|
@@ -5980,7 +5983,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5980
5983
|
style: {
|
|
5981
5984
|
width: 525
|
|
5982
5985
|
}
|
|
5983
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
5986
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
5984
5987
|
checked: !dataSource.some(function (item) {
|
|
5985
5988
|
if (item.hidden) return true;
|
|
5986
5989
|
return false;
|
|
@@ -6018,13 +6021,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6018
6021
|
_this2.onChange(e, item.title);
|
|
6019
6022
|
}
|
|
6020
6023
|
}, item.title);
|
|
6021
|
-
}), !!seatchDataSource.length && (
|
|
6024
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
6022
6025
|
style: {
|
|
6023
6026
|
width: '144px'
|
|
6024
6027
|
}
|
|
6025
|
-
})), !seatchDataSource.length && (
|
|
6028
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
6026
6029
|
className: 'sort_table_column_all_empty'
|
|
6027
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
6030
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
6028
6031
|
className: 'sort_table_column_special'
|
|
6029
6032
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
6030
6033
|
className: 'sort_table_column_all'
|
|
@@ -6213,7 +6216,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
|
|
|
6213
6216
|
});
|
|
6214
6217
|
};
|
|
6215
6218
|
// 格式化树选择器数据源
|
|
6216
|
-
var
|
|
6219
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
6217
6220
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
6218
6221
|
return {
|
|
6219
6222
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -6223,7 +6226,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
|
6223
6226
|
isLeaf: !haveChildren,
|
|
6224
6227
|
disabled: haveChildren,
|
|
6225
6228
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
6226
|
-
return
|
|
6229
|
+
return _mapSearchTree(i, resKeyValue);
|
|
6227
6230
|
}) : []
|
|
6228
6231
|
};
|
|
6229
6232
|
};
|
|
@@ -6232,7 +6235,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
|
|
|
6232
6235
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
|
|
6233
6236
|
var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
|
|
6234
6237
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
6235
|
-
return
|
|
6238
|
+
return _mapSearchTree(ites, resKeyValue);
|
|
6236
6239
|
}) || [];
|
|
6237
6240
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
6238
6241
|
};
|
|
@@ -6403,7 +6406,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6403
6406
|
var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
|
|
6404
6407
|
// FIXME: 特殊业务逻辑
|
|
6405
6408
|
var checkSelectChange = /*#__PURE__*/function () {
|
|
6406
|
-
var _ref2 = _asyncToGenerator(
|
|
6409
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
6407
6410
|
var result;
|
|
6408
6411
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6409
6412
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6656,7 +6659,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6656
6659
|
return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
|
|
6657
6660
|
value: text || null,
|
|
6658
6661
|
onChange: function () {
|
|
6659
|
-
var _onChange = _asyncToGenerator(
|
|
6662
|
+
var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
|
|
6660
6663
|
var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
|
|
6661
6664
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
6662
6665
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -7264,10 +7267,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7264
7267
|
var newColumns = arr.map(function (col) {
|
|
7265
7268
|
return _objectSpread2({}, col);
|
|
7266
7269
|
});
|
|
7267
|
-
var
|
|
7270
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
7268
7271
|
var i = indexArr.shift();
|
|
7269
7272
|
if (indexArr.length > 0) {
|
|
7270
|
-
|
|
7273
|
+
_handleIndex(arr[i].children, indexArr);
|
|
7271
7274
|
} else {
|
|
7272
7275
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
7273
7276
|
width: size.width
|
|
@@ -7275,7 +7278,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7275
7278
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
7276
7279
|
}
|
|
7277
7280
|
};
|
|
7278
|
-
|
|
7281
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
7279
7282
|
callback(newColumns);
|
|
7280
7283
|
};
|
|
7281
7284
|
};
|
|
@@ -7285,13 +7288,13 @@ var AddSelect = function AddSelect(props) {
|
|
|
7285
7288
|
var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
|
|
7286
7289
|
setShowToChooseColumns(_toConsumableArray(newColumns));
|
|
7287
7290
|
};
|
|
7288
|
-
var
|
|
7291
|
+
var _handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
7289
7292
|
arr.forEach(function (item, index) {
|
|
7290
7293
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
7291
7294
|
return i || i === 0;
|
|
7292
7295
|
});
|
|
7293
7296
|
if (noEmptyArray$1(item.children)) {
|
|
7294
|
-
|
|
7297
|
+
_handleColumns(item.children, indexArrInside);
|
|
7295
7298
|
} else {
|
|
7296
7299
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
7297
7300
|
item.onHeaderCell = function (column) {
|
|
@@ -7307,14 +7310,14 @@ var AddSelect = function AddSelect(props) {
|
|
|
7307
7310
|
handleAntdColumnsSpecialParams(item);
|
|
7308
7311
|
return _objectSpread2({}, item);
|
|
7309
7312
|
});
|
|
7310
|
-
|
|
7313
|
+
_handleColumns(showToChooseCol, [], function (res) {
|
|
7311
7314
|
return setShowToChooseColumnsCallback(res);
|
|
7312
7315
|
});
|
|
7313
7316
|
var showSelectedCol = showColumns.map(function (item) {
|
|
7314
7317
|
handleAntdColumnsSpecialParams(item);
|
|
7315
7318
|
return _objectSpread2({}, item);
|
|
7316
7319
|
});
|
|
7317
|
-
|
|
7320
|
+
_handleColumns(showSelectedCol, [], function (res) {
|
|
7318
7321
|
return setShowColumnsCallback(res);
|
|
7319
7322
|
});
|
|
7320
7323
|
var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
|
|
@@ -7325,7 +7328,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7325
7328
|
id: "add_select_div_".concat(uniqueValue)
|
|
7326
7329
|
}, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
7327
7330
|
onClick: handleShowModal
|
|
7328
|
-
}, realButtonProps), buttonText)), isModalVisible && (
|
|
7331
|
+
}, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
7329
7332
|
width: '1200px',
|
|
7330
7333
|
style: {
|
|
7331
7334
|
top: 20
|
|
@@ -8239,7 +8242,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8239
8242
|
});
|
|
8240
8243
|
};
|
|
8241
8244
|
var handleSubmit = /*#__PURE__*/function () {
|
|
8242
|
-
var _ref4 = _asyncToGenerator(
|
|
8245
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8243
8246
|
var canEntryObject, _canEntryObject$error, messageInfo;
|
|
8244
8247
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8245
8248
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8322,10 +8325,10 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8322
8325
|
var newColumns = arr.map(function (col) {
|
|
8323
8326
|
return _objectSpread2({}, col);
|
|
8324
8327
|
});
|
|
8325
|
-
var
|
|
8328
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
8326
8329
|
var i = indexArr.shift();
|
|
8327
8330
|
if (indexArr.length > 0) {
|
|
8328
|
-
|
|
8331
|
+
_handleIndex(arr[i].children, indexArr);
|
|
8329
8332
|
} else {
|
|
8330
8333
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
8331
8334
|
width: size.width
|
|
@@ -8333,17 +8336,17 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8333
8336
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
8334
8337
|
}
|
|
8335
8338
|
};
|
|
8336
|
-
|
|
8339
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
8337
8340
|
callback(newColumns);
|
|
8338
8341
|
};
|
|
8339
8342
|
};
|
|
8340
|
-
var
|
|
8343
|
+
var _handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
8341
8344
|
arr.forEach(function (item, index) {
|
|
8342
8345
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
8343
8346
|
return i || i === 0;
|
|
8344
8347
|
});
|
|
8345
8348
|
if (noEmptyArray$1(item.children)) {
|
|
8346
|
-
|
|
8349
|
+
_handleColumns(item.children, indexArrInside);
|
|
8347
8350
|
} else {
|
|
8348
8351
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
8349
8352
|
item.onHeaderCell = function (column) {
|
|
@@ -8359,7 +8362,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8359
8362
|
handleAntdColumnsSpecialParams(item);
|
|
8360
8363
|
return _objectSpread2({}, item);
|
|
8361
8364
|
});
|
|
8362
|
-
|
|
8365
|
+
_handleColumns(showSelectedCol, [], function (res) {
|
|
8363
8366
|
return setShowColumnsCallback(res);
|
|
8364
8367
|
});
|
|
8365
8368
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -8673,7 +8676,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8673
8676
|
});
|
|
8674
8677
|
};
|
|
8675
8678
|
// 格式化树选择器数据源
|
|
8676
|
-
var
|
|
8679
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
|
|
8677
8680
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
8678
8681
|
return {
|
|
8679
8682
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -8683,7 +8686,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8683
8686
|
isLeaf: !haveChildren,
|
|
8684
8687
|
disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
|
|
8685
8688
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
8686
|
-
return
|
|
8689
|
+
return _mapSearchTree(i, resKeyValue, disabledJudge);
|
|
8687
8690
|
}) : []
|
|
8688
8691
|
};
|
|
8689
8692
|
};
|
|
@@ -8697,7 +8700,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8697
8700
|
disabledJudge = false;
|
|
8698
8701
|
}
|
|
8699
8702
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
8700
|
-
return
|
|
8703
|
+
return _mapSearchTree(ites, resKeyValue, disabledJudge);
|
|
8701
8704
|
}) || [];
|
|
8702
8705
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
8703
8706
|
};
|
|
@@ -12747,7 +12750,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
12747
12750
|
};
|
|
12748
12751
|
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
12749
12752
|
onClick: handleShowModal
|
|
12750
|
-
}, buttonProps), buttonName), modalProps.visible && (
|
|
12753
|
+
}, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
|
|
12751
12754
|
onOk: handleOk,
|
|
12752
12755
|
onCancel: handleCancel,
|
|
12753
12756
|
destroyOnClose: true,
|
|
@@ -12866,7 +12869,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12866
12869
|
treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
|
|
12867
12870
|
_remoteSource$special = remoteSource.specialBracket,
|
|
12868
12871
|
specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
|
|
12869
|
-
var
|
|
12872
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem) {
|
|
12870
12873
|
var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
|
|
12871
12874
|
var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
|
|
12872
12875
|
return {
|
|
@@ -12878,7 +12881,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12878
12881
|
isLeaf: !haveChildren,
|
|
12879
12882
|
disabled: isDisabled(haveChildren, isRoot),
|
|
12880
12883
|
children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
|
|
12881
|
-
return
|
|
12884
|
+
return _mapSearchTree(i);
|
|
12882
12885
|
}) : []
|
|
12883
12886
|
};
|
|
12884
12887
|
};
|
|
@@ -12896,8 +12899,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12896
12899
|
var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
|
|
12897
12900
|
requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
|
|
12898
12901
|
headers: headers
|
|
12899
|
-
}).then(
|
|
12900
|
-
var _ref = _asyncToGenerator(
|
|
12902
|
+
}).then(/*#__PURE__*/function () {
|
|
12903
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
12901
12904
|
var _ctx$form;
|
|
12902
12905
|
var resData, coverData, data, dataList;
|
|
12903
12906
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -12924,7 +12927,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12924
12927
|
case 9:
|
|
12925
12928
|
dataList = data && Array.isArray(data) ? data : data && [data] || [];
|
|
12926
12929
|
coverData = dataList.length && dataList.map(function (ites) {
|
|
12927
|
-
return
|
|
12930
|
+
return _mapSearchTree(ites);
|
|
12928
12931
|
}) || [];
|
|
12929
12932
|
case 11:
|
|
12930
12933
|
_context.next = 14;
|
|
@@ -12962,11 +12965,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12962
12965
|
return _formatResult;
|
|
12963
12966
|
}
|
|
12964
12967
|
};
|
|
12965
|
-
var
|
|
12968
|
+
var _parallelData = function parallelData(data, result) {
|
|
12966
12969
|
data.forEach(function (i) {
|
|
12967
12970
|
result.push(i);
|
|
12968
12971
|
if (i[treeChildrenRoom]) {
|
|
12969
|
-
|
|
12972
|
+
_parallelData(i[treeChildrenRoom], result);
|
|
12970
12973
|
}
|
|
12971
12974
|
});
|
|
12972
12975
|
return result;
|
|
@@ -13006,7 +13009,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13006
13009
|
var _ctx$form2;
|
|
13007
13010
|
var handleData = formatData(data);
|
|
13008
13011
|
// 获取选中树节点当条数据,并返回给调用业务
|
|
13009
|
-
var parallelTreeData =
|
|
13012
|
+
var parallelTreeData = _parallelData(treeData, []);
|
|
13010
13013
|
var currentItem = getSelectItem(parallelTreeData, data);
|
|
13011
13014
|
onChange(handleData, data, currentItem, parallelTreeData);
|
|
13012
13015
|
onChangeName && onChangeName(dataName);
|
|
@@ -13049,7 +13052,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13049
13052
|
var getShowStr = function getShowStr() {
|
|
13050
13053
|
var isMultiple = multiple || treeCheckable;
|
|
13051
13054
|
var kongValue = '无';
|
|
13052
|
-
var parallelTreeData =
|
|
13055
|
+
var parallelTreeData = _parallelData(treeData, []);
|
|
13053
13056
|
var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
|
|
13054
13057
|
if (isMultiple) {
|
|
13055
13058
|
return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
|
|
@@ -13061,7 +13064,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13061
13064
|
var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
|
|
13062
13065
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
13063
13066
|
className: 'tree_search_select'
|
|
13064
|
-
}, isShouldShowStr ? (
|
|
13067
|
+
}, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
|
|
13065
13068
|
title: getShowStr(),
|
|
13066
13069
|
style: {
|
|
13067
13070
|
overflow: 'hidden',
|
|
@@ -13069,7 +13072,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13069
13072
|
whiteSpace: 'nowrap'
|
|
13070
13073
|
},
|
|
13071
13074
|
className: 'search_select_show'
|
|
13072
|
-
}, getShowStr())) : (
|
|
13075
|
+
}, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
13073
13076
|
treeCheckable: treeCheckable,
|
|
13074
13077
|
maxTagCount: maxTagCount,
|
|
13075
13078
|
showSearch: showSearch,
|
|
@@ -13266,7 +13269,7 @@ var index$2 = (function (props) {
|
|
|
13266
13269
|
} : {}
|
|
13267
13270
|
}, item.text)), /*#__PURE__*/React$1.createElement("div", {
|
|
13268
13271
|
className: 'status-label-operate'
|
|
13269
|
-
}, item.isDone ? (
|
|
13272
|
+
}, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
|
|
13270
13273
|
title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
|
|
13271
13274
|
}, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
|
|
13272
13275
|
style: {
|
|
@@ -14047,7 +14050,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14047
14050
|
style: {
|
|
14048
14051
|
width: 525
|
|
14049
14052
|
}
|
|
14050
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
14053
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
14051
14054
|
checked: !dataSource.some(function (item) {
|
|
14052
14055
|
if (item.hidden) return true;
|
|
14053
14056
|
return false;
|
|
@@ -14085,13 +14088,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14085
14088
|
_this2.onChange(e, item.title);
|
|
14086
14089
|
}
|
|
14087
14090
|
}, item.title);
|
|
14088
|
-
}), !!seatchDataSource.length && (
|
|
14091
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
14089
14092
|
style: {
|
|
14090
14093
|
width: '144px'
|
|
14091
14094
|
}
|
|
14092
|
-
})), !seatchDataSource.length && (
|
|
14095
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
14093
14096
|
className: 'sort_table_column_all_empty'
|
|
14094
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
14097
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
14095
14098
|
className: 'sort_table_column_special'
|
|
14096
14099
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
14097
14100
|
className: 'sort_table_column_all'
|
|
@@ -14270,10 +14273,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14270
14273
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14271
14274
|
return _objectSpread2({}, col);
|
|
14272
14275
|
});
|
|
14273
|
-
var
|
|
14276
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
14274
14277
|
var i = indexArr.shift();
|
|
14275
14278
|
if (indexArr.length > 0) {
|
|
14276
|
-
|
|
14279
|
+
_handleIndex(arr[i].children, indexArr);
|
|
14277
14280
|
} else {
|
|
14278
14281
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14279
14282
|
width: size.width
|
|
@@ -14281,7 +14284,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14281
14284
|
handleBssulaColumnsSpecialParams(arr[i]);
|
|
14282
14285
|
}
|
|
14283
14286
|
};
|
|
14284
|
-
|
|
14287
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
14285
14288
|
_this.setState({
|
|
14286
14289
|
showColumns: _toConsumableArray(newColumns)
|
|
14287
14290
|
});
|
|
@@ -14322,7 +14325,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14322
14325
|
};
|
|
14323
14326
|
setIsResizing(true);
|
|
14324
14327
|
document.addEventListener('mousemove', handleMouseMove);
|
|
14325
|
-
document.addEventListener('mouseup',
|
|
14328
|
+
document.addEventListener('mouseup', _handleMouseUp);
|
|
14326
14329
|
};
|
|
14327
14330
|
var handleMouseMove = function handleMouseMove(e) {
|
|
14328
14331
|
e.stopPropagation();
|
|
@@ -14338,9 +14341,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14338
14341
|
dom.style.top = "".concat(e.clientY - 20, "px");
|
|
14339
14342
|
}
|
|
14340
14343
|
};
|
|
14341
|
-
var
|
|
14344
|
+
var _handleMouseUp = function handleMouseUp(e) {
|
|
14342
14345
|
document.removeEventListener('mousemove', handleMouseMove);
|
|
14343
|
-
document.removeEventListener('mouseup',
|
|
14346
|
+
document.removeEventListener('mouseup', _handleMouseUp);
|
|
14344
14347
|
setIsResizing(false);
|
|
14345
14348
|
};
|
|
14346
14349
|
var handleresize = function handleresize(e, data, title) {
|
|
@@ -14461,13 +14464,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14461
14464
|
showSummary = summary;
|
|
14462
14465
|
}
|
|
14463
14466
|
}
|
|
14464
|
-
var
|
|
14467
|
+
var _handleColumns = function handleColumns(arr, indexArr) {
|
|
14465
14468
|
arr.forEach(function (item, index) {
|
|
14466
14469
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
14467
14470
|
return i || i === 0;
|
|
14468
14471
|
});
|
|
14469
14472
|
if (noEmptyArray$1(item.children)) {
|
|
14470
|
-
|
|
14473
|
+
_handleColumns(item.children, indexArrInside);
|
|
14471
14474
|
} else {
|
|
14472
14475
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
14473
14476
|
item.onHeaderCell = function (column) {
|
|
@@ -14483,7 +14486,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14483
14486
|
handleBssulaColumnsSpecialParams(item);
|
|
14484
14487
|
return _objectSpread2({}, item);
|
|
14485
14488
|
});
|
|
14486
|
-
|
|
14489
|
+
_handleColumns(showCol, []);
|
|
14487
14490
|
if (dynamicColumns.length) {
|
|
14488
14491
|
showCol = this.handledynamicColumns(showCol);
|
|
14489
14492
|
}
|
|
@@ -14524,7 +14527,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14524
14527
|
cell: this.ResizeableTitle
|
|
14525
14528
|
}
|
|
14526
14529
|
}
|
|
14527
|
-
}, otherTableInfo)), Array.isArray(summary) && (
|
|
14530
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
|
|
14528
14531
|
summary: summary
|
|
14529
14532
|
})));
|
|
14530
14533
|
}
|
|
@@ -14621,10 +14624,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14621
14624
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14622
14625
|
return _objectSpread2({}, col);
|
|
14623
14626
|
});
|
|
14624
|
-
var
|
|
14627
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
14625
14628
|
var i = indexArr.shift();
|
|
14626
14629
|
if (indexArr.length > 0) {
|
|
14627
|
-
|
|
14630
|
+
_handleIndex(arr[i].children, indexArr);
|
|
14628
14631
|
} else {
|
|
14629
14632
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14630
14633
|
width: size.width
|
|
@@ -14632,7 +14635,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14632
14635
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
14633
14636
|
}
|
|
14634
14637
|
};
|
|
14635
|
-
|
|
14638
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
14636
14639
|
_this.setState({
|
|
14637
14640
|
showColumns: _toConsumableArray(newColumns)
|
|
14638
14641
|
});
|
|
@@ -14708,13 +14711,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14708
14711
|
showSummary = summary;
|
|
14709
14712
|
}
|
|
14710
14713
|
}
|
|
14711
|
-
var
|
|
14714
|
+
var _handleColumns = function handleColumns(arr, indexArr) {
|
|
14712
14715
|
arr.forEach(function (item, index) {
|
|
14713
14716
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
14714
14717
|
return i || i === 0;
|
|
14715
14718
|
});
|
|
14716
14719
|
if (noEmptyArray$1(item.children)) {
|
|
14717
|
-
|
|
14720
|
+
_handleColumns(item.children, indexArrInside);
|
|
14718
14721
|
} else {
|
|
14719
14722
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
14720
14723
|
item.onHeaderCell = function (column) {
|
|
@@ -14730,7 +14733,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14730
14733
|
handleAntdColumnsSpecialParams(item);
|
|
14731
14734
|
return _objectSpread2({}, item);
|
|
14732
14735
|
});
|
|
14733
|
-
|
|
14736
|
+
_handleColumns(showCol, []);
|
|
14734
14737
|
if (dynamicColumns.length) {
|
|
14735
14738
|
showCol = this.handledynamicColumns(showCol);
|
|
14736
14739
|
}
|
|
@@ -14770,7 +14773,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14770
14773
|
cell: this.ResizeableTitle
|
|
14771
14774
|
}
|
|
14772
14775
|
}
|
|
14773
|
-
}, otherTableInfo)), Array.isArray(summary) && (
|
|
14776
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
|
|
14774
14777
|
summary: summary
|
|
14775
14778
|
})));
|
|
14776
14779
|
}
|
|
@@ -14830,20 +14833,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
|
|
|
14830
14833
|
};
|
|
14831
14834
|
var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
14832
14835
|
var routerMap = {};
|
|
14833
|
-
var
|
|
14836
|
+
var _flattenMenuData2 = function flattenMenuData(data, parent) {
|
|
14834
14837
|
var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
|
|
14835
14838
|
data.forEach(function (menuItem) {
|
|
14836
14839
|
var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
|
|
14837
14840
|
nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
|
|
14838
14841
|
});
|
|
14839
14842
|
if (newMenuItem.children) {
|
|
14840
|
-
|
|
14843
|
+
_flattenMenuData2(newMenuItem.children, newMenuItem);
|
|
14841
14844
|
}
|
|
14842
14845
|
// Reduce memory usage
|
|
14843
14846
|
routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
|
|
14844
14847
|
});
|
|
14845
14848
|
};
|
|
14846
|
-
|
|
14849
|
+
_flattenMenuData2(menuData, {});
|
|
14847
14850
|
return routerMap;
|
|
14848
14851
|
};
|
|
14849
14852
|
// mode类型判断
|
|
@@ -15169,7 +15172,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15169
15172
|
display: 'flex',
|
|
15170
15173
|
gap: '8px'
|
|
15171
15174
|
}
|
|
15172
|
-
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (
|
|
15175
|
+
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
|
|
15173
15176
|
title: "\u53D6\u6D88\u5168\u5C4F"
|
|
15174
15177
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
15175
15178
|
onClick: function onClick() {
|
|
@@ -15177,7 +15180,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15177
15180
|
},
|
|
15178
15181
|
width: 24,
|
|
15179
15182
|
src: scanning
|
|
15180
|
-
}))) : (
|
|
15183
|
+
}))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
|
|
15181
15184
|
title: "\u5168\u5C4F"
|
|
15182
15185
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
15183
15186
|
onClick: function onClick() {
|
|
@@ -15185,7 +15188,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15185
15188
|
},
|
|
15186
15189
|
width: 24,
|
|
15187
15190
|
src: quanping
|
|
15188
|
-
}))))) : null)), alertProps && (
|
|
15191
|
+
}))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15189
15192
|
}, function (prevProps, nextProps) {
|
|
15190
15193
|
if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
|
|
15191
15194
|
return false;
|
|
@@ -15270,7 +15273,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15270
15273
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
15271
15274
|
className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
|
|
15272
15275
|
}, item));
|
|
15273
|
-
}))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (
|
|
15276
|
+
}))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15274
15277
|
}, function (prevProps, nextProps) {
|
|
15275
15278
|
if (prevProps.title !== nextProps.title) {
|
|
15276
15279
|
return false;
|
|
@@ -15910,7 +15913,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15910
15913
|
});
|
|
15911
15914
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15912
15915
|
className: 'sort_table_wrapper'
|
|
15913
|
-
}, visible && (
|
|
15916
|
+
}, visible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
15914
15917
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
15915
15918
|
wrapClassName: 'sort_table_wrapper',
|
|
15916
15919
|
width: 810,
|
|
@@ -15961,7 +15964,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15961
15964
|
width: 525,
|
|
15962
15965
|
height: 24
|
|
15963
15966
|
}
|
|
15964
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
15967
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
15965
15968
|
checked: !dataSource.some(function (item) {
|
|
15966
15969
|
if (item.hidden) return true;
|
|
15967
15970
|
return false;
|
|
@@ -16015,13 +16018,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16015
16018
|
_this2.onChange(e, item.title);
|
|
16016
16019
|
}
|
|
16017
16020
|
}, item.title);
|
|
16018
|
-
}), !!seatchDataSource.length && (
|
|
16021
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
16019
16022
|
style: {
|
|
16020
16023
|
width: '144px'
|
|
16021
16024
|
}
|
|
16022
|
-
})), !seatchDataSource.length && (
|
|
16025
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
16023
16026
|
className: 'sort_table_column_all_empty'
|
|
16024
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
16027
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
16025
16028
|
className: 'sort_table_column_special'
|
|
16026
16029
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
16027
16030
|
className: 'sort_table_column_all'
|
|
@@ -16495,7 +16498,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16495
16498
|
});
|
|
16496
16499
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
16497
16500
|
className: 'sort_table_wrapper'
|
|
16498
|
-
}, visible && (
|
|
16501
|
+
}, visible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
16499
16502
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
16500
16503
|
wrapClassName: 'sort_table_wrapper',
|
|
16501
16504
|
width: 820,
|
|
@@ -16540,7 +16543,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16540
16543
|
style: {
|
|
16541
16544
|
width: 525
|
|
16542
16545
|
}
|
|
16543
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
16546
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
16544
16547
|
checked: !dataSource.some(function (item) {
|
|
16545
16548
|
if (item.hidden) return true;
|
|
16546
16549
|
return false;
|
|
@@ -16576,11 +16579,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16576
16579
|
_this2.onChange(e, item.name);
|
|
16577
16580
|
}
|
|
16578
16581
|
}, item.label);
|
|
16579
|
-
}), !!newSearchSource.length && (
|
|
16582
|
+
}), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
16580
16583
|
style: {
|
|
16581
16584
|
width: '144px'
|
|
16582
16585
|
}
|
|
16583
|
-
})), !newSearchSource.length && (
|
|
16586
|
+
})), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
16584
16587
|
className: 'sort_table_column_all_empty'
|
|
16585
16588
|
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
|
|
16586
16589
|
className: 'sort_table_content_wrapper'
|
|
@@ -16679,7 +16682,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
16679
16682
|
};
|
|
16680
16683
|
setIsResizing(true);
|
|
16681
16684
|
document.addEventListener('mousemove', handleMouseMove);
|
|
16682
|
-
document.addEventListener('mouseup',
|
|
16685
|
+
document.addEventListener('mouseup', _handleMouseUp);
|
|
16683
16686
|
};
|
|
16684
16687
|
var handleMouseMove = function handleMouseMove(e) {
|
|
16685
16688
|
e.stopPropagation();
|
|
@@ -16695,9 +16698,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
16695
16698
|
dom.style.top = "".concat(e.clientY - 20, "px");
|
|
16696
16699
|
}
|
|
16697
16700
|
};
|
|
16698
|
-
var
|
|
16701
|
+
var _handleMouseUp = function handleMouseUp(e) {
|
|
16699
16702
|
document.removeEventListener('mousemove', handleMouseMove);
|
|
16700
|
-
document.removeEventListener('mouseup',
|
|
16703
|
+
document.removeEventListener('mouseup', _handleMouseUp);
|
|
16701
16704
|
setIsResizing(false);
|
|
16702
16705
|
};
|
|
16703
16706
|
var handleresize = function handleresize(e, data, title) {
|
|
@@ -17108,7 +17111,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17108
17111
|
actionsRender = actionsRender.concat([{
|
|
17109
17112
|
type: 'text',
|
|
17110
17113
|
props: {
|
|
17111
|
-
children: (
|
|
17114
|
+
children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
|
|
17112
17115
|
request: {
|
|
17113
17116
|
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),
|
|
17114
17117
|
params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
|
|
@@ -17354,7 +17357,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17354
17357
|
datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
|
|
17355
17358
|
bsTableCode: bsTableCode,
|
|
17356
17359
|
onlyModal: true
|
|
17357
|
-
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (
|
|
17360
|
+
}), (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, {
|
|
17358
17361
|
ref: exportTableRef,
|
|
17359
17362
|
setShowColumns: setShowExportColumns,
|
|
17360
17363
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -17447,11 +17450,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17447
17450
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
17448
17451
|
var resultList = [];
|
|
17449
17452
|
var newRouter = cloneDeep(router);
|
|
17450
|
-
var
|
|
17453
|
+
var _deep = function deep(router) {
|
|
17451
17454
|
if (router && Array.isArray(router)) {
|
|
17452
17455
|
router.forEach(function (item) {
|
|
17453
17456
|
if (item.children && Array.isArray(item.children)) {
|
|
17454
|
-
|
|
17457
|
+
_deep(item.children);
|
|
17455
17458
|
} else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
|
|
17456
17459
|
return d === item.code;
|
|
17457
17460
|
})) {
|
|
@@ -17465,10 +17468,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17465
17468
|
resultList.push(_objectSpread2({}, router));
|
|
17466
17469
|
}
|
|
17467
17470
|
};
|
|
17468
|
-
|
|
17471
|
+
_deep(newRouter);
|
|
17469
17472
|
callBack([].concat(resultList));
|
|
17470
17473
|
};
|
|
17471
|
-
var
|
|
17474
|
+
var _setMenuTreeData = function setMenuTreeData(routesData) {
|
|
17472
17475
|
var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
|
|
17473
17476
|
var _loop = function _loop(i) {
|
|
17474
17477
|
if (routesData[i].hideInMenu) {
|
|
@@ -17482,7 +17485,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
|
|
|
17482
17485
|
return 0; // continue
|
|
17483
17486
|
}
|
|
17484
17487
|
if (routesData[i].children) {
|
|
17485
|
-
|
|
17488
|
+
_setMenuTreeData(routesData[i].children);
|
|
17486
17489
|
}
|
|
17487
17490
|
},
|
|
17488
17491
|
_ret;
|
|
@@ -17503,16 +17506,16 @@ var setLoginOutPath = function setLoginOutPath() {
|
|
|
17503
17506
|
};
|
|
17504
17507
|
var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
|
|
17505
17508
|
var routerMap = {};
|
|
17506
|
-
var
|
|
17509
|
+
var _flattenMenuData = function flattenMenuData(data) {
|
|
17507
17510
|
data.forEach(function (menuItem) {
|
|
17508
17511
|
if (menuItem.children) {
|
|
17509
|
-
|
|
17512
|
+
_flattenMenuData(menuItem.children);
|
|
17510
17513
|
}
|
|
17511
17514
|
// Reduce memory usage
|
|
17512
17515
|
routerMap[menuItem.path] = menuItem;
|
|
17513
17516
|
});
|
|
17514
17517
|
};
|
|
17515
|
-
|
|
17518
|
+
_flattenMenuData(menuData);
|
|
17516
17519
|
return routerMap;
|
|
17517
17520
|
};
|
|
17518
17521
|
var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
|
|
@@ -17658,7 +17661,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17658
17661
|
sethomepageData(homepageDataList);
|
|
17659
17662
|
setroutesData(routesDataList);
|
|
17660
17663
|
}, []);
|
|
17661
|
-
var
|
|
17664
|
+
var _renderChildItem = function renderChildItem(child) {
|
|
17662
17665
|
if (!child.hideInMenu && child.children) {
|
|
17663
17666
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
|
|
17664
17667
|
style: {
|
|
@@ -17668,7 +17671,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17668
17671
|
}, formatMessage({
|
|
17669
17672
|
id: "".concat(child.locale)
|
|
17670
17673
|
})), child.children.map(function (menuItem) {
|
|
17671
|
-
return
|
|
17674
|
+
return _renderChildItem(menuItem);
|
|
17672
17675
|
}));
|
|
17673
17676
|
} else if (!child.hideInMenu && child.path) {
|
|
17674
17677
|
return /*#__PURE__*/React$1.createElement(List.Item, {
|
|
@@ -17703,7 +17706,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17703
17706
|
className: 'drawerWarp'
|
|
17704
17707
|
}, homepageData && homepageData.filter(function (d) {
|
|
17705
17708
|
return !d.hideInMenu;
|
|
17706
|
-
}).length > 0 && (
|
|
17709
|
+
}).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
|
|
17707
17710
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
17708
17711
|
dataSource: homepageData,
|
|
17709
17712
|
renderItem: function renderItem(child) {
|
|
@@ -17738,7 +17741,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17738
17741
|
bordered: true,
|
|
17739
17742
|
dataSource: item.children,
|
|
17740
17743
|
renderItem: function renderItem(child) {
|
|
17741
|
-
return
|
|
17744
|
+
return _renderChildItem(child);
|
|
17742
17745
|
}
|
|
17743
17746
|
});
|
|
17744
17747
|
})));
|
|
@@ -17798,7 +17801,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
17798
17801
|
src: allfunc
|
|
17799
17802
|
})), /*#__PURE__*/React$1.createElement("span", {
|
|
17800
17803
|
className: 'btnSpan2'
|
|
17801
|
-
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (
|
|
17804
|
+
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
17802
17805
|
style: {
|
|
17803
17806
|
left: isDrawer ? 140 : 0,
|
|
17804
17807
|
top: 50
|
|
@@ -17844,7 +17847,7 @@ function outLogin(_x) {
|
|
|
17844
17847
|
return _outLogin.apply(this, arguments);
|
|
17845
17848
|
}
|
|
17846
17849
|
function _outLogin() {
|
|
17847
|
-
_outLogin = _asyncToGenerator(
|
|
17850
|
+
_outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
17848
17851
|
var res;
|
|
17849
17852
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17850
17853
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -17986,7 +17989,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
17986
17989
|
});
|
|
17987
17990
|
};
|
|
17988
17991
|
var loginOut = /*#__PURE__*/function () {
|
|
17989
|
-
var _ref2 = _asyncToGenerator(
|
|
17992
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
17990
17993
|
var sessionId;
|
|
17991
17994
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17992
17995
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18090,7 +18093,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
18090
18093
|
marginRight: '0px'
|
|
18091
18094
|
},
|
|
18092
18095
|
src: './xialajiantou-new.svg'
|
|
18093
|
-
}))))), loginModalParams.visible && (
|
|
18096
|
+
}))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
|
|
18094
18097
|
};
|
|
18095
18098
|
|
|
18096
18099
|
// -- 查询店铺 --
|
|
@@ -18098,7 +18101,7 @@ function getStoreByName(_x) {
|
|
|
18098
18101
|
return _getStoreByName.apply(this, arguments);
|
|
18099
18102
|
}
|
|
18100
18103
|
function _getStoreByName() {
|
|
18101
|
-
_getStoreByName = _asyncToGenerator(
|
|
18104
|
+
_getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
18102
18105
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18103
18106
|
while (1) switch (_context.prev = _context.next) {
|
|
18104
18107
|
case 0:
|
|
@@ -18166,7 +18169,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18166
18169
|
return _fetchUserList.apply(this, arguments);
|
|
18167
18170
|
}
|
|
18168
18171
|
function _fetchUserList() {
|
|
18169
|
-
_fetchUserList = _asyncToGenerator(
|
|
18172
|
+
_fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
|
|
18170
18173
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
18171
18174
|
while (1) switch (_context3.prev = _context3.next) {
|
|
18172
18175
|
case 0:
|
|
@@ -18214,7 +18217,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18214
18217
|
return debounce$1(loadOptions, debounceTimeout);
|
|
18215
18218
|
}, [debounceTimeout, key]);
|
|
18216
18219
|
var changeInput = /*#__PURE__*/function () {
|
|
18217
|
-
var _ref = _asyncToGenerator(
|
|
18220
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
|
|
18218
18221
|
var res;
|
|
18219
18222
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18220
18223
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18236,7 +18239,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18236
18239
|
};
|
|
18237
18240
|
}();
|
|
18238
18241
|
useEffect(function () {
|
|
18239
|
-
_asyncToGenerator(
|
|
18242
|
+
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
18240
18243
|
var res;
|
|
18241
18244
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18242
18245
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -18401,7 +18404,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18401
18404
|
var resultList = [];
|
|
18402
18405
|
var newRouter = cloneDeep$1(router);
|
|
18403
18406
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
18404
|
-
var
|
|
18407
|
+
var _deep = function deep(router) {
|
|
18405
18408
|
if (router && Array.isArray(router)) {
|
|
18406
18409
|
router.forEach(function (item) {
|
|
18407
18410
|
if (item.routes && Array.isArray(item.routes)) {
|
|
@@ -18411,7 +18414,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18411
18414
|
d.nameEdit = true;
|
|
18412
18415
|
}
|
|
18413
18416
|
});
|
|
18414
|
-
|
|
18417
|
+
_deep(item.routes);
|
|
18415
18418
|
} else if (!item.hideInMenu && (name ? formatMessage({
|
|
18416
18419
|
id: "menu.".concat(item.name)
|
|
18417
18420
|
}).indexOf(name) !== -1 : true)) {
|
|
@@ -18430,7 +18433,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18430
18433
|
}));
|
|
18431
18434
|
}
|
|
18432
18435
|
};
|
|
18433
|
-
|
|
18436
|
+
_deep(newRouter);
|
|
18434
18437
|
setroutesData([].concat(resultList));
|
|
18435
18438
|
};
|
|
18436
18439
|
var renderLineStyl = function renderLineStyl(name) {
|
|
@@ -18512,7 +18515,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18512
18515
|
},
|
|
18513
18516
|
title: item.fullPathName
|
|
18514
18517
|
}, renderLineStyl(item.fullPathName));
|
|
18515
|
-
}))))), showSelectStore && (
|
|
18518
|
+
}))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
|
|
18516
18519
|
employeeCode: employeeCode
|
|
18517
18520
|
})), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
|
|
18518
18521
|
};
|
|
@@ -18527,7 +18530,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
18527
18530
|
var TreeNode = Tree.TreeNode;
|
|
18528
18531
|
var Search$2 = Input.Search;
|
|
18529
18532
|
var dataList = [];
|
|
18530
|
-
var
|
|
18533
|
+
var _generateList = function generateList(data) {
|
|
18531
18534
|
for (var i = 0; i < data.length; i++) {
|
|
18532
18535
|
var node = data[i];
|
|
18533
18536
|
var path = node.path,
|
|
@@ -18537,11 +18540,11 @@ var generateList = function generateList(data) {
|
|
|
18537
18540
|
name: name
|
|
18538
18541
|
});
|
|
18539
18542
|
if (node.children) {
|
|
18540
|
-
|
|
18543
|
+
_generateList(node.children);
|
|
18541
18544
|
}
|
|
18542
18545
|
}
|
|
18543
18546
|
};
|
|
18544
|
-
var
|
|
18547
|
+
var _getParentKey = function getParentKey(path, tree) {
|
|
18545
18548
|
var parentKey;
|
|
18546
18549
|
for (var i = 0; i < tree.length; i++) {
|
|
18547
18550
|
var node = tree[i];
|
|
@@ -18550,8 +18553,8 @@ var getParentKey = function getParentKey(path, tree) {
|
|
|
18550
18553
|
return item.path === path;
|
|
18551
18554
|
})) {
|
|
18552
18555
|
parentKey = node.path;
|
|
18553
|
-
} else if (
|
|
18554
|
-
parentKey =
|
|
18556
|
+
} else if (_getParentKey(path, node.children)) {
|
|
18557
|
+
parentKey = _getParentKey(path, node.children);
|
|
18555
18558
|
}
|
|
18556
18559
|
}
|
|
18557
18560
|
}
|
|
@@ -18582,7 +18585,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18582
18585
|
var treeData = _this.state.treeData;
|
|
18583
18586
|
var expandedKeys = dataList.map(function (item) {
|
|
18584
18587
|
if (item.name.indexOf(value) > -1) {
|
|
18585
|
-
return
|
|
18588
|
+
return _getParentKey(item.path, treeData);
|
|
18586
18589
|
}
|
|
18587
18590
|
return null;
|
|
18588
18591
|
}).filter(function (item, i, self) {
|
|
@@ -18596,22 +18599,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18596
18599
|
};
|
|
18597
18600
|
_this.getPathList = function (originData) {
|
|
18598
18601
|
var pathList = [];
|
|
18599
|
-
var
|
|
18602
|
+
var _getList = function getList(data) {
|
|
18600
18603
|
if (Array.isArray(data)) {
|
|
18601
18604
|
data.forEach(function (item) {
|
|
18602
18605
|
pathList.push(item.path);
|
|
18603
18606
|
if (item.children) {
|
|
18604
|
-
|
|
18607
|
+
_getList(item.children);
|
|
18605
18608
|
}
|
|
18606
18609
|
});
|
|
18607
18610
|
} else {
|
|
18608
18611
|
pathList.push(data.path);
|
|
18609
18612
|
if (data.children) {
|
|
18610
|
-
|
|
18613
|
+
_getList(data.children);
|
|
18611
18614
|
}
|
|
18612
18615
|
}
|
|
18613
18616
|
};
|
|
18614
|
-
|
|
18617
|
+
_getList(originData);
|
|
18615
18618
|
return pathList;
|
|
18616
18619
|
};
|
|
18617
18620
|
_this.handleAdd2Menu = function (path) {
|
|
@@ -18620,18 +18623,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18620
18623
|
customerMenuData = _this$props.customerMenuData,
|
|
18621
18624
|
setCustomerMenuData = _this$props.setCustomerMenuData;
|
|
18622
18625
|
var filterItem;
|
|
18623
|
-
var
|
|
18626
|
+
var _filterMenuItem = function filterMenuItem(menuData) {
|
|
18624
18627
|
menuData.forEach(function (item) {
|
|
18625
18628
|
if (item.path === path) {
|
|
18626
18629
|
filterItem = _objectSpread2({}, item);
|
|
18627
18630
|
return;
|
|
18628
18631
|
}
|
|
18629
18632
|
if (item.children) {
|
|
18630
|
-
|
|
18633
|
+
_filterMenuItem(item.children);
|
|
18631
18634
|
}
|
|
18632
18635
|
});
|
|
18633
18636
|
};
|
|
18634
|
-
|
|
18637
|
+
_filterMenuItem(treeData);
|
|
18635
18638
|
var addPathList = _this.getPathList(filterItem);
|
|
18636
18639
|
var oldPathList = _this.getPathList(customerMenuData);
|
|
18637
18640
|
var isRepet = false;
|
|
@@ -18661,8 +18664,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18661
18664
|
return item.path === '/';
|
|
18662
18665
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
18663
18666
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
18664
|
-
|
|
18665
|
-
|
|
18667
|
+
_setMenuTreeData(routesData);
|
|
18668
|
+
_generateList(routesData);
|
|
18666
18669
|
this.setState({
|
|
18667
18670
|
treeData: routesData
|
|
18668
18671
|
});
|
|
@@ -18676,16 +18679,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18676
18679
|
expandedKeys = _this$state.expandedKeys,
|
|
18677
18680
|
autoExpandParent = _this$state.autoExpandParent,
|
|
18678
18681
|
treeData = _this$state.treeData;
|
|
18679
|
-
var
|
|
18682
|
+
var _loop = function loop(data) {
|
|
18680
18683
|
return data.map(function (item) {
|
|
18681
18684
|
var index = item.name.indexOf(searchValue);
|
|
18682
18685
|
var beforeStr = item.name.substr(0, index);
|
|
18683
18686
|
var afterStr = item.name.substr(index + searchValue.length);
|
|
18684
|
-
var name = index > -1 ? (
|
|
18687
|
+
var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
|
|
18685
18688
|
style: {
|
|
18686
18689
|
color: '#f50'
|
|
18687
18690
|
}
|
|
18688
|
-
}, searchValue), afterStr)) : (
|
|
18691
|
+
}, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
|
|
18689
18692
|
if (item.children && item.children.length) {
|
|
18690
18693
|
return /*#__PURE__*/React$1.createElement(TreeNode, {
|
|
18691
18694
|
path: item.path,
|
|
@@ -18707,7 +18710,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18707
18710
|
width: 18,
|
|
18708
18711
|
src: arrowRight
|
|
18709
18712
|
}))))
|
|
18710
|
-
},
|
|
18713
|
+
}, _loop(item.children));
|
|
18711
18714
|
}
|
|
18712
18715
|
return /*#__PURE__*/React$1.createElement(TreeNode, {
|
|
18713
18716
|
path: item.path,
|
|
@@ -18757,7 +18760,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18757
18760
|
onExpand: this.onExpand,
|
|
18758
18761
|
expandedKeys: expandedKeys,
|
|
18759
18762
|
autoExpandParent: autoExpandParent
|
|
18760
|
-
},
|
|
18763
|
+
}, _loop(treeData))));
|
|
18761
18764
|
}
|
|
18762
18765
|
}]);
|
|
18763
18766
|
}(React$1.Component);
|
|
@@ -18790,24 +18793,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18790
18793
|
var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
|
|
18791
18794
|
var dragObj;
|
|
18792
18795
|
var finalDropItem;
|
|
18793
|
-
var
|
|
18796
|
+
var _loop = function loop(data, path, callback) {
|
|
18794
18797
|
for (var i = 0; i < data.length; i++) {
|
|
18795
18798
|
if (data[i].path === path) {
|
|
18796
18799
|
return callback(data[i], i, data);
|
|
18797
18800
|
}
|
|
18798
18801
|
if (data[i].children) {
|
|
18799
|
-
|
|
18802
|
+
_loop(data[i].children, path, callback);
|
|
18800
18803
|
}
|
|
18801
18804
|
}
|
|
18802
18805
|
};
|
|
18803
18806
|
var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
|
|
18804
|
-
|
|
18807
|
+
_loop(data, dragKey, function (item, index, arr) {
|
|
18805
18808
|
arr.splice(index, 1);
|
|
18806
18809
|
dragObj = item;
|
|
18807
18810
|
});
|
|
18808
18811
|
if (!info.dropToGap) {
|
|
18809
18812
|
// Drop on the content
|
|
18810
|
-
|
|
18813
|
+
_loop(data, dropKey, function (item) {
|
|
18811
18814
|
item.children = item.children || [];
|
|
18812
18815
|
item.children.unshift(dragObj);
|
|
18813
18816
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -18818,7 +18821,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18818
18821
|
// Is expanded
|
|
18819
18822
|
dropPosition === 1 // On the bottom gap
|
|
18820
18823
|
) {
|
|
18821
|
-
|
|
18824
|
+
_loop(data, dropKey, function (item) {
|
|
18822
18825
|
item.children = item.children || [];
|
|
18823
18826
|
item.children.unshift(dragObj);
|
|
18824
18827
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -18826,7 +18829,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18826
18829
|
} else {
|
|
18827
18830
|
var ar;
|
|
18828
18831
|
var i;
|
|
18829
|
-
|
|
18832
|
+
_loop(data, dropKey, function (item, index, arr) {
|
|
18830
18833
|
ar = arr;
|
|
18831
18834
|
i = index;
|
|
18832
18835
|
});
|
|
@@ -18865,17 +18868,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18865
18868
|
title: '编辑名称',
|
|
18866
18869
|
callBack: function callBack(newName) {
|
|
18867
18870
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
18868
|
-
var
|
|
18871
|
+
var _editTreeDataName = function editTreeDataName(oldTreeData) {
|
|
18869
18872
|
oldTreeData.forEach(function (treeItem) {
|
|
18870
18873
|
if (treeItem.path === item.path) {
|
|
18871
18874
|
treeItem.name = newName;
|
|
18872
18875
|
}
|
|
18873
18876
|
if (treeItem.children) {
|
|
18874
|
-
|
|
18877
|
+
_editTreeDataName(treeItem.children);
|
|
18875
18878
|
}
|
|
18876
18879
|
});
|
|
18877
18880
|
};
|
|
18878
|
-
|
|
18881
|
+
_editTreeDataName(oldTreeData);
|
|
18879
18882
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
18880
18883
|
_this.setState({
|
|
18881
18884
|
modalInfo: {
|
|
@@ -18920,7 +18923,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18920
18923
|
title: '新增子目录',
|
|
18921
18924
|
callBack: function callBack(newName) {
|
|
18922
18925
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
18923
|
-
var
|
|
18926
|
+
var _addChildFolder = function addChildFolder(oldTreeData) {
|
|
18924
18927
|
oldTreeData.forEach(function (treeItem) {
|
|
18925
18928
|
if (treeItem.path === item.path) {
|
|
18926
18929
|
treeItem.children ? treeItem.children.push({
|
|
@@ -18932,11 +18935,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18932
18935
|
}];
|
|
18933
18936
|
}
|
|
18934
18937
|
if (treeItem.children) {
|
|
18935
|
-
|
|
18938
|
+
_addChildFolder(treeItem.children);
|
|
18936
18939
|
}
|
|
18937
18940
|
});
|
|
18938
18941
|
};
|
|
18939
|
-
|
|
18942
|
+
_addChildFolder(oldTreeData);
|
|
18940
18943
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
18941
18944
|
_this.setState({
|
|
18942
18945
|
modalInfo: {
|
|
@@ -18995,7 +18998,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18995
18998
|
var _this$state = this.state,
|
|
18996
18999
|
modalInfo = _this$state.modalInfo,
|
|
18997
19000
|
checkedKeys = _this$state.checkedKeys;
|
|
18998
|
-
var
|
|
19001
|
+
var _loop2 = function loop(data) {
|
|
18999
19002
|
return data.map(function (item) {
|
|
19000
19003
|
if (item.children && item.children.length) {
|
|
19001
19004
|
return /*#__PURE__*/React$1.createElement(TreeNode$1, {
|
|
@@ -19012,7 +19015,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19012
19015
|
e.stopPropagation();
|
|
19013
19016
|
}
|
|
19014
19017
|
}, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
|
|
19015
|
-
},
|
|
19018
|
+
}, _loop2(item.children));
|
|
19016
19019
|
}
|
|
19017
19020
|
return /*#__PURE__*/React$1.createElement(TreeNode$1, {
|
|
19018
19021
|
path: item.path,
|
|
@@ -19091,7 +19094,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19091
19094
|
children: 'children'
|
|
19092
19095
|
},
|
|
19093
19096
|
onDrop: this.onDrop
|
|
19094
|
-
},
|
|
19097
|
+
}, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
|
|
19095
19098
|
width: 600,
|
|
19096
19099
|
bodyStyle: {
|
|
19097
19100
|
paddingTop: '32px',
|
|
@@ -19204,7 +19207,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19204
19207
|
pathname: item.path
|
|
19205
19208
|
});
|
|
19206
19209
|
};
|
|
19207
|
-
var
|
|
19210
|
+
var _getMenuDom = function getMenuDom(menuData) {
|
|
19208
19211
|
return menuData.map(function (item) {
|
|
19209
19212
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
19210
19213
|
style: {
|
|
@@ -19219,7 +19222,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19219
19222
|
fontWeight: item.children || !item.component ? 'bolder' : '400',
|
|
19220
19223
|
paddingLeft: '4px'
|
|
19221
19224
|
}
|
|
19222
|
-
}, item.name), !!item.children && !!item.children.length &&
|
|
19225
|
+
}, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
|
|
19223
19226
|
});
|
|
19224
19227
|
};
|
|
19225
19228
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -19245,7 +19248,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19245
19248
|
style: {
|
|
19246
19249
|
paddingLeft: '5px'
|
|
19247
19250
|
}
|
|
19248
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (
|
|
19251
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
19249
19252
|
style: {
|
|
19250
19253
|
left: isDrawer ? 140 : 0
|
|
19251
19254
|
},
|
|
@@ -19266,7 +19269,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19266
19269
|
visible: isDrawer
|
|
19267
19270
|
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
|
|
19268
19271
|
className: 'menu_title_line'
|
|
19269
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"),
|
|
19272
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
19270
19273
|
title: /*#__PURE__*/React$1.createElement("span", {
|
|
19271
19274
|
style: {
|
|
19272
19275
|
fontWeight: '600',
|
|
@@ -19340,7 +19343,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19340
19343
|
return item.path === '/';
|
|
19341
19344
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
19342
19345
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
19343
|
-
|
|
19346
|
+
_setMenuTreeData(routesData);
|
|
19344
19347
|
routesData.forEach(function (item) {
|
|
19345
19348
|
if (item.children) {
|
|
19346
19349
|
routesDataList.push(item);
|
|
@@ -19370,7 +19373,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19370
19373
|
setHeight(clientHeight - 190);
|
|
19371
19374
|
setDrawHeight(clientHeight - 70);
|
|
19372
19375
|
};
|
|
19373
|
-
var
|
|
19376
|
+
var _renderChildItem = function renderChildItem(child) {
|
|
19374
19377
|
if (!child.hideInMenu && child.children) {
|
|
19375
19378
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
|
|
19376
19379
|
style: {
|
|
@@ -19380,7 +19383,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19380
19383
|
}, formatMessage({
|
|
19381
19384
|
id: "".concat(child.locale)
|
|
19382
19385
|
})), child.children.map(function (menuItem) {
|
|
19383
|
-
return
|
|
19386
|
+
return _renderChildItem(menuItem);
|
|
19384
19387
|
}));
|
|
19385
19388
|
} else if (!child.hideInMenu && child.path) {
|
|
19386
19389
|
return /*#__PURE__*/React$1.createElement(List.Item, {
|
|
@@ -19522,7 +19525,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19522
19525
|
onMenuClick(e, item);
|
|
19523
19526
|
}
|
|
19524
19527
|
}, item.name);
|
|
19525
|
-
}))), !!SearhData.length ? (
|
|
19528
|
+
}))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
|
|
19526
19529
|
className: 'search_menu_content'
|
|
19527
19530
|
}, SearhData.map(function (item) {
|
|
19528
19531
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -19531,7 +19534,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19531
19534
|
},
|
|
19532
19535
|
key: item.path
|
|
19533
19536
|
}, item.name);
|
|
19534
|
-
}))) : (
|
|
19537
|
+
}))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
19535
19538
|
style: {
|
|
19536
19539
|
height: "".concat(rightMenuHeight, "px"),
|
|
19537
19540
|
overflowY: 'scroll',
|
|
@@ -19543,7 +19546,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19543
19546
|
className: 'drawerWarp_right'
|
|
19544
19547
|
}, homepageData && homepageData.filter(function (d) {
|
|
19545
19548
|
return !d.hideInMenu;
|
|
19546
|
-
}).length > 0 && (
|
|
19549
|
+
}).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
|
|
19547
19550
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
19548
19551
|
dataSource: homepageData,
|
|
19549
19552
|
renderItem: function renderItem(child) {
|
|
@@ -19584,7 +19587,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19584
19587
|
bordered: true,
|
|
19585
19588
|
dataSource: item.children,
|
|
19586
19589
|
renderItem: function renderItem(child) {
|
|
19587
|
-
return
|
|
19590
|
+
return _renderChildItem(child);
|
|
19588
19591
|
}
|
|
19589
19592
|
});
|
|
19590
19593
|
})), /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -19742,10 +19745,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
19742
19745
|
var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
|
|
19743
19746
|
var menuKeys = [];
|
|
19744
19747
|
var docsId = [];
|
|
19745
|
-
var
|
|
19748
|
+
var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
|
|
19746
19749
|
data.forEach(function (item) {
|
|
19747
19750
|
if (item.children && item.children.length > 0) {
|
|
19748
|
-
|
|
19751
|
+
_getLimitedMenuKeys(item.children);
|
|
19749
19752
|
} else {
|
|
19750
19753
|
var originPath = item.path.replace(/^\/\w+\//, '/');
|
|
19751
19754
|
menuKeys.push(originPath);
|
|
@@ -19756,7 +19759,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
19756
19759
|
});
|
|
19757
19760
|
};
|
|
19758
19761
|
try {
|
|
19759
|
-
|
|
19762
|
+
_getLimitedMenuKeys(limitedMenuData);
|
|
19760
19763
|
} catch (e) {}
|
|
19761
19764
|
return {
|
|
19762
19765
|
menuKeys: menuKeys,
|
|
@@ -19990,10 +19993,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
19990
19993
|
return (node.path || '').includes('all-general-documents');
|
|
19991
19994
|
};
|
|
19992
19995
|
// 递归获取树列表
|
|
19993
|
-
var
|
|
19996
|
+
var _getTreeList = function getTreeList(data) {
|
|
19994
19997
|
data.forEach(function (node) {
|
|
19995
19998
|
if (node.routes && node.routes.length > 0) {
|
|
19996
|
-
|
|
19999
|
+
_getTreeList(node.routes);
|
|
19997
20000
|
return;
|
|
19998
20001
|
}
|
|
19999
20002
|
// todo:暂时处理非wujie环境不做404管控
|
|
@@ -20024,7 +20027,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20024
20027
|
}
|
|
20025
20028
|
});
|
|
20026
20029
|
};
|
|
20027
|
-
|
|
20030
|
+
_getTreeList(treeData);
|
|
20028
20031
|
return treeList;
|
|
20029
20032
|
};
|
|
20030
20033
|
_this.getDictionarySource = function (dicCode) {
|
|
@@ -20653,7 +20656,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20653
20656
|
updateState = _ref8.updateState;
|
|
20654
20657
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
20655
20658
|
className: "tab_title_content"
|
|
20656
|
-
}, item.tab, item.key !== '/' && (
|
|
20659
|
+
}, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
|
|
20657
20660
|
info: item,
|
|
20658
20661
|
operateFun: _this3.operateFun,
|
|
20659
20662
|
listenRouterState: listenRouterState
|
|
@@ -20789,7 +20792,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20789
20792
|
};
|
|
20790
20793
|
}
|
|
20791
20794
|
var OperationsSlot = {
|
|
20792
|
-
left: (
|
|
20795
|
+
left: (/*#__PURE__*/React$1.createElement("div", {
|
|
20793
20796
|
className: 'tab_left_operate'
|
|
20794
20797
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
20795
20798
|
onClick: function onClick() {
|
|
@@ -20805,7 +20808,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20805
20808
|
_this3.setTabNavTransLate(-100);
|
|
20806
20809
|
}
|
|
20807
20810
|
}, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
|
|
20808
|
-
right: (
|
|
20811
|
+
right: (/*#__PURE__*/React$1.createElement("div", {
|
|
20809
20812
|
style: {
|
|
20810
20813
|
opacity: this.state.isSlider ? 1 : 0.5
|
|
20811
20814
|
},
|
|
@@ -20903,7 +20906,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20903
20906
|
onMouseLeave: function onMouseLeave() {
|
|
20904
20907
|
_this3.setShowMenu(false);
|
|
20905
20908
|
}
|
|
20906
|
-
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (
|
|
20909
|
+
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
|
|
20907
20910
|
style: {
|
|
20908
20911
|
position: 'absolute',
|
|
20909
20912
|
top: '14px',
|
|
@@ -20922,7 +20925,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20922
20925
|
postMenuData: function postMenuData(menus) {
|
|
20923
20926
|
return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
|
|
20924
20927
|
},
|
|
20925
|
-
links: [!this.state.collapse ? (
|
|
20928
|
+
links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
|
|
20926
20929
|
ref: this.allFunc,
|
|
20927
20930
|
itemPath: itemPath,
|
|
20928
20931
|
handleClose: this.handleClose,
|
|
@@ -20940,7 +20943,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20940
20943
|
},
|
|
20941
20944
|
menu: {
|
|
20942
20945
|
request: function () {
|
|
20943
|
-
var _request = _asyncToGenerator(
|
|
20946
|
+
var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
20944
20947
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
20945
20948
|
while (1) switch (_context.prev = _context.next) {
|
|
20946
20949
|
case 0:
|
|
@@ -21075,7 +21078,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
21075
21078
|
getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
|
|
21076
21079
|
timeFormat = _this$props4.timeFormat,
|
|
21077
21080
|
transparentProps = _this$props4.transparentProps;
|
|
21078
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (
|
|
21081
|
+
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({
|
|
21079
21082
|
getDictionarySource: getDictionarySource,
|
|
21080
21083
|
getDictionaryTextByValue: getDictionaryTextByValue,
|
|
21081
21084
|
timeFormat: timeFormat
|
|
@@ -21099,12 +21102,12 @@ var index$5 = (function (props) {
|
|
|
21099
21102
|
});
|
|
21100
21103
|
|
|
21101
21104
|
// @ts-nocheck
|
|
21102
|
-
var
|
|
21105
|
+
var _getAllColumns = function getAllColumns(columns) {
|
|
21103
21106
|
var result = [];
|
|
21104
21107
|
columns.forEach(function (column) {
|
|
21105
21108
|
if (column.children) {
|
|
21106
21109
|
result.push(column);
|
|
21107
|
-
result.push.apply(result,
|
|
21110
|
+
result.push.apply(result, _getAllColumns(column.children));
|
|
21108
21111
|
} else {
|
|
21109
21112
|
result.push(column);
|
|
21110
21113
|
}
|
|
@@ -21113,7 +21116,7 @@ var getAllColumns = function getAllColumns(columns) {
|
|
|
21113
21116
|
};
|
|
21114
21117
|
var convertToRows = function convertToRows(originColumns) {
|
|
21115
21118
|
var maxLevel = 1;
|
|
21116
|
-
var
|
|
21119
|
+
var _traverse = function traverse(column, parent) {
|
|
21117
21120
|
if (parent) {
|
|
21118
21121
|
column.level = parent.level + 1;
|
|
21119
21122
|
if (maxLevel < column.level) {
|
|
@@ -21123,7 +21126,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21123
21126
|
if (column.children) {
|
|
21124
21127
|
var colSpan = 0;
|
|
21125
21128
|
column.children.forEach(function (subColumn) {
|
|
21126
|
-
|
|
21129
|
+
_traverse(subColumn, column);
|
|
21127
21130
|
colSpan += subColumn.colSpan;
|
|
21128
21131
|
});
|
|
21129
21132
|
column.colSpan = colSpan;
|
|
@@ -21133,13 +21136,13 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21133
21136
|
};
|
|
21134
21137
|
originColumns.forEach(function (column) {
|
|
21135
21138
|
column.level = 1;
|
|
21136
|
-
|
|
21139
|
+
_traverse(column);
|
|
21137
21140
|
});
|
|
21138
21141
|
var rows = [];
|
|
21139
21142
|
for (var i = 0; i < maxLevel; i++) {
|
|
21140
21143
|
rows.push([]);
|
|
21141
21144
|
}
|
|
21142
|
-
var allColumns =
|
|
21145
|
+
var allColumns = _getAllColumns(originColumns);
|
|
21143
21146
|
allColumns.forEach(function (column) {
|
|
21144
21147
|
if (!column.children) {
|
|
21145
21148
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -21179,7 +21182,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21179
21182
|
};
|
|
21180
21183
|
var headersToRows = function headersToRows(originColumns) {
|
|
21181
21184
|
var maxLevel = 1;
|
|
21182
|
-
var
|
|
21185
|
+
var _traverse2 = function traverse(column, parent) {
|
|
21183
21186
|
if (parent) {
|
|
21184
21187
|
//计算当前元素属于第几个层级
|
|
21185
21188
|
column.level = parent.level + 1;
|
|
@@ -21192,7 +21195,7 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21192
21195
|
var colSpan = 0;
|
|
21193
21196
|
column.children.forEach(function (subColumn) {
|
|
21194
21197
|
//进行递归
|
|
21195
|
-
|
|
21198
|
+
_traverse2(subColumn, column);
|
|
21196
21199
|
colSpan += subColumn.colSpan;
|
|
21197
21200
|
});
|
|
21198
21201
|
column.colSpan = colSpan;
|
|
@@ -21202,14 +21205,14 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21202
21205
|
};
|
|
21203
21206
|
originColumns.forEach(function (column) {
|
|
21204
21207
|
column.level = 1;
|
|
21205
|
-
|
|
21208
|
+
_traverse2(column);
|
|
21206
21209
|
});
|
|
21207
21210
|
var rows = [];
|
|
21208
21211
|
var lastData = [];
|
|
21209
21212
|
for (var i = 0; i < maxLevel; i++) {
|
|
21210
21213
|
rows.push([]);
|
|
21211
21214
|
}
|
|
21212
|
-
var allColumns =
|
|
21215
|
+
var allColumns = _getAllColumns(originColumns);
|
|
21213
21216
|
allColumns.forEach(function (column) {
|
|
21214
21217
|
if (!column.children) {
|
|
21215
21218
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -27226,7 +27229,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
|
|
|
27226
27229
|
}
|
|
27227
27230
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
27228
27231
|
};
|
|
27229
|
-
var
|
|
27232
|
+
var _hasHighLightChildren = function hasHighLightChildren() {
|
|
27230
27233
|
var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
27231
27234
|
var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
|
|
27232
27235
|
var children = hightLightData.children,
|
|
@@ -27237,7 +27240,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
|
|
|
27237
27240
|
lineEnd = _loc2[2];
|
|
27238
27241
|
if (children) {
|
|
27239
27242
|
return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
|
|
27240
|
-
return
|
|
27243
|
+
return _hasHighLightChildren(v, highLightLine);
|
|
27241
27244
|
});
|
|
27242
27245
|
}
|
|
27243
27246
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
@@ -27249,7 +27252,7 @@ function createHighLightTreeData(treeData, highLightLine) {
|
|
|
27249
27252
|
var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
|
|
27250
27253
|
data.forEach(function (node) {
|
|
27251
27254
|
if (!node) return;
|
|
27252
|
-
node.toggled =
|
|
27255
|
+
node.toggled = _hasHighLightChildren(node, highLightLine);
|
|
27253
27256
|
node.active = isHightLight(node, highLightLine);
|
|
27254
27257
|
if (node.children) {
|
|
27255
27258
|
if (node.active) {
|
|
@@ -28680,7 +28683,7 @@ var valueType = {
|
|
|
28680
28683
|
};
|
|
28681
28684
|
|
|
28682
28685
|
var getDynamicDict = /*#__PURE__*/function () {
|
|
28683
|
-
var _ref = _asyncToGenerator(
|
|
28686
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
|
|
28684
28687
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28685
28688
|
while (1) switch (_context.prev = _context.next) {
|
|
28686
28689
|
case 0:
|
|
@@ -28748,7 +28751,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
28748
28751
|
value: false
|
|
28749
28752
|
}];
|
|
28750
28753
|
var ref = useRef();
|
|
28751
|
-
useMount(
|
|
28754
|
+
useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
28752
28755
|
var _ref$current, source;
|
|
28753
28756
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28754
28757
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -28862,7 +28865,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
28862
28865
|
source: {
|
|
28863
28866
|
relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
|
|
28864
28867
|
type: function () {
|
|
28865
|
-
var _type = _asyncToGenerator(
|
|
28868
|
+
var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
28866
28869
|
var form, values, name, relates, source;
|
|
28867
28870
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
28868
28871
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -29342,7 +29345,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29342
29345
|
source: {
|
|
29343
29346
|
relates: ['choiceType', 'inputType'],
|
|
29344
29347
|
type: function () {
|
|
29345
|
-
var _type2 = _asyncToGenerator(
|
|
29348
|
+
var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
|
|
29346
29349
|
var values, name, form, source;
|
|
29347
29350
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
29348
29351
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -29564,7 +29567,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29564
29567
|
width: 900,
|
|
29565
29568
|
maskClosable: false,
|
|
29566
29569
|
onOk: function () {
|
|
29567
|
-
var _onOk = _asyncToGenerator(
|
|
29570
|
+
var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
29568
29571
|
var _ref$current4, _res$editableStatus;
|
|
29569
29572
|
var res, _res$defaultValue;
|
|
29570
29573
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
@@ -29636,7 +29639,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29636
29639
|
}()
|
|
29637
29640
|
}), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
|
|
29638
29641
|
ref: ref
|
|
29639
|
-
})), maintainOptionsModal.visible && (
|
|
29642
|
+
})), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
|
|
29640
29643
|
};
|
|
29641
29644
|
|
|
29642
29645
|
// @ts-nocheck
|
|
@@ -30250,7 +30253,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30250
30253
|
return setVisible(false);
|
|
30251
30254
|
},
|
|
30252
30255
|
className: 'customFieldsDrawer'
|
|
30253
|
-
}, detailTablesSetting.length == 0 && (
|
|
30256
|
+
}, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
|
|
30254
30257
|
style: {
|
|
30255
30258
|
display: 'flex'
|
|
30256
30259
|
}
|
|
@@ -30259,13 +30262,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30259
30262
|
flex: 1,
|
|
30260
30263
|
width: 500
|
|
30261
30264
|
}
|
|
30262
|
-
}, isEmpty(moduleParams) ? (
|
|
30265
|
+
}, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30263
30266
|
style: {
|
|
30264
30267
|
padding: "10px 0",
|
|
30265
30268
|
fontSize: "16px",
|
|
30266
30269
|
fontWeight: "bolder"
|
|
30267
30270
|
}
|
|
30268
|
-
}, "\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")) : (
|
|
30271
|
+
}, "\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", {
|
|
30269
30272
|
style: {
|
|
30270
30273
|
flex: 1
|
|
30271
30274
|
}
|
|
@@ -30274,7 +30277,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30274
30277
|
onRun: onClickRun,
|
|
30275
30278
|
value: jsonEditorVal,
|
|
30276
30279
|
shallowHeight: height
|
|
30277
|
-
})))), detailTablesSetting.length > 0 && (
|
|
30280
|
+
})))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
|
|
30278
30281
|
defaultActiveKey: activeKey,
|
|
30279
30282
|
onChange: function onChange(v) {
|
|
30280
30283
|
return setActiveKey(v);
|
|
@@ -30291,13 +30294,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30291
30294
|
flex: 1,
|
|
30292
30295
|
width: 500
|
|
30293
30296
|
}
|
|
30294
|
-
}, isEmpty(moduleParams) ? (
|
|
30297
|
+
}, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30295
30298
|
style: {
|
|
30296
30299
|
padding: "10px 0",
|
|
30297
30300
|
fontSize: "16px",
|
|
30298
30301
|
fontWeight: "bolder"
|
|
30299
30302
|
}
|
|
30300
|
-
}, "\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")) : (
|
|
30303
|
+
}, "\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", {
|
|
30301
30304
|
style: {
|
|
30302
30305
|
flex: 1
|
|
30303
30306
|
}
|
|
@@ -30319,13 +30322,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30319
30322
|
flex: 1,
|
|
30320
30323
|
width: 500
|
|
30321
30324
|
}
|
|
30322
|
-
}, !tablesConfigParams[k.tableCode] ? (
|
|
30325
|
+
}, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30323
30326
|
style: {
|
|
30324
30327
|
padding: "10px 0",
|
|
30325
30328
|
fontSize: "16px",
|
|
30326
30329
|
fontWeight: "bolder"
|
|
30327
30330
|
}
|
|
30328
|
-
}, "\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")) : (
|
|
30331
|
+
}, "\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", {
|
|
30329
30332
|
style: {
|
|
30330
30333
|
flex: 1
|
|
30331
30334
|
}
|
|
@@ -30471,7 +30474,7 @@ function getMetaData(_x) {
|
|
|
30471
30474
|
|
|
30472
30475
|
// 获取数据
|
|
30473
30476
|
function _getMetaData() {
|
|
30474
|
-
_getMetaData = _asyncToGenerator(
|
|
30477
|
+
_getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
|
|
30475
30478
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30476
30479
|
while (1) switch (_context.prev = _context.next) {
|
|
30477
30480
|
case 0:
|
|
@@ -30693,7 +30696,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
30693
30696
|
tableState = _useState4[0],
|
|
30694
30697
|
setTableState = _useState4[1];
|
|
30695
30698
|
var handleOpen = /*#__PURE__*/function () {
|
|
30696
|
-
var _ref = _asyncToGenerator(
|
|
30699
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30697
30700
|
var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
|
|
30698
30701
|
var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
|
|
30699
30702
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -31012,7 +31015,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
31012
31015
|
destroyOnClose: true
|
|
31013
31016
|
}, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
|
|
31014
31017
|
ref: queryTableRef
|
|
31015
|
-
}, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (
|
|
31018
|
+
}, 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, {
|
|
31016
31019
|
justify: "center",
|
|
31017
31020
|
style: {
|
|
31018
31021
|
marginBottom: 30,
|
|
@@ -31128,7 +31131,7 @@ var CustomSelector = (function (props) {
|
|
|
31128
31131
|
var _props$ctx7;
|
|
31129
31132
|
return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
|
|
31130
31133
|
}
|
|
31131
|
-
})), showType === 'modalTable' && (
|
|
31134
|
+
})), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
|
|
31132
31135
|
type: "primary",
|
|
31133
31136
|
style: {
|
|
31134
31137
|
width: '30px',
|
|
@@ -31214,7 +31217,7 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31214
31217
|
_useState2 = _slicedToArray(_useState, 2),
|
|
31215
31218
|
handSource = _useState2[0],
|
|
31216
31219
|
setHandSource = _useState2[1];
|
|
31217
|
-
useEffect(
|
|
31220
|
+
useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31218
31221
|
var resData, data;
|
|
31219
31222
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31220
31223
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -31366,7 +31369,7 @@ function getRegularThresholdRange(_x) {
|
|
|
31366
31369
|
return _getRegularThresholdRange.apply(this, arguments);
|
|
31367
31370
|
}
|
|
31368
31371
|
function _getRegularThresholdRange() {
|
|
31369
|
-
_getRegularThresholdRange = _asyncToGenerator(
|
|
31372
|
+
_getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
31370
31373
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31371
31374
|
while (1) switch (_context.prev = _context.next) {
|
|
31372
31375
|
case 0:
|
|
@@ -31520,7 +31523,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31520
31523
|
};
|
|
31521
31524
|
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
31522
31525
|
_this.getRegularThresholdRange = /*#__PURE__*/function () {
|
|
31523
|
-
var _ref = _asyncToGenerator(
|
|
31526
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
31524
31527
|
var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
|
|
31525
31528
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31526
31529
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -32465,7 +32468,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32465
32468
|
isAll: true,
|
|
32466
32469
|
needNameAndCode: true,
|
|
32467
32470
|
notChangeOnSelect: true,
|
|
32468
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32471
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
32469
32472
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
32470
32473
|
while (1) switch (_context2.prev = _context2.next) {
|
|
32471
32474
|
case 0:
|
|
@@ -32514,7 +32517,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32514
32517
|
isAll: true,
|
|
32515
32518
|
needNameAndCode: true,
|
|
32516
32519
|
notChangeOnSelect: true,
|
|
32517
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32520
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
32518
32521
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
32519
32522
|
while (1) switch (_context3.prev = _context3.next) {
|
|
32520
32523
|
case 0:
|
|
@@ -32565,7 +32568,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32565
32568
|
isAll: true,
|
|
32566
32569
|
needNameAndCode: true,
|
|
32567
32570
|
notChangeOnSelect: true,
|
|
32568
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32571
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
32569
32572
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
32570
32573
|
while (1) switch (_context4.prev = _context4.next) {
|
|
32571
32574
|
case 0:
|
|
@@ -34529,7 +34532,7 @@ var App$1 = function App(_ref) {
|
|
|
34529
34532
|
borderRadius: '5px',
|
|
34530
34533
|
cursor: 'pointer'
|
|
34531
34534
|
}
|
|
34532
|
-
}, isStaticNumber ? (
|
|
34535
|
+
}, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
|
|
34533
34536
|
autoFocus: true,
|
|
34534
34537
|
onClick: function onClick(e) {
|
|
34535
34538
|
return e.stopPropagation();
|
|
@@ -34816,7 +34819,7 @@ function RenderCompItem(props) {
|
|
|
34816
34819
|
dictData = _useState2[0],
|
|
34817
34820
|
setDictData = _useState2[1];
|
|
34818
34821
|
var getDictData = /*#__PURE__*/function () {
|
|
34819
|
-
var _ref = _asyncToGenerator(
|
|
34822
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
34820
34823
|
var _data$map;
|
|
34821
34824
|
var data;
|
|
34822
34825
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -34858,7 +34861,7 @@ function RenderCompItem(props) {
|
|
|
34858
34861
|
var style2 = {
|
|
34859
34862
|
width: '100px'
|
|
34860
34863
|
};
|
|
34861
|
-
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 && (
|
|
34864
|
+
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, {
|
|
34862
34865
|
disabled: disabled,
|
|
34863
34866
|
allowClear: true,
|
|
34864
34867
|
onClear: function onClear() {
|
|
@@ -34869,7 +34872,7 @@ function RenderCompItem(props) {
|
|
|
34869
34872
|
onBlur: function onBlur(e) {
|
|
34870
34873
|
handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
|
|
34871
34874
|
}
|
|
34872
|
-
})) || 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) && (
|
|
34875
|
+
})) || 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, {
|
|
34873
34876
|
disabled: disabled,
|
|
34874
34877
|
// max={Number.MAX_SAFE_INTEGER}
|
|
34875
34878
|
max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
|
|
@@ -34882,7 +34885,7 @@ function RenderCompItem(props) {
|
|
|
34882
34885
|
onChange: function onChange(value) {
|
|
34883
34886
|
handleEdit(ites.code, value);
|
|
34884
34887
|
}
|
|
34885
|
-
})) || 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) && (
|
|
34888
|
+
})) || 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, {
|
|
34886
34889
|
showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
|
|
34887
34890
|
format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
|
|
34888
34891
|
disabled: disabled,
|
|
@@ -34892,7 +34895,7 @@ function RenderCompItem(props) {
|
|
|
34892
34895
|
onChange: function onChange(value, dateString) {
|
|
34893
34896
|
handleEdit(ites.code, dateString);
|
|
34894
34897
|
}
|
|
34895
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (
|
|
34898
|
+
})) || 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, {
|
|
34896
34899
|
showTime: true,
|
|
34897
34900
|
disabled: disabled,
|
|
34898
34901
|
defaultValue: ites.defaultValue,
|
|
@@ -34901,7 +34904,7 @@ function RenderCompItem(props) {
|
|
|
34901
34904
|
onChange: function onChange(value, timeString) {
|
|
34902
34905
|
handleEdit(ites.code, timeString);
|
|
34903
34906
|
}
|
|
34904
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (
|
|
34907
|
+
})) || 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, {
|
|
34905
34908
|
disabled: disabled,
|
|
34906
34909
|
defaultChecked: !!ites.defaultValue,
|
|
34907
34910
|
style: style2,
|
|
@@ -34909,7 +34912,7 @@ function RenderCompItem(props) {
|
|
|
34909
34912
|
onChange: function onChange(value) {
|
|
34910
34913
|
handleEdit(ites.code, value);
|
|
34911
34914
|
}
|
|
34912
|
-
})) || 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 && (
|
|
34915
|
+
})) || 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({
|
|
34913
34916
|
disabled: disabled,
|
|
34914
34917
|
allowClear: true,
|
|
34915
34918
|
showArrow: true
|
|
@@ -34927,7 +34930,7 @@ function RenderCompItem(props) {
|
|
|
34927
34930
|
key: it,
|
|
34928
34931
|
value: it
|
|
34929
34932
|
}, ites.enumeration[it]);
|
|
34930
|
-
}))) || 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 && (
|
|
34933
|
+
}))) || 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, {
|
|
34931
34934
|
disabled: disabled,
|
|
34932
34935
|
inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
|
|
34933
34936
|
defaultValue: ites.defaultValue,
|
|
@@ -34937,7 +34940,7 @@ function RenderCompItem(props) {
|
|
|
34937
34940
|
handleEdit(ites.code, value);
|
|
34938
34941
|
},
|
|
34939
34942
|
dictionaryCode: ites.dictionaryCode
|
|
34940
|
-
})) || 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 && (
|
|
34943
|
+
})) || 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, {
|
|
34941
34944
|
selectBusinessType: "physicalWarehouse",
|
|
34942
34945
|
selectProps: _objectSpread2({
|
|
34943
34946
|
style: styleCommon,
|
|
@@ -34959,7 +34962,7 @@ function RenderCompItem(props) {
|
|
|
34959
34962
|
getPopupContainer: function getPopupContainer() {
|
|
34960
34963
|
return document.body;
|
|
34961
34964
|
}
|
|
34962
|
-
})) || 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 && (
|
|
34965
|
+
})) || 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, {
|
|
34963
34966
|
selectBusinessType: "realWarehouse",
|
|
34964
34967
|
selectProps: _objectSpread2({
|
|
34965
34968
|
style: styleCommon,
|
|
@@ -34981,7 +34984,7 @@ function RenderCompItem(props) {
|
|
|
34981
34984
|
getPopupContainer: function getPopupContainer() {
|
|
34982
34985
|
return document.body;
|
|
34983
34986
|
}
|
|
34984
|
-
})) || 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 && (
|
|
34987
|
+
})) || 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, {
|
|
34985
34988
|
selectBusinessType: "virtualWarehouse",
|
|
34986
34989
|
selectProps: _objectSpread2({
|
|
34987
34990
|
style: styleCommon,
|
|
@@ -35003,7 +35006,7 @@ function RenderCompItem(props) {
|
|
|
35003
35006
|
getPopupContainer: function getPopupContainer() {
|
|
35004
35007
|
return document.body;
|
|
35005
35008
|
}
|
|
35006
|
-
})) || 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 && (
|
|
35009
|
+
})) || 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, {
|
|
35007
35010
|
selectBusinessType: "channelWarehouse",
|
|
35008
35011
|
selectProps: _objectSpread2({
|
|
35009
35012
|
style: styleCommon,
|
|
@@ -35025,7 +35028,7 @@ function RenderCompItem(props) {
|
|
|
35025
35028
|
getPopupContainer: function getPopupContainer() {
|
|
35026
35029
|
return document.body;
|
|
35027
35030
|
}
|
|
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) === 150 && (
|
|
35031
|
+
})) || 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, {
|
|
35029
35032
|
selectBusinessType: "spuCommodity",
|
|
35030
35033
|
selectProps: _objectSpread2({
|
|
35031
35034
|
style: styleCommon,
|
|
@@ -35046,7 +35049,7 @@ function RenderCompItem(props) {
|
|
|
35046
35049
|
getPopupContainer: function getPopupContainer() {
|
|
35047
35050
|
return document.body;
|
|
35048
35051
|
}
|
|
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) === 160 && (
|
|
35052
|
+
})) || 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, {
|
|
35050
35053
|
selectBusinessType: "skuCommodity",
|
|
35051
35054
|
selectProps: _objectSpread2({
|
|
35052
35055
|
style: styleCommon,
|
|
@@ -35067,13 +35070,13 @@ function RenderCompItem(props) {
|
|
|
35067
35070
|
getPopupContainer: function getPopupContainer() {
|
|
35068
35071
|
return document.body;
|
|
35069
35072
|
}
|
|
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) === 190 && (
|
|
35073
|
+
})) || 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, {
|
|
35071
35074
|
disabled: disabled,
|
|
35072
35075
|
isAll: true,
|
|
35073
35076
|
needNameAndCode: true,
|
|
35074
35077
|
notChangeOnSelect: true,
|
|
35075
35078
|
initRequestSource: function () {
|
|
35076
|
-
var _initRequestSource = _asyncToGenerator(
|
|
35079
|
+
var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
35077
35080
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
35078
35081
|
while (1) switch (_context2.prev = _context2.next) {
|
|
35079
35082
|
case 0:
|
|
@@ -35115,7 +35118,7 @@ function RenderCompItem(props) {
|
|
|
35115
35118
|
getPopupContainer: function getPopupContainer() {
|
|
35116
35119
|
return document.body;
|
|
35117
35120
|
}
|
|
35118
|
-
})) || 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 && (
|
|
35121
|
+
})) || 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, {
|
|
35119
35122
|
disabled: disabled,
|
|
35120
35123
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35121
35124
|
businessType: "department",
|
|
@@ -35128,7 +35131,7 @@ function RenderCompItem(props) {
|
|
|
35128
35131
|
getPopupContainer: function getPopupContainer() {
|
|
35129
35132
|
return document.body;
|
|
35130
35133
|
}
|
|
35131
|
-
})) || 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 && (
|
|
35134
|
+
})) || 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, {
|
|
35132
35135
|
disabled: disabled,
|
|
35133
35136
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35134
35137
|
businessType: "purchase-organization",
|
|
@@ -35141,7 +35144,7 @@ function RenderCompItem(props) {
|
|
|
35141
35144
|
getPopupContainer: function getPopupContainer() {
|
|
35142
35145
|
return document.body;
|
|
35143
35146
|
}
|
|
35144
|
-
})) || 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 && (
|
|
35147
|
+
})) || 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, {
|
|
35145
35148
|
disabled: disabled,
|
|
35146
35149
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35147
35150
|
businessType: "sales-organization",
|
|
@@ -35154,7 +35157,7 @@ function RenderCompItem(props) {
|
|
|
35154
35157
|
getPopupContainer: function getPopupContainer() {
|
|
35155
35158
|
return document.body;
|
|
35156
35159
|
}
|
|
35157
|
-
})) || 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 && (
|
|
35160
|
+
})) || 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, {
|
|
35158
35161
|
selectBusinessType: "supplier2",
|
|
35159
35162
|
selectProps: _objectSpread2({
|
|
35160
35163
|
style: styleCommon,
|
|
@@ -35175,7 +35178,7 @@ function RenderCompItem(props) {
|
|
|
35175
35178
|
getPopupContainer: function getPopupContainer() {
|
|
35176
35179
|
return document.body;
|
|
35177
35180
|
}
|
|
35178
|
-
})) || 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 && (
|
|
35181
|
+
})) || 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, {
|
|
35179
35182
|
selectBusinessType: "customer2",
|
|
35180
35183
|
selectProps: _objectSpread2({
|
|
35181
35184
|
style: styleCommon,
|
|
@@ -35196,7 +35199,7 @@ function RenderCompItem(props) {
|
|
|
35196
35199
|
getPopupContainer: function getPopupContainer() {
|
|
35197
35200
|
return document.body;
|
|
35198
35201
|
}
|
|
35199
|
-
})) || 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 && (
|
|
35202
|
+
})) || 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, {
|
|
35200
35203
|
selectBusinessType: "shopFile2",
|
|
35201
35204
|
selectProps: _objectSpread2({
|
|
35202
35205
|
style: styleCommon,
|
|
@@ -35217,7 +35220,7 @@ function RenderCompItem(props) {
|
|
|
35217
35220
|
getPopupContainer: function getPopupContainer() {
|
|
35218
35221
|
return document.body;
|
|
35219
35222
|
}
|
|
35220
|
-
})) || 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 && (
|
|
35223
|
+
})) || 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, {
|
|
35221
35224
|
selectBusinessType: "employee2",
|
|
35222
35225
|
selectProps: _objectSpread2({
|
|
35223
35226
|
style: styleCommon,
|
|
@@ -35238,7 +35241,7 @@ function RenderCompItem(props) {
|
|
|
35238
35241
|
getPopupContainer: function getPopupContainer() {
|
|
35239
35242
|
return document.body;
|
|
35240
35243
|
}
|
|
35241
|
-
})) || 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 && (
|
|
35244
|
+
})) || 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, {
|
|
35242
35245
|
disabled: disabled,
|
|
35243
35246
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35244
35247
|
businessType: "stock-organization",
|
|
@@ -35251,7 +35254,7 @@ function RenderCompItem(props) {
|
|
|
35251
35254
|
getPopupContainer: function getPopupContainer() {
|
|
35252
35255
|
return document.body;
|
|
35253
35256
|
}
|
|
35254
|
-
})) || 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 && (
|
|
35257
|
+
})) || 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, {
|
|
35255
35258
|
disabled: disabled,
|
|
35256
35259
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35257
35260
|
businessType: "settle-organization",
|
|
@@ -35264,7 +35267,7 @@ function RenderCompItem(props) {
|
|
|
35264
35267
|
getPopupContainer: function getPopupContainer() {
|
|
35265
35268
|
return document.body;
|
|
35266
35269
|
}
|
|
35267
|
-
})) || 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 && (
|
|
35270
|
+
})) || 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, {
|
|
35268
35271
|
selectBusinessType: "deliveryMode",
|
|
35269
35272
|
selectProps: _objectSpread2({
|
|
35270
35273
|
style: styleCommon,
|
|
@@ -35285,7 +35288,7 @@ function RenderCompItem(props) {
|
|
|
35285
35288
|
getPopupContainer: function getPopupContainer() {
|
|
35286
35289
|
return document.body;
|
|
35287
35290
|
}
|
|
35288
|
-
})) || 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 && (
|
|
35291
|
+
})) || 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, {
|
|
35289
35292
|
selectBusinessType: "role",
|
|
35290
35293
|
selectProps: _objectSpread2({
|
|
35291
35294
|
style: styleCommon,
|
|
@@ -35306,7 +35309,7 @@ function RenderCompItem(props) {
|
|
|
35306
35309
|
getPopupContainer: function getPopupContainer() {
|
|
35307
35310
|
return document.body;
|
|
35308
35311
|
}
|
|
35309
|
-
})) || 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 && (
|
|
35312
|
+
})) || 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, {
|
|
35310
35313
|
selectBusinessType: "brand",
|
|
35311
35314
|
selectProps: _objectSpread2({
|
|
35312
35315
|
style: styleCommon,
|
|
@@ -35327,7 +35330,7 @@ function RenderCompItem(props) {
|
|
|
35327
35330
|
getPopupContainer: function getPopupContainer() {
|
|
35328
35331
|
return document.body;
|
|
35329
35332
|
}
|
|
35330
|
-
})) || 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 && (
|
|
35333
|
+
})) || 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, {
|
|
35331
35334
|
disabled: disabled,
|
|
35332
35335
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35333
35336
|
businessType: "background-category",
|
|
@@ -35340,7 +35343,7 @@ function RenderCompItem(props) {
|
|
|
35340
35343
|
getPopupContainer: function getPopupContainer() {
|
|
35341
35344
|
return document.body;
|
|
35342
35345
|
}
|
|
35343
|
-
})) || 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 && (
|
|
35346
|
+
})) || 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, {
|
|
35344
35347
|
selectProps: _objectSpread2(_objectSpread2({
|
|
35345
35348
|
style: styleCommon,
|
|
35346
35349
|
placeholder: '请选择'
|
|
@@ -35363,7 +35366,7 @@ function RenderCompItem(props) {
|
|
|
35363
35366
|
onChange: function onChange(value) {
|
|
35364
35367
|
handleEdit(ites.code, value);
|
|
35365
35368
|
}
|
|
35366
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (
|
|
35369
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
|
|
35367
35370
|
style: {
|
|
35368
35371
|
display: 'flex'
|
|
35369
35372
|
}
|
|
@@ -35875,7 +35878,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
35875
35878
|
queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
|
|
35876
35879
|
queryIdentifyType = 'dynamicDictCodeIdentify';
|
|
35877
35880
|
}
|
|
35878
|
-
var parallelTreeData =
|
|
35881
|
+
var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
|
|
35879
35882
|
var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
|
|
35880
35883
|
var _i$key;
|
|
35881
35884
|
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);
|
|
@@ -36802,13 +36805,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
|
|
|
36802
36805
|
var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
|
|
36803
36806
|
// 处理对象-设置了必填-规则实例保存时数据必填校验
|
|
36804
36807
|
if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
|
|
36805
|
-
var list =
|
|
36808
|
+
var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
|
|
36806
36809
|
var requiredList = list.filter(function (c) {
|
|
36807
36810
|
return c.required == 1;
|
|
36808
36811
|
}) || []; // 获取对象属性为true的集合
|
|
36809
36812
|
(requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
|
|
36810
36813
|
var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
|
|
36811
|
-
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) ?
|
|
36814
|
+
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];
|
|
36812
36815
|
(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) {
|
|
36813
36816
|
if (requiredList.some(function (r) {
|
|
36814
36817
|
return r.id === e.elementId;
|
|
@@ -37397,7 +37400,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37397
37400
|
style: {
|
|
37398
37401
|
float: 'right'
|
|
37399
37402
|
}
|
|
37400
|
-
})), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (
|
|
37403
|
+
})), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
|
|
37401
37404
|
onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
|
|
37402
37405
|
ruleGroupInfo: {
|
|
37403
37406
|
ruleGroupList: ruleGroupList,
|
|
@@ -37415,7 +37418,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37415
37418
|
callBack: function callBack(newData) {
|
|
37416
37419
|
upDateData(newData);
|
|
37417
37420
|
}
|
|
37418
|
-
}))) : (
|
|
37421
|
+
}))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
37419
37422
|
style: {
|
|
37420
37423
|
padding: 20
|
|
37421
37424
|
}
|
|
@@ -37790,4 +37793,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
37790
37793
|
}, children));
|
|
37791
37794
|
};
|
|
37792
37795
|
|
|
37793
|
-
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 };
|
|
37796
|
+
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 };
|