@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.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import request$1 from 'umi-request';
|
|
3
3
|
import cookie from 'js-cookie';
|
|
4
|
-
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Select, Form, Table, Spin, Row, Col, Tabs, TreeSelect,
|
|
5
|
-
import _, { isNil, escapeRegExp, omit,
|
|
4
|
+
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Select, Tag, Form, Table, Spin, Row, Col, Tabs, TreeSelect, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, DatePicker, TimePicker, Divider, Switch, Collapse } from 'antd';
|
|
5
|
+
import _, { debounce, isNil, escapeRegExp, omit, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
6
6
|
import memoizeOne from 'memoize-one';
|
|
7
7
|
import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
|
|
8
8
|
import isEqual from 'lodash/isEqual';
|
|
9
|
-
import React$1, { useState, useEffect, forwardRef, useImperativeHandle,
|
|
9
|
+
import React$1, { useState, useEffect, useRef, forwardRef, useImperativeHandle, useMemo, Component, Fragment, useLayoutEffect, createRef } from 'react';
|
|
10
10
|
import moment$1 from 'moment';
|
|
11
|
-
import { EyeOutlined, DeleteOutlined, EditOutlined, CopyOutlined, CloseSquareOutlined, WarningOutlined, SendOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, UnorderedListOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined,
|
|
11
|
+
import { EyeOutlined, DeleteOutlined, EditOutlined, CopyOutlined, CloseSquareOutlined, WarningOutlined, SendOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, UnorderedListOutlined, CaretUpOutlined, CaretDownOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, CaretLeftOutlined, DashOutlined, SettingOutlined, BulbOutlined, PlayCircleOutlined, SaveOutlined, FullscreenExitOutlined, MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons';
|
|
12
12
|
import { request as request$2, Table as Table$1, QueryTable, Form as Form$1 } from 'bssula';
|
|
13
13
|
import 'qs';
|
|
14
14
|
import { utils, writeFile, read } from 'xlsx';
|
|
@@ -3949,9 +3949,25 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
3949
3949
|
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";
|
|
3950
3950
|
styleInject(css_248z$4);
|
|
3951
3951
|
|
|
3952
|
+
var handlePressEnter = debounce(function (ctx) {
|
|
3953
|
+
if (ctx === null || ctx === void 0 ? void 0 : ctx.table) {
|
|
3954
|
+
var _ctx$form, _ctx$form$validateFie;
|
|
3955
|
+
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) {
|
|
3956
|
+
var _ctx$table, _ctx$table2;
|
|
3957
|
+
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(),
|
|
3958
|
+
pageSize = _ctx$table$getPaging.pagination.pageSize,
|
|
3959
|
+
sorter = _ctx$table$getPaging.sorter;
|
|
3960
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$table2 = ctx.table) === null || _ctx$table2 === void 0 ? void 0 : _ctx$table2.refreshTable({
|
|
3961
|
+
pageSize: pageSize,
|
|
3962
|
+
current: 1
|
|
3963
|
+
}, data, sorter);
|
|
3964
|
+
});
|
|
3965
|
+
}
|
|
3966
|
+
}, 50);
|
|
3952
3967
|
var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
3953
3968
|
var onValueChange = _ref.onValueChange,
|
|
3954
|
-
_onPressEnter = _ref.onPressEnter
|
|
3969
|
+
_onPressEnter = _ref.onPressEnter,
|
|
3970
|
+
ctx = _ref.ctx;
|
|
3955
3971
|
var _useState = useState(false),
|
|
3956
3972
|
_useState2 = _slicedToArray(_useState, 2),
|
|
3957
3973
|
isModalVisible = _useState2[0],
|
|
@@ -4023,8 +4039,11 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
|
4023
4039
|
onClick: showModal
|
|
4024
4040
|
}, "..."),
|
|
4025
4041
|
placeholder: "\u8BF7\u8F93\u5165\uFF08\u67E5\u8BE2\u591A\u4E2A\u503C\u8BF7\u7528 ; \u6216 , \u5206\u5272\uFF09",
|
|
4026
|
-
onPressEnter: function onPressEnter() {
|
|
4027
|
-
|
|
4042
|
+
onPressEnter: function onPressEnter(e) {
|
|
4043
|
+
if (_onPressEnter) {
|
|
4044
|
+
_onPressEnter(e);
|
|
4045
|
+
}
|
|
4046
|
+
if (ctx) handlePressEnter(ctx);
|
|
4028
4047
|
}
|
|
4029
4048
|
})), /*#__PURE__*/React$1.createElement(Modal, {
|
|
4030
4049
|
width: 600,
|
|
@@ -4157,6 +4176,429 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
|
4157
4176
|
|
|
4158
4177
|
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";
|
|
4159
4178
|
|
|
4179
|
+
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";
|
|
4180
|
+
styleInject(css_248z$6);
|
|
4181
|
+
|
|
4182
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4183
|
+
var propertyData = props.propertyData,
|
|
4184
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4185
|
+
modalVisilbe = props.modalVisilbe,
|
|
4186
|
+
itemValue = props.itemValue;
|
|
4187
|
+
var _useState = useState([]),
|
|
4188
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4189
|
+
commonUseProperty = _useState2[0],
|
|
4190
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4191
|
+
var _useState3 = useState([]),
|
|
4192
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4193
|
+
notCommonUseProperty = _useState4[0],
|
|
4194
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4195
|
+
var _useState5 = useState(false),
|
|
4196
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4197
|
+
indeterminate = _useState6[0],
|
|
4198
|
+
setIndeterminate = _useState6[1];
|
|
4199
|
+
var _useState7 = useState(false),
|
|
4200
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4201
|
+
showNotCommon = _useState8[0],
|
|
4202
|
+
setShowNotCommon = _useState8[1];
|
|
4203
|
+
useEffect(function () {
|
|
4204
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4205
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4206
|
+
});
|
|
4207
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4208
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4209
|
+
proDetailList.forEach(function (item) {
|
|
4210
|
+
if (checkedList.some(function (checkItem) {
|
|
4211
|
+
return checkItem.value === item.value;
|
|
4212
|
+
})) {
|
|
4213
|
+
item.isChecked = true;
|
|
4214
|
+
}
|
|
4215
|
+
});
|
|
4216
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4217
|
+
return item.isCommonUse;
|
|
4218
|
+
});
|
|
4219
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4220
|
+
return !item.isCommonUse;
|
|
4221
|
+
});
|
|
4222
|
+
if (checkedList.some(function (item) {
|
|
4223
|
+
return !item.isCommonUse;
|
|
4224
|
+
})) {
|
|
4225
|
+
setShowNotCommon(true);
|
|
4226
|
+
}
|
|
4227
|
+
setCommonUseProperty(commonUseProperty);
|
|
4228
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4229
|
+
}, [modalVisilbe]);
|
|
4230
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4231
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4232
|
+
return item.isChecked;
|
|
4233
|
+
});
|
|
4234
|
+
if (showNotCommon) {
|
|
4235
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4236
|
+
return item.isChecked;
|
|
4237
|
+
})));
|
|
4238
|
+
}
|
|
4239
|
+
handleProperyItemChange({
|
|
4240
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4241
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4242
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4243
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4244
|
+
detailList: choosedPropertyList
|
|
4245
|
+
});
|
|
4246
|
+
};
|
|
4247
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4248
|
+
if (showNotCommon) {
|
|
4249
|
+
notCommonUseProperty.map(function (item) {
|
|
4250
|
+
return item.isChecked = e.target.checked;
|
|
4251
|
+
});
|
|
4252
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4253
|
+
}
|
|
4254
|
+
commonUseProperty.map(function (item) {
|
|
4255
|
+
return item.isChecked = e.target.checked;
|
|
4256
|
+
});
|
|
4257
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4258
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4259
|
+
setIndeterminate(false);
|
|
4260
|
+
};
|
|
4261
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4262
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4263
|
+
if (showNotCommon) {
|
|
4264
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4265
|
+
}
|
|
4266
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4267
|
+
return item.isChecked;
|
|
4268
|
+
}).length && checkList.filter(function (item) {
|
|
4269
|
+
return item.isChecked;
|
|
4270
|
+
}).length !== checkList.length;
|
|
4271
|
+
setIndeterminate(indeterminate);
|
|
4272
|
+
};
|
|
4273
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4274
|
+
if (type === 1) {
|
|
4275
|
+
// 常用属性
|
|
4276
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4277
|
+
if (info.value === item.value) {
|
|
4278
|
+
info.isChecked = e.target.checked;
|
|
4279
|
+
}
|
|
4280
|
+
});
|
|
4281
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4282
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4283
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4284
|
+
}
|
|
4285
|
+
if (type === 2) {
|
|
4286
|
+
// 非常用属性
|
|
4287
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4288
|
+
if (info.value === item.value) {
|
|
4289
|
+
info.isChecked = e.target.checked;
|
|
4290
|
+
}
|
|
4291
|
+
});
|
|
4292
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4293
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4294
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4295
|
+
}
|
|
4296
|
+
};
|
|
4297
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4298
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4299
|
+
return checkData.length && checkData.every(function (item) {
|
|
4300
|
+
return item.isChecked;
|
|
4301
|
+
}) ? true : false;
|
|
4302
|
+
};
|
|
4303
|
+
return /*#__PURE__*/React$1.createElement("div", {
|
|
4304
|
+
className: 'propertyGroup_container'
|
|
4305
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4306
|
+
className: 'propertyGroup_container_left'
|
|
4307
|
+
}, /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4308
|
+
checked: checkAllChecked(),
|
|
4309
|
+
indeterminate: indeterminate,
|
|
4310
|
+
onChange: handleChangeAll
|
|
4311
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4312
|
+
title: propertyData.name,
|
|
4313
|
+
className: "propertyGroup_checkbox_container"
|
|
4314
|
+
}, propertyData.propertyName))), /*#__PURE__*/React$1.createElement("div", {
|
|
4315
|
+
className: 'propertyGroup_container_right'
|
|
4316
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4317
|
+
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4318
|
+
checked: item.isChecked,
|
|
4319
|
+
key: item.value,
|
|
4320
|
+
onChange: function onChange(e) {
|
|
4321
|
+
handleItemChecked(e, item, 1);
|
|
4322
|
+
}
|
|
4323
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4324
|
+
title: item.name,
|
|
4325
|
+
className: "propertyGroup_checkbox_container"
|
|
4326
|
+
}, item.name));
|
|
4327
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4328
|
+
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4329
|
+
checked: item.isChecked,
|
|
4330
|
+
key: item.value,
|
|
4331
|
+
onChange: function onChange(e) {
|
|
4332
|
+
handleItemChecked(e, item, 2);
|
|
4333
|
+
}
|
|
4334
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4335
|
+
title: item.name,
|
|
4336
|
+
className: "propertyGroup_checkbox_container"
|
|
4337
|
+
}, item.name));
|
|
4338
|
+
}), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
4339
|
+
style: {
|
|
4340
|
+
width: '50px',
|
|
4341
|
+
cursor: 'pointer',
|
|
4342
|
+
color: '#005cff',
|
|
4343
|
+
fontSize: '10px',
|
|
4344
|
+
display: 'flex',
|
|
4345
|
+
alignItems: 'center'
|
|
4346
|
+
},
|
|
4347
|
+
onClick: function onClick() {
|
|
4348
|
+
setShowNotCommon(!showNotCommon);
|
|
4349
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4350
|
+
}
|
|
4351
|
+
}, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
|
|
4352
|
+
};
|
|
4353
|
+
var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
|
|
4354
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4355
|
+
return true;
|
|
4356
|
+
});
|
|
4357
|
+
|
|
4358
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
4359
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
4360
|
+
var value = _ref.value,
|
|
4361
|
+
onChange = _ref.onChange,
|
|
4362
|
+
width = _ref.width,
|
|
4363
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4364
|
+
var settingValue = useRef({
|
|
4365
|
+
classifyCode: '',
|
|
4366
|
+
classifyName: '',
|
|
4367
|
+
propertyList: []
|
|
4368
|
+
});
|
|
4369
|
+
var _useState = useState([]),
|
|
4370
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4371
|
+
choosedValues = _useState2[0],
|
|
4372
|
+
setChoosedValues = _useState2[1];
|
|
4373
|
+
var _useState3 = useState(''),
|
|
4374
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4375
|
+
choosedClassify = _useState4[0],
|
|
4376
|
+
setChoosedClassify = _useState4[1];
|
|
4377
|
+
var _useState5 = useState([]),
|
|
4378
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4379
|
+
commonProperty = _useState6[0],
|
|
4380
|
+
setCommonUseProperty = _useState6[1];
|
|
4381
|
+
var _useState7 = useState([]),
|
|
4382
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4383
|
+
notCommonProperty = _useState8[0],
|
|
4384
|
+
setNotCommonProperty = _useState8[1];
|
|
4385
|
+
var _useState9 = useState(false),
|
|
4386
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4387
|
+
visible = _useState10[0],
|
|
4388
|
+
setVisible = _useState10[1];
|
|
4389
|
+
var _useState11 = useState(false),
|
|
4390
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4391
|
+
showNotCommon = _useState12[0],
|
|
4392
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4393
|
+
var _useState13 = useState([]),
|
|
4394
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4395
|
+
classifyOptionList = _useState14[0],
|
|
4396
|
+
setClassifyOptionList = _useState14[1];
|
|
4397
|
+
var _useState15 = useState('1'),
|
|
4398
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4399
|
+
listKey = _useState16[0],
|
|
4400
|
+
setListKey = _useState16[1];
|
|
4401
|
+
useEffect(function () {
|
|
4402
|
+
requestUtil({
|
|
4403
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4404
|
+
method: 'GET'
|
|
4405
|
+
}).then(function (_ref2) {
|
|
4406
|
+
var _data$data;
|
|
4407
|
+
var data = _ref2.data;
|
|
4408
|
+
if (judgeIsRequestError(data)) {
|
|
4409
|
+
return;
|
|
4410
|
+
}
|
|
4411
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
4412
|
+
setClassifyOptionList(items.map(function (item) {
|
|
4413
|
+
return {
|
|
4414
|
+
label: item.name,
|
|
4415
|
+
value: item.id
|
|
4416
|
+
};
|
|
4417
|
+
}));
|
|
4418
|
+
});
|
|
4419
|
+
}, []);
|
|
4420
|
+
useEffect(function () {
|
|
4421
|
+
if (!choosedClassify) return;
|
|
4422
|
+
requestUtil({
|
|
4423
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
4424
|
+
method: 'GET'
|
|
4425
|
+
}).then(function (_ref3) {
|
|
4426
|
+
var data = _ref3.data;
|
|
4427
|
+
if (judgeIsRequestError(data)) {
|
|
4428
|
+
return;
|
|
4429
|
+
}
|
|
4430
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
4431
|
+
return {
|
|
4432
|
+
propertyCode: item.property.propertyCode,
|
|
4433
|
+
propertyName: item.property.name,
|
|
4434
|
+
propertyId: item.property.id,
|
|
4435
|
+
isCommonUse: item.property.isCommonUse === 'commonUse',
|
|
4436
|
+
detailList: item.propertyValueList.map(function (detail) {
|
|
4437
|
+
return {
|
|
4438
|
+
name: detail.value,
|
|
4439
|
+
value: detail.value,
|
|
4440
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
4441
|
+
};
|
|
4442
|
+
})
|
|
4443
|
+
};
|
|
4444
|
+
});
|
|
4445
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
4446
|
+
return item.isCommonUse;
|
|
4447
|
+
}));
|
|
4448
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
4449
|
+
return !item.isCommonUse;
|
|
4450
|
+
}));
|
|
4451
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
4452
|
+
});
|
|
4453
|
+
}, [choosedClassify]);
|
|
4454
|
+
useEffect(function () {
|
|
4455
|
+
// 获取选中品类信息
|
|
4456
|
+
setChoosedClassify(value === null || value === void 0 ? void 0 : value.classifyCode);
|
|
4457
|
+
// 获取选中属性值展示
|
|
4458
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
4459
|
+
return (item.detailList || []).map(function (detail) {
|
|
4460
|
+
return detail.name;
|
|
4461
|
+
});
|
|
4462
|
+
}).flat();
|
|
4463
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
4464
|
+
return !item.isCommonUse;
|
|
4465
|
+
})) {
|
|
4466
|
+
setShowNotCommon(true);
|
|
4467
|
+
}
|
|
4468
|
+
setChoosedValues(choosedPropertyList);
|
|
4469
|
+
settingValue.current = _objectSpread2({}, value);
|
|
4470
|
+
}, [value]);
|
|
4471
|
+
// 关闭弹窗回传组件值
|
|
4472
|
+
var handleConfirm = function handleConfirm() {
|
|
4473
|
+
setVisible(false);
|
|
4474
|
+
onChange(settingValue.current);
|
|
4475
|
+
};
|
|
4476
|
+
var onCancel = function onCancel() {
|
|
4477
|
+
setVisible(false);
|
|
4478
|
+
};
|
|
4479
|
+
// 获取选中属性值信息
|
|
4480
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
4481
|
+
var _settingValue$current;
|
|
4482
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
4483
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
4484
|
+
return item.propertyCode === value.propertyCode;
|
|
4485
|
+
});
|
|
4486
|
+
if (itemIndex !== -1) {
|
|
4487
|
+
newDetailList[itemIndex] = value;
|
|
4488
|
+
} else {
|
|
4489
|
+
newDetailList.push(value);
|
|
4490
|
+
}
|
|
4491
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
4492
|
+
propertyList: newDetailList.filter(function (item) {
|
|
4493
|
+
return item.detailList && item.detailList.length;
|
|
4494
|
+
})
|
|
4495
|
+
});
|
|
4496
|
+
};
|
|
4497
|
+
//修改品类值
|
|
4498
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
4499
|
+
setChoosedClassify(value);
|
|
4500
|
+
settingValue.current = {
|
|
4501
|
+
classifyCode: value,
|
|
4502
|
+
classifyName: option.children,
|
|
4503
|
+
propertyList: []
|
|
4504
|
+
};
|
|
4505
|
+
};
|
|
4506
|
+
var tagRender = function tagRender(props) {
|
|
4507
|
+
var label = props.label,
|
|
4508
|
+
value = props.value,
|
|
4509
|
+
closable = props.closable,
|
|
4510
|
+
onClose = props.onClose;
|
|
4511
|
+
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
4512
|
+
closable: false,
|
|
4513
|
+
style: {
|
|
4514
|
+
marginRight: 3,
|
|
4515
|
+
height: '20px',
|
|
4516
|
+
fontSize: '12px'
|
|
4517
|
+
}
|
|
4518
|
+
}, label);
|
|
4519
|
+
};
|
|
4520
|
+
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
|
|
4521
|
+
maxTagCount: 1,
|
|
4522
|
+
tagRender: tagRender
|
|
4523
|
+
}, restProps), {}, {
|
|
4524
|
+
mode: "multiple",
|
|
4525
|
+
value: choosedValues,
|
|
4526
|
+
onClick: function onClick() {
|
|
4527
|
+
setVisible(true);
|
|
4528
|
+
},
|
|
4529
|
+
style: {
|
|
4530
|
+
width: width || '100%'
|
|
4531
|
+
},
|
|
4532
|
+
open: false
|
|
4533
|
+
})), /*#__PURE__*/React$1.createElement(Modal, {
|
|
4534
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
4535
|
+
width: 700,
|
|
4536
|
+
open: visible,
|
|
4537
|
+
onOk: handleConfirm,
|
|
4538
|
+
destroyOnClose: true,
|
|
4539
|
+
onCancel: onCancel,
|
|
4540
|
+
cancelText: '取消',
|
|
4541
|
+
okText: '确定'
|
|
4542
|
+
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
4543
|
+
className: 'property_classify_content'
|
|
4544
|
+
}, /*#__PURE__*/React$1.createElement("span", {
|
|
4545
|
+
style: {
|
|
4546
|
+
marginRight: '10px'
|
|
4547
|
+
}
|
|
4548
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React$1.createElement(Select, {
|
|
4549
|
+
style: {
|
|
4550
|
+
width: '200px'
|
|
4551
|
+
},
|
|
4552
|
+
value: choosedClassify,
|
|
4553
|
+
options: classifyOptionList,
|
|
4554
|
+
onChange: function onChange(value, option) {
|
|
4555
|
+
onClassifyChange(value, option);
|
|
4556
|
+
}
|
|
4557
|
+
})), /*#__PURE__*/React$1.createElement("div", {
|
|
4558
|
+
className: 'property_classify_content1',
|
|
4559
|
+
key: listKey
|
|
4560
|
+
}, /*#__PURE__*/React$1.createElement("div", null, commonProperty.map(function (item) {
|
|
4561
|
+
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
4562
|
+
modalVisilbe: visible,
|
|
4563
|
+
itemValue: settingValue.current,
|
|
4564
|
+
propertyData: item,
|
|
4565
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4566
|
+
});
|
|
4567
|
+
})), /*#__PURE__*/React$1.createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
4568
|
+
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
4569
|
+
modalVisilbe: visible,
|
|
4570
|
+
itemValue: settingValue.current,
|
|
4571
|
+
propertyData: item,
|
|
4572
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4573
|
+
});
|
|
4574
|
+
}))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
4575
|
+
style: {
|
|
4576
|
+
width: '50px',
|
|
4577
|
+
cursor: 'pointer',
|
|
4578
|
+
color: '#005cff',
|
|
4579
|
+
fontSize: '10px'
|
|
4580
|
+
},
|
|
4581
|
+
onClick: function onClick() {
|
|
4582
|
+
return setShowNotCommon(!showNotCommon);
|
|
4583
|
+
}
|
|
4584
|
+
}, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
|
|
4585
|
+
};
|
|
4586
|
+
|
|
4587
|
+
var handlePressEnter$1 = debounce(function (ctx) {
|
|
4588
|
+
if (ctx === null || ctx === void 0 ? void 0 : ctx.table) {
|
|
4589
|
+
var _ctx$form, _ctx$form$validateFie;
|
|
4590
|
+
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) {
|
|
4591
|
+
var _ctx$table, _ctx$table2;
|
|
4592
|
+
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(),
|
|
4593
|
+
pageSize = _ctx$table$getPaging.pagination.pageSize,
|
|
4594
|
+
sorter = _ctx$table$getPaging.sorter;
|
|
4595
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$table2 = ctx.table) === null || _ctx$table2 === void 0 ? void 0 : _ctx$table2.refreshTable({
|
|
4596
|
+
pageSize: pageSize,
|
|
4597
|
+
current: 1
|
|
4598
|
+
}, data, sorter);
|
|
4599
|
+
});
|
|
4600
|
+
}
|
|
4601
|
+
}, 50);
|
|
4160
4602
|
var Option$1 = Select.Option;
|
|
4161
4603
|
var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
4162
4604
|
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
@@ -4427,6 +4869,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4427
4869
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4428
4870
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
4429
4871
|
var callback = arguments.length > 2 ? arguments[2] : undefined;
|
|
4872
|
+
var bodyParams = arguments.length > 3 ? arguments[3] : undefined;
|
|
4430
4873
|
if (!requestConfig) return;
|
|
4431
4874
|
setFetching(true);
|
|
4432
4875
|
// 处理dependence参数
|
|
@@ -4555,6 +4998,109 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4555
4998
|
if (isNil(queryParams[selectParamsKey])) {
|
|
4556
4999
|
queryParams[selectParamsKey] = searchValue;
|
|
4557
5000
|
}
|
|
5001
|
+
if ((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.method) === 'post') {
|
|
5002
|
+
requestUtil.post("".concat(url, "?").concat(stringify(queryParams)), bodyParams || null).then(function (result) {
|
|
5003
|
+
setFetching(false);
|
|
5004
|
+
result = result.data;
|
|
5005
|
+
if (judgeIsRequestError(result)) {
|
|
5006
|
+
message$1.error(result.msg);
|
|
5007
|
+
return;
|
|
5008
|
+
}
|
|
5009
|
+
var res = result.data;
|
|
5010
|
+
var source = [];
|
|
5011
|
+
if (isMap) {
|
|
5012
|
+
source = Object.keys(res).map(function (d, i) {
|
|
5013
|
+
return {
|
|
5014
|
+
text: Object.values(res)[i],
|
|
5015
|
+
value: d
|
|
5016
|
+
};
|
|
5017
|
+
});
|
|
5018
|
+
} else {
|
|
5019
|
+
var keys = res.list ? 'list' : 'items';
|
|
5020
|
+
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
5021
|
+
var _item$children;
|
|
5022
|
+
var textShowText = item[mappingTextField];
|
|
5023
|
+
if (mappingTextShowTextField) {
|
|
5024
|
+
textShowText = [];
|
|
5025
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
5026
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
5027
|
+
textShowText.push(item[r]);
|
|
5028
|
+
});
|
|
5029
|
+
} else {
|
|
5030
|
+
textShowText = item[mappingTextShowTextField];
|
|
5031
|
+
}
|
|
5032
|
+
}
|
|
5033
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
5034
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
5035
|
+
}
|
|
5036
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5037
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5038
|
+
textShowText: textShowText,
|
|
5039
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5040
|
+
value: item[mappingValueField],
|
|
5041
|
+
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
|
|
5042
|
+
});
|
|
5043
|
+
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
5044
|
+
var _item$children2;
|
|
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$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.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
|
+
})) : [];
|
|
5067
|
+
}
|
|
5068
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
5069
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
5070
|
+
if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
5071
|
+
var _source;
|
|
5072
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
5073
|
+
return r.value == s;
|
|
5074
|
+
}));
|
|
5075
|
+
}))) {
|
|
5076
|
+
var selectedOption = items.filter(function (option) {
|
|
5077
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
5078
|
+
}) || [];
|
|
5079
|
+
source = (source || []).concat(selectedOption);
|
|
5080
|
+
}
|
|
5081
|
+
// 数据源 不可以有重复key
|
|
5082
|
+
source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
|
|
5083
|
+
if (callback) {
|
|
5084
|
+
callback(source);
|
|
5085
|
+
} else {
|
|
5086
|
+
if (type === 1) {
|
|
5087
|
+
var _ctx$form2;
|
|
5088
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
|
|
5089
|
+
setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
|
|
5090
|
+
} else {
|
|
5091
|
+
setTableData(source);
|
|
5092
|
+
setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
|
|
5093
|
+
total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
|
|
5094
|
+
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),
|
|
5095
|
+
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)
|
|
5096
|
+
}));
|
|
5097
|
+
}
|
|
5098
|
+
}
|
|
5099
|
+
}).catch(function (err) {
|
|
5100
|
+
setFetching(false);
|
|
5101
|
+
});
|
|
5102
|
+
return;
|
|
5103
|
+
}
|
|
4558
5104
|
requestUtil.get("".concat(url, "?").concat(stringify(queryParams)), {
|
|
4559
5105
|
headers: _objectSpread2({}, extralHeaders)
|
|
4560
5106
|
}).then(function (result) {
|
|
@@ -4576,7 +5122,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4576
5122
|
} else {
|
|
4577
5123
|
var keys = res.list ? 'list' : 'items';
|
|
4578
5124
|
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
4579
|
-
var _item$
|
|
5125
|
+
var _item$children3;
|
|
4580
5126
|
var textShowText = item[mappingTextField];
|
|
4581
5127
|
if (mappingTextShowTextField) {
|
|
4582
5128
|
textShowText = [];
|
|
@@ -4588,7 +5134,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4588
5134
|
textShowText = item[mappingTextShowTextField];
|
|
4589
5135
|
}
|
|
4590
5136
|
}
|
|
4591
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$
|
|
5137
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.length)) {
|
|
4592
5138
|
item === null || item === void 0 ? true : delete item.children;
|
|
4593
5139
|
}
|
|
4594
5140
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -4599,7 +5145,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4599
5145
|
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
|
|
4600
5146
|
});
|
|
4601
5147
|
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
4602
|
-
var _item$
|
|
5148
|
+
var _item$children4;
|
|
4603
5149
|
var textShowText = item[mappingTextField];
|
|
4604
5150
|
if (mappingTextShowTextField) {
|
|
4605
5151
|
textShowText = [];
|
|
@@ -4611,7 +5157,7 @@ var SearchSelect = /*#__PURE__*/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$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.length)) {
|
|
4615
5161
|
item === null || item === void 0 ? true : delete item.children;
|
|
4616
5162
|
}
|
|
4617
5163
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -4626,8 +5172,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4626
5172
|
// 补充搜索项--选中的数据添加到数据源中去
|
|
4627
5173
|
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4628
5174
|
if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
4629
|
-
var
|
|
4630
|
-
return !((
|
|
5175
|
+
var _source2;
|
|
5176
|
+
return !((_source2 = source) === null || _source2 === void 0 ? void 0 : _source2.find(function (r) {
|
|
4631
5177
|
return r.value == s;
|
|
4632
5178
|
}));
|
|
4633
5179
|
}))) {
|
|
@@ -4642,8 +5188,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4642
5188
|
callback(source);
|
|
4643
5189
|
} else {
|
|
4644
5190
|
if (type === 1) {
|
|
4645
|
-
var _ctx$
|
|
4646
|
-
ctx === null || ctx === void 0 ? void 0 : (_ctx$
|
|
5191
|
+
var _ctx$form3;
|
|
5192
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form3 = ctx.form) === null || _ctx$form3 === void 0 ? void 0 : _ctx$form3.setFieldSource(resultSourceKey, source);
|
|
4647
5193
|
setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
|
|
4648
5194
|
} else {
|
|
4649
5195
|
setTableData(source);
|
|
@@ -4787,10 +5333,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4787
5333
|
};
|
|
4788
5334
|
var handleSelectOver = function handleSelectOver(selectedValue) {
|
|
4789
5335
|
if (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) {
|
|
4790
|
-
var _ctx$
|
|
5336
|
+
var _ctx$form4;
|
|
4791
5337
|
// 解决选择最后1页的sku,返回后,不显示名称问题
|
|
4792
5338
|
var source = _.uniqBy(items.concat(selectedValue), 'value');
|
|
4793
|
-
ctx === null || ctx === void 0 ? void 0 : (_ctx$
|
|
5339
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form4 = ctx.form) === null || _ctx$form4 === void 0 ? void 0 : _ctx$form4.setFieldSource(resultSourceKey, source);
|
|
4794
5340
|
setSelectDataSource(source, source === null || source === void 0 ? void 0 : source.length);
|
|
4795
5341
|
formaData(selectedValue, source);
|
|
4796
5342
|
} else {
|
|
@@ -4881,10 +5427,15 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4881
5427
|
var params = form.getFieldsValue();
|
|
4882
5428
|
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4883
5429
|
setModalSearched(true);
|
|
5430
|
+
var unique_params = null;
|
|
5431
|
+
if (params['UNIQUE_SPEC']) {
|
|
5432
|
+
var _params$UNIQUE_SPEC;
|
|
5433
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
5434
|
+
}
|
|
4884
5435
|
setTableFormParams(params);
|
|
4885
5436
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4886
5437
|
pageSize: tableInitPageSize
|
|
4887
|
-
}), 2);
|
|
5438
|
+
}), 2, null, unique_params);
|
|
4888
5439
|
};
|
|
4889
5440
|
var onResetTable = function onResetTable() {
|
|
4890
5441
|
form.resetFields();
|
|
@@ -5011,7 +5562,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5011
5562
|
};
|
|
5012
5563
|
})) || [];
|
|
5013
5564
|
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) {
|
|
5014
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
|
|
5565
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8;
|
|
5015
5566
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
|
|
5016
5567
|
span: ColSpan,
|
|
5017
5568
|
key: i
|
|
@@ -5086,6 +5637,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5086
5637
|
}
|
|
5087
5638
|
})));
|
|
5088
5639
|
}
|
|
5640
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5641
|
+
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5642
|
+
span: ColSpan,
|
|
5643
|
+
key: i.name
|
|
5644
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
5645
|
+
name: i.name,
|
|
5646
|
+
label: i.label,
|
|
5647
|
+
key: i.name
|
|
5648
|
+
}, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
|
|
5649
|
+
}
|
|
5089
5650
|
// 默认type是input
|
|
5090
5651
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5091
5652
|
span: ColSpan,
|
|
@@ -5101,7 +5662,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5101
5662
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5102
5663
|
allowClear: true,
|
|
5103
5664
|
maxLength: 100
|
|
5104
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5665
|
+
}, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
|
|
5105
5666
|
disabled: setDisabled(i.name)
|
|
5106
5667
|
}))));
|
|
5107
5668
|
});
|
|
@@ -5428,6 +5989,23 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5428
5989
|
}
|
|
5429
5990
|
}, /*#__PURE__*/React$1.createElement("div", null, searchValue || init || isHaveDependency ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165".concat(searchStartLength ? '4位数以上' : '', "\u5B57\u7B26\u8FDB\u884C\u6A21\u7CCA\u67E5\u8BE2")))),
|
|
5430
5991
|
onPopupScroll: SelectScroll,
|
|
5992
|
+
onKeyDown: function onKeyDown(e) {
|
|
5993
|
+
if ((e.key === 'Enter' || e.keyCode === 13) && !selectOpen) {
|
|
5994
|
+
if (props === null || props === void 0 ? void 0 : props.onPressEnter) {
|
|
5995
|
+
var _props$onPressEnter;
|
|
5996
|
+
(_props$onPressEnter = props.onPressEnter) === null || _props$onPressEnter === void 0 ? void 0 : _props$onPressEnter.call(props, e);
|
|
5997
|
+
}
|
|
5998
|
+
handlePressEnter$1(ctx);
|
|
5999
|
+
setSelectOpen(false);
|
|
6000
|
+
e.preventDefault();
|
|
6001
|
+
e.stopPropagation();
|
|
6002
|
+
return;
|
|
6003
|
+
} else if (e.keyCode === 9 || e.key === 'Tab') {
|
|
6004
|
+
setSelectOpen(false);
|
|
6005
|
+
} else {
|
|
6006
|
+
setSelectOpen(true);
|
|
6007
|
+
}
|
|
6008
|
+
},
|
|
5431
6009
|
style: {
|
|
5432
6010
|
width: 'calc(100%)'
|
|
5433
6011
|
},
|
|
@@ -5528,8 +6106,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5528
6106
|
})) : null)))));
|
|
5529
6107
|
});
|
|
5530
6108
|
|
|
5531
|
-
var css_248z$
|
|
5532
|
-
styleInject(css_248z$
|
|
6109
|
+
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";
|
|
6110
|
+
styleInject(css_248z$7);
|
|
5533
6111
|
|
|
5534
6112
|
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";
|
|
5535
6113
|
|
|
@@ -5545,10 +6123,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5545
6123
|
|
|
5546
6124
|
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";
|
|
5547
6125
|
|
|
5548
|
-
var css_248z$
|
|
5549
|
-
styleInject(css_248z$
|
|
6126
|
+
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";
|
|
6127
|
+
styleInject(css_248z$8);
|
|
5550
6128
|
|
|
5551
|
-
var _excluded$
|
|
6129
|
+
var _excluded$4 = ["className", "style"];
|
|
5552
6130
|
var Search = Input.Search;
|
|
5553
6131
|
var DragHandle = SortableHandle(function () {
|
|
5554
6132
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -5900,7 +6478,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5900
6478
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5901
6479
|
var className = _ref2.className,
|
|
5902
6480
|
style = _ref2.style,
|
|
5903
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6481
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5904
6482
|
var sortDataSource = _this.state.sortDataSource;
|
|
5905
6483
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5906
6484
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6319,7 +6897,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6319
6897
|
});
|
|
6320
6898
|
};
|
|
6321
6899
|
|
|
6322
|
-
var _excluded$
|
|
6900
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6323
6901
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6324
6902
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6325
6903
|
return new Promise(function (resolve, reject) {
|
|
@@ -6339,7 +6917,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6339
6917
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6340
6918
|
var onResize = props.onResize,
|
|
6341
6919
|
width = props.width,
|
|
6342
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
6920
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6343
6921
|
if (!width) {
|
|
6344
6922
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
6345
6923
|
}
|
|
@@ -7568,10 +8146,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7568
8146
|
}))))));
|
|
7569
8147
|
};
|
|
7570
8148
|
|
|
7571
|
-
var css_248z$
|
|
7572
|
-
styleInject(css_248z$
|
|
8149
|
+
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";
|
|
8150
|
+
styleInject(css_248z$9);
|
|
7573
8151
|
|
|
7574
|
-
var _excluded$
|
|
8152
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7575
8153
|
var _this = undefined;
|
|
7576
8154
|
var InputElement = function InputElement(_ref) {
|
|
7577
8155
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8069,7 +8647,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8069
8647
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8070
8648
|
var onResize = props.onResize,
|
|
8071
8649
|
width = props.width,
|
|
8072
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8650
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8073
8651
|
if (!width) {
|
|
8074
8652
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
8075
8653
|
}
|
|
@@ -9006,7 +9584,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9006
9584
|
// 商品选择器sku
|
|
9007
9585
|
if (type === 'skuCommodity') {
|
|
9008
9586
|
requestConfig = _objectSpread2({
|
|
9009
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9587
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9588
|
+
method: 'post',
|
|
9010
9589
|
filter: 'skuCodeAndSkuName',
|
|
9011
9590
|
searchStartLength: 4,
|
|
9012
9591
|
mappingTextField: 'name',
|
|
@@ -9089,6 +9668,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9089
9668
|
}
|
|
9090
9669
|
}
|
|
9091
9670
|
}
|
|
9671
|
+
}, {
|
|
9672
|
+
name: 'UNIQUE_SPEC',
|
|
9673
|
+
label: '属性',
|
|
9674
|
+
field: {
|
|
9675
|
+
type: 'proppertySelector'
|
|
9676
|
+
}
|
|
9092
9677
|
}];
|
|
9093
9678
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9094
9679
|
pageSize: 5000,
|
|
@@ -12895,7 +13480,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12895
13480
|
return "";
|
|
12896
13481
|
}
|
|
12897
13482
|
|
|
12898
|
-
var _excluded$
|
|
13483
|
+
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"];
|
|
12899
13484
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12900
13485
|
var _useState = useState([]),
|
|
12901
13486
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12937,7 +13522,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12937
13522
|
} : _props$style,
|
|
12938
13523
|
getTreeData = props.getTreeData,
|
|
12939
13524
|
disabled = props.disabled,
|
|
12940
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13525
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12941
13526
|
var url = remoteSource.url,
|
|
12942
13527
|
headers = remoteSource.headers,
|
|
12943
13528
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13322,8 +13907,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React$1.memo(BusinessTreeSearchSel
|
|
|
13322
13907
|
return true;
|
|
13323
13908
|
});
|
|
13324
13909
|
|
|
13325
|
-
var css_248z$
|
|
13326
|
-
styleInject(css_248z$
|
|
13910
|
+
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";
|
|
13911
|
+
styleInject(css_248z$a);
|
|
13327
13912
|
|
|
13328
13913
|
var index$2 = (function (props) {
|
|
13329
13914
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13360,10 +13945,10 @@ var index$2 = (function (props) {
|
|
|
13360
13945
|
}));
|
|
13361
13946
|
});
|
|
13362
13947
|
|
|
13363
|
-
var css_248z$
|
|
13364
|
-
styleInject(css_248z$
|
|
13948
|
+
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";
|
|
13949
|
+
styleInject(css_248z$b);
|
|
13365
13950
|
|
|
13366
|
-
var _excluded$
|
|
13951
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13367
13952
|
_excluded2$3 = ["children"];
|
|
13368
13953
|
var Field = function Field(_ref) {
|
|
13369
13954
|
var children = _ref.children,
|
|
@@ -13371,7 +13956,7 @@ var Field = function Field(_ref) {
|
|
|
13371
13956
|
title = _ref.title,
|
|
13372
13957
|
extra = _ref.extra,
|
|
13373
13958
|
bordered = _ref.bordered,
|
|
13374
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13959
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13375
13960
|
var _React$useState = React$1.useState(true),
|
|
13376
13961
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13377
13962
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13495,10 +14080,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13495
14080
|
})));
|
|
13496
14081
|
};
|
|
13497
14082
|
|
|
13498
|
-
var css_248z$
|
|
13499
|
-
styleInject(css_248z$
|
|
14083
|
+
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";
|
|
14084
|
+
styleInject(css_248z$c);
|
|
13500
14085
|
|
|
13501
|
-
var _excluded$
|
|
14086
|
+
var _excluded$9 = ["className", "style"];
|
|
13502
14087
|
var Search$1 = Input.Search;
|
|
13503
14088
|
var DragHandle$1 = SortableHandle(function () {
|
|
13504
14089
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -13916,7 +14501,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13916
14501
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13917
14502
|
var className = _ref2.className,
|
|
13918
14503
|
style = _ref2.style,
|
|
13919
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14504
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13920
14505
|
var sortDataSource = _this.state.sortDataSource;
|
|
13921
14506
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13922
14507
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14248,8 +14833,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14248
14833
|
}]);
|
|
14249
14834
|
}(React$1.Component);
|
|
14250
14835
|
|
|
14251
|
-
var css_248z$
|
|
14252
|
-
styleInject(css_248z$
|
|
14836
|
+
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";
|
|
14837
|
+
styleInject(css_248z$d);
|
|
14253
14838
|
|
|
14254
14839
|
//表格底部 金额总计
|
|
14255
14840
|
var TableSumComponent = (function (_ref) {
|
|
@@ -14270,7 +14855,7 @@ var TableSumComponent = (function (_ref) {
|
|
|
14270
14855
|
}));
|
|
14271
14856
|
});
|
|
14272
14857
|
|
|
14273
|
-
var _excluded$
|
|
14858
|
+
var _excluded$a = ["onResize", "width"],
|
|
14274
14859
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14275
14860
|
var Text = Typography.Text;
|
|
14276
14861
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14374,7 +14959,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14374
14959
|
_this.ResizeableTitle = function (props) {
|
|
14375
14960
|
var onResize = props.onResize,
|
|
14376
14961
|
width = props.width,
|
|
14377
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
14962
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14378
14963
|
var _useState = useState(width),
|
|
14379
14964
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14380
14965
|
innerWidth = _useState2[0],
|
|
@@ -14615,7 +15200,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14615
15200
|
}]);
|
|
14616
15201
|
}(React$1.Component);
|
|
14617
15202
|
|
|
14618
|
-
var _excluded$
|
|
15203
|
+
var _excluded$b = ["onResize", "width"],
|
|
14619
15204
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14620
15205
|
var Text$1 = Typography.Text;
|
|
14621
15206
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14725,7 +15310,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14725
15310
|
_this.ResizeableTitle = function (props) {
|
|
14726
15311
|
var onResize = props.onResize,
|
|
14727
15312
|
width = props.width,
|
|
14728
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15313
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14729
15314
|
if (!width) {
|
|
14730
15315
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
14731
15316
|
}
|
|
@@ -14988,8 +15573,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
14988
15573
|
return undefined;
|
|
14989
15574
|
};
|
|
14990
15575
|
|
|
14991
|
-
var css_248z$
|
|
14992
|
-
styleInject(css_248z$
|
|
15576
|
+
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";
|
|
15577
|
+
styleInject(css_248z$e);
|
|
14993
15578
|
|
|
14994
15579
|
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";
|
|
14995
15580
|
|
|
@@ -15003,15 +15588,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
15003
15588
|
|
|
15004
15589
|
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";
|
|
15005
15590
|
|
|
15006
|
-
var css_248z$
|
|
15007
|
-
styleInject(css_248z$
|
|
15591
|
+
var css_248z$f = "";
|
|
15592
|
+
styleInject(css_248z$f);
|
|
15008
15593
|
|
|
15009
|
-
var _excluded$
|
|
15594
|
+
var _excluded$c = ["message", "type"];
|
|
15010
15595
|
var CommonAlert = (function (props) {
|
|
15011
15596
|
var message = props.message,
|
|
15012
15597
|
_props$type = props.type,
|
|
15013
15598
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
15014
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15599
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
15015
15600
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15016
15601
|
style: {
|
|
15017
15602
|
width: '100%',
|
|
@@ -15032,7 +15617,7 @@ var CommonAlert = (function (props) {
|
|
|
15032
15617
|
}, reset)));
|
|
15033
15618
|
});
|
|
15034
15619
|
|
|
15035
|
-
var _excluded$
|
|
15620
|
+
var _excluded$d = ["children"];
|
|
15036
15621
|
var iconMap = {
|
|
15037
15622
|
edit: /*#__PURE__*/React$1.createElement("img", {
|
|
15038
15623
|
src: editIcon
|
|
@@ -15054,7 +15639,7 @@ var index$3 = (function (props) {
|
|
|
15054
15639
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15055
15640
|
id = _useState2[0];
|
|
15056
15641
|
var children = props.children,
|
|
15057
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15642
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15058
15643
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15059
15644
|
id: id,
|
|
15060
15645
|
className: 'detail_page_wrapper'
|
|
@@ -15277,10 +15862,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15277
15862
|
return true;
|
|
15278
15863
|
});
|
|
15279
15864
|
|
|
15280
|
-
var css_248z$
|
|
15281
|
-
styleInject(css_248z$
|
|
15865
|
+
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";
|
|
15866
|
+
styleInject(css_248z$g);
|
|
15282
15867
|
|
|
15283
|
-
var _excluded$
|
|
15868
|
+
var _excluded$e = ["children"];
|
|
15284
15869
|
var index$4 = (function (props) {
|
|
15285
15870
|
var _useLocation = useLocation(),
|
|
15286
15871
|
pathname = _useLocation.pathname;
|
|
@@ -15288,7 +15873,7 @@ var index$4 = (function (props) {
|
|
|
15288
15873
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15289
15874
|
id = _useState2[0];
|
|
15290
15875
|
var children = props.children,
|
|
15291
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15876
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15292
15877
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15293
15878
|
id: id,
|
|
15294
15879
|
className: 'home_page_wrapper'
|
|
@@ -15362,10 +15947,10 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15362
15947
|
return true;
|
|
15363
15948
|
});
|
|
15364
15949
|
|
|
15365
|
-
var css_248z$
|
|
15366
|
-
styleInject(css_248z$
|
|
15950
|
+
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";
|
|
15951
|
+
styleInject(css_248z$h);
|
|
15367
15952
|
|
|
15368
|
-
var _excluded$
|
|
15953
|
+
var _excluded$f = ["className", "style"];
|
|
15369
15954
|
var DragHandle$2 = SortableHandle(function () {
|
|
15370
15955
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
15371
15956
|
width: 25,
|
|
@@ -15803,7 +16388,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15803
16388
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15804
16389
|
var className = _ref2.className,
|
|
15805
16390
|
style = _ref2.style,
|
|
15806
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16391
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15807
16392
|
var sortDataSource = _this.state.sortDataSource;
|
|
15808
16393
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15809
16394
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16173,7 +16758,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16173
16758
|
}]);
|
|
16174
16759
|
}(React$1.Component);
|
|
16175
16760
|
|
|
16176
|
-
var _excluded$
|
|
16761
|
+
var _excluded$g = ["className", "style"];
|
|
16177
16762
|
var DragHandle$3 = SortableHandle(function () {
|
|
16178
16763
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
16179
16764
|
width: 25,
|
|
@@ -16426,7 +17011,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16426
17011
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16427
17012
|
var className = _ref2.className,
|
|
16428
17013
|
style = _ref2.style,
|
|
16429
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17014
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16430
17015
|
var sortDataSource = _this.state.sortDataSource;
|
|
16431
17016
|
var index = sortDataSource.findIndex(function (x) {
|
|
16432
17017
|
return x.name === restProps['data-row-key'];
|
|
@@ -16722,16 +17307,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16722
17307
|
}]);
|
|
16723
17308
|
}(React$1.Component);
|
|
16724
17309
|
|
|
16725
|
-
var css_248z$
|
|
16726
|
-
styleInject(css_248z$
|
|
17310
|
+
var css_248z$i = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17311
|
+
styleInject(css_248z$i);
|
|
16727
17312
|
|
|
16728
|
-
var _excluded$
|
|
17313
|
+
var _excluded$h = ["onResize", "width"];
|
|
16729
17314
|
var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
|
|
16730
17315
|
var Text$2 = Typography.Text;
|
|
16731
17316
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16732
17317
|
var onResize = props.onResize,
|
|
16733
17318
|
width = props.width,
|
|
16734
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17319
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16735
17320
|
var _useState = useState(width),
|
|
16736
17321
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16737
17322
|
innerWidth = _useState2[0],
|
|
@@ -17449,8 +18034,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17449
18034
|
})));
|
|
17450
18035
|
});
|
|
17451
18036
|
|
|
17452
|
-
var css_248z$
|
|
17453
|
-
styleInject(css_248z$
|
|
18037
|
+
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";
|
|
18038
|
+
styleInject(css_248z$j);
|
|
17454
18039
|
|
|
17455
18040
|
var cache = {};
|
|
17456
18041
|
var cacheLimit = 10000;
|
|
@@ -17706,8 +18291,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17706
18291
|
})))));
|
|
17707
18292
|
};
|
|
17708
18293
|
|
|
17709
|
-
var css_248z$
|
|
17710
|
-
styleInject(css_248z$
|
|
18294
|
+
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";
|
|
18295
|
+
styleInject(css_248z$k);
|
|
17711
18296
|
|
|
17712
18297
|
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";
|
|
17713
18298
|
|
|
@@ -17915,8 +18500,8 @@ var i18n = {
|
|
|
17915
18500
|
}
|
|
17916
18501
|
};
|
|
17917
18502
|
|
|
17918
|
-
var css_248z$
|
|
17919
|
-
styleInject(css_248z$
|
|
18503
|
+
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";
|
|
18504
|
+
styleInject(css_248z$l);
|
|
17920
18505
|
|
|
17921
18506
|
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";
|
|
17922
18507
|
|
|
@@ -18446,8 +19031,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18446
19031
|
}))))));
|
|
18447
19032
|
};
|
|
18448
19033
|
|
|
18449
|
-
var css_248z$
|
|
18450
|
-
styleInject(css_248z$
|
|
19034
|
+
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";
|
|
19035
|
+
styleInject(css_248z$m);
|
|
18451
19036
|
|
|
18452
19037
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18453
19038
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18603,8 +19188,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18603
19188
|
|
|
18604
19189
|
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";
|
|
18605
19190
|
|
|
18606
|
-
var css_248z$
|
|
18607
|
-
styleInject(css_248z$
|
|
19191
|
+
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";
|
|
19192
|
+
styleInject(css_248z$n);
|
|
18608
19193
|
|
|
18609
19194
|
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";
|
|
18610
19195
|
|
|
@@ -19231,8 +19816,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19231
19816
|
}));
|
|
19232
19817
|
});
|
|
19233
19818
|
|
|
19234
|
-
var css_248z$
|
|
19235
|
-
styleInject(css_248z$
|
|
19819
|
+
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";
|
|
19820
|
+
styleInject(css_248z$o);
|
|
19236
19821
|
|
|
19237
19822
|
var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
19238
19823
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19368,8 +19953,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19368
19953
|
})));
|
|
19369
19954
|
});
|
|
19370
19955
|
|
|
19371
|
-
var css_248z$
|
|
19372
|
-
styleInject(css_248z$
|
|
19956
|
+
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";
|
|
19957
|
+
styleInject(css_248z$p);
|
|
19373
19958
|
|
|
19374
19959
|
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=";
|
|
19375
19960
|
|
|
@@ -19784,8 +20369,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19784
20369
|
})));
|
|
19785
20370
|
};
|
|
19786
20371
|
|
|
19787
|
-
var css_248z$
|
|
19788
|
-
styleInject(css_248z$
|
|
20372
|
+
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";
|
|
20373
|
+
styleInject(css_248z$q);
|
|
19789
20374
|
|
|
19790
20375
|
/*
|
|
19791
20376
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19808,7 +20393,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19808
20393
|
}));
|
|
19809
20394
|
};
|
|
19810
20395
|
|
|
19811
|
-
var _excluded$
|
|
20396
|
+
var _excluded$i = ["route"];
|
|
19812
20397
|
var TabPane = Tabs.TabPane;
|
|
19813
20398
|
var getId = function getId(str) {
|
|
19814
20399
|
// 找到最后一个 / 的位置
|
|
@@ -20749,7 +21334,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20749
21334
|
}); // 添加数据大屏
|
|
20750
21335
|
var _this$props3 = this.props,
|
|
20751
21336
|
route = _this$props3.route,
|
|
20752
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21337
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20753
21338
|
var exist = route.routes.find(function (route) {
|
|
20754
21339
|
return route.path === '/homePage/data-show';
|
|
20755
21340
|
});
|
|
@@ -21309,8 +21894,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21309
21894
|
};
|
|
21310
21895
|
};
|
|
21311
21896
|
|
|
21312
|
-
var css_248z$
|
|
21313
|
-
styleInject(css_248z$
|
|
21897
|
+
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";
|
|
21898
|
+
styleInject(css_248z$r);
|
|
21314
21899
|
|
|
21315
21900
|
var useSticky = function useSticky(sticky) {
|
|
21316
21901
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21722,10 +22307,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
21722
22307
|
}))))));
|
|
21723
22308
|
});
|
|
21724
22309
|
|
|
21725
|
-
var _excluded$
|
|
22310
|
+
var _excluded$j = ["children"];
|
|
21726
22311
|
var Drawer = (function (props) {
|
|
21727
22312
|
var children = props.children,
|
|
21728
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22313
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21729
22314
|
return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
|
|
21730
22315
|
mask: true,
|
|
21731
22316
|
closable: false,
|
|
@@ -27545,8 +28130,8 @@ var nameRender = (function (data) {
|
|
|
27545
28130
|
}, " ");
|
|
27546
28131
|
});
|
|
27547
28132
|
|
|
27548
|
-
var css_248z$
|
|
27549
|
-
styleInject(css_248z$
|
|
28133
|
+
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";
|
|
28134
|
+
styleInject(css_248z$s);
|
|
27550
28135
|
|
|
27551
28136
|
function parseData(data) {
|
|
27552
28137
|
var res;
|
|
@@ -27757,8 +28342,8 @@ function registerSuggestions(monaco) {
|
|
|
27757
28342
|
});
|
|
27758
28343
|
}
|
|
27759
28344
|
|
|
27760
|
-
var css_248z$
|
|
27761
|
-
styleInject(css_248z$
|
|
28345
|
+
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";
|
|
28346
|
+
styleInject(css_248z$t);
|
|
27762
28347
|
|
|
27763
28348
|
var Title = Typography.Title;
|
|
27764
28349
|
var STRTEMP = 'const config = ';
|
|
@@ -27952,7 +28537,7 @@ var Editor = (function (props) {
|
|
|
27952
28537
|
}, [shallowHeight]);
|
|
27953
28538
|
var hasConfigTree = type !== 'editor';
|
|
27954
28539
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
27955
|
-
className: isFull ? css_248z$
|
|
28540
|
+
className: isFull ? css_248z$t.editorWrapper : ''
|
|
27956
28541
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
27957
28542
|
style: {
|
|
27958
28543
|
overflow: 'hidden'
|
|
@@ -28020,7 +28605,7 @@ var Editor = (function (props) {
|
|
|
28020
28605
|
})), hasConfigTree && /*#__PURE__*/React$1.createElement(Col, {
|
|
28021
28606
|
span: 8
|
|
28022
28607
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
28023
|
-
className: css_248z$
|
|
28608
|
+
className: css_248z$t.title
|
|
28024
28609
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React$1.createElement(ConfigTree, {
|
|
28025
28610
|
style: {
|
|
28026
28611
|
height: 'calc(100vh - 300px)',
|
|
@@ -29901,8 +30486,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29901
30486
|
})), fieldsModify.visible && /*#__PURE__*/React$1.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29902
30487
|
});
|
|
29903
30488
|
|
|
29904
|
-
var css_248z$
|
|
29905
|
-
styleInject(css_248z$
|
|
30489
|
+
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";
|
|
30490
|
+
styleInject(css_248z$u);
|
|
29906
30491
|
|
|
29907
30492
|
function iterFileds(fields) {
|
|
29908
30493
|
var filedsValue = [];
|
|
@@ -30504,7 +31089,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30504
31089
|
});
|
|
30505
31090
|
};
|
|
30506
31091
|
|
|
30507
|
-
var _excluded$
|
|
31092
|
+
var _excluded$k = ["sorter"];
|
|
30508
31093
|
/**
|
|
30509
31094
|
* 删掉查询条件的qp- 和 -eq等
|
|
30510
31095
|
* @param {object} data
|
|
@@ -30587,7 +31172,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30587
31172
|
var _requestConfig$method;
|
|
30588
31173
|
var params = _ref.params;
|
|
30589
31174
|
var sorter = params.sorter,
|
|
30590
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31175
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30591
31176
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), _.omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
|
|
30592
31177
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30593
31178
|
});
|
|
@@ -31442,8 +32027,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31442
32027
|
});
|
|
31443
32028
|
};
|
|
31444
32029
|
|
|
31445
|
-
var css_248z$
|
|
31446
|
-
styleInject(css_248z$
|
|
32030
|
+
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";
|
|
32031
|
+
styleInject(css_248z$v);
|
|
31447
32032
|
|
|
31448
32033
|
// 查询规则对象属性thresholdList
|
|
31449
32034
|
function getRegularThresholdRange(_x) {
|
|
@@ -34348,7 +34933,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34348
34933
|
style: {
|
|
34349
34934
|
marginLeft: '10px'
|
|
34350
34935
|
},
|
|
34351
|
-
className: css_248z$
|
|
34936
|
+
className: css_248z$v.rule_field_style
|
|
34352
34937
|
}, this.renderConditionField());
|
|
34353
34938
|
}
|
|
34354
34939
|
}]);
|
|
@@ -34789,7 +35374,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34789
35374
|
disabled = _this$props.disabled;
|
|
34790
35375
|
return /*#__PURE__*/React$1.createElement("div", null, ruleTypeData.map(function (i) {
|
|
34791
35376
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
34792
|
-
className: css_248z$
|
|
35377
|
+
className: css_248z$v.action_list_item
|
|
34793
35378
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
34794
35379
|
onClick: function onClick() {
|
|
34795
35380
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -36736,8 +37321,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36736
37321
|
}]);
|
|
36737
37322
|
}(Component);
|
|
36738
37323
|
|
|
36739
|
-
var css_248z$
|
|
36740
|
-
styleInject(css_248z$
|
|
37324
|
+
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";
|
|
37325
|
+
styleInject(css_248z$w);
|
|
36741
37326
|
|
|
36742
37327
|
var formatOperationList = function formatOperationList(data) {
|
|
36743
37328
|
var _result$find;
|
|
@@ -37470,13 +38055,13 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37470
38055
|
return /*#__PURE__*/React$1.createElement(Spin, {
|
|
37471
38056
|
spinning: loading
|
|
37472
38057
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37473
|
-
className: css_248z$
|
|
38058
|
+
className: css_248z$w.base_rule
|
|
37474
38059
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37475
|
-
className: css_248z$
|
|
38060
|
+
className: css_248z$w.base_rule_content
|
|
37476
38061
|
}, /*#__PURE__*/React$1.createElement("p", {
|
|
37477
|
-
className: css_248z$
|
|
38062
|
+
className: css_248z$w.base_rule_line_title
|
|
37478
38063
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
37479
|
-
className: css_248z$
|
|
38064
|
+
className: css_248z$w.rule_title
|
|
37480
38065
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React$1.createElement("p", {
|
|
37481
38066
|
style: {
|
|
37482
38067
|
float: 'right'
|
|
@@ -37726,17 +38311,17 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37726
38311
|
})));
|
|
37727
38312
|
});
|
|
37728
38313
|
|
|
37729
|
-
var css_248z$
|
|
37730
|
-
styleInject(css_248z$
|
|
38314
|
+
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";
|
|
38315
|
+
styleInject(css_248z$x);
|
|
37731
38316
|
|
|
37732
|
-
var _excluded$
|
|
38317
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37733
38318
|
var Panel = Collapse.Panel;
|
|
37734
38319
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37735
38320
|
var titleExtra = _ref.titleExtra,
|
|
37736
38321
|
header = _ref.header,
|
|
37737
38322
|
_ref$showArrow = _ref.showArrow,
|
|
37738
38323
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37739
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38324
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37740
38325
|
var renderHeader = function renderHeader() {
|
|
37741
38326
|
return /*#__PURE__*/React$1.createElement(Space, {
|
|
37742
38327
|
align: "center"
|
|
@@ -37760,11 +38345,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37760
38345
|
}), props.children);
|
|
37761
38346
|
};
|
|
37762
38347
|
|
|
37763
|
-
var _excluded$
|
|
38348
|
+
var _excluded$m = ["children", "bordered"];
|
|
37764
38349
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37765
38350
|
var children = props.children,
|
|
37766
38351
|
bordered = props.bordered,
|
|
37767
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38352
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37768
38353
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
37769
38354
|
className: classNames({
|
|
37770
38355
|
'bs-collapse-wrap': true,
|
|
@@ -37778,9 +38363,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37778
38363
|
Board: ExtendedPanel
|
|
37779
38364
|
});
|
|
37780
38365
|
|
|
37781
|
-
var css_248z$
|
|
38366
|
+
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";
|
|
37782
38367
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37783
|
-
styleInject(css_248z$
|
|
38368
|
+
styleInject(css_248z$y);
|
|
37784
38369
|
|
|
37785
38370
|
var Paragraph = Typography.Paragraph;
|
|
37786
38371
|
var Section = function Section(_ref) {
|
|
@@ -37874,4 +38459,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
37874
38459
|
}, children));
|
|
37875
38460
|
};
|
|
37876
38461
|
|
|
37877
|
-
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
|
|
38462
|
+
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
|