@bit-sun/business-component 4.0.12-alpha.20 → 4.0.12-alpha.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/PropertyModal/index.d.ts +23 -0
- package/dist/components/Business/PropertyModal/mockData.d.ts +10 -0
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +4 -0
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +4 -1
- package/dist/components/Functional/SearchSelect/index.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +709 -124
- package/dist/index.js +705 -119
- package/package.json +1 -1
- package/src/components/Business/PropertyModal/index.less +58 -0
- package/src/components/Business/PropertyModal/index.md +33 -0
- package/src/components/Business/PropertyModal/index.tsx +266 -0
- package/src/components/Business/PropertyModal/mockData.ts +160 -0
- package/src/components/Business/PropertyModal/propertyGroup.tsx +205 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +5 -1
- package/src/components/Functional/QueryMutipleInput/index.tsx +22 -4
- package/src/components/Functional/SearchSelect/index.tsx +151 -5
- package/src/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -3972,9 +3972,25 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
3972
3972
|
var css_248z$4 = ".query_input_show {\n display: flex;\n}\n.query_input_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: 12px;\n text-align: center;\n line-height: normal;\n}\n.query_input_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n}\n.query_input_wrapper_top {\n color: #8E8E8E;\n}\n.query_input_textArea {\n margin-top: 10px;\n}\n.query_input_textArea .ant-input {\n height: 300px;\n background: #FAFAFA;\n border: 0.8px solid #E0E0E0;\n resize: none;\n border-radius: 0;\n}\n.multiInput_modal .ant-modal-header {\n height: 32px;\n padding: 0 16px;\n font-size: 12px;\n}\n.multiInput_modal .ant-modal-title {\n line-height: 32px;\n}\n.multiInput_modal .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.multiInput_modal .ant-modal-footer {\n padding-right: 8px;\n height: 44px;\n}\n.multiInput_modal .ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {\n margin-left: 6px;\n}\n.multiInput_modal .ant-modal-footer .ant-btn {\n width: 56px;\n height: 28px;\n font-weight: 500;\n}\n";
|
|
3973
3973
|
styleInject(css_248z$4);
|
|
3974
3974
|
|
|
3975
|
+
var handlePressEnter = _.debounce(function (ctx) {
|
|
3976
|
+
if (ctx === null || ctx === void 0 ? void 0 : ctx.table) {
|
|
3977
|
+
var _ctx$form, _ctx$form$validateFie;
|
|
3978
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : (_ctx$form$validateFie = _ctx$form.validateFields) === null || _ctx$form$validateFie === void 0 ? void 0 : _ctx$form$validateFie.call(_ctx$form).then(function (data) {
|
|
3979
|
+
var _ctx$table, _ctx$table2;
|
|
3980
|
+
var _ctx$table$getPaging = ctx === null || ctx === void 0 ? void 0 : (_ctx$table = ctx.table) === null || _ctx$table === void 0 ? void 0 : _ctx$table.getPaging(),
|
|
3981
|
+
pageSize = _ctx$table$getPaging.pagination.pageSize,
|
|
3982
|
+
sorter = _ctx$table$getPaging.sorter;
|
|
3983
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$table2 = ctx.table) === null || _ctx$table2 === void 0 ? void 0 : _ctx$table2.refreshTable({
|
|
3984
|
+
pageSize: pageSize,
|
|
3985
|
+
current: 1
|
|
3986
|
+
}, data, sorter);
|
|
3987
|
+
});
|
|
3988
|
+
}
|
|
3989
|
+
}, 50);
|
|
3975
3990
|
var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
3976
3991
|
var onValueChange = _ref.onValueChange,
|
|
3977
|
-
_onPressEnter = _ref.onPressEnter
|
|
3992
|
+
_onPressEnter = _ref.onPressEnter,
|
|
3993
|
+
ctx = _ref.ctx;
|
|
3978
3994
|
var _useState = React$1.useState(false),
|
|
3979
3995
|
_useState2 = _slicedToArray(_useState, 2),
|
|
3980
3996
|
isModalVisible = _useState2[0],
|
|
@@ -4046,8 +4062,11 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
|
4046
4062
|
onClick: showModal
|
|
4047
4063
|
}, "..."),
|
|
4048
4064
|
placeholder: "\u8BF7\u8F93\u5165\uFF08\u67E5\u8BE2\u591A\u4E2A\u503C\u8BF7\u7528 ; \u6216 , \u5206\u5272\uFF09",
|
|
4049
|
-
onPressEnter: function onPressEnter() {
|
|
4050
|
-
|
|
4065
|
+
onPressEnter: function onPressEnter(e) {
|
|
4066
|
+
if (_onPressEnter) {
|
|
4067
|
+
_onPressEnter(e);
|
|
4068
|
+
}
|
|
4069
|
+
if (ctx) handlePressEnter(ctx);
|
|
4051
4070
|
}
|
|
4052
4071
|
})), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
4053
4072
|
width: 600,
|
|
@@ -4180,6 +4199,429 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
|
4180
4199
|
|
|
4181
4200
|
var zhankaitiaojian = "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%3Ezhankaitiaojian-icon%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%22icon%22%20transform%3D%22translate%28-702.000000%2C%20-498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22zhankaitiaojian-icon%22%20transform%3D%22translate%28702.000000%2C%20498.000000%29%22%3E%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%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%3C%2Fmask%3E%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%3Cpath%20d%3D%22M12.0142082%2C6%20L18%2C11.9972435%20L12.0142082%2C18%20L11.04209%2C17.0260337%20L16.0562218%2C11.9972435%20L11.04209%2C6.97396631%20L12.0142082%2C6%20Z%20M6.97257658%2C6%20L12.9583683%2C11.9972435%20L6.97257658%2C18%20L6.00091666%2C17.0260337%20L11.0150485%2C11.9972435%20L6%2C6.97396631%20L6.97257658%2C6%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%20transform%3D%22translate%2812.000000%2C%2012.000000%29%20rotate%28-270.000000%29%20translate%28-12.000000%2C%20-12.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
4182
4201
|
|
|
4202
|
+
var css_248z$6 = ".property_classify_content {\n margin-bottom: 15px;\n}\n.property_classify_content1 {\n max-height: 350px;\n overflow-y: scroll;\n overflow-x: hidden;\n}\n/* 滚动槽(轨道)宽高 */\n.property_classify_content1::-webkit-scrollbar {\n width: 5px;\n /*对垂直流动条有效*/\n height: 5px;\n /*对水平流动条有效*/\n}\n/* 滚动槽(轨道)样式 */\n.property_classify_content1::-webkit-scrollbar-track {\n background-color: #ffffff;\n border-radius: 8px;\n}\n/*定义滑块颜色、内阴影及圆角*/\n.property_classify_content1::-webkit-scrollbar-thumb {\n border-radius: 7px;\n background-color: #CECECE;\n}\n/*定义两端按钮的样式*/\n.property_classify_content1::-webkit-scrollbar-button {\n display: none;\n}\n.propertyGroup_container {\n display: flex;\n margin-bottom: 16px;\n}\n.propertyGroup_container .propertyGroup_container_left {\n width: 100px;\n flex-shrink: 0;\n flex-grow: 0;\n}\n.propertyGroup_container .propertyGroup_container_right {\n width: 560px;\n flex-shrink: 0;\n flex-grow: 0;\n display: flex;\n flex-wrap: wrap;\n}\n.propertyGroup_container .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.propertyGroup_checkbox_container {\n width: 80px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n";
|
|
4203
|
+
styleInject(css_248z$6);
|
|
4204
|
+
|
|
4205
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4206
|
+
var propertyData = props.propertyData,
|
|
4207
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4208
|
+
modalVisilbe = props.modalVisilbe,
|
|
4209
|
+
itemValue = props.itemValue;
|
|
4210
|
+
var _useState = React$1.useState([]),
|
|
4211
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4212
|
+
commonUseProperty = _useState2[0],
|
|
4213
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4214
|
+
var _useState3 = React$1.useState([]),
|
|
4215
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4216
|
+
notCommonUseProperty = _useState4[0],
|
|
4217
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4218
|
+
var _useState5 = React$1.useState(false),
|
|
4219
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4220
|
+
indeterminate = _useState6[0],
|
|
4221
|
+
setIndeterminate = _useState6[1];
|
|
4222
|
+
var _useState7 = React$1.useState(false),
|
|
4223
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4224
|
+
showNotCommon = _useState8[0],
|
|
4225
|
+
setShowNotCommon = _useState8[1];
|
|
4226
|
+
React$1.useEffect(function () {
|
|
4227
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4228
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4229
|
+
});
|
|
4230
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4231
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4232
|
+
proDetailList.forEach(function (item) {
|
|
4233
|
+
if (checkedList.some(function (checkItem) {
|
|
4234
|
+
return checkItem.value === item.value;
|
|
4235
|
+
})) {
|
|
4236
|
+
item.isChecked = true;
|
|
4237
|
+
}
|
|
4238
|
+
});
|
|
4239
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4240
|
+
return item.isCommonUse;
|
|
4241
|
+
});
|
|
4242
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4243
|
+
return !item.isCommonUse;
|
|
4244
|
+
});
|
|
4245
|
+
if (checkedList.some(function (item) {
|
|
4246
|
+
return !item.isCommonUse;
|
|
4247
|
+
})) {
|
|
4248
|
+
setShowNotCommon(true);
|
|
4249
|
+
}
|
|
4250
|
+
setCommonUseProperty(commonUseProperty);
|
|
4251
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4252
|
+
}, [modalVisilbe]);
|
|
4253
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4254
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4255
|
+
return item.isChecked;
|
|
4256
|
+
});
|
|
4257
|
+
if (showNotCommon) {
|
|
4258
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4259
|
+
return item.isChecked;
|
|
4260
|
+
})));
|
|
4261
|
+
}
|
|
4262
|
+
handleProperyItemChange({
|
|
4263
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4264
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4265
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4266
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4267
|
+
detailList: choosedPropertyList
|
|
4268
|
+
});
|
|
4269
|
+
};
|
|
4270
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4271
|
+
if (showNotCommon) {
|
|
4272
|
+
notCommonUseProperty.map(function (item) {
|
|
4273
|
+
return item.isChecked = e.target.checked;
|
|
4274
|
+
});
|
|
4275
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4276
|
+
}
|
|
4277
|
+
commonUseProperty.map(function (item) {
|
|
4278
|
+
return item.isChecked = e.target.checked;
|
|
4279
|
+
});
|
|
4280
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4281
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4282
|
+
setIndeterminate(false);
|
|
4283
|
+
};
|
|
4284
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4285
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4286
|
+
if (showNotCommon) {
|
|
4287
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4288
|
+
}
|
|
4289
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4290
|
+
return item.isChecked;
|
|
4291
|
+
}).length && checkList.filter(function (item) {
|
|
4292
|
+
return item.isChecked;
|
|
4293
|
+
}).length !== checkList.length;
|
|
4294
|
+
setIndeterminate(indeterminate);
|
|
4295
|
+
};
|
|
4296
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4297
|
+
if (type === 1) {
|
|
4298
|
+
// 常用属性
|
|
4299
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4300
|
+
if (info.value === item.value) {
|
|
4301
|
+
info.isChecked = e.target.checked;
|
|
4302
|
+
}
|
|
4303
|
+
});
|
|
4304
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4305
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4306
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4307
|
+
}
|
|
4308
|
+
if (type === 2) {
|
|
4309
|
+
// 非常用属性
|
|
4310
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4311
|
+
if (info.value === item.value) {
|
|
4312
|
+
info.isChecked = e.target.checked;
|
|
4313
|
+
}
|
|
4314
|
+
});
|
|
4315
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4316
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4317
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4318
|
+
}
|
|
4319
|
+
};
|
|
4320
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4321
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4322
|
+
return checkData.length && checkData.every(function (item) {
|
|
4323
|
+
return item.isChecked;
|
|
4324
|
+
}) ? true : false;
|
|
4325
|
+
};
|
|
4326
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4327
|
+
className: 'propertyGroup_container'
|
|
4328
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4329
|
+
className: 'propertyGroup_container_left'
|
|
4330
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4331
|
+
checked: checkAllChecked(),
|
|
4332
|
+
indeterminate: indeterminate,
|
|
4333
|
+
onChange: handleChangeAll
|
|
4334
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4335
|
+
title: propertyData.name,
|
|
4336
|
+
className: "propertyGroup_checkbox_container"
|
|
4337
|
+
}, propertyData.propertyName))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4338
|
+
className: 'propertyGroup_container_right'
|
|
4339
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4340
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4341
|
+
checked: item.isChecked,
|
|
4342
|
+
key: item.value,
|
|
4343
|
+
onChange: function onChange(e) {
|
|
4344
|
+
handleItemChecked(e, item, 1);
|
|
4345
|
+
}
|
|
4346
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4347
|
+
title: item.name,
|
|
4348
|
+
className: "propertyGroup_checkbox_container"
|
|
4349
|
+
}, item.name));
|
|
4350
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4351
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4352
|
+
checked: item.isChecked,
|
|
4353
|
+
key: item.value,
|
|
4354
|
+
onChange: function onChange(e) {
|
|
4355
|
+
handleItemChecked(e, item, 2);
|
|
4356
|
+
}
|
|
4357
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4358
|
+
title: item.name,
|
|
4359
|
+
className: "propertyGroup_checkbox_container"
|
|
4360
|
+
}, item.name));
|
|
4361
|
+
}), !!notCommonUseProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
4362
|
+
style: {
|
|
4363
|
+
width: '50px',
|
|
4364
|
+
cursor: 'pointer',
|
|
4365
|
+
color: '#005cff',
|
|
4366
|
+
fontSize: '10px',
|
|
4367
|
+
display: 'flex',
|
|
4368
|
+
alignItems: 'center'
|
|
4369
|
+
},
|
|
4370
|
+
onClick: function onClick() {
|
|
4371
|
+
setShowNotCommon(!showNotCommon);
|
|
4372
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4373
|
+
}
|
|
4374
|
+
}, showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))));
|
|
4375
|
+
};
|
|
4376
|
+
var PropertyGroup$1 = /*#__PURE__*/React__default['default'].memo(PropertyGroup, function (props, nextProps) {
|
|
4377
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4378
|
+
return true;
|
|
4379
|
+
});
|
|
4380
|
+
|
|
4381
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
4382
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
4383
|
+
var value = _ref.value,
|
|
4384
|
+
onChange = _ref.onChange,
|
|
4385
|
+
width = _ref.width,
|
|
4386
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4387
|
+
var settingValue = React$1.useRef({
|
|
4388
|
+
classifyCode: '',
|
|
4389
|
+
classifyName: '',
|
|
4390
|
+
propertyList: []
|
|
4391
|
+
});
|
|
4392
|
+
var _useState = React$1.useState([]),
|
|
4393
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4394
|
+
choosedValues = _useState2[0],
|
|
4395
|
+
setChoosedValues = _useState2[1];
|
|
4396
|
+
var _useState3 = React$1.useState(''),
|
|
4397
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4398
|
+
choosedClassify = _useState4[0],
|
|
4399
|
+
setChoosedClassify = _useState4[1];
|
|
4400
|
+
var _useState5 = React$1.useState([]),
|
|
4401
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4402
|
+
commonProperty = _useState6[0],
|
|
4403
|
+
setCommonUseProperty = _useState6[1];
|
|
4404
|
+
var _useState7 = React$1.useState([]),
|
|
4405
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4406
|
+
notCommonProperty = _useState8[0],
|
|
4407
|
+
setNotCommonProperty = _useState8[1];
|
|
4408
|
+
var _useState9 = React$1.useState(false),
|
|
4409
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4410
|
+
visible = _useState10[0],
|
|
4411
|
+
setVisible = _useState10[1];
|
|
4412
|
+
var _useState11 = React$1.useState(false),
|
|
4413
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4414
|
+
showNotCommon = _useState12[0],
|
|
4415
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4416
|
+
var _useState13 = React$1.useState([]),
|
|
4417
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4418
|
+
classifyOptionList = _useState14[0],
|
|
4419
|
+
setClassifyOptionList = _useState14[1];
|
|
4420
|
+
var _useState15 = React$1.useState('1'),
|
|
4421
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4422
|
+
listKey = _useState16[0],
|
|
4423
|
+
setListKey = _useState16[1];
|
|
4424
|
+
React$1.useEffect(function () {
|
|
4425
|
+
requestUtil({
|
|
4426
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4427
|
+
method: 'GET'
|
|
4428
|
+
}).then(function (_ref2) {
|
|
4429
|
+
var _data$data;
|
|
4430
|
+
var data = _ref2.data;
|
|
4431
|
+
if (judgeIsRequestError(data)) {
|
|
4432
|
+
return;
|
|
4433
|
+
}
|
|
4434
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
4435
|
+
setClassifyOptionList(items.map(function (item) {
|
|
4436
|
+
return {
|
|
4437
|
+
label: item.name,
|
|
4438
|
+
value: item.id
|
|
4439
|
+
};
|
|
4440
|
+
}));
|
|
4441
|
+
});
|
|
4442
|
+
}, []);
|
|
4443
|
+
React$1.useEffect(function () {
|
|
4444
|
+
if (!choosedClassify) return;
|
|
4445
|
+
requestUtil({
|
|
4446
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
4447
|
+
method: 'GET'
|
|
4448
|
+
}).then(function (_ref3) {
|
|
4449
|
+
var data = _ref3.data;
|
|
4450
|
+
if (judgeIsRequestError(data)) {
|
|
4451
|
+
return;
|
|
4452
|
+
}
|
|
4453
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
4454
|
+
return {
|
|
4455
|
+
propertyCode: item.property.propertyCode,
|
|
4456
|
+
propertyName: item.property.name,
|
|
4457
|
+
propertyId: item.property.id,
|
|
4458
|
+
isCommonUse: item.property.isCommonUse === 'commonUse',
|
|
4459
|
+
detailList: item.propertyValueList.map(function (detail) {
|
|
4460
|
+
return {
|
|
4461
|
+
name: detail.value,
|
|
4462
|
+
value: detail.value,
|
|
4463
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
4464
|
+
};
|
|
4465
|
+
})
|
|
4466
|
+
};
|
|
4467
|
+
});
|
|
4468
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
4469
|
+
return item.isCommonUse;
|
|
4470
|
+
}));
|
|
4471
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
4472
|
+
return !item.isCommonUse;
|
|
4473
|
+
}));
|
|
4474
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
4475
|
+
});
|
|
4476
|
+
}, [choosedClassify]);
|
|
4477
|
+
React$1.useEffect(function () {
|
|
4478
|
+
// 获取选中品类信息
|
|
4479
|
+
setChoosedClassify(value === null || value === void 0 ? void 0 : value.classifyCode);
|
|
4480
|
+
// 获取选中属性值展示
|
|
4481
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
4482
|
+
return (item.detailList || []).map(function (detail) {
|
|
4483
|
+
return detail.name;
|
|
4484
|
+
});
|
|
4485
|
+
}).flat();
|
|
4486
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
4487
|
+
return !item.isCommonUse;
|
|
4488
|
+
})) {
|
|
4489
|
+
setShowNotCommon(true);
|
|
4490
|
+
}
|
|
4491
|
+
setChoosedValues(choosedPropertyList);
|
|
4492
|
+
settingValue.current = _objectSpread2({}, value);
|
|
4493
|
+
}, [value]);
|
|
4494
|
+
// 关闭弹窗回传组件值
|
|
4495
|
+
var handleConfirm = function handleConfirm() {
|
|
4496
|
+
setVisible(false);
|
|
4497
|
+
onChange(settingValue.current);
|
|
4498
|
+
};
|
|
4499
|
+
var onCancel = function onCancel() {
|
|
4500
|
+
setVisible(false);
|
|
4501
|
+
};
|
|
4502
|
+
// 获取选中属性值信息
|
|
4503
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
4504
|
+
var _settingValue$current;
|
|
4505
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
4506
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
4507
|
+
return item.propertyCode === value.propertyCode;
|
|
4508
|
+
});
|
|
4509
|
+
if (itemIndex !== -1) {
|
|
4510
|
+
newDetailList[itemIndex] = value;
|
|
4511
|
+
} else {
|
|
4512
|
+
newDetailList.push(value);
|
|
4513
|
+
}
|
|
4514
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
4515
|
+
propertyList: newDetailList.filter(function (item) {
|
|
4516
|
+
return item.detailList && item.detailList.length;
|
|
4517
|
+
})
|
|
4518
|
+
});
|
|
4519
|
+
};
|
|
4520
|
+
//修改品类值
|
|
4521
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
4522
|
+
setChoosedClassify(value);
|
|
4523
|
+
settingValue.current = {
|
|
4524
|
+
classifyCode: value,
|
|
4525
|
+
classifyName: option.children,
|
|
4526
|
+
propertyList: []
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
var tagRender = function tagRender(props) {
|
|
4530
|
+
var label = props.label,
|
|
4531
|
+
value = props.value,
|
|
4532
|
+
closable = props.closable,
|
|
4533
|
+
onClose = props.onClose;
|
|
4534
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
4535
|
+
closable: false,
|
|
4536
|
+
style: {
|
|
4537
|
+
marginRight: 3,
|
|
4538
|
+
height: '20px',
|
|
4539
|
+
fontSize: '12px'
|
|
4540
|
+
}
|
|
4541
|
+
}, label);
|
|
4542
|
+
};
|
|
4543
|
+
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
4544
|
+
maxTagCount: 1,
|
|
4545
|
+
tagRender: tagRender
|
|
4546
|
+
}, restProps), {}, {
|
|
4547
|
+
mode: "multiple",
|
|
4548
|
+
value: choosedValues,
|
|
4549
|
+
onClick: function onClick() {
|
|
4550
|
+
setVisible(true);
|
|
4551
|
+
},
|
|
4552
|
+
style: {
|
|
4553
|
+
width: width || '100%'
|
|
4554
|
+
},
|
|
4555
|
+
open: false
|
|
4556
|
+
})), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
4557
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
4558
|
+
width: 700,
|
|
4559
|
+
open: visible,
|
|
4560
|
+
onOk: handleConfirm,
|
|
4561
|
+
destroyOnClose: true,
|
|
4562
|
+
onCancel: onCancel,
|
|
4563
|
+
cancelText: '取消',
|
|
4564
|
+
okText: '确定'
|
|
4565
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4566
|
+
className: 'property_classify_content'
|
|
4567
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
4568
|
+
style: {
|
|
4569
|
+
marginRight: '10px'
|
|
4570
|
+
}
|
|
4571
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
4572
|
+
style: {
|
|
4573
|
+
width: '200px'
|
|
4574
|
+
},
|
|
4575
|
+
value: choosedClassify,
|
|
4576
|
+
options: classifyOptionList,
|
|
4577
|
+
onChange: function onChange(value, option) {
|
|
4578
|
+
onClassifyChange(value, option);
|
|
4579
|
+
}
|
|
4580
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4581
|
+
className: 'property_classify_content1',
|
|
4582
|
+
key: listKey
|
|
4583
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, commonProperty.map(function (item) {
|
|
4584
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
4585
|
+
modalVisilbe: visible,
|
|
4586
|
+
itemValue: settingValue.current,
|
|
4587
|
+
propertyData: item,
|
|
4588
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4589
|
+
});
|
|
4590
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
4591
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
4592
|
+
modalVisilbe: visible,
|
|
4593
|
+
itemValue: settingValue.current,
|
|
4594
|
+
propertyData: item,
|
|
4595
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4596
|
+
});
|
|
4597
|
+
}))), !!notCommonProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4598
|
+
style: {
|
|
4599
|
+
width: '50px',
|
|
4600
|
+
cursor: 'pointer',
|
|
4601
|
+
color: '#005cff',
|
|
4602
|
+
fontSize: '10px'
|
|
4603
|
+
},
|
|
4604
|
+
onClick: function onClick() {
|
|
4605
|
+
return setShowNotCommon(!showNotCommon);
|
|
4606
|
+
}
|
|
4607
|
+
}, showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))))));
|
|
4608
|
+
};
|
|
4609
|
+
|
|
4610
|
+
var handlePressEnter$1 = _.debounce(function (ctx) {
|
|
4611
|
+
if (ctx === null || ctx === void 0 ? void 0 : ctx.table) {
|
|
4612
|
+
var _ctx$form, _ctx$form$validateFie;
|
|
4613
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : (_ctx$form$validateFie = _ctx$form.validateFields) === null || _ctx$form$validateFie === void 0 ? void 0 : _ctx$form$validateFie.call(_ctx$form).then(function (data) {
|
|
4614
|
+
var _ctx$table, _ctx$table2;
|
|
4615
|
+
var _ctx$table$getPaging = ctx === null || ctx === void 0 ? void 0 : (_ctx$table = ctx.table) === null || _ctx$table === void 0 ? void 0 : _ctx$table.getPaging(),
|
|
4616
|
+
pageSize = _ctx$table$getPaging.pagination.pageSize,
|
|
4617
|
+
sorter = _ctx$table$getPaging.sorter;
|
|
4618
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$table2 = ctx.table) === null || _ctx$table2 === void 0 ? void 0 : _ctx$table2.refreshTable({
|
|
4619
|
+
pageSize: pageSize,
|
|
4620
|
+
current: 1
|
|
4621
|
+
}, data, sorter);
|
|
4622
|
+
});
|
|
4623
|
+
}
|
|
4624
|
+
}, 50);
|
|
4183
4625
|
var Option$1 = antd.Select.Option;
|
|
4184
4626
|
var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
4185
4627
|
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
@@ -4450,6 +4892,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4450
4892
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4451
4893
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
4452
4894
|
var callback = arguments.length > 2 ? arguments[2] : undefined;
|
|
4895
|
+
var bodyParams = arguments.length > 3 ? arguments[3] : undefined;
|
|
4453
4896
|
if (!requestConfig) return;
|
|
4454
4897
|
setFetching(true);
|
|
4455
4898
|
// 处理dependence参数
|
|
@@ -4578,6 +5021,109 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4578
5021
|
if (_.isNil(queryParams[selectParamsKey])) {
|
|
4579
5022
|
queryParams[selectParamsKey] = searchValue;
|
|
4580
5023
|
}
|
|
5024
|
+
if ((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.method) === 'post') {
|
|
5025
|
+
requestUtil.post("".concat(url, "?").concat(querystring.stringify(queryParams)), bodyParams || null).then(function (result) {
|
|
5026
|
+
setFetching(false);
|
|
5027
|
+
result = result.data;
|
|
5028
|
+
if (judgeIsRequestError(result)) {
|
|
5029
|
+
antd.message.error(result.msg);
|
|
5030
|
+
return;
|
|
5031
|
+
}
|
|
5032
|
+
var res = result.data;
|
|
5033
|
+
var source = [];
|
|
5034
|
+
if (isMap) {
|
|
5035
|
+
source = Object.keys(res).map(function (d, i) {
|
|
5036
|
+
return {
|
|
5037
|
+
text: Object.values(res)[i],
|
|
5038
|
+
value: d
|
|
5039
|
+
};
|
|
5040
|
+
});
|
|
5041
|
+
} else {
|
|
5042
|
+
var keys = res.list ? 'list' : 'items';
|
|
5043
|
+
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
5044
|
+
var _item$children;
|
|
5045
|
+
var textShowText = item[mappingTextField];
|
|
5046
|
+
if (mappingTextShowTextField) {
|
|
5047
|
+
textShowText = [];
|
|
5048
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
5049
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
5050
|
+
textShowText.push(item[r]);
|
|
5051
|
+
});
|
|
5052
|
+
} else {
|
|
5053
|
+
textShowText = item[mappingTextShowTextField];
|
|
5054
|
+
}
|
|
5055
|
+
}
|
|
5056
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
5057
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
5058
|
+
}
|
|
5059
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5060
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5061
|
+
textShowText: textShowText,
|
|
5062
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5063
|
+
value: item[mappingValueField],
|
|
5064
|
+
keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
|
|
5065
|
+
});
|
|
5066
|
+
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
5067
|
+
var _item$children2;
|
|
5068
|
+
var textShowText = item[mappingTextField];
|
|
5069
|
+
if (mappingTextShowTextField) {
|
|
5070
|
+
textShowText = [];
|
|
5071
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
5072
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
5073
|
+
textShowText.push(item[r]);
|
|
5074
|
+
});
|
|
5075
|
+
} else {
|
|
5076
|
+
textShowText = item[mappingTextShowTextField];
|
|
5077
|
+
}
|
|
5078
|
+
}
|
|
5079
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
|
|
5080
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
5081
|
+
}
|
|
5082
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5083
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5084
|
+
textShowText: textShowText,
|
|
5085
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5086
|
+
value: item[mappingValueField],
|
|
5087
|
+
keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
|
|
5088
|
+
});
|
|
5089
|
+
})) : [];
|
|
5090
|
+
}
|
|
5091
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
5092
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
5093
|
+
if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
5094
|
+
var _source;
|
|
5095
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
5096
|
+
return r.value == s;
|
|
5097
|
+
}));
|
|
5098
|
+
}))) {
|
|
5099
|
+
var selectedOption = items.filter(function (option) {
|
|
5100
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
5101
|
+
}) || [];
|
|
5102
|
+
source = (source || []).concat(selectedOption);
|
|
5103
|
+
}
|
|
5104
|
+
// 数据源 不可以有重复key
|
|
5105
|
+
source = Array.isArray(source) ? ___default['default'].uniqBy(source, 'value') : [];
|
|
5106
|
+
if (callback) {
|
|
5107
|
+
callback(source);
|
|
5108
|
+
} else {
|
|
5109
|
+
if (type === 1) {
|
|
5110
|
+
var _ctx$form2;
|
|
5111
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
|
|
5112
|
+
setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
|
|
5113
|
+
} else {
|
|
5114
|
+
setTableData(source);
|
|
5115
|
+
setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
|
|
5116
|
+
total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
|
|
5117
|
+
pageSize: Number((res === null || res === void 0 ? void 0 : res.size) || (res === null || res === void 0 ? void 0 : res.pageSize) || (params === null || params === void 0 ? void 0 : params.pageSize) || pageSize),
|
|
5118
|
+
current: Number((res === null || res === void 0 ? void 0 : res.page) || (res === null || res === void 0 ? void 0 : res.currentPage) || (params === null || params === void 0 ? void 0 : params.currentPage) || currentPage)
|
|
5119
|
+
}));
|
|
5120
|
+
}
|
|
5121
|
+
}
|
|
5122
|
+
}).catch(function (err) {
|
|
5123
|
+
setFetching(false);
|
|
5124
|
+
});
|
|
5125
|
+
return;
|
|
5126
|
+
}
|
|
4581
5127
|
requestUtil.get("".concat(url, "?").concat(querystring.stringify(queryParams)), {
|
|
4582
5128
|
headers: _objectSpread2({}, extralHeaders)
|
|
4583
5129
|
}).then(function (result) {
|
|
@@ -4599,7 +5145,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4599
5145
|
} else {
|
|
4600
5146
|
var keys = res.list ? 'list' : 'items';
|
|
4601
5147
|
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
4602
|
-
var _item$
|
|
5148
|
+
var _item$children3;
|
|
4603
5149
|
var textShowText = item[mappingTextField];
|
|
4604
5150
|
if (mappingTextShowTextField) {
|
|
4605
5151
|
textShowText = [];
|
|
@@ -4611,7 +5157,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4611
5157
|
textShowText = item[mappingTextShowTextField];
|
|
4612
5158
|
}
|
|
4613
5159
|
}
|
|
4614
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$
|
|
5160
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.length)) {
|
|
4615
5161
|
item === null || item === void 0 ? true : delete item.children;
|
|
4616
5162
|
}
|
|
4617
5163
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -4622,7 +5168,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4622
5168
|
keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
|
|
4623
5169
|
});
|
|
4624
5170
|
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
4625
|
-
var _item$
|
|
5171
|
+
var _item$children4;
|
|
4626
5172
|
var textShowText = item[mappingTextField];
|
|
4627
5173
|
if (mappingTextShowTextField) {
|
|
4628
5174
|
textShowText = [];
|
|
@@ -4634,7 +5180,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4634
5180
|
textShowText = item[mappingTextShowTextField];
|
|
4635
5181
|
}
|
|
4636
5182
|
}
|
|
4637
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$
|
|
5183
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.length)) {
|
|
4638
5184
|
item === null || item === void 0 ? true : delete item.children;
|
|
4639
5185
|
}
|
|
4640
5186
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -4649,8 +5195,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4649
5195
|
// 补充搜索项--选中的数据添加到数据源中去
|
|
4650
5196
|
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4651
5197
|
if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
4652
|
-
var
|
|
4653
|
-
return !((
|
|
5198
|
+
var _source2;
|
|
5199
|
+
return !((_source2 = source) === null || _source2 === void 0 ? void 0 : _source2.find(function (r) {
|
|
4654
5200
|
return r.value == s;
|
|
4655
5201
|
}));
|
|
4656
5202
|
}))) {
|
|
@@ -4665,8 +5211,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4665
5211
|
callback(source);
|
|
4666
5212
|
} else {
|
|
4667
5213
|
if (type === 1) {
|
|
4668
|
-
var _ctx$
|
|
4669
|
-
ctx === null || ctx === void 0 ? void 0 : (_ctx$
|
|
5214
|
+
var _ctx$form3;
|
|
5215
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form3 = ctx.form) === null || _ctx$form3 === void 0 ? void 0 : _ctx$form3.setFieldSource(resultSourceKey, source);
|
|
4670
5216
|
setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
|
|
4671
5217
|
} else {
|
|
4672
5218
|
setTableData(source);
|
|
@@ -4810,10 +5356,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4810
5356
|
};
|
|
4811
5357
|
var handleSelectOver = function handleSelectOver(selectedValue) {
|
|
4812
5358
|
if (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) {
|
|
4813
|
-
var _ctx$
|
|
5359
|
+
var _ctx$form4;
|
|
4814
5360
|
// 解决选择最后1页的sku,返回后,不显示名称问题
|
|
4815
5361
|
var source = ___default['default'].uniqBy(items.concat(selectedValue), 'value');
|
|
4816
|
-
ctx === null || ctx === void 0 ? void 0 : (_ctx$
|
|
5362
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form4 = ctx.form) === null || _ctx$form4 === void 0 ? void 0 : _ctx$form4.setFieldSource(resultSourceKey, source);
|
|
4817
5363
|
setSelectDataSource(source, source === null || source === void 0 ? void 0 : source.length);
|
|
4818
5364
|
formaData(selectedValue, source);
|
|
4819
5365
|
} else {
|
|
@@ -4904,10 +5450,15 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4904
5450
|
var params = form.getFieldsValue();
|
|
4905
5451
|
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4906
5452
|
setModalSearched(true);
|
|
5453
|
+
var unique_params = null;
|
|
5454
|
+
if (params['UNIQUE_SPEC']) {
|
|
5455
|
+
var _params$UNIQUE_SPEC;
|
|
5456
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
5457
|
+
}
|
|
4907
5458
|
setTableFormParams(params);
|
|
4908
5459
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4909
5460
|
pageSize: tableInitPageSize
|
|
4910
|
-
}), 2);
|
|
5461
|
+
}), 2, null, unique_params);
|
|
4911
5462
|
};
|
|
4912
5463
|
var onResetTable = function onResetTable() {
|
|
4913
5464
|
form.resetFields();
|
|
@@ -5034,7 +5585,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5034
5585
|
};
|
|
5035
5586
|
})) || [];
|
|
5036
5587
|
return list === null || list === void 0 ? void 0 : (_list$concat = list.concat(addKong)) === null || _list$concat === void 0 ? void 0 : _list$concat.map(function (i, index) {
|
|
5037
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
|
|
5588
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8;
|
|
5038
5589
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5039
5590
|
span: ColSpan,
|
|
5040
5591
|
key: i
|
|
@@ -5109,6 +5660,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5109
5660
|
}
|
|
5110
5661
|
})));
|
|
5111
5662
|
}
|
|
5663
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5664
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5665
|
+
span: ColSpan,
|
|
5666
|
+
key: i.name
|
|
5667
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
5668
|
+
name: i.name,
|
|
5669
|
+
label: i.label,
|
|
5670
|
+
key: i.name
|
|
5671
|
+
}, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
|
|
5672
|
+
}
|
|
5112
5673
|
// 默认type是input
|
|
5113
5674
|
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5114
5675
|
span: ColSpan,
|
|
@@ -5124,7 +5685,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5124
5685
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5125
5686
|
allowClear: true,
|
|
5126
5687
|
maxLength: 100
|
|
5127
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5688
|
+
}, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
|
|
5128
5689
|
disabled: setDisabled(i.name)
|
|
5129
5690
|
}))));
|
|
5130
5691
|
});
|
|
@@ -5451,6 +6012,23 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5451
6012
|
}
|
|
5452
6013
|
}, /*#__PURE__*/React__default['default'].createElement("div", null, searchValue || init || isHaveDependency ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165".concat(searchStartLength ? '4位数以上' : '', "\u5B57\u7B26\u8FDB\u884C\u6A21\u7CCA\u67E5\u8BE2")))),
|
|
5453
6014
|
onPopupScroll: SelectScroll,
|
|
6015
|
+
onKeyDown: function onKeyDown(e) {
|
|
6016
|
+
if ((e.key === 'Enter' || e.keyCode === 13) && !selectOpen) {
|
|
6017
|
+
if (props === null || props === void 0 ? void 0 : props.onPressEnter) {
|
|
6018
|
+
var _props$onPressEnter;
|
|
6019
|
+
(_props$onPressEnter = props.onPressEnter) === null || _props$onPressEnter === void 0 ? void 0 : _props$onPressEnter.call(props, e);
|
|
6020
|
+
}
|
|
6021
|
+
handlePressEnter$1(ctx);
|
|
6022
|
+
setSelectOpen(false);
|
|
6023
|
+
e.preventDefault();
|
|
6024
|
+
e.stopPropagation();
|
|
6025
|
+
return;
|
|
6026
|
+
} else if (e.keyCode === 9 || e.key === 'Tab') {
|
|
6027
|
+
setSelectOpen(false);
|
|
6028
|
+
} else {
|
|
6029
|
+
setSelectOpen(true);
|
|
6030
|
+
}
|
|
6031
|
+
},
|
|
5454
6032
|
style: {
|
|
5455
6033
|
width: 'calc(100%)'
|
|
5456
6034
|
},
|
|
@@ -5551,8 +6129,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5551
6129
|
})) : null)))));
|
|
5552
6130
|
});
|
|
5553
6131
|
|
|
5554
|
-
var css_248z$
|
|
5555
|
-
styleInject(css_248z$
|
|
6132
|
+
var css_248z$7 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper_select_quick {\n margin: 0;\n}\n.react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n.react-resizable-handle {\n position: absolute;\n width: 10px;\n height: 100%;\n bottom: 0;\n right: -5px;\n cursor: col-resize;\n z-index: 1;\n}\n";
|
|
6133
|
+
styleInject(css_248z$7);
|
|
5556
6134
|
|
|
5557
6135
|
var shezhi = "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%E8%92%99%E7%89%88%401x%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%221.97175609e-13%200%2024%200%2024%2024%201.97175609e-13%2024%22%3E%3C%2Fpolygon%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E3%80%90%E9%94%80%E5%94%AE%E8%AE%A2%E5%8D%95%E3%80%91-%E5%88%97%E8%A1%A8%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-13%E5%A4%87%E4%BB%BD%22%3E%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%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%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%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23FAFAFA%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%3Cpath%20d%3D%22M11.0539833%2C6%20L12.9893599%2C6.00306539%20C13.5902684%2C6.0041207%2014.0770953%2C6.51753931%2014.0778957%2C7.15105962%20L14.0786226%2C7.48365607%20C14.4535346%2C7.64767515%2014.8086815%2C7.85797334%2015.1366285%2C8.11014825%20L15.3957691%2C7.95304625%20C15.9165865%2C7.6370624%2016.5817222%2C7.82488039%2016.8830106%2C8.37300674%20L17.8530614%2C10.1386801%20C18.1419103%2C10.664498%2017.9927093%2C11.3364989%2017.5125078%2C11.6725322%20L17.4532653%2C11.7108498%20L17.1930343%2C11.8691013%20C17.2377388%2C12.3043888%2017.232287%2C12.7465735%2017.1737714%2C13.186076%20L17.3576776%2C13.2983464%20C17.857707%2C13.60263%2018.0460753%2C14.2651041%2017.7872767%2C14.809208%20L17.7571103%2C14.8686002%20L16.8484828%2C16.5277508%20C16.5598628%2C17.0549169%2015.9314906%2C17.253508%2015.4153954%2C16.9806644%20L15.3586971%2C16.9484776%20L15.1075524%2C16.7952074%20C14.7917375%2C17.034765%2014.4508932%2C17.235328%2014.0917069%2C17.3929614%20L14.0917069%2C17.8489404%20C14.0924552%2C18.4564109%2013.6447505%2C18.9596333%2013.0696826%2C18.9977009%20L13.0002635%2C19%20L11.0648868%2C18.9969346%20C10.46412%2C18.9958799%209.97735149%2C18.4826942%209.97635104%2C17.8493235%20L9.97526069%2C17.2994665%20C9.67532321%2C17.1509864%209.38966197%2C16.9723666%209.12224117%2C16.766086%20L8.65847768%2C17.0473369%20C8.13756521%2C17.3632563%207.47240027%2C17.1752586%207.17123614%2C16.6269932%20L6.20118538%2C14.8617031%20C5.91210367%2C14.335799%206.06132792%2C13.6635256%206.54173898%2C13.3274678%20L6.6009815%2C13.2891502%20L7.0727409%2C13.002918%20C7.03639581%2C12.6389012%207.03457855%2C12.2706694%207.06946985%2C11.9032039%20L6.54573694%2C11.5840186%20C6.04557344%2C11.2798633%205.85703718%2C10.6173586%206.1157744%2C10.0731571%20L6.14630429%2C10.0137648%20L7.05493181%2C8.35461431%20C7.3435518%2C7.82744812%207.97192398%2C7.62885707%208.48801915%2C7.9017007%20L8.54435406%2C7.93388746%20L9.00084853%2C8.2116898%20C9.29835141%2C7.96712383%209.62078477%2C7.75828095%209.96217645%2C7.58902938%20L9.96217645%2C7.15144279%20C9.96123583%2C6.54382459%2010.4089927%2C6.0403757%2010.9842007%2C6.00229905%20L11.0536198%2C6%20L11.0539833%2C6%20Z%20M11.0525295%2C7.14952693%20L11.0536198%2C8.31821262%20L10.4270303%2C8.62896808%20C10.1588035%2C8.76193003%209.90547811%2C8.92592919%209.67214254%2C9.11790019%20L9.09280163%2C9.5945707%20L8.02679981%2C8.94547115%20L7.99954099%2C8.92937778%20L7.09091346%2C10.5885283%20L8.22488062%2C11.2786276%20L8.15437112%2C12.0177735%20C8.12711229%2C12.304772%208.12820264%2C12.5944528%208.15691528%2C12.8814513%20L8.23178618%2C13.6255784%20L7.14506767%2C14.2854069%20L8.11475496%2C16.0506971%20L9.19384102%2C15.3966163%20L9.76627637%2C15.8384178%20C9.97702523%2C16.0011688%2010.2022%2C16.142066%2010.4386607%2C16.2591446%20L11.0645234%2C16.5691337%20L11.0667041%2C17.8474077%20L13.0017173%2C17.8504731%20L13.0006269%2C16.6262269%20L13.6730113%2C16.3311816%20C13.9550669%2C16.2075098%2014.2227404%2C16.0501462%2014.4707863%2C15.8621747%20L15.0428581%2C15.428803%20L15.904237%2C15.9529873%20L16.8121377%2C14.2934536%20L15.9921922%2C13.7937926%20L16.0939585%2C13.0270581%20C16.1393899%2C12.6841159%2016.1444782%2C12.3369588%2016.1092234%2C11.9924839%20L16.0328987%2C11.2479736%20L16.9095425%2C10.7145931%20L15.9394918%2C8.9493029%20L15.0672094%2C9.47923482%20L14.4944106%2C9.038966%20C14.2359425%2C8.84023491%2013.9560781%2C8.67444458%2013.6606539%2C8.54505261%20L12.9897234%2C8.25154006%20L12.9875427%2C7.15259232%20L11.0525295%2C7.14952693%20L11.0525295%2C7.14952693%20Z%20M13.2226955%2C10.4494355%20C14.2654163%2C11.0852141%2014.6228641%2C12.4911028%2014.0215608%2C13.5914758%20C13.7329275%2C14.1197135%2013.2568818%2C14.5052495%2012.6983658%2C14.6630942%20C12.1398499%2C14.8209389%2011.5447201%2C14.7381326%2011.0441701%2C14.4329295%20C10.0015813%2C13.7970198%209.64430382%2C12.3911621%2010.2456682%2C11.2908893%20C10.5343004%2C10.7627557%2011.0102799%2C10.3772944%2011.5687082%2C10.2194552%20C12.1271364%2C10.0616161%2012.7221782%2C10.1443543%2013.2226955%2C10.4494355%20L13.2226955%2C10.4494355%20Z%20M11.189914%2C11.8648864%20C10.8889471%2C12.4157197%2011.0678166%2C13.119454%2011.5897101%2C13.4378224%20C11.8397194%2C13.5903842%2012.1370318%2C13.6318051%2012.4160482%2C13.5529458%20C12.6950647%2C13.4740865%2012.9328544%2C13.2814281%2013.0769516%2C13.0174787%20C13.3654467%2C12.4893922%2013.2141569%2C11.8157971%2012.7316732%2C11.480178%20L12.6771555%2C11.4445427%20L12.6208206%2C11.4127391%20C12.1055879%2C11.1395918%2011.4777022%2C11.3379953%2011.189914%2C11.8648864%20L11.189914%2C11.8648864%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%234C4E4D%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
5558
6136
|
|
|
@@ -5568,10 +6146,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5568
6146
|
|
|
5569
6147
|
var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
5570
6148
|
|
|
5571
|
-
var css_248z$
|
|
5572
|
-
styleInject(css_248z$
|
|
6149
|
+
var css_248z$8 = ".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: 8px;\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: 12px;\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: #8E8E8E;\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: 12px;\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: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\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 height: 430px;\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 .ant-modal-body {\n padding: 10px 16px;\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: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\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: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\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: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !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: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
|
|
6150
|
+
styleInject(css_248z$8);
|
|
5573
6151
|
|
|
5574
|
-
var _excluded$
|
|
6152
|
+
var _excluded$4 = ["className", "style"];
|
|
5575
6153
|
var Search = antd.Input.Search;
|
|
5576
6154
|
var DragHandle = reactSortableHoc.SortableHandle(function () {
|
|
5577
6155
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -5923,7 +6501,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5923
6501
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5924
6502
|
var className = _ref2.className,
|
|
5925
6503
|
style = _ref2.style,
|
|
5926
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6504
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5927
6505
|
var sortDataSource = _this.state.sortDataSource;
|
|
5928
6506
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5929
6507
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6342,7 +6920,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6342
6920
|
});
|
|
6343
6921
|
};
|
|
6344
6922
|
|
|
6345
|
-
var _excluded$
|
|
6923
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6346
6924
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6347
6925
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6348
6926
|
return new Promise(function (resolve, reject) {
|
|
@@ -6362,7 +6940,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6362
6940
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6363
6941
|
var onResize = props.onResize,
|
|
6364
6942
|
width = props.width,
|
|
6365
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
6943
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6366
6944
|
if (!width) {
|
|
6367
6945
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
6368
6946
|
}
|
|
@@ -7591,10 +8169,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7591
8169
|
}))))));
|
|
7592
8170
|
};
|
|
7593
8171
|
|
|
7594
|
-
var css_248z$
|
|
7595
|
-
styleInject(css_248z$
|
|
8172
|
+
var css_248z$9 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
|
|
8173
|
+
styleInject(css_248z$9);
|
|
7596
8174
|
|
|
7597
|
-
var _excluded$
|
|
8175
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7598
8176
|
var _this = undefined;
|
|
7599
8177
|
var InputElement = function InputElement(_ref) {
|
|
7600
8178
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8092,7 +8670,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8092
8670
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8093
8671
|
var onResize = props.onResize,
|
|
8094
8672
|
width = props.width,
|
|
8095
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8673
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8096
8674
|
if (!width) {
|
|
8097
8675
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
8098
8676
|
}
|
|
@@ -9029,7 +9607,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9029
9607
|
// 商品选择器sku
|
|
9030
9608
|
if (type === 'skuCommodity') {
|
|
9031
9609
|
requestConfig = _objectSpread2({
|
|
9032
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9610
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9611
|
+
method: 'post',
|
|
9033
9612
|
filter: 'skuCodeAndSkuName',
|
|
9034
9613
|
searchStartLength: 4,
|
|
9035
9614
|
mappingTextField: 'name',
|
|
@@ -9112,6 +9691,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9112
9691
|
}
|
|
9113
9692
|
}
|
|
9114
9693
|
}
|
|
9694
|
+
}, {
|
|
9695
|
+
name: 'UNIQUE_SPEC',
|
|
9696
|
+
label: '属性',
|
|
9697
|
+
field: {
|
|
9698
|
+
type: 'proppertySelector'
|
|
9699
|
+
}
|
|
9115
9700
|
}];
|
|
9116
9701
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9117
9702
|
pageSize: 5000,
|
|
@@ -12918,7 +13503,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12918
13503
|
return "";
|
|
12919
13504
|
}
|
|
12920
13505
|
|
|
12921
|
-
var _excluded$
|
|
13506
|
+
var _excluded$7 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
12922
13507
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12923
13508
|
var _useState = React$1.useState([]),
|
|
12924
13509
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12960,7 +13545,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12960
13545
|
} : _props$style,
|
|
12961
13546
|
getTreeData = props.getTreeData,
|
|
12962
13547
|
disabled = props.disabled,
|
|
12963
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13548
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12964
13549
|
var url = remoteSource.url,
|
|
12965
13550
|
headers = remoteSource.headers,
|
|
12966
13551
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13345,8 +13930,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
|
|
|
13345
13930
|
return true;
|
|
13346
13931
|
});
|
|
13347
13932
|
|
|
13348
|
-
var css_248z$
|
|
13349
|
-
styleInject(css_248z$
|
|
13933
|
+
var css_248z$a = ".state-flow .form-status-label {\n height: 28px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.state-flow .choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.state-flow .form-status-label:last-child {\n margin-right: 0px;\n}\n.state-flow .form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -28px;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.state-flow .choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.state-flow .choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.state-flow .form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.state-flow .form-status-label:first-child {\n padding-left: 10px;\n}\n.state-flow .form-status-label:not(:first-child) {\n padding-left: 15px;\n}\n.state-flow .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: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.state-flow .form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -28px;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.state-flow .status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.state-flow .status-label-key {\n width: auto;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n color: #FFFFFF;\n font-size: 14px;\n}\n.state-flow .status-label-operate {\n float: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 12px;\n margin: 8px 0;\n margin-left: 8px;\n padding-left: 8px;\n font-size: 10px;\n border-left: 1px solid #FFFFFF;\n}\n.state-flow .status-label-operate > div {\n font-size: 12px;\n height: 12px;\n line-height: 12px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.state-flow .status-label-operate > div:first-child {\n font-size: 10px;\n font-weight: 400;\n}\n.state-flow .only-one-child.form-status-label::after,\n.state-flow .only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
13934
|
+
styleInject(css_248z$a);
|
|
13350
13935
|
|
|
13351
13936
|
var index$2 = (function (props) {
|
|
13352
13937
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13383,10 +13968,10 @@ var index$2 = (function (props) {
|
|
|
13383
13968
|
}));
|
|
13384
13969
|
});
|
|
13385
13970
|
|
|
13386
|
-
var css_248z$
|
|
13387
|
-
styleInject(css_248z$
|
|
13971
|
+
var css_248z$b = ".guide-wrapper .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.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .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.guide-wrapper .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.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .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.guide-wrapper .white-card.bitsun-form-card-class .guidewrapper-body-wrapper {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .guidewrapper-body-wrapper {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .guidewrapper-body-wrapper {\n padding: 12px 0 0;\n background-color: #F3F3F3;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.guide-wrapper .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.guide-wrapper .field-group-hidden .guidewrapper-body-wrapper {\n display: none !important;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap {\n cursor: pointer;\n color: #B6B6B6;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon {\n transition: transform 0.3s;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.guidewrapper-head-wrap {\n padding-left: 16px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left {\n display: flex;\n align-items: center;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left::before {\n content: '';\n display: block;\n width: 3px;\n background: #005cff;\n height: 20px;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left .guidewrapper-head-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n padding: 0 6px;\n}\n.guidewrapper-head-border {\n border-bottom: 1px solid #F0F0F0;\n}\n.guidewrapper-title-extra-wrap {\n padding-left: 5px;\n}\n";
|
|
13972
|
+
styleInject(css_248z$b);
|
|
13388
13973
|
|
|
13389
|
-
var _excluded$
|
|
13974
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13390
13975
|
_excluded2$3 = ["children"];
|
|
13391
13976
|
var Field = function Field(_ref) {
|
|
13392
13977
|
var children = _ref.children,
|
|
@@ -13394,7 +13979,7 @@ var Field = function Field(_ref) {
|
|
|
13394
13979
|
title = _ref.title,
|
|
13395
13980
|
extra = _ref.extra,
|
|
13396
13981
|
bordered = _ref.bordered,
|
|
13397
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13982
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13398
13983
|
var _React$useState = React__default['default'].useState(true),
|
|
13399
13984
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13400
13985
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13518,10 +14103,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13518
14103
|
})));
|
|
13519
14104
|
};
|
|
13520
14105
|
|
|
13521
|
-
var css_248z$
|
|
13522
|
-
styleInject(css_248z$
|
|
14106
|
+
var css_248z$c = ".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: 8px;\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: 12px;\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: #8E8E8E;\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: 12px;\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: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\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 height: 430px;\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 .ant-modal-body {\n padding: 10px 16px;\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: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\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: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\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: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !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: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
|
|
14107
|
+
styleInject(css_248z$c);
|
|
13523
14108
|
|
|
13524
|
-
var _excluded$
|
|
14109
|
+
var _excluded$9 = ["className", "style"];
|
|
13525
14110
|
var Search$1 = antd.Input.Search;
|
|
13526
14111
|
var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
|
|
13527
14112
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -13939,7 +14524,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13939
14524
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13940
14525
|
var className = _ref2.className,
|
|
13941
14526
|
style = _ref2.style,
|
|
13942
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14527
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13943
14528
|
var sortDataSource = _this.state.sortDataSource;
|
|
13944
14529
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13945
14530
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14271,8 +14856,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14271
14856
|
}]);
|
|
14272
14857
|
}(React__default['default'].Component);
|
|
14273
14858
|
|
|
14274
|
-
var css_248z$
|
|
14275
|
-
styleInject(css_248z$
|
|
14859
|
+
var css_248z$d = ".table_sum_wrapper {\n position: absolute;\n overflow: hidden;\n width: 80%;\n height: 26px;\n bottom: 0;\n}\n.table_sum_wrapper .table-bssula-summary {\n height: 40px;\n right: 0;\n bottom: -20px;\n white-space: nowrap;\n overflow-x: auto;\n}\n.sum_right_line {\n position: absolute;\n right: 20%;\n bottom: 0;\n width: 16px;\n height: 26px;\n opacity: 0.32;\n transform: scaleX(-1);\n background-image: linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%);\n}\n";
|
|
14860
|
+
styleInject(css_248z$d);
|
|
14276
14861
|
|
|
14277
14862
|
//表格底部 金额总计
|
|
14278
14863
|
var TableSumComponent = (function (_ref) {
|
|
@@ -14293,7 +14878,7 @@ var TableSumComponent = (function (_ref) {
|
|
|
14293
14878
|
}));
|
|
14294
14879
|
});
|
|
14295
14880
|
|
|
14296
|
-
var _excluded$
|
|
14881
|
+
var _excluded$a = ["onResize", "width"],
|
|
14297
14882
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14298
14883
|
var Text = antd.Typography.Text;
|
|
14299
14884
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14397,7 +14982,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14397
14982
|
_this.ResizeableTitle = function (props) {
|
|
14398
14983
|
var onResize = props.onResize,
|
|
14399
14984
|
width = props.width,
|
|
14400
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
14985
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14401
14986
|
var _useState = React$1.useState(width),
|
|
14402
14987
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14403
14988
|
innerWidth = _useState2[0],
|
|
@@ -14638,7 +15223,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14638
15223
|
}]);
|
|
14639
15224
|
}(React__default['default'].Component);
|
|
14640
15225
|
|
|
14641
|
-
var _excluded$
|
|
15226
|
+
var _excluded$b = ["onResize", "width"],
|
|
14642
15227
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14643
15228
|
var Text$1 = antd.Typography.Text;
|
|
14644
15229
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14748,7 +15333,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14748
15333
|
_this.ResizeableTitle = function (props) {
|
|
14749
15334
|
var onResize = props.onResize,
|
|
14750
15335
|
width = props.width,
|
|
14751
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15336
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14752
15337
|
if (!width) {
|
|
14753
15338
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
14754
15339
|
}
|
|
@@ -15011,8 +15596,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
15011
15596
|
return undefined;
|
|
15012
15597
|
};
|
|
15013
15598
|
|
|
15014
|
-
var css_248z$
|
|
15015
|
-
styleInject(css_248z$
|
|
15599
|
+
var css_248z$e = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
15600
|
+
styleInject(css_248z$e);
|
|
15016
15601
|
|
|
15017
15602
|
var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15018
15603
|
|
|
@@ -15026,15 +15611,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
15026
15611
|
|
|
15027
15612
|
var moreIcon = "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%3E%E7%BC%96%E7%BB%84%2014%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1743.000000%2C%20-94.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-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.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%22%20transform%3D%22translate%281573.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%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%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2810.500000%2C%2010.022232%29%20rotate%28-90.000000%29%20translate%28-10.500000%2C%20-10.022232%29%20%22%20points%3D%2214%204.9775377%2013.0224623%204%207%2010.0252289%2013.0220012%2016.0444635%2014%2015.0660036%208.95599763%2010.0247678%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%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";
|
|
15028
15613
|
|
|
15029
|
-
var css_248z$
|
|
15030
|
-
styleInject(css_248z$
|
|
15614
|
+
var css_248z$f = "";
|
|
15615
|
+
styleInject(css_248z$f);
|
|
15031
15616
|
|
|
15032
|
-
var _excluded$
|
|
15617
|
+
var _excluded$c = ["message", "type"];
|
|
15033
15618
|
var CommonAlert = (function (props) {
|
|
15034
15619
|
var message = props.message,
|
|
15035
15620
|
_props$type = props.type,
|
|
15036
15621
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
15037
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15622
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
15038
15623
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15039
15624
|
style: {
|
|
15040
15625
|
width: '100%',
|
|
@@ -15055,7 +15640,7 @@ var CommonAlert = (function (props) {
|
|
|
15055
15640
|
}, reset)));
|
|
15056
15641
|
});
|
|
15057
15642
|
|
|
15058
|
-
var _excluded$
|
|
15643
|
+
var _excluded$d = ["children"];
|
|
15059
15644
|
var iconMap = {
|
|
15060
15645
|
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15061
15646
|
src: editIcon
|
|
@@ -15077,7 +15662,7 @@ var index$3 = (function (props) {
|
|
|
15077
15662
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15078
15663
|
id = _useState2[0];
|
|
15079
15664
|
var children = props.children,
|
|
15080
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15665
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15081
15666
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15082
15667
|
id: id,
|
|
15083
15668
|
className: 'detail_page_wrapper'
|
|
@@ -15300,10 +15885,10 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15300
15885
|
return true;
|
|
15301
15886
|
});
|
|
15302
15887
|
|
|
15303
|
-
var css_248z$
|
|
15304
|
-
styleInject(css_248z$
|
|
15888
|
+
var css_248z$g = ".bs_home_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\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: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
|
|
15889
|
+
styleInject(css_248z$g);
|
|
15305
15890
|
|
|
15306
|
-
var _excluded$
|
|
15891
|
+
var _excluded$e = ["children"];
|
|
15307
15892
|
var index$4 = (function (props) {
|
|
15308
15893
|
var _useLocation = umi.useLocation(),
|
|
15309
15894
|
pathname = _useLocation.pathname;
|
|
@@ -15311,7 +15896,7 @@ var index$4 = (function (props) {
|
|
|
15311
15896
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15312
15897
|
id = _useState2[0];
|
|
15313
15898
|
var children = props.children,
|
|
15314
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15899
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15315
15900
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15316
15901
|
id: id,
|
|
15317
15902
|
className: 'home_page_wrapper'
|
|
@@ -15385,10 +15970,10 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15385
15970
|
return true;
|
|
15386
15971
|
});
|
|
15387
15972
|
|
|
15388
|
-
var css_248z$
|
|
15389
|
-
styleInject(css_248z$
|
|
15973
|
+
var css_248z$h = ".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: 8px;\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: 12px;\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: #8E8E8E;\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: 12px;\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: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\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 height: 430px;\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 .ant-modal-body {\n padding: 10px 16px;\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: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\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: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\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: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !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: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
|
|
15974
|
+
styleInject(css_248z$h);
|
|
15390
15975
|
|
|
15391
|
-
var _excluded$
|
|
15976
|
+
var _excluded$f = ["className", "style"];
|
|
15392
15977
|
var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
|
|
15393
15978
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15394
15979
|
width: 25,
|
|
@@ -15826,7 +16411,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15826
16411
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15827
16412
|
var className = _ref2.className,
|
|
15828
16413
|
style = _ref2.style,
|
|
15829
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16414
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15830
16415
|
var sortDataSource = _this.state.sortDataSource;
|
|
15831
16416
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15832
16417
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16196,7 +16781,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16196
16781
|
}]);
|
|
16197
16782
|
}(React__default['default'].Component);
|
|
16198
16783
|
|
|
16199
|
-
var _excluded$
|
|
16784
|
+
var _excluded$g = ["className", "style"];
|
|
16200
16785
|
var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
|
|
16201
16786
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16202
16787
|
width: 25,
|
|
@@ -16449,7 +17034,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16449
17034
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16450
17035
|
var className = _ref2.className,
|
|
16451
17036
|
style = _ref2.style,
|
|
16452
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17037
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16453
17038
|
var sortDataSource = _this.state.sortDataSource;
|
|
16454
17039
|
var index = sortDataSource.findIndex(function (x) {
|
|
16455
17040
|
return x.name === restProps['data-row-key'];
|
|
@@ -16745,16 +17330,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16745
17330
|
}]);
|
|
16746
17331
|
}(React__default['default'].Component);
|
|
16747
17332
|
|
|
16748
|
-
var css_248z$
|
|
16749
|
-
styleInject(css_248z$
|
|
17333
|
+
var css_248z$i = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17334
|
+
styleInject(css_248z$i);
|
|
16750
17335
|
|
|
16751
|
-
var _excluded$
|
|
17336
|
+
var _excluded$h = ["onResize", "width"];
|
|
16752
17337
|
var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
|
|
16753
17338
|
var Text$2 = antd.Typography.Text;
|
|
16754
17339
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16755
17340
|
var onResize = props.onResize,
|
|
16756
17341
|
width = props.width,
|
|
16757
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17342
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16758
17343
|
var _useState = React$1.useState(width),
|
|
16759
17344
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16760
17345
|
innerWidth = _useState2[0],
|
|
@@ -17472,8 +18057,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17472
18057
|
})));
|
|
17473
18058
|
});
|
|
17474
18059
|
|
|
17475
|
-
var css_248z$
|
|
17476
|
-
styleInject(css_248z$
|
|
18060
|
+
var css_248z$j = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #005cff;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005CFF;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
|
|
18061
|
+
styleInject(css_248z$j);
|
|
17477
18062
|
|
|
17478
18063
|
var cache = {};
|
|
17479
18064
|
var cacheLimit = 10000;
|
|
@@ -17729,8 +18314,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17729
18314
|
})))));
|
|
17730
18315
|
};
|
|
17731
18316
|
|
|
17732
|
-
var css_248z$
|
|
17733
|
-
styleInject(css_248z$
|
|
18317
|
+
var css_248z$k = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
|
|
18318
|
+
styleInject(css_248z$k);
|
|
17734
18319
|
|
|
17735
18320
|
var allfunc = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Eicon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-20.000000%2C%20-1016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%280.000000%2C%20900.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9F%A5%E7%9C%8B%E5%85%A8%E9%83%A8%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%2810.000000%2C%2046.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%2810.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22navigation-icon-allfunctions%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22category%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%205.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.24999999%2C12.3585414%20L2.24999999%2C14%20L0%2C14%20L0%2C12.3585414%20L2.24999999%2C12.3585414%20Z%20M18%2C12.3585414%20L18%2C14%20L3.375%2C14%20L3.375%2C12.3585414%20L18%2C12.3585414%20Z%20M2.24999999%2C6.17954431%20L2.24999999%2C7.82100286%20L0%2C7.82100286%20L0%2C6.17954431%20L2.24999999%2C6.17954431%20L2.24999999%2C6.17954431%20Z%20M18%2C6.17954431%20L18%2C7.82100286%20L3.375%2C7.82100286%20L3.375%2C6.17954431%20L18%2C6.17954431%20L18%2C6.17954431%20Z%20M2.24999999%2C0%20L2.24999999%2C1.64145855%20L0%2C1.64145855%20L0%2C0%20L2.24999999%2C0%20L2.24999999%2C0%20Z%20M18%2C0%20L18%2C1.64145855%20L3.375%2C1.64145855%20L3.375%2C0%20L18%2C0%20L18%2C0%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
17736
18321
|
|
|
@@ -17938,8 +18523,8 @@ var i18n = {
|
|
|
17938
18523
|
}
|
|
17939
18524
|
};
|
|
17940
18525
|
|
|
17941
|
-
var css_248z$
|
|
17942
|
-
styleInject(css_248z$
|
|
18526
|
+
var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
|
|
18527
|
+
styleInject(css_248z$l);
|
|
17943
18528
|
|
|
17944
18529
|
var Morentouxiang = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2240px%22%20height%3D%2240px%22%20viewBox%3D%220%200%2040%2040%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E32%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22path-1%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2213%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-40.4%25%22%20y%3D%22-40.4%25%22%20width%3D%22180.8%25%22%20height%3D%22180.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%220%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%223.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeComposite%20in%3D%22shadowBlurOuter1%22%20in2%3D%22SourceAlpha%22%20operator%3D%22out%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeComposite%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%200%200%200%201%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22-----6.1-%E9%BB%98%E8%AE%A4%E5%9B%BE%E7%89%87%2F-Default-picture%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22B-Design-%E4%BD%93%E9%AA%8C%E8%A7%84%E8%8C%83%22%20transform%3D%22translate%28-1119.000000%2C%20-988.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2232%22%20transform%3D%22translate%281126.000000%2C%20995.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%9C%86%E5%BD%A2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url%28%23filter-2%29%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%220.8328125%22%20stroke-linejoin%3D%22square%22%20fill%3D%22%23EDF4FF%22%20fill-rule%3D%22evenodd%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2212.5835938%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.644709%2C13.6190476%20L18.9119048%2C15.0892857%20L18.9119048%2C19.5%20L7.15%2C19.5%20L7.15%2C15.0892857%20L10.4171958%2C13.6190476%20L15.644709%2C13.6190476%20Z%20M16.1261905%2C16.4047619%20L13.65%2C16.4047619%20L13.65%2C17.6428571%20L16.1261905%2C17.6428571%20L16.1261905%2C16.4047619%20Z%20M13.1857143%2C6.5%20C14.9806397%2C6.5%2016.4357143%2C7.95507456%2016.4357143%2C9.75%20C16.4357143%2C11.5449254%2014.9806397%2C13%2013.1857143%2C13%20C11.3907888%2C13%209.93571429%2C11.5449254%209.93571429%2C9.75%20C9.93571429%2C7.95507456%2011.3907888%2C6.5%2013.1857143%2C6.5%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%239AC4FF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
17945
18530
|
|
|
@@ -18469,8 +19054,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18469
19054
|
}))))));
|
|
18470
19055
|
};
|
|
18471
19056
|
|
|
18472
|
-
var css_248z$
|
|
18473
|
-
styleInject(css_248z$
|
|
19057
|
+
var css_248z$m = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005cff;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
|
|
19058
|
+
styleInject(css_248z$m);
|
|
18474
19059
|
|
|
18475
19060
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18476
19061
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18626,8 +19211,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18626
19211
|
|
|
18627
19212
|
var addIcon = "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%2014%401x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-21.000000%2C%20-71.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-15%22%20transform%3D%22translate%2821.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-14%22%20transform%3D%22translate%280.000000%2C%201.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%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%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%284.000000%2C%204.000000%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%3Cpath%20d%3D%22M8%2C0%20C12.4183529%2C0%2016%2C3.58164706%2016%2C8%20C16%2C12.4183529%2012.4183529%2C16%208%2C16%20C3.58164706%2C16%200%2C12.4183529%200%2C8%20C0%2C3.58164706%203.58164706%2C0%208%2C0%20Z%20M8%2C1.4117647%20C4.36141178%2C1.4117647%201.4117647%2C4.36141175%201.4117647%2C8%20C1.4117647%2C11.6385882%204.36141175%2C14.5882353%208%2C14.5882353%20C11.6385882%2C14.5882353%2014.5882353%2C11.6385882%2014.5882353%2C8%20C14.5882353%2C4.36141175%2011.6385882%2C1.4117647%208%2C1.4117647%20Z%20M8.70588235%2C3.76470589%20L8.70588235%2C7.29411765%20L12.2352941%2C7.29411765%20L12.2352941%2C8.70588235%20L8.70588235%2C8.70588235%20L8.70588235%2C12.2352941%20L7.29411765%2C12.2352941%20L7.29411765%2C8.70541177%20L3.76470589%2C8.70588235%20L3.76470589%2C7.29411765%20L7.29411765%2C7.29364707%20L7.29411765%2C3.76470589%20L8.70588235%2C3.76470589%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";
|
|
18628
19213
|
|
|
18629
|
-
var css_248z$
|
|
18630
|
-
styleInject(css_248z$
|
|
19214
|
+
var css_248z$n = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
|
|
19215
|
+
styleInject(css_248z$n);
|
|
18631
19216
|
|
|
18632
19217
|
var arrowRight = "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%20186%E5%A4%87%E4%BB%BD%203%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-949.000000%2C%20-484.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28534.000000%2C%20180.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%B1%BB%E7%9B%AE%E4%B8%80%E5%A4%87%E4%BB%BD-101%22%20transform%3D%22translate%2831.000000%2C%20298.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-186%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%28384.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-132%E5%A4%87%E4%BB%BD-85%22%20opacity%3D%220%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%22M24%2C0%20L24%2C24%20L0%2C24%20L0%2C0%20L24%2C0%20Z%20M23.765625%2C0.234375%20L0.234375%2C0.234375%20L0.234375%2C23.765625%20L23.765625%2C23.765625%20L23.765625%2C0.234375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-235%22%20fill%3D%22%23979797%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%3Cpath%20d%3D%22M21.39%2C2.64%20L21.39%2C21.39%20L2.64%2C21.39%20L2.64%2C2.64%20L21.39%2C2.64%20Z%20M21.155625%2C2.874375%20L2.874375%2C2.874375%20L2.874375%2C21.155625%20L21.155625%2C21.155625%20L21.155625%2C2.874375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-236%22%20fill%3D%22%23979797%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%3Cpath%20d%3D%22M20.22%2C1.56%20L20.22%2C22.56%20L3.72%2C22.56%20L3.72%2C1.56%20L20.22%2C1.56%20Z%20M19.985625%2C1.794375%20L3.954375%2C1.794375%20L3.954375%2C22.325625%20L19.985625%2C22.325625%20L19.985625%2C1.794375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-237%22%20fill%3D%22%23FA6400%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%3Cpath%20d%3D%22M22.56%2C3.72%20L22.56%2C20.22%20L1.56%2C20.22%20L1.56%2C3.72%20L22.56%2C3.72%20Z%20M22.325625%2C3.954375%20L1.794375%2C3.954375%20L1.794375%2C19.985625%20L22.325625%2C19.985625%20L22.325625%2C3.954375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-238%22%20fill%3D%22%2344D7B6%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%3Cpath%20d%3D%22M12.06%2C1.56%20C17.8589899%2C1.56%2022.56%2C6.26101013%2022.56%2C12.06%20C22.56%2C17.8589899%2017.8589899%2C22.56%2012.06%2C22.56%20C6.26101013%2C22.56%201.56%2C17.8589899%201.56%2C12.06%20C1.56%2C6.26101013%206.26101013%2C1.56%2012.06%2C1.56%20Z%20M12.06%2C1.794375%20C6.39045187%2C1.794375%201.794375%2C6.39045187%201.794375%2C12.06%20C1.794375%2C17.7295481%206.39045187%2C22.325625%2012.06%2C22.325625%20C17.7295481%2C22.325625%2022.325625%2C17.7295481%2022.325625%2C12.06%20C22.325625%2C6.39045187%2017.7295481%2C1.794375%2012.06%2C1.794375%20Z%22%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD-59%22%20fill%3D%22%23F7B500%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%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%E5%A4%87%E4%BB%BD-43%22%20transform%3D%22translate%281.560000%2C%201.680000%29%22%20fill%3D%22%23999999%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%22M10.44%2C0%20C16.2059506%2C0%2020.88%2C4.67404941%2020.88%2C10.44%20C20.88%2C16.2059506%2016.2059506%2C20.88%2010.44%2C20.88%20C4.67404941%2C20.88%200%2C16.2059506%200%2C10.44%20C0%2C4.67404941%204.67404941%2C0%2010.44%2C0%20Z%20M10.44%2C1.84235294%20C5.69164237%2C1.84235294%201.84235294%2C5.69164234%201.84235294%2C10.44%20C1.84235294%2C15.1883577%205.69164234%2C19.0376471%2010.44%2C19.0376471%20C15.1883577%2C19.0376471%2019.0376471%2C15.1883577%2019.0376471%2C10.44%20C19.0376471%2C5.69164234%2015.1883577%2C1.84235294%2010.44%2C1.84235294%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%20%20%20%20%3Cpolygon%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20points%3D%2210.4408066%206.32%2014.3966662%2010.2757133%2010.4408066%2014.2314265%209.2540487%2013.0447125%2011.1949264%2011.1039067%206%2011.1033618%206%209.42518043%2011.1725861%209.42518043%209.25459358%207.50671398%2010.4408066%206.32%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%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";
|
|
18633
19218
|
|
|
@@ -19254,8 +19839,8 @@ var MenuSetting = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19254
19839
|
}));
|
|
19255
19840
|
});
|
|
19256
19841
|
|
|
19257
|
-
var css_248z$
|
|
19258
|
-
styleInject(css_248z$
|
|
19842
|
+
var css_248z$o = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #E4E7ED;\n cursor: pointer;\n}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
|
|
19843
|
+
styleInject(css_248z$o);
|
|
19259
19844
|
|
|
19260
19845
|
var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
19261
19846
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19391,8 +19976,8 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19391
19976
|
})));
|
|
19392
19977
|
});
|
|
19393
19978
|
|
|
19394
|
-
var css_248z$
|
|
19395
|
-
styleInject(css_248z$
|
|
19979
|
+
var css_248z$p = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #005cff !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
|
|
19980
|
+
styleInject(css_248z$p);
|
|
19396
19981
|
|
|
19397
19982
|
var closeicon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiZJREFUSEvFll1LVFEUhh/1QqjAxALrot+ggR9RQWh1UZl9kNCtv8ALf0Q3/YVuiyIqLKOUyI80RP0VXVSU+UGKF2W88q7hzPacOY4QHhiGmVn7fdZe691rTwP/+WlI9Bv9eQfQq55HWqH3NxamgOz3+q0SWEJSYpFQVWIBUIDE+oARYBj4ATQBf0rEI+Yk8Ah4CHwEdjUDoHeRnwN3gBngJrBaAgnxVmAMOA88A4aKAAp8A5wzZABYK4Dkic8CWqPEdpPO9iB20Qa8BnqBae9EkCijKhbixx2rzOeAG8CvEFdg2uRYKIh20mOIslo3RGvUlxaLXwDmgesWr+pbnovyIFPe+oYbLnHV/CLw2eIreaUssmlATngn3YAg17yL8f2I55Uo68is/VSuLuC9AZeBBQN/1nJa0Q4ClHVKuEu/fXJZihxWSbQMEM5pBlQWHUQ9E+7JduKuPWeyFiDEj7mhl2xFrdE5+WAL/64FKQJkxV858yXgqq09CXQAer8FFELyAFnxl0A/sOiaf3cN2u2usy7X7SJI3rjW0DsKSFxuUeY6RN/sFjF00ARRXzrtLkE203LljQqJvwCuAMu2YojHZA13nTJE5XrnQSlIjJ3KqIgvjlhctZa4Mv9aMuxOu1yCvAXuAlvpsAvAU+DePsTTc5KFPAHup+M6GjsIjDrgS50XzhngMfDAtq66cNIRoUYf5MqUaNUNeCiXfsUB9fylcOyetf8AAkCfGYuSNSEAAAAASUVORK5CYII=";
|
|
19398
19983
|
|
|
@@ -19807,8 +20392,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19807
20392
|
})));
|
|
19808
20393
|
};
|
|
19809
20394
|
|
|
19810
|
-
var css_248z$
|
|
19811
|
-
styleInject(css_248z$
|
|
20395
|
+
var css_248z$q = ".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: #005cff;\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";
|
|
20396
|
+
styleInject(css_248z$q);
|
|
19812
20397
|
|
|
19813
20398
|
/*
|
|
19814
20399
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19831,7 +20416,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19831
20416
|
}));
|
|
19832
20417
|
};
|
|
19833
20418
|
|
|
19834
|
-
var _excluded$
|
|
20419
|
+
var _excluded$i = ["route"];
|
|
19835
20420
|
var TabPane = antd.Tabs.TabPane;
|
|
19836
20421
|
var getId = function getId(str) {
|
|
19837
20422
|
// 找到最后一个 / 的位置
|
|
@@ -20772,7 +21357,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20772
21357
|
}); // 添加数据大屏
|
|
20773
21358
|
var _this$props3 = this.props,
|
|
20774
21359
|
route = _this$props3.route,
|
|
20775
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21360
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20776
21361
|
var exist = route.routes.find(function (route) {
|
|
20777
21362
|
return route.path === '/homePage/data-show';
|
|
20778
21363
|
});
|
|
@@ -21332,8 +21917,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21332
21917
|
};
|
|
21333
21918
|
};
|
|
21334
21919
|
|
|
21335
|
-
var css_248z$
|
|
21336
|
-
styleInject(css_248z$
|
|
21920
|
+
var css_248z$r = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
|
|
21921
|
+
styleInject(css_248z$r);
|
|
21337
21922
|
|
|
21338
21923
|
var useSticky = function useSticky(sticky) {
|
|
21339
21924
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21745,10 +22330,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
21745
22330
|
}))))));
|
|
21746
22331
|
});
|
|
21747
22332
|
|
|
21748
|
-
var _excluded$
|
|
22333
|
+
var _excluded$j = ["children"];
|
|
21749
22334
|
var Drawer = (function (props) {
|
|
21750
22335
|
var children = props.children,
|
|
21751
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22336
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21752
22337
|
return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
|
|
21753
22338
|
mask: true,
|
|
21754
22339
|
closable: false,
|
|
@@ -27568,8 +28153,8 @@ var nameRender = (function (data) {
|
|
|
27568
28153
|
}, " ");
|
|
27569
28154
|
});
|
|
27570
28155
|
|
|
27571
|
-
var css_248z$
|
|
27572
|
-
styleInject(css_248z$
|
|
28156
|
+
var css_248z$s = ".si-tree {\n font-size: 14px;\n}\n.si-tree-node-block {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.si-tree-node-block:hover {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-block-actived {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-switcher {\n margin-right: 2px;\n}\n.si-tree-node-icon {\n margin-right: 4px;\n display: flex;\n}\n.tree-compact {\n margin-left: 4px;\n font-size: 13px;\n font-style: italic;\n color: #49aa19;\n}\n";
|
|
28157
|
+
styleInject(css_248z$s);
|
|
27573
28158
|
|
|
27574
28159
|
function parseData(data) {
|
|
27575
28160
|
var res;
|
|
@@ -27780,8 +28365,8 @@ function registerSuggestions(monaco) {
|
|
|
27780
28365
|
});
|
|
27781
28366
|
}
|
|
27782
28367
|
|
|
27783
|
-
var css_248z$
|
|
27784
|
-
styleInject(css_248z$
|
|
28368
|
+
var css_248z$t = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #005cff;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
|
|
28369
|
+
styleInject(css_248z$t);
|
|
27785
28370
|
|
|
27786
28371
|
var Title = antd.Typography.Title;
|
|
27787
28372
|
var STRTEMP = 'const config = ';
|
|
@@ -27975,7 +28560,7 @@ var Editor = (function (props) {
|
|
|
27975
28560
|
}, [shallowHeight]);
|
|
27976
28561
|
var hasConfigTree = type !== 'editor';
|
|
27977
28562
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27978
|
-
className: isFull ? css_248z$
|
|
28563
|
+
className: isFull ? css_248z$t.editorWrapper : ''
|
|
27979
28564
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27980
28565
|
style: {
|
|
27981
28566
|
overflow: 'hidden'
|
|
@@ -28043,7 +28628,7 @@ var Editor = (function (props) {
|
|
|
28043
28628
|
})), hasConfigTree && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
28044
28629
|
span: 8
|
|
28045
28630
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
28046
|
-
className: css_248z$
|
|
28631
|
+
className: css_248z$t.title
|
|
28047
28632
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React__default['default'].createElement(ConfigTree, {
|
|
28048
28633
|
style: {
|
|
28049
28634
|
height: 'calc(100vh - 300px)',
|
|
@@ -29924,8 +30509,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29924
30509
|
})), fieldsModify.visible && /*#__PURE__*/React__default['default'].createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29925
30510
|
});
|
|
29926
30511
|
|
|
29927
|
-
var css_248z$
|
|
29928
|
-
styleInject(css_248z$
|
|
30512
|
+
var css_248z$u = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
|
|
30513
|
+
styleInject(css_248z$u);
|
|
29929
30514
|
|
|
29930
30515
|
function iterFileds(fields) {
|
|
29931
30516
|
var filedsValue = [];
|
|
@@ -30527,7 +31112,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30527
31112
|
});
|
|
30528
31113
|
};
|
|
30529
31114
|
|
|
30530
|
-
var _excluded$
|
|
31115
|
+
var _excluded$k = ["sorter"];
|
|
30531
31116
|
/**
|
|
30532
31117
|
* 删掉查询条件的qp- 和 -eq等
|
|
30533
31118
|
* @param {object} data
|
|
@@ -30610,7 +31195,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30610
31195
|
var _requestConfig$method;
|
|
30611
31196
|
var params = _ref.params;
|
|
30612
31197
|
var sorter = params.sorter,
|
|
30613
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31198
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30614
31199
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), ___default['default'].omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
|
|
30615
31200
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30616
31201
|
});
|
|
@@ -31465,8 +32050,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31465
32050
|
});
|
|
31466
32051
|
};
|
|
31467
32052
|
|
|
31468
|
-
var css_248z$
|
|
31469
|
-
styleInject(css_248z$
|
|
32053
|
+
var css_248z$v = ".base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n min-height: 80px;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n height: 40px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link {\n color: #008fe0;\n font-weight: bold;\n border: 0px !important;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link:hover,\n.base_rule .base_rule_line_title :global .ant-btn-link:focus {\n color: #008fe0;\n background-color: transparent;\n border: 0px;\n border-color: #008fe0;\n}\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):hover,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):active,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):focus {\n color: #008fe0;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 15px;\n overflow-x: auto;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 75%;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n justify-content: space-around;\n margin-top: -20px;\n padding-left: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border {\n margin-bottom: 10px;\n padding: 0px 10px 0px 10px;\n border: 1px dashed #d9d9d9;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_border_title {\n position: relative;\n top: -10px;\n left: 20px;\n width: 90px;\n text-align: center;\n background: #fff;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_action_item {\n display: flex;\n justify-content: space-between;\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute !important;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex !important;\n align-items: center;\n width: 50px;\n height: 30px !important;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px !important;\n color: #008fe0 !important;\n line-height: 30px !important;\n text-align: center !important;\n background-color: #ffffff !important;\n cursor: pointer !important;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n.action_list_item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #e1e1f0;\n border-radius: 2px;\n cursor: pointer;\n}\n:global .ant-popover-inner-content {\n padding: 0px;\n}\n";
|
|
32054
|
+
styleInject(css_248z$v);
|
|
31470
32055
|
|
|
31471
32056
|
// 查询规则对象属性thresholdList
|
|
31472
32057
|
function getRegularThresholdRange(_x) {
|
|
@@ -34371,7 +34956,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34371
34956
|
style: {
|
|
34372
34957
|
marginLeft: '10px'
|
|
34373
34958
|
},
|
|
34374
|
-
className: css_248z$
|
|
34959
|
+
className: css_248z$v.rule_field_style
|
|
34375
34960
|
}, this.renderConditionField());
|
|
34376
34961
|
}
|
|
34377
34962
|
}]);
|
|
@@ -34812,7 +35397,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34812
35397
|
disabled = _this$props.disabled;
|
|
34813
35398
|
return /*#__PURE__*/React__default['default'].createElement("div", null, ruleTypeData.map(function (i) {
|
|
34814
35399
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34815
|
-
className: css_248z$
|
|
35400
|
+
className: css_248z$v.action_list_item
|
|
34816
35401
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34817
35402
|
onClick: function onClick() {
|
|
34818
35403
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -36759,8 +37344,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36759
37344
|
}]);
|
|
36760
37345
|
}(React$1.Component);
|
|
36761
37346
|
|
|
36762
|
-
var css_248z$
|
|
36763
|
-
styleInject(css_248z$
|
|
37347
|
+
var css_248z$w = ".goBack_btn_content {\n position: relative;\n overflow: auto;\n}\n.goBack_btn_content .goback_btn {\n float: right;\n}\n.base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 14px 10px 10px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: calc(100% - 600px);\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex;\n align-items: center;\n width: 50px;\n height: 30px;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n";
|
|
37348
|
+
styleInject(css_248z$w);
|
|
36764
37349
|
|
|
36765
37350
|
var formatOperationList = function formatOperationList(data) {
|
|
36766
37351
|
var _result$find;
|
|
@@ -37493,13 +38078,13 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37493
38078
|
return /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
37494
38079
|
spinning: loading
|
|
37495
38080
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37496
|
-
className: css_248z$
|
|
38081
|
+
className: css_248z$w.base_rule
|
|
37497
38082
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37498
|
-
className: css_248z$
|
|
38083
|
+
className: css_248z$w.base_rule_content
|
|
37499
38084
|
}, /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37500
|
-
className: css_248z$
|
|
38085
|
+
className: css_248z$w.base_rule_line_title
|
|
37501
38086
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
37502
|
-
className: css_248z$
|
|
38087
|
+
className: css_248z$w.rule_title
|
|
37503
38088
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37504
38089
|
style: {
|
|
37505
38090
|
float: 'right'
|
|
@@ -37749,17 +38334,17 @@ var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37749
38334
|
})));
|
|
37750
38335
|
});
|
|
37751
38336
|
|
|
37752
|
-
var css_248z$
|
|
37753
|
-
styleInject(css_248z$
|
|
38337
|
+
var css_248z$x = ".bs-collapse-wrap {\n border-radius: 4px;\n overflow: hidden;\n}\n.bs-collapse-wrap .bs-collapse-header-wrap {\n background: #fff;\n}\n.bs-collapse-wrap .bs-collapse-icon {\n color: #b6b6b6;\n transition: transform 0.3s;\n}\n.bs-collapse-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.bs-collapse-wrap .bs-collapse-header-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n}\n.bs-collapse-wrap .bs-collapse-header-divider {\n width: 3px;\n height: 20px;\n background: #005cff;\n}\n.bs-collapse-header-boder .ant-collapse .ant-collapse-item > .ant-collapse-header {\n border-bottom: 1px solid #f0f0f0;\n padding: 8px 16px;\n}\n";
|
|
38338
|
+
styleInject(css_248z$x);
|
|
37754
38339
|
|
|
37755
|
-
var _excluded$
|
|
38340
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37756
38341
|
var Panel = antd.Collapse.Panel;
|
|
37757
38342
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37758
38343
|
var titleExtra = _ref.titleExtra,
|
|
37759
38344
|
header = _ref.header,
|
|
37760
38345
|
_ref$showArrow = _ref.showArrow,
|
|
37761
38346
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37762
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38347
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37763
38348
|
var renderHeader = function renderHeader() {
|
|
37764
38349
|
return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
|
|
37765
38350
|
align: "center"
|
|
@@ -37783,11 +38368,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37783
38368
|
}), props.children);
|
|
37784
38369
|
};
|
|
37785
38370
|
|
|
37786
|
-
var _excluded$
|
|
38371
|
+
var _excluded$m = ["children", "bordered"];
|
|
37787
38372
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37788
38373
|
var children = props.children,
|
|
37789
38374
|
bordered = props.bordered,
|
|
37790
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38375
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37791
38376
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37792
38377
|
className: classNames__default['default']({
|
|
37793
38378
|
'bs-collapse-wrap': true,
|
|
@@ -37801,9 +38386,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37801
38386
|
Board: ExtendedPanel
|
|
37802
38387
|
});
|
|
37803
38388
|
|
|
37804
|
-
var css_248z$
|
|
38389
|
+
var css_248z$y = ".index-module_paragraphCopyWrapper__3rGOI {\n display: flex;\n margin-bottom: 4px;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopyLabel__1Qb8u {\n color: #8c8e91;\n font-size: 12px;\n white-space: nowrap;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopy__1y7Jo {\n min-width: 100px;\n margin-bottom: 0;\n font-size: 12px;\n flex: 1;\n}\n";
|
|
37805
38390
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37806
|
-
styleInject(css_248z$
|
|
38391
|
+
styleInject(css_248z$y);
|
|
37807
38392
|
|
|
37808
38393
|
var Paragraph = antd.Typography.Paragraph;
|
|
37809
38394
|
var Section = function Section(_ref) {
|
|
@@ -37925,6 +38510,7 @@ exports.HomePageWrapper = index$4;
|
|
|
37925
38510
|
exports.JsonQueryTable = JsonQueryTable;
|
|
37926
38511
|
exports.MoreTreeTable = index$6;
|
|
37927
38512
|
exports.ParagraphCopier = ParagraphCopier;
|
|
38513
|
+
exports.PropertySelector = PropertySelector;
|
|
37928
38514
|
exports.QueryMutipleInput = QueryMutipleInput;
|
|
37929
38515
|
exports.RuleComponent = RuleObjectComponent;
|
|
37930
38516
|
exports.RuleSetter = index$7;
|