@bit-sun/business-component 2.2.20 → 2.2.22
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/components/Business/JsonQueryTable/static.d.ts +2 -0
- package/dist/index.esm.js +83 -42
- package/dist/index.js +83 -42
- package/package.json +1 -1
- package/src/assets/arrow_top.svg +18 -0
- package/src/components/Business/CommonGuideWrapper/index.less +3 -1
- package/src/components/Business/CommonGuideWrapper/index.tsx +3 -3
- package/src/components/Business/JsonQueryTable/static.ts +35 -1
- package/src/components/Business/StateFlow/index.less +49 -28
- package/src/components/Business/StateFlow/index.md +5 -5
- package/src/components/Business/StateFlow/index.tsx +18 -15
- package/src/components/Business/TreeSearchSelect/index.md +29 -1
- package/src/components/Business/TreeSearchSelect/utils.ts +9 -0
- package/src/components/Functional/TreeSearchSelect/index.tsx +7 -5
package/dist/index.js
CHANGED
|
@@ -15094,6 +15094,7 @@ function getStorageVale(storageKeyString) {
|
|
|
15094
15094
|
return "";
|
|
15095
15095
|
}
|
|
15096
15096
|
|
|
15097
|
+
var _excluded$5 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
15097
15098
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
15098
15099
|
var _useState = React.useState([]),
|
|
15099
15100
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -15126,13 +15127,14 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15126
15127
|
_props$allowClear = props.allowClear,
|
|
15127
15128
|
allowClear = _props$allowClear === void 0 ? true : _props$allowClear,
|
|
15128
15129
|
_props$showCheckedStr = props.showCheckedStrategy,
|
|
15129
|
-
showCheckedStrategy = _props$showCheckedStr === void 0 ? antd.TreeSelect.SHOW_PARENT : _props$showCheckedStr,
|
|
15130
|
+
showCheckedStrategy = _props$showCheckedStr === void 0 ? (props === null || props === void 0 ? void 0 : props.treeCheckStrictly) ? antd.TreeSelect.SHOW_ALL : antd.TreeSelect.SHOW_PARENT : _props$showCheckedStr,
|
|
15130
15131
|
_props$style = props.style,
|
|
15131
15132
|
style = _props$style === void 0 ? {
|
|
15132
15133
|
width: '100%'
|
|
15133
15134
|
} : _props$style,
|
|
15134
15135
|
getTreeData = props.getTreeData,
|
|
15135
|
-
disabled = props.disabled
|
|
15136
|
+
disabled = props.disabled,
|
|
15137
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
15136
15138
|
var url = remoteSource.url,
|
|
15137
15139
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
15138
15140
|
paramsKey = _remoteSource$paramsK === void 0 ? 'qp-name-like' : _remoteSource$paramsK,
|
|
@@ -15173,7 +15175,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15173
15175
|
switch (_context.prev = _context.next) {
|
|
15174
15176
|
case 0:
|
|
15175
15177
|
resData = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
15176
|
-
if (!(resData.status === '0')) {
|
|
15178
|
+
if (!(resData.status === '0' || resData.code === '000000')) {
|
|
15177
15179
|
_context.next = 13;
|
|
15178
15180
|
break;
|
|
15179
15181
|
}
|
|
@@ -15217,7 +15219,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15217
15219
|
};
|
|
15218
15220
|
var formatData = function formatData(value) {
|
|
15219
15221
|
if (labelInValue) {
|
|
15220
|
-
var formatResult = multiple ? value.map(function (i) {
|
|
15222
|
+
var formatResult = multiple || treeCheckable ? value.map(function (i) {
|
|
15221
15223
|
return _objectSpread2(_objectSpread2({}, i), {}, {
|
|
15222
15224
|
key: i.value
|
|
15223
15225
|
});
|
|
@@ -15226,9 +15228,9 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15226
15228
|
});
|
|
15227
15229
|
return formatResult;
|
|
15228
15230
|
} else {
|
|
15229
|
-
var _formatResult = multiple ? value.map(function (i) {
|
|
15231
|
+
var _formatResult = multiple || treeCheckable ? value.map(function (i) {
|
|
15230
15232
|
return (i === null || i === void 0 ? void 0 : i.value) || i;
|
|
15231
|
-
}) : ___default['default'].get(value[0], 'value') || value;
|
|
15233
|
+
}) : ___default['default'].get(value === null || value === void 0 ? void 0 : value[0], 'value') || value;
|
|
15232
15234
|
return _formatResult;
|
|
15233
15235
|
}
|
|
15234
15236
|
};
|
|
@@ -15275,7 +15277,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15275
15277
|
};
|
|
15276
15278
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15277
15279
|
className: 'tree_search_select'
|
|
15278
|
-
}, /*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, {
|
|
15280
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
15279
15281
|
treeCheckable: treeCheckable,
|
|
15280
15282
|
maxTagCount: maxTagCount,
|
|
15281
15283
|
showSearch: showSearch,
|
|
@@ -15301,7 +15303,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15301
15303
|
getPopupContainer: function getPopupContainer() {
|
|
15302
15304
|
return _getPopupContainer && _getPopupContainer() || document.body;
|
|
15303
15305
|
}
|
|
15304
|
-
}));
|
|
15306
|
+
})));
|
|
15305
15307
|
};
|
|
15306
15308
|
|
|
15307
15309
|
var handleDefaultProps = function handleDefaultProps(type) {
|
|
@@ -15356,6 +15358,15 @@ var handleDefaultProps = function handleDefaultProps(type) {
|
|
|
15356
15358
|
}
|
|
15357
15359
|
};
|
|
15358
15360
|
break;
|
|
15361
|
+
case 'market-area':
|
|
15362
|
+
result = {
|
|
15363
|
+
isChoose: true,
|
|
15364
|
+
remoteSource: {
|
|
15365
|
+
url: "/channel-manage/tagNode/getTree/10",
|
|
15366
|
+
resKeyValue: ['code', 'name']
|
|
15367
|
+
}
|
|
15368
|
+
};
|
|
15369
|
+
break;
|
|
15359
15370
|
default:
|
|
15360
15371
|
result = {
|
|
15361
15372
|
treeCheckable: true,
|
|
@@ -15392,7 +15403,7 @@ var index$1 = /*#__PURE__*/React__default['default'].memo(BusinessTreeSearchSele
|
|
|
15392
15403
|
return true;
|
|
15393
15404
|
});
|
|
15394
15405
|
|
|
15395
|
-
var css_248z$8 = ".form-status-label {\n height:
|
|
15406
|
+
var css_248z$8 = ".form-status-label {\n height: 38px;\n margin-right: 7px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #68C900;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -38px;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #68C900;\n z-index: 9;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #68C900;\n z-index: 10;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -38px;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n z-index: 9;\n}\n.status-label-index {\n display: inline-block;\n width: 16px;\n height: 16px;\n background: #FFFFFF;\n color: #68C900;\n border-radius: 50%;\n font-family: Montserrat;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n margin: 0 4px 0 20px;\n}\n.choosed-status-label-index {\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n font-family: Montserrat;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n margin: 0 4px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 10px;\n height: 14px;\n line-height: 14px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: 300;\n}\n.status-label-operate > div:first-child {\n font-size: 12px;\n font-weight: 500;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
15396
15407
|
styleInject(css_248z$8);
|
|
15397
15408
|
|
|
15398
15409
|
var index$2 = (function (props) {
|
|
@@ -15401,7 +15412,6 @@ var index$2 = (function (props) {
|
|
|
15401
15412
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15402
15413
|
style: {
|
|
15403
15414
|
display: 'flex',
|
|
15404
|
-
padding: '10px 60px 0px',
|
|
15405
15415
|
background: '#FFFFFF'
|
|
15406
15416
|
}
|
|
15407
15417
|
}, formStatusMapping.map(function (item, index) {
|
|
@@ -15413,13 +15423,14 @@ var index$2 = (function (props) {
|
|
|
15413
15423
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15414
15424
|
className: 'status-label-key'
|
|
15415
15425
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15416
|
-
className
|
|
15426
|
+
// className='status-label-index'
|
|
15427
|
+
className: "".concat(item.isDone ? 'status-label-index' : 'choosed-status-label-index')
|
|
15417
15428
|
}, index + 1)), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15418
15429
|
className: 'status-label-operate'
|
|
15419
15430
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15420
15431
|
style: !item.isDone ? {
|
|
15421
|
-
height: '
|
|
15422
|
-
lineHeight: '
|
|
15432
|
+
height: '30px',
|
|
15433
|
+
lineHeight: '30px'
|
|
15423
15434
|
} : {}
|
|
15424
15435
|
}, item.text), item.isDone ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15425
15436
|
title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
|
|
@@ -15433,16 +15444,16 @@ var index$2 = (function (props) {
|
|
|
15433
15444
|
|
|
15434
15445
|
var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%203%E5%A4%87%E4%BB%BD%204%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%8D%95%E6%8D%AE-%E8%AF%A6%E6%83%85%E9%A1%B5%EF%BC%88%E4%BA%8C%E7%BA%A7%E9%A1%B5%EF%BC%89-%E4%B8%8B%E6%8B%89%22%20transform%3D%22translate%28-1858.000000%2C%20-1326.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-20%22%20transform%3D%22translate%28280.000000%2C%20866.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%281554.000000%2C%20179.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%E5%A4%87%E4%BB%BD-4%22%20transform%3D%22translate%2824.000000%2C%20281.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%203.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.99072727%2C0.237481917%20C6.50454545%2C-0.0418576482%206.56509091%2C-0.0745634228%206.97254545%2C0.138292264%20L7.15527271%2C0.236945765%20C7.31727271%2C0.445512161%207.34672726%2C0.483579531%207.3761818%2C0.664265595%20L7.39690908%2C0.809565049%20L7.39690908%2C17%20L5.76054545%2C17%20L5.76054545%2C2.73974241%20L1.15690909%2C7.26654448%20L0%2C6.12934831%20L5.99072727%2C0.237481917%20Z%20M13.0909091%2C13.6720525%20L13.0909091%2C15.2805337%20L9.81818182%2C15.2805337%20L9.81818182%2C13.6720525%20L13.0909091%2C13.6720525%20Z%20M14.7272727%2C9.91892987%20L14.7272727%2C11.527411%20L9.81818182%2C11.527411%20L9.81818182%2C9.91892987%20L14.7272727%2C9.91892987%20Z%20M16.3636364%2C6.16580723%20L16.3636364%2C7.77428836%20L9.81818182%2C7.77428836%20L9.81818182%2C6.16580723%20L16.3636364%2C6.16580723%20Z%20M18%2C2.41268459%20L18%2C4.02116572%20L9.81818182%2C4.02116572%20L9.81818182%2C2.41268459%20L18%2C2.41268459%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15435
15446
|
|
|
15436
|
-
var arrow_top = "data:image/
|
|
15447
|
+
var arrow_top = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Earrow_icon_up%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%9B%B6%E5%94%AE%E3%80%90%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85%E3%80%91%E6%94%B9%E9%80%A0%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28-462.000000%2C%20-1828.000000%29%22%20id%3D%22%E7%BC%96%E7%BB%84-5%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28372.000000%2C%201534.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%20286.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-17%22%20transform%3D%22translate%2880.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22arrow_icon_up%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%282.500000%2C%202.500000%29%22%20fill%3D%22%23B6B6B6%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M7.5%2C0%20C11.6422059%2C0%2015%2C3.35779411%2015%2C7.5%20C15%2C11.6422059%2011.6422059%2C15%207.5%2C15%20C3.35779411%2C15%200%2C11.6422059%200%2C7.5%20C0%2C3.35779411%203.35779411%2C0%207.5%2C0%20Z%20M7.61029411%2C4.79955883%20L3.58632353%2C8.82352941%20L4.52205883%2C9.7592647%20L7.61029411%2C6.67102942%20L10.6985294%2C9.7592647%20L11.6342647%2C8.82352941%20L7.61029411%2C4.79955883%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15437
15448
|
|
|
15438
|
-
var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size:
|
|
15449
|
+
var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 14px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n border-bottom: 1px solid #F0F0F0;\n border-radius: 4px 4px 0 0;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005CFF;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
|
|
15439
15450
|
styleInject(css_248z$9);
|
|
15440
15451
|
|
|
15441
|
-
var _excluded$
|
|
15452
|
+
var _excluded$6 = ["children"],
|
|
15442
15453
|
_excluded2$2 = ["children"];
|
|
15443
15454
|
var Field = function Field(_ref) {
|
|
15444
15455
|
var children = _ref.children,
|
|
15445
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15456
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
15446
15457
|
var _React$useState = React__default['default'].useState(true),
|
|
15447
15458
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
15448
15459
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -15458,10 +15469,10 @@ var Field = function Field(_ref) {
|
|
|
15458
15469
|
className: 'title-left-line'
|
|
15459
15470
|
}), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15460
15471
|
style: {
|
|
15461
|
-
marginRight: '
|
|
15472
|
+
marginRight: '4px'
|
|
15462
15473
|
}
|
|
15463
15474
|
}, props === null || props === void 0 ? void 0 : props.title), /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15464
|
-
width:
|
|
15475
|
+
width: 20,
|
|
15465
15476
|
style: {
|
|
15466
15477
|
transform: fieldGroupVisible ? 'inherit' : 'rotate(180deg)',
|
|
15467
15478
|
cursor: 'pointer'
|
|
@@ -15577,7 +15588,7 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
15577
15588
|
var css_248z$a = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
|
|
15578
15589
|
styleInject(css_248z$a);
|
|
15579
15590
|
|
|
15580
|
-
var _excluded$
|
|
15591
|
+
var _excluded$7 = ["className", "style"];
|
|
15581
15592
|
var Search$1 = antd.Input.Search;
|
|
15582
15593
|
var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
|
|
15583
15594
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -15944,7 +15955,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15944
15955
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15945
15956
|
var className = _ref2.className,
|
|
15946
15957
|
style = _ref2.style,
|
|
15947
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
15958
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$7);
|
|
15948
15959
|
var sortDataSource = _this.state.sortDataSource;
|
|
15949
15960
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15950
15961
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16211,7 +16222,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16211
16222
|
return SortableTable;
|
|
16212
16223
|
}(React__default['default'].Component);
|
|
16213
16224
|
|
|
16214
|
-
var _excluded$
|
|
16225
|
+
var _excluded$8 = ["onResize", "width"],
|
|
16215
16226
|
_excluded2$3 = ["style", "columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16216
16227
|
var Text = antd.Typography.Text;
|
|
16217
16228
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16324,7 +16335,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16324
16335
|
_this.ResizeableTitle = function (props) {
|
|
16325
16336
|
var onResize = props.onResize,
|
|
16326
16337
|
width = props.width,
|
|
16327
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16338
|
+
restProps = _objectWithoutProperties(props, _excluded$8);
|
|
16328
16339
|
if (!width) {
|
|
16329
16340
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
16330
16341
|
}
|
|
@@ -16456,7 +16467,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16456
16467
|
return ColumnSettingSulaTable;
|
|
16457
16468
|
}(React__default['default'].Component);
|
|
16458
16469
|
|
|
16459
|
-
var _excluded$
|
|
16470
|
+
var _excluded$9 = ["onResize", "width"],
|
|
16460
16471
|
_excluded2$4 = ["columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16461
16472
|
var Text$1 = antd.Typography.Text;
|
|
16462
16473
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16568,7 +16579,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16568
16579
|
_this.ResizeableTitle = function (props) {
|
|
16569
16580
|
var onResize = props.onResize,
|
|
16570
16581
|
width = props.width,
|
|
16571
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16582
|
+
restProps = _objectWithoutProperties(props, _excluded$9);
|
|
16572
16583
|
if (!width) {
|
|
16573
16584
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
16574
16585
|
}
|
|
@@ -16778,12 +16789,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
|
|
|
16778
16789
|
var css_248z$c = "";
|
|
16779
16790
|
styleInject(css_248z$c);
|
|
16780
16791
|
|
|
16781
|
-
var _excluded$
|
|
16792
|
+
var _excluded$a = ["message", "type"];
|
|
16782
16793
|
var CommonAlert = (function (props) {
|
|
16783
16794
|
var message = props.message,
|
|
16784
16795
|
_props$type = props.type,
|
|
16785
16796
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
16786
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
16797
|
+
reset = _objectWithoutProperties(props, _excluded$a);
|
|
16787
16798
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16788
16799
|
style: {
|
|
16789
16800
|
width: '100%',
|
|
@@ -16804,7 +16815,7 @@ var CommonAlert = (function (props) {
|
|
|
16804
16815
|
}, reset)));
|
|
16805
16816
|
});
|
|
16806
16817
|
|
|
16807
|
-
var _excluded$
|
|
16818
|
+
var _excluded$b = ["children"];
|
|
16808
16819
|
var iconMap = {
|
|
16809
16820
|
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16810
16821
|
src: editIcon
|
|
@@ -16826,7 +16837,7 @@ var index$3 = (function (props) {
|
|
|
16826
16837
|
_useState2 = _slicedToArray(_useState, 1),
|
|
16827
16838
|
id = _useState2[0];
|
|
16828
16839
|
var children = props.children,
|
|
16829
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16840
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
16830
16841
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16831
16842
|
id: id,
|
|
16832
16843
|
className: 'detail_page_wrapper'
|
|
@@ -17035,7 +17046,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
17035
17046
|
var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 20px;\n}\n.home_page_head .home_page_title {\n height: 20px;\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n flex-grow: 1;\n margin-top: 2px;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n";
|
|
17036
17047
|
styleInject(css_248z$d);
|
|
17037
17048
|
|
|
17038
|
-
var _excluded$
|
|
17049
|
+
var _excluded$c = ["children"];
|
|
17039
17050
|
var index$4 = (function (props) {
|
|
17040
17051
|
var _useLocation = umi.useLocation(),
|
|
17041
17052
|
pathname = _useLocation.pathname;
|
|
@@ -17043,7 +17054,7 @@ var index$4 = (function (props) {
|
|
|
17043
17054
|
_useState2 = _slicedToArray(_useState, 1),
|
|
17044
17055
|
id = _useState2[0];
|
|
17045
17056
|
var children = props.children,
|
|
17046
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17057
|
+
restProps = _objectWithoutProperties(props, _excluded$c);
|
|
17047
17058
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17048
17059
|
id: id,
|
|
17049
17060
|
className: 'home_page_wrapper'
|
|
@@ -17146,7 +17157,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
17146
17157
|
var css_248z$e = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n";
|
|
17147
17158
|
styleInject(css_248z$e);
|
|
17148
17159
|
|
|
17149
|
-
var _excluded$
|
|
17160
|
+
var _excluded$d = ["className", "style"];
|
|
17150
17161
|
var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
|
|
17151
17162
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
17152
17163
|
src: drag
|
|
@@ -17533,7 +17544,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17533
17544
|
_this.DraggableBodyRow = function (_ref2) {
|
|
17534
17545
|
var className = _ref2.className,
|
|
17535
17546
|
style = _ref2.style,
|
|
17536
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17547
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$d);
|
|
17537
17548
|
var sortDataSource = _this.state.sortDataSource;
|
|
17538
17549
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
17539
17550
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -17838,7 +17849,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17838
17849
|
return SortableTable;
|
|
17839
17850
|
}(React__default['default'].Component);
|
|
17840
17851
|
|
|
17841
|
-
var _excluded$
|
|
17852
|
+
var _excluded$e = ["className", "style"];
|
|
17842
17853
|
var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
|
|
17843
17854
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
17844
17855
|
src: drag
|
|
@@ -18068,7 +18079,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18068
18079
|
_this.DraggableBodyRow = function (_ref2) {
|
|
18069
18080
|
var className = _ref2.className,
|
|
18070
18081
|
style = _ref2.style,
|
|
18071
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
18082
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$e);
|
|
18072
18083
|
var sortDataSource = _this.state.sortDataSource;
|
|
18073
18084
|
var index = sortDataSource.findIndex(function (x) {
|
|
18074
18085
|
return x.name === restProps['data-row-key'];
|
|
@@ -18311,12 +18322,12 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18311
18322
|
return SearchItemTable;
|
|
18312
18323
|
}(React__default['default'].Component);
|
|
18313
18324
|
|
|
18314
|
-
var _excluded$
|
|
18325
|
+
var _excluded$f = ["onResize", "width"];
|
|
18315
18326
|
var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
|
|
18316
18327
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
18317
18328
|
var onResize = props.onResize,
|
|
18318
18329
|
width = props.width,
|
|
18319
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
18330
|
+
restProps = _objectWithoutProperties(props, _excluded$f);
|
|
18320
18331
|
if (!width) {
|
|
18321
18332
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
18322
18333
|
}
|
|
@@ -20809,7 +20820,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
20809
20820
|
var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #1890ff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
|
|
20810
20821
|
styleInject(css_248z$m);
|
|
20811
20822
|
|
|
20812
|
-
var _excluded$
|
|
20823
|
+
var _excluded$g = ["route"];
|
|
20813
20824
|
var TabPane = antd.Tabs.TabPane;
|
|
20814
20825
|
var UN_LISTTEN_DRP;
|
|
20815
20826
|
var routerArray = [];
|
|
@@ -21625,7 +21636,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21625
21636
|
}); // 添加数据大屏
|
|
21626
21637
|
var _this$props3 = this.props,
|
|
21627
21638
|
route = _this$props3.route,
|
|
21628
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21639
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$g);
|
|
21629
21640
|
var exist = route.routes.find(function (route) {
|
|
21630
21641
|
return route.path === '/homePage/data-show';
|
|
21631
21642
|
});
|
|
@@ -22474,10 +22485,10 @@ var index$6 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
22474
22485
|
}))))));
|
|
22475
22486
|
});
|
|
22476
22487
|
|
|
22477
|
-
var _excluded$
|
|
22488
|
+
var _excluded$h = ["children"];
|
|
22478
22489
|
var Drawer = (function (props) {
|
|
22479
22490
|
var children = props.children,
|
|
22480
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22491
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
22481
22492
|
return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
|
|
22482
22493
|
mask: true,
|
|
22483
22494
|
closable: false,
|
|
@@ -29249,6 +29260,20 @@ var inputTypes = {
|
|
|
29249
29260
|
310: {
|
|
29250
29261
|
type: 'bs-deliveryModeSearchSelect',
|
|
29251
29262
|
props: _objectSpread2({}, normalSingleSelectProps)
|
|
29263
|
+
},
|
|
29264
|
+
340: {
|
|
29265
|
+
type: 'bs-RuleTemplateSearchSelect',
|
|
29266
|
+
props: _objectSpread2(_objectSpread2({}, normalMultipleSelectProps), {}, {
|
|
29267
|
+
requestConfig: {
|
|
29268
|
+
filter: 'qp-name,code-orGroup-in'
|
|
29269
|
+
}
|
|
29270
|
+
})
|
|
29271
|
+
},
|
|
29272
|
+
350: {
|
|
29273
|
+
type: 'bs-marketAreaOrgSelect',
|
|
29274
|
+
props: _objectSpread2({
|
|
29275
|
+
treeCheckable: false
|
|
29276
|
+
}, normalSingleSelectProps)
|
|
29252
29277
|
}
|
|
29253
29278
|
},
|
|
29254
29279
|
30: {
|
|
@@ -29385,6 +29410,20 @@ var inputTypes = {
|
|
|
29385
29410
|
filter: 'qp-name,code-orGroup,in'
|
|
29386
29411
|
}
|
|
29387
29412
|
})
|
|
29413
|
+
},
|
|
29414
|
+
340: {
|
|
29415
|
+
type: 'bs-RuleTemplateSearchSelect',
|
|
29416
|
+
props: _objectSpread2(_objectSpread2({}, normalMultipleSelectProps), {}, {
|
|
29417
|
+
requestConfig: {
|
|
29418
|
+
filter: 'qp-name,code-orGroup-in'
|
|
29419
|
+
}
|
|
29420
|
+
})
|
|
29421
|
+
},
|
|
29422
|
+
350: {
|
|
29423
|
+
type: 'bs-marketAreaOrgSelect',
|
|
29424
|
+
props: _objectSpread2({
|
|
29425
|
+
treeCheckable: false
|
|
29426
|
+
}, normalSingleSelectProps)
|
|
29388
29427
|
}
|
|
29389
29428
|
}
|
|
29390
29429
|
};
|
|
@@ -29413,7 +29452,9 @@ var choiceType = Object.freeze({
|
|
|
29413
29452
|
270: '员工选择器',
|
|
29414
29453
|
280: '库存组织选择器',
|
|
29415
29454
|
310: '配送方式选择器',
|
|
29416
|
-
330: '变量'
|
|
29455
|
+
330: '变量',
|
|
29456
|
+
340: '规则场景选择器',
|
|
29457
|
+
350: '营销区域选择器'
|
|
29417
29458
|
});
|
|
29418
29459
|
var inputType = {
|
|
29419
29460
|
10: '输入',
|
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>arrow_icon_up</title>
|
|
4
|
+
<g id="零售【单据详情】改造" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g transform="translate(-462.000000, -1828.000000)" id="编组-5">
|
|
6
|
+
<g transform="translate(372.000000, 1534.000000)">
|
|
7
|
+
<g id="编组-2" transform="translate(10.000000, 286.000000)">
|
|
8
|
+
<g id="编组-17" transform="translate(80.000000, 8.000000)">
|
|
9
|
+
<rect id="arrow_icon_up" fill="#D8D8D8" opacity="0" x="0" y="0" width="20" height="20"></rect>
|
|
10
|
+
<g id="编组" transform="translate(2.500000, 2.500000)" fill="#B6B6B6" fill-rule="nonzero">
|
|
11
|
+
<path d="M7.5,0 C11.6422059,0 15,3.35779411 15,7.5 C15,11.6422059 11.6422059,15 7.5,15 C3.35779411,15 0,11.6422059 0,7.5 C0,3.35779411 3.35779411,0 7.5,0 Z M7.61029411,4.79955883 L3.58632353,8.82352941 L4.52205883,9.7592647 L7.61029411,6.67102942 L10.6985294,9.7592647 L11.6342647,8.82352941 L7.61029411,4.79955883 Z" id="形状"></path>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</svg>
|
|
@@ -87,13 +87,15 @@
|
|
|
87
87
|
.ant-card-head-title {
|
|
88
88
|
display: flex;
|
|
89
89
|
align-items: center;
|
|
90
|
-
font-size:
|
|
90
|
+
font-size: 14px;
|
|
91
91
|
color: #000000;
|
|
92
92
|
font-weight: 600;
|
|
93
93
|
font-family: PingFangSC;
|
|
94
94
|
background-color: #FFFFFF;
|
|
95
95
|
padding: 8px 0;
|
|
96
96
|
margin: 0px;
|
|
97
|
+
border-bottom: 1px solid #F0F0F0;
|
|
98
|
+
border-radius: 4px 4px 0 0;
|
|
97
99
|
.title-left-line {
|
|
98
100
|
display: inline-block;
|
|
99
101
|
width: 4px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from "react";
|
|
2
2
|
import dragImg from '../../../assets/drag.svg';
|
|
3
3
|
import label_icon_bottom from '../../../assets/label_icon_bottom.svg';
|
|
4
|
-
import arrow_top from '../../../assets/arrow_top.
|
|
4
|
+
import arrow_top from '../../../assets/arrow_top.svg';
|
|
5
5
|
import './index.less';
|
|
6
6
|
|
|
7
7
|
const Field = ({ children, ...props }: any) => {
|
|
@@ -19,11 +19,11 @@ const Field = ({ children, ...props }: any) => {
|
|
|
19
19
|
<div className="ant-card-head">
|
|
20
20
|
<div className="ant-card-head-title">
|
|
21
21
|
<span className='title-left-line'></span>
|
|
22
|
-
<span style={{ marginRight: '
|
|
22
|
+
<span style={{ marginRight: '4px' }}>
|
|
23
23
|
{props?.title}
|
|
24
24
|
</span>
|
|
25
25
|
<img
|
|
26
|
-
width={
|
|
26
|
+
width={20}
|
|
27
27
|
style={{
|
|
28
28
|
transform: fieldGroupVisible ? 'inherit' : 'rotate(180deg)',
|
|
29
29
|
cursor: 'pointer'
|
|
@@ -145,6 +145,22 @@ export const inputTypes:any = {
|
|
|
145
145
|
...normalSingleSelectProps,
|
|
146
146
|
},
|
|
147
147
|
},
|
|
148
|
+
340: {
|
|
149
|
+
type: 'bs-RuleTemplateSearchSelect',
|
|
150
|
+
props: {
|
|
151
|
+
...normalMultipleSelectProps,
|
|
152
|
+
requestConfig: {
|
|
153
|
+
filter: 'qp-name,code-orGroup-in',
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
350: {
|
|
158
|
+
type: 'bs-marketAreaOrgSelect',
|
|
159
|
+
props: {
|
|
160
|
+
treeCheckable: false,
|
|
161
|
+
...normalSingleSelectProps,
|
|
162
|
+
},
|
|
163
|
+
},
|
|
148
164
|
},
|
|
149
165
|
30: {
|
|
150
166
|
10: {
|
|
@@ -295,6 +311,22 @@ export const inputTypes:any = {
|
|
|
295
311
|
},
|
|
296
312
|
},
|
|
297
313
|
},
|
|
314
|
+
340: {
|
|
315
|
+
type: 'bs-RuleTemplateSearchSelect',
|
|
316
|
+
props: {
|
|
317
|
+
...normalMultipleSelectProps,
|
|
318
|
+
requestConfig: {
|
|
319
|
+
filter: 'qp-name,code-orGroup-in',
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
350: {
|
|
324
|
+
type: 'bs-marketAreaOrgSelect',
|
|
325
|
+
props: {
|
|
326
|
+
treeCheckable: false,
|
|
327
|
+
...normalSingleSelectProps,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
298
330
|
},
|
|
299
331
|
};
|
|
300
332
|
|
|
@@ -332,7 +364,9 @@ export const choiceType = Object.freeze({
|
|
|
332
364
|
280: '库存组织选择器',
|
|
333
365
|
|
|
334
366
|
310: '配送方式选择器',
|
|
335
|
-
330: '变量'
|
|
367
|
+
330: '变量',
|
|
368
|
+
340: '规则场景选择器',
|
|
369
|
+
350: '营销区域选择器',
|
|
336
370
|
});
|
|
337
371
|
export const inputType:any ={
|
|
338
372
|
10: '输入',
|