@bit-sun/business-component 4.0.12-alpha.21 → 4.0.12-alpha.23
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/index.d.ts +1 -0
- package/dist/index.esm.js +658 -123
- package/dist/index.js +655 -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/SearchSelect/index.less +2 -2
- package/src/components/Functional/SearchSelect/index.tsx +125 -7
- 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,
|
|
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
5
|
import _, { isNil, escapeRegExp, omit, debounce, 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';
|
|
@@ -4075,7 +4075,7 @@ function ToCDB(str) {
|
|
|
4075
4075
|
return tmp;
|
|
4076
4076
|
}
|
|
4077
4077
|
|
|
4078
|
-
var css_248z$5 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(
|
|
4078
|
+
var css_248z$5 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table-cell .ant-table-selection-column .ant-radio,\n.search_select_dropdown_table table tr td.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n overflow: hidden;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
|
|
4079
4079
|
styleInject(css_248z$5);
|
|
4080
4080
|
|
|
4081
4081
|
var columnsPerRow = 4; // 每行的列数
|
|
@@ -4157,6 +4157,414 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
|
4157
4157
|
|
|
4158
4158
|
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
4159
|
|
|
4160
|
+
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";
|
|
4161
|
+
styleInject(css_248z$6);
|
|
4162
|
+
|
|
4163
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4164
|
+
var propertyData = props.propertyData,
|
|
4165
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4166
|
+
modalVisilbe = props.modalVisilbe,
|
|
4167
|
+
itemValue = props.itemValue;
|
|
4168
|
+
var _useState = useState([]),
|
|
4169
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4170
|
+
commonUseProperty = _useState2[0],
|
|
4171
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4172
|
+
var _useState3 = useState([]),
|
|
4173
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4174
|
+
notCommonUseProperty = _useState4[0],
|
|
4175
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4176
|
+
var _useState5 = useState(false),
|
|
4177
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4178
|
+
indeterminate = _useState6[0],
|
|
4179
|
+
setIndeterminate = _useState6[1];
|
|
4180
|
+
var _useState7 = useState(false),
|
|
4181
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4182
|
+
showNotCommon = _useState8[0],
|
|
4183
|
+
setShowNotCommon = _useState8[1];
|
|
4184
|
+
useEffect(function () {
|
|
4185
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4186
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4187
|
+
});
|
|
4188
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4189
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4190
|
+
proDetailList.forEach(function (item) {
|
|
4191
|
+
if (checkedList.some(function (checkItem) {
|
|
4192
|
+
return checkItem.value === item.value;
|
|
4193
|
+
})) {
|
|
4194
|
+
item.isChecked = true;
|
|
4195
|
+
}
|
|
4196
|
+
});
|
|
4197
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4198
|
+
return item.isCommonUse;
|
|
4199
|
+
});
|
|
4200
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4201
|
+
return !item.isCommonUse;
|
|
4202
|
+
});
|
|
4203
|
+
if (checkedList.some(function (item) {
|
|
4204
|
+
return !item.isCommonUse;
|
|
4205
|
+
})) {
|
|
4206
|
+
setShowNotCommon(true);
|
|
4207
|
+
}
|
|
4208
|
+
setCommonUseProperty(commonUseProperty);
|
|
4209
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4210
|
+
}, [modalVisilbe]);
|
|
4211
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4212
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4213
|
+
return item.isChecked;
|
|
4214
|
+
});
|
|
4215
|
+
if (showNotCommon) {
|
|
4216
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4217
|
+
return item.isChecked;
|
|
4218
|
+
})));
|
|
4219
|
+
}
|
|
4220
|
+
handleProperyItemChange({
|
|
4221
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4222
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4223
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4224
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4225
|
+
detailList: choosedPropertyList
|
|
4226
|
+
});
|
|
4227
|
+
};
|
|
4228
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4229
|
+
if (showNotCommon) {
|
|
4230
|
+
notCommonUseProperty.map(function (item) {
|
|
4231
|
+
return item.isChecked = e.target.checked;
|
|
4232
|
+
});
|
|
4233
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4234
|
+
}
|
|
4235
|
+
commonUseProperty.map(function (item) {
|
|
4236
|
+
return item.isChecked = e.target.checked;
|
|
4237
|
+
});
|
|
4238
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4239
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4240
|
+
setIndeterminate(false);
|
|
4241
|
+
};
|
|
4242
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4243
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4244
|
+
if (showNotCommon) {
|
|
4245
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4246
|
+
}
|
|
4247
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4248
|
+
return item.isChecked;
|
|
4249
|
+
}).length && checkList.filter(function (item) {
|
|
4250
|
+
return item.isChecked;
|
|
4251
|
+
}).length !== checkList.length;
|
|
4252
|
+
setIndeterminate(indeterminate);
|
|
4253
|
+
};
|
|
4254
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4255
|
+
if (type === 1) {
|
|
4256
|
+
// 常用属性
|
|
4257
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4258
|
+
if (info.value === item.value) {
|
|
4259
|
+
info.isChecked = e.target.checked;
|
|
4260
|
+
}
|
|
4261
|
+
});
|
|
4262
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4263
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4264
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4265
|
+
}
|
|
4266
|
+
if (type === 2) {
|
|
4267
|
+
// 非常用属性
|
|
4268
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4269
|
+
if (info.value === item.value) {
|
|
4270
|
+
info.isChecked = e.target.checked;
|
|
4271
|
+
}
|
|
4272
|
+
});
|
|
4273
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4274
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4275
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4276
|
+
}
|
|
4277
|
+
};
|
|
4278
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4279
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4280
|
+
return checkData.length && checkData.every(function (item) {
|
|
4281
|
+
return item.isChecked;
|
|
4282
|
+
}) ? true : false;
|
|
4283
|
+
};
|
|
4284
|
+
return /*#__PURE__*/React$1.createElement("div", {
|
|
4285
|
+
className: 'propertyGroup_container'
|
|
4286
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4287
|
+
className: 'propertyGroup_container_left'
|
|
4288
|
+
}, /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4289
|
+
checked: checkAllChecked(),
|
|
4290
|
+
indeterminate: indeterminate,
|
|
4291
|
+
onChange: handleChangeAll
|
|
4292
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4293
|
+
title: propertyData.name,
|
|
4294
|
+
className: "propertyGroup_checkbox_container"
|
|
4295
|
+
}, propertyData.propertyName))), /*#__PURE__*/React$1.createElement("div", {
|
|
4296
|
+
className: 'propertyGroup_container_right'
|
|
4297
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4298
|
+
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4299
|
+
checked: item.isChecked,
|
|
4300
|
+
key: item.value,
|
|
4301
|
+
onChange: function onChange(e) {
|
|
4302
|
+
handleItemChecked(e, item, 1);
|
|
4303
|
+
}
|
|
4304
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4305
|
+
title: item.name,
|
|
4306
|
+
className: "propertyGroup_checkbox_container"
|
|
4307
|
+
}, item.name));
|
|
4308
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4309
|
+
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4310
|
+
checked: item.isChecked,
|
|
4311
|
+
key: item.value,
|
|
4312
|
+
onChange: function onChange(e) {
|
|
4313
|
+
handleItemChecked(e, item, 2);
|
|
4314
|
+
}
|
|
4315
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4316
|
+
title: item.name,
|
|
4317
|
+
className: "propertyGroup_checkbox_container"
|
|
4318
|
+
}, item.name));
|
|
4319
|
+
}), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
4320
|
+
style: {
|
|
4321
|
+
width: '50px',
|
|
4322
|
+
cursor: 'pointer',
|
|
4323
|
+
color: '#005cff',
|
|
4324
|
+
fontSize: '10px',
|
|
4325
|
+
display: 'flex',
|
|
4326
|
+
alignItems: 'center'
|
|
4327
|
+
},
|
|
4328
|
+
onClick: function onClick() {
|
|
4329
|
+
setShowNotCommon(!showNotCommon);
|
|
4330
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4331
|
+
}
|
|
4332
|
+
}, 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"))))));
|
|
4333
|
+
};
|
|
4334
|
+
var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
|
|
4335
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4336
|
+
return true;
|
|
4337
|
+
});
|
|
4338
|
+
|
|
4339
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
4340
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
4341
|
+
var value = _ref.value,
|
|
4342
|
+
onChange = _ref.onChange,
|
|
4343
|
+
width = _ref.width,
|
|
4344
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4345
|
+
var settingValue = useRef({
|
|
4346
|
+
classifyCode: '',
|
|
4347
|
+
classifyName: '',
|
|
4348
|
+
propertyList: []
|
|
4349
|
+
});
|
|
4350
|
+
var _useState = useState([]),
|
|
4351
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4352
|
+
choosedValues = _useState2[0],
|
|
4353
|
+
setChoosedValues = _useState2[1];
|
|
4354
|
+
var _useState3 = useState(''),
|
|
4355
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4356
|
+
choosedClassify = _useState4[0],
|
|
4357
|
+
setChoosedClassify = _useState4[1];
|
|
4358
|
+
var _useState5 = useState([]),
|
|
4359
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4360
|
+
commonProperty = _useState6[0],
|
|
4361
|
+
setCommonUseProperty = _useState6[1];
|
|
4362
|
+
var _useState7 = useState([]),
|
|
4363
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4364
|
+
notCommonProperty = _useState8[0],
|
|
4365
|
+
setNotCommonProperty = _useState8[1];
|
|
4366
|
+
var _useState9 = useState(false),
|
|
4367
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4368
|
+
visible = _useState10[0],
|
|
4369
|
+
setVisible = _useState10[1];
|
|
4370
|
+
var _useState11 = useState(false),
|
|
4371
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4372
|
+
showNotCommon = _useState12[0],
|
|
4373
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4374
|
+
var _useState13 = useState([]),
|
|
4375
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4376
|
+
classifyOptionList = _useState14[0],
|
|
4377
|
+
setClassifyOptionList = _useState14[1];
|
|
4378
|
+
var _useState15 = useState('1'),
|
|
4379
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4380
|
+
listKey = _useState16[0],
|
|
4381
|
+
setListKey = _useState16[1];
|
|
4382
|
+
useEffect(function () {
|
|
4383
|
+
requestUtil({
|
|
4384
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4385
|
+
method: 'GET'
|
|
4386
|
+
}).then(function (_ref2) {
|
|
4387
|
+
var _data$data;
|
|
4388
|
+
var data = _ref2.data;
|
|
4389
|
+
if (judgeIsRequestError(data)) {
|
|
4390
|
+
return;
|
|
4391
|
+
}
|
|
4392
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
4393
|
+
setClassifyOptionList(items.map(function (item) {
|
|
4394
|
+
return {
|
|
4395
|
+
label: item.name,
|
|
4396
|
+
value: item.id
|
|
4397
|
+
};
|
|
4398
|
+
}));
|
|
4399
|
+
});
|
|
4400
|
+
}, []);
|
|
4401
|
+
useEffect(function () {
|
|
4402
|
+
if (!choosedClassify) return;
|
|
4403
|
+
requestUtil({
|
|
4404
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
4405
|
+
method: 'GET'
|
|
4406
|
+
}).then(function (_ref3) {
|
|
4407
|
+
var data = _ref3.data;
|
|
4408
|
+
if (judgeIsRequestError(data)) {
|
|
4409
|
+
return;
|
|
4410
|
+
}
|
|
4411
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
4412
|
+
return {
|
|
4413
|
+
propertyCode: item.property.propertyCode,
|
|
4414
|
+
propertyName: item.property.name,
|
|
4415
|
+
propertyId: item.property.id,
|
|
4416
|
+
isCommonUse: item.property.isCommonUse === 'commonUse',
|
|
4417
|
+
detailList: item.propertyValueList.map(function (detail) {
|
|
4418
|
+
return {
|
|
4419
|
+
name: detail.value,
|
|
4420
|
+
value: detail.value,
|
|
4421
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
4422
|
+
};
|
|
4423
|
+
})
|
|
4424
|
+
};
|
|
4425
|
+
});
|
|
4426
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
4427
|
+
return item.isCommonUse;
|
|
4428
|
+
}));
|
|
4429
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
4430
|
+
return !item.isCommonUse;
|
|
4431
|
+
}));
|
|
4432
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
4433
|
+
});
|
|
4434
|
+
}, [choosedClassify]);
|
|
4435
|
+
useEffect(function () {
|
|
4436
|
+
// 获取选中品类信息
|
|
4437
|
+
setChoosedClassify(value === null || value === void 0 ? void 0 : value.classifyCode);
|
|
4438
|
+
// 获取选中属性值展示
|
|
4439
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
4440
|
+
return (item.detailList || []).map(function (detail) {
|
|
4441
|
+
return detail.name;
|
|
4442
|
+
});
|
|
4443
|
+
}).flat();
|
|
4444
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
4445
|
+
return !item.isCommonUse;
|
|
4446
|
+
})) {
|
|
4447
|
+
setShowNotCommon(true);
|
|
4448
|
+
}
|
|
4449
|
+
setChoosedValues(choosedPropertyList);
|
|
4450
|
+
settingValue.current = _objectSpread2({}, value);
|
|
4451
|
+
}, [value]);
|
|
4452
|
+
// 关闭弹窗回传组件值
|
|
4453
|
+
var handleConfirm = function handleConfirm() {
|
|
4454
|
+
setVisible(false);
|
|
4455
|
+
onChange(settingValue.current);
|
|
4456
|
+
};
|
|
4457
|
+
var onCancel = function onCancel() {
|
|
4458
|
+
setVisible(false);
|
|
4459
|
+
};
|
|
4460
|
+
// 获取选中属性值信息
|
|
4461
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
4462
|
+
var _settingValue$current;
|
|
4463
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
4464
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
4465
|
+
return item.propertyCode === value.propertyCode;
|
|
4466
|
+
});
|
|
4467
|
+
if (itemIndex !== -1) {
|
|
4468
|
+
newDetailList[itemIndex] = value;
|
|
4469
|
+
} else {
|
|
4470
|
+
newDetailList.push(value);
|
|
4471
|
+
}
|
|
4472
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
4473
|
+
propertyList: newDetailList.filter(function (item) {
|
|
4474
|
+
return item.detailList && item.detailList.length;
|
|
4475
|
+
})
|
|
4476
|
+
});
|
|
4477
|
+
};
|
|
4478
|
+
//修改品类值
|
|
4479
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
4480
|
+
setChoosedClassify(value);
|
|
4481
|
+
settingValue.current = {
|
|
4482
|
+
classifyCode: value,
|
|
4483
|
+
classifyName: option.children,
|
|
4484
|
+
propertyList: []
|
|
4485
|
+
};
|
|
4486
|
+
};
|
|
4487
|
+
var tagRender = function tagRender(props) {
|
|
4488
|
+
var label = props.label,
|
|
4489
|
+
value = props.value,
|
|
4490
|
+
closable = props.closable,
|
|
4491
|
+
onClose = props.onClose;
|
|
4492
|
+
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
4493
|
+
closable: false,
|
|
4494
|
+
style: {
|
|
4495
|
+
marginRight: 3,
|
|
4496
|
+
height: '20px',
|
|
4497
|
+
fontSize: '12px'
|
|
4498
|
+
}
|
|
4499
|
+
}, label);
|
|
4500
|
+
};
|
|
4501
|
+
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
|
|
4502
|
+
maxTagCount: 1,
|
|
4503
|
+
tagRender: tagRender
|
|
4504
|
+
}, restProps), {}, {
|
|
4505
|
+
mode: "multiple",
|
|
4506
|
+
value: choosedValues,
|
|
4507
|
+
onClick: function onClick() {
|
|
4508
|
+
setVisible(true);
|
|
4509
|
+
},
|
|
4510
|
+
style: {
|
|
4511
|
+
width: width || '100%'
|
|
4512
|
+
},
|
|
4513
|
+
open: false
|
|
4514
|
+
})), /*#__PURE__*/React$1.createElement(Modal, {
|
|
4515
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
4516
|
+
width: 700,
|
|
4517
|
+
open: visible,
|
|
4518
|
+
onOk: handleConfirm,
|
|
4519
|
+
destroyOnClose: true,
|
|
4520
|
+
onCancel: onCancel,
|
|
4521
|
+
cancelText: '取消',
|
|
4522
|
+
okText: '确定'
|
|
4523
|
+
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
4524
|
+
className: 'property_classify_content'
|
|
4525
|
+
}, /*#__PURE__*/React$1.createElement("span", {
|
|
4526
|
+
style: {
|
|
4527
|
+
marginRight: '10px'
|
|
4528
|
+
}
|
|
4529
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React$1.createElement(Select, {
|
|
4530
|
+
style: {
|
|
4531
|
+
width: '200px'
|
|
4532
|
+
},
|
|
4533
|
+
value: choosedClassify,
|
|
4534
|
+
options: classifyOptionList,
|
|
4535
|
+
onChange: function onChange(value, option) {
|
|
4536
|
+
onClassifyChange(value, option);
|
|
4537
|
+
}
|
|
4538
|
+
})), /*#__PURE__*/React$1.createElement("div", {
|
|
4539
|
+
className: 'property_classify_content1',
|
|
4540
|
+
key: listKey
|
|
4541
|
+
}, /*#__PURE__*/React$1.createElement("div", null, commonProperty.map(function (item) {
|
|
4542
|
+
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
4543
|
+
modalVisilbe: visible,
|
|
4544
|
+
itemValue: settingValue.current,
|
|
4545
|
+
propertyData: item,
|
|
4546
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4547
|
+
});
|
|
4548
|
+
})), /*#__PURE__*/React$1.createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
4549
|
+
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
4550
|
+
modalVisilbe: visible,
|
|
4551
|
+
itemValue: settingValue.current,
|
|
4552
|
+
propertyData: item,
|
|
4553
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4554
|
+
});
|
|
4555
|
+
}))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
4556
|
+
style: {
|
|
4557
|
+
width: '50px',
|
|
4558
|
+
cursor: 'pointer',
|
|
4559
|
+
color: '#005cff',
|
|
4560
|
+
fontSize: '10px'
|
|
4561
|
+
},
|
|
4562
|
+
onClick: function onClick() {
|
|
4563
|
+
return setShowNotCommon(!showNotCommon);
|
|
4564
|
+
}
|
|
4565
|
+
}, 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"))))))));
|
|
4566
|
+
};
|
|
4567
|
+
|
|
4160
4568
|
var Option$1 = Select.Option;
|
|
4161
4569
|
var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
4162
4570
|
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
@@ -4427,6 +4835,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4427
4835
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4428
4836
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
4429
4837
|
var callback = arguments.length > 2 ? arguments[2] : undefined;
|
|
4838
|
+
var bodyParams = arguments.length > 3 ? arguments[3] : undefined;
|
|
4430
4839
|
if (!requestConfig) return;
|
|
4431
4840
|
setFetching(true);
|
|
4432
4841
|
// 处理dependence参数
|
|
@@ -4555,6 +4964,109 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4555
4964
|
if (isNil(queryParams[selectParamsKey])) {
|
|
4556
4965
|
queryParams[selectParamsKey] = searchValue;
|
|
4557
4966
|
}
|
|
4967
|
+
if ((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.method) === 'post') {
|
|
4968
|
+
requestUtil.post("".concat(url, "?").concat(stringify(queryParams)), bodyParams || null).then(function (result) {
|
|
4969
|
+
setFetching(false);
|
|
4970
|
+
result = result.data;
|
|
4971
|
+
if (judgeIsRequestError(result)) {
|
|
4972
|
+
message$1.error(result.msg);
|
|
4973
|
+
return;
|
|
4974
|
+
}
|
|
4975
|
+
var res = result.data;
|
|
4976
|
+
var source = [];
|
|
4977
|
+
if (isMap) {
|
|
4978
|
+
source = Object.keys(res).map(function (d, i) {
|
|
4979
|
+
return {
|
|
4980
|
+
text: Object.values(res)[i],
|
|
4981
|
+
value: d
|
|
4982
|
+
};
|
|
4983
|
+
});
|
|
4984
|
+
} else {
|
|
4985
|
+
var keys = res.list ? 'list' : 'items';
|
|
4986
|
+
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
4987
|
+
var _item$children;
|
|
4988
|
+
var textShowText = item[mappingTextField];
|
|
4989
|
+
if (mappingTextShowTextField) {
|
|
4990
|
+
textShowText = [];
|
|
4991
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
4992
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
4993
|
+
textShowText.push(item[r]);
|
|
4994
|
+
});
|
|
4995
|
+
} else {
|
|
4996
|
+
textShowText = item[mappingTextShowTextField];
|
|
4997
|
+
}
|
|
4998
|
+
}
|
|
4999
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
5000
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
5001
|
+
}
|
|
5002
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5003
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5004
|
+
textShowText: textShowText,
|
|
5005
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5006
|
+
value: item[mappingValueField],
|
|
5007
|
+
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
|
|
5008
|
+
});
|
|
5009
|
+
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
5010
|
+
var _item$children2;
|
|
5011
|
+
var textShowText = item[mappingTextField];
|
|
5012
|
+
if (mappingTextShowTextField) {
|
|
5013
|
+
textShowText = [];
|
|
5014
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
5015
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
5016
|
+
textShowText.push(item[r]);
|
|
5017
|
+
});
|
|
5018
|
+
} else {
|
|
5019
|
+
textShowText = item[mappingTextShowTextField];
|
|
5020
|
+
}
|
|
5021
|
+
}
|
|
5022
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
|
|
5023
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
5024
|
+
}
|
|
5025
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5026
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5027
|
+
textShowText: textShowText,
|
|
5028
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5029
|
+
value: item[mappingValueField],
|
|
5030
|
+
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
|
|
5031
|
+
});
|
|
5032
|
+
})) : [];
|
|
5033
|
+
}
|
|
5034
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
5035
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
5036
|
+
if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
5037
|
+
var _source;
|
|
5038
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
5039
|
+
return r.value == s;
|
|
5040
|
+
}));
|
|
5041
|
+
}))) {
|
|
5042
|
+
var selectedOption = items.filter(function (option) {
|
|
5043
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
5044
|
+
}) || [];
|
|
5045
|
+
source = (source || []).concat(selectedOption);
|
|
5046
|
+
}
|
|
5047
|
+
// 数据源 不可以有重复key
|
|
5048
|
+
source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
|
|
5049
|
+
if (callback) {
|
|
5050
|
+
callback(source);
|
|
5051
|
+
} else {
|
|
5052
|
+
if (type === 1) {
|
|
5053
|
+
var _ctx$form;
|
|
5054
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
|
|
5055
|
+
setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
|
|
5056
|
+
} else {
|
|
5057
|
+
setTableData(source);
|
|
5058
|
+
setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
|
|
5059
|
+
total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
|
|
5060
|
+
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),
|
|
5061
|
+
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)
|
|
5062
|
+
}));
|
|
5063
|
+
}
|
|
5064
|
+
}
|
|
5065
|
+
}).catch(function (err) {
|
|
5066
|
+
setFetching(false);
|
|
5067
|
+
});
|
|
5068
|
+
return;
|
|
5069
|
+
}
|
|
4558
5070
|
requestUtil.get("".concat(url, "?").concat(stringify(queryParams)), {
|
|
4559
5071
|
headers: _objectSpread2({}, extralHeaders)
|
|
4560
5072
|
}).then(function (result) {
|
|
@@ -4576,7 +5088,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4576
5088
|
} else {
|
|
4577
5089
|
var keys = res.list ? 'list' : 'items';
|
|
4578
5090
|
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
4579
|
-
var _item$
|
|
5091
|
+
var _item$children3;
|
|
4580
5092
|
var textShowText = item[mappingTextField];
|
|
4581
5093
|
if (mappingTextShowTextField) {
|
|
4582
5094
|
textShowText = [];
|
|
@@ -4588,7 +5100,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4588
5100
|
textShowText = item[mappingTextShowTextField];
|
|
4589
5101
|
}
|
|
4590
5102
|
}
|
|
4591
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$
|
|
5103
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.length)) {
|
|
4592
5104
|
item === null || item === void 0 ? true : delete item.children;
|
|
4593
5105
|
}
|
|
4594
5106
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -4599,7 +5111,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4599
5111
|
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
5112
|
});
|
|
4601
5113
|
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
4602
|
-
var _item$
|
|
5114
|
+
var _item$children4;
|
|
4603
5115
|
var textShowText = item[mappingTextField];
|
|
4604
5116
|
if (mappingTextShowTextField) {
|
|
4605
5117
|
textShowText = [];
|
|
@@ -4611,7 +5123,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4611
5123
|
textShowText = item[mappingTextShowTextField];
|
|
4612
5124
|
}
|
|
4613
5125
|
}
|
|
4614
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$
|
|
5126
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.length)) {
|
|
4615
5127
|
item === null || item === void 0 ? true : delete item.children;
|
|
4616
5128
|
}
|
|
4617
5129
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -4626,8 +5138,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4626
5138
|
// 补充搜索项--选中的数据添加到数据源中去
|
|
4627
5139
|
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4628
5140
|
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 !((
|
|
5141
|
+
var _source2;
|
|
5142
|
+
return !((_source2 = source) === null || _source2 === void 0 ? void 0 : _source2.find(function (r) {
|
|
4631
5143
|
return r.value == s;
|
|
4632
5144
|
}));
|
|
4633
5145
|
}))) {
|
|
@@ -4642,8 +5154,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4642
5154
|
callback(source);
|
|
4643
5155
|
} else {
|
|
4644
5156
|
if (type === 1) {
|
|
4645
|
-
var _ctx$
|
|
4646
|
-
ctx === null || ctx === void 0 ? void 0 : (_ctx$
|
|
5157
|
+
var _ctx$form2;
|
|
5158
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
|
|
4647
5159
|
setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
|
|
4648
5160
|
} else {
|
|
4649
5161
|
setTableData(source);
|
|
@@ -4787,10 +5299,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4787
5299
|
};
|
|
4788
5300
|
var handleSelectOver = function handleSelectOver(selectedValue) {
|
|
4789
5301
|
if (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) {
|
|
4790
|
-
var _ctx$
|
|
5302
|
+
var _ctx$form3;
|
|
4791
5303
|
// 解决选择最后1页的sku,返回后,不显示名称问题
|
|
4792
5304
|
var source = _.uniqBy(items.concat(selectedValue), 'value');
|
|
4793
|
-
ctx === null || ctx === void 0 ? void 0 : (_ctx$
|
|
5305
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form3 = ctx.form) === null || _ctx$form3 === void 0 ? void 0 : _ctx$form3.setFieldSource(resultSourceKey, source);
|
|
4794
5306
|
setSelectDataSource(source, source === null || source === void 0 ? void 0 : source.length);
|
|
4795
5307
|
formaData(selectedValue, source);
|
|
4796
5308
|
} else {
|
|
@@ -4881,10 +5393,15 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4881
5393
|
var params = form.getFieldsValue();
|
|
4882
5394
|
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4883
5395
|
setModalSearched(true);
|
|
5396
|
+
var unique_params = null;
|
|
5397
|
+
if (params['UNIQUE_SPEC']) {
|
|
5398
|
+
var _params$UNIQUE_SPEC;
|
|
5399
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
5400
|
+
}
|
|
4884
5401
|
setTableFormParams(params);
|
|
4885
5402
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4886
5403
|
pageSize: tableInitPageSize
|
|
4887
|
-
}), 2);
|
|
5404
|
+
}), 2, null, unique_params);
|
|
4888
5405
|
};
|
|
4889
5406
|
var onResetTable = function onResetTable() {
|
|
4890
5407
|
form.resetFields();
|
|
@@ -5011,7 +5528,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5011
5528
|
};
|
|
5012
5529
|
})) || [];
|
|
5013
5530
|
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;
|
|
5531
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8;
|
|
5015
5532
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
|
|
5016
5533
|
span: ColSpan,
|
|
5017
5534
|
key: i
|
|
@@ -5086,6 +5603,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5086
5603
|
}
|
|
5087
5604
|
})));
|
|
5088
5605
|
}
|
|
5606
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5607
|
+
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5608
|
+
span: ColSpan,
|
|
5609
|
+
key: i.name
|
|
5610
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
5611
|
+
name: i.name,
|
|
5612
|
+
label: i.label,
|
|
5613
|
+
key: i.name
|
|
5614
|
+
}, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
|
|
5615
|
+
}
|
|
5089
5616
|
// 默认type是input
|
|
5090
5617
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5091
5618
|
span: ColSpan,
|
|
@@ -5101,7 +5628,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5101
5628
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5102
5629
|
allowClear: true,
|
|
5103
5630
|
maxLength: 100
|
|
5104
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5631
|
+
}, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
|
|
5105
5632
|
disabled: setDisabled(i.name)
|
|
5106
5633
|
}))));
|
|
5107
5634
|
});
|
|
@@ -5179,9 +5706,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5179
5706
|
})) || [], 'noPage')
|
|
5180
5707
|
}];
|
|
5181
5708
|
var resetSelectDataSource = function resetSelectDataSource() {
|
|
5709
|
+
var isClear = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
5182
5710
|
setSearchValue('');
|
|
5183
5711
|
// 有关联值 不需要清空下拉框数据 也不需要重新去请求了
|
|
5184
|
-
if (isHaveDependency) return;
|
|
5712
|
+
if (!isClear && isHaveDependency) return; // 清空时需要放开:级联首次回之后,清空数据需要重新查询下拉框的值
|
|
5185
5713
|
clearSelectDataSource();
|
|
5186
5714
|
init && run('init');
|
|
5187
5715
|
};
|
|
@@ -5193,7 +5721,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5193
5721
|
formaData([], items);
|
|
5194
5722
|
onChangeSelectedKeys([], []);
|
|
5195
5723
|
// 重置下拉框数据源
|
|
5196
|
-
resetSelectDataSource();
|
|
5724
|
+
resetSelectDataSource(true);
|
|
5197
5725
|
};
|
|
5198
5726
|
var onDeselect = function onDeselect() {
|
|
5199
5727
|
var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
@@ -5528,8 +6056,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5528
6056
|
})) : null)))));
|
|
5529
6057
|
});
|
|
5530
6058
|
|
|
5531
|
-
var css_248z$
|
|
5532
|
-
styleInject(css_248z$
|
|
6059
|
+
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";
|
|
6060
|
+
styleInject(css_248z$7);
|
|
5533
6061
|
|
|
5534
6062
|
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
6063
|
|
|
@@ -5545,10 +6073,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5545
6073
|
|
|
5546
6074
|
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
6075
|
|
|
5548
|
-
var css_248z$
|
|
5549
|
-
styleInject(css_248z$
|
|
6076
|
+
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";
|
|
6077
|
+
styleInject(css_248z$8);
|
|
5550
6078
|
|
|
5551
|
-
var _excluded$
|
|
6079
|
+
var _excluded$4 = ["className", "style"];
|
|
5552
6080
|
var Search = Input.Search;
|
|
5553
6081
|
var DragHandle = SortableHandle(function () {
|
|
5554
6082
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -5900,7 +6428,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5900
6428
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5901
6429
|
var className = _ref2.className,
|
|
5902
6430
|
style = _ref2.style,
|
|
5903
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6431
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5904
6432
|
var sortDataSource = _this.state.sortDataSource;
|
|
5905
6433
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5906
6434
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6319,7 +6847,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6319
6847
|
});
|
|
6320
6848
|
};
|
|
6321
6849
|
|
|
6322
|
-
var _excluded$
|
|
6850
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6323
6851
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6324
6852
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6325
6853
|
return new Promise(function (resolve, reject) {
|
|
@@ -6339,7 +6867,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6339
6867
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6340
6868
|
var onResize = props.onResize,
|
|
6341
6869
|
width = props.width,
|
|
6342
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
6870
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6343
6871
|
if (!width) {
|
|
6344
6872
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
6345
6873
|
}
|
|
@@ -7568,10 +8096,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7568
8096
|
}))))));
|
|
7569
8097
|
};
|
|
7570
8098
|
|
|
7571
|
-
var css_248z$
|
|
7572
|
-
styleInject(css_248z$
|
|
8099
|
+
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";
|
|
8100
|
+
styleInject(css_248z$9);
|
|
7573
8101
|
|
|
7574
|
-
var _excluded$
|
|
8102
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7575
8103
|
var _this = undefined;
|
|
7576
8104
|
var InputElement = function InputElement(_ref) {
|
|
7577
8105
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8069,7 +8597,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8069
8597
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8070
8598
|
var onResize = props.onResize,
|
|
8071
8599
|
width = props.width,
|
|
8072
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8600
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8073
8601
|
if (!width) {
|
|
8074
8602
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
8075
8603
|
}
|
|
@@ -9006,7 +9534,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9006
9534
|
// 商品选择器sku
|
|
9007
9535
|
if (type === 'skuCommodity') {
|
|
9008
9536
|
requestConfig = _objectSpread2({
|
|
9009
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9537
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9538
|
+
method: 'post',
|
|
9010
9539
|
filter: 'skuCodeAndSkuName',
|
|
9011
9540
|
searchStartLength: 4,
|
|
9012
9541
|
mappingTextField: 'name',
|
|
@@ -9089,6 +9618,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9089
9618
|
}
|
|
9090
9619
|
}
|
|
9091
9620
|
}
|
|
9621
|
+
}, {
|
|
9622
|
+
name: 'UNIQUE_SPEC',
|
|
9623
|
+
label: '属性',
|
|
9624
|
+
field: {
|
|
9625
|
+
type: 'proppertySelector'
|
|
9626
|
+
}
|
|
9092
9627
|
}];
|
|
9093
9628
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9094
9629
|
pageSize: 5000,
|
|
@@ -12895,7 +13430,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12895
13430
|
return "";
|
|
12896
13431
|
}
|
|
12897
13432
|
|
|
12898
|
-
var _excluded$
|
|
13433
|
+
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
13434
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12900
13435
|
var _useState = useState([]),
|
|
12901
13436
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12937,7 +13472,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12937
13472
|
} : _props$style,
|
|
12938
13473
|
getTreeData = props.getTreeData,
|
|
12939
13474
|
disabled = props.disabled,
|
|
12940
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13475
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12941
13476
|
var url = remoteSource.url,
|
|
12942
13477
|
headers = remoteSource.headers,
|
|
12943
13478
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13322,8 +13857,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React$1.memo(BusinessTreeSearchSel
|
|
|
13322
13857
|
return true;
|
|
13323
13858
|
});
|
|
13324
13859
|
|
|
13325
|
-
var css_248z$
|
|
13326
|
-
styleInject(css_248z$
|
|
13860
|
+
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";
|
|
13861
|
+
styleInject(css_248z$a);
|
|
13327
13862
|
|
|
13328
13863
|
var index$2 = (function (props) {
|
|
13329
13864
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13360,10 +13895,10 @@ var index$2 = (function (props) {
|
|
|
13360
13895
|
}));
|
|
13361
13896
|
});
|
|
13362
13897
|
|
|
13363
|
-
var css_248z$
|
|
13364
|
-
styleInject(css_248z$
|
|
13898
|
+
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";
|
|
13899
|
+
styleInject(css_248z$b);
|
|
13365
13900
|
|
|
13366
|
-
var _excluded$
|
|
13901
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13367
13902
|
_excluded2$3 = ["children"];
|
|
13368
13903
|
var Field = function Field(_ref) {
|
|
13369
13904
|
var children = _ref.children,
|
|
@@ -13371,7 +13906,7 @@ var Field = function Field(_ref) {
|
|
|
13371
13906
|
title = _ref.title,
|
|
13372
13907
|
extra = _ref.extra,
|
|
13373
13908
|
bordered = _ref.bordered,
|
|
13374
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13909
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13375
13910
|
var _React$useState = React$1.useState(true),
|
|
13376
13911
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13377
13912
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13495,10 +14030,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13495
14030
|
})));
|
|
13496
14031
|
};
|
|
13497
14032
|
|
|
13498
|
-
var css_248z$
|
|
13499
|
-
styleInject(css_248z$
|
|
14033
|
+
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";
|
|
14034
|
+
styleInject(css_248z$c);
|
|
13500
14035
|
|
|
13501
|
-
var _excluded$
|
|
14036
|
+
var _excluded$9 = ["className", "style"];
|
|
13502
14037
|
var Search$1 = Input.Search;
|
|
13503
14038
|
var DragHandle$1 = SortableHandle(function () {
|
|
13504
14039
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -13916,7 +14451,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13916
14451
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13917
14452
|
var className = _ref2.className,
|
|
13918
14453
|
style = _ref2.style,
|
|
13919
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14454
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13920
14455
|
var sortDataSource = _this.state.sortDataSource;
|
|
13921
14456
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13922
14457
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14248,8 +14783,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14248
14783
|
}]);
|
|
14249
14784
|
}(React$1.Component);
|
|
14250
14785
|
|
|
14251
|
-
var css_248z$
|
|
14252
|
-
styleInject(css_248z$
|
|
14786
|
+
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";
|
|
14787
|
+
styleInject(css_248z$d);
|
|
14253
14788
|
|
|
14254
14789
|
//表格底部 金额总计
|
|
14255
14790
|
var TableSumComponent = (function (_ref) {
|
|
@@ -14270,7 +14805,7 @@ var TableSumComponent = (function (_ref) {
|
|
|
14270
14805
|
}));
|
|
14271
14806
|
});
|
|
14272
14807
|
|
|
14273
|
-
var _excluded$
|
|
14808
|
+
var _excluded$a = ["onResize", "width"],
|
|
14274
14809
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14275
14810
|
var Text = Typography.Text;
|
|
14276
14811
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14374,7 +14909,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14374
14909
|
_this.ResizeableTitle = function (props) {
|
|
14375
14910
|
var onResize = props.onResize,
|
|
14376
14911
|
width = props.width,
|
|
14377
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
14912
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14378
14913
|
var _useState = useState(width),
|
|
14379
14914
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14380
14915
|
innerWidth = _useState2[0],
|
|
@@ -14615,7 +15150,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14615
15150
|
}]);
|
|
14616
15151
|
}(React$1.Component);
|
|
14617
15152
|
|
|
14618
|
-
var _excluded$
|
|
15153
|
+
var _excluded$b = ["onResize", "width"],
|
|
14619
15154
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14620
15155
|
var Text$1 = Typography.Text;
|
|
14621
15156
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14725,7 +15260,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14725
15260
|
_this.ResizeableTitle = function (props) {
|
|
14726
15261
|
var onResize = props.onResize,
|
|
14727
15262
|
width = props.width,
|
|
14728
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15263
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14729
15264
|
if (!width) {
|
|
14730
15265
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
14731
15266
|
}
|
|
@@ -14988,8 +15523,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
14988
15523
|
return undefined;
|
|
14989
15524
|
};
|
|
14990
15525
|
|
|
14991
|
-
var css_248z$
|
|
14992
|
-
styleInject(css_248z$
|
|
15526
|
+
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";
|
|
15527
|
+
styleInject(css_248z$e);
|
|
14993
15528
|
|
|
14994
15529
|
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
15530
|
|
|
@@ -15003,15 +15538,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
15003
15538
|
|
|
15004
15539
|
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
15540
|
|
|
15006
|
-
var css_248z$
|
|
15007
|
-
styleInject(css_248z$
|
|
15541
|
+
var css_248z$f = "";
|
|
15542
|
+
styleInject(css_248z$f);
|
|
15008
15543
|
|
|
15009
|
-
var _excluded$
|
|
15544
|
+
var _excluded$c = ["message", "type"];
|
|
15010
15545
|
var CommonAlert = (function (props) {
|
|
15011
15546
|
var message = props.message,
|
|
15012
15547
|
_props$type = props.type,
|
|
15013
15548
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
15014
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15549
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
15015
15550
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15016
15551
|
style: {
|
|
15017
15552
|
width: '100%',
|
|
@@ -15032,7 +15567,7 @@ var CommonAlert = (function (props) {
|
|
|
15032
15567
|
}, reset)));
|
|
15033
15568
|
});
|
|
15034
15569
|
|
|
15035
|
-
var _excluded$
|
|
15570
|
+
var _excluded$d = ["children"];
|
|
15036
15571
|
var iconMap = {
|
|
15037
15572
|
edit: /*#__PURE__*/React$1.createElement("img", {
|
|
15038
15573
|
src: editIcon
|
|
@@ -15054,7 +15589,7 @@ var index$3 = (function (props) {
|
|
|
15054
15589
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15055
15590
|
id = _useState2[0];
|
|
15056
15591
|
var children = props.children,
|
|
15057
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15592
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15058
15593
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15059
15594
|
id: id,
|
|
15060
15595
|
className: 'detail_page_wrapper'
|
|
@@ -15277,10 +15812,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15277
15812
|
return true;
|
|
15278
15813
|
});
|
|
15279
15814
|
|
|
15280
|
-
var css_248z$
|
|
15281
|
-
styleInject(css_248z$
|
|
15815
|
+
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";
|
|
15816
|
+
styleInject(css_248z$g);
|
|
15282
15817
|
|
|
15283
|
-
var _excluded$
|
|
15818
|
+
var _excluded$e = ["children"];
|
|
15284
15819
|
var index$4 = (function (props) {
|
|
15285
15820
|
var _useLocation = useLocation(),
|
|
15286
15821
|
pathname = _useLocation.pathname;
|
|
@@ -15288,7 +15823,7 @@ var index$4 = (function (props) {
|
|
|
15288
15823
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15289
15824
|
id = _useState2[0];
|
|
15290
15825
|
var children = props.children,
|
|
15291
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15826
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15292
15827
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15293
15828
|
id: id,
|
|
15294
15829
|
className: 'home_page_wrapper'
|
|
@@ -15362,10 +15897,10 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15362
15897
|
return true;
|
|
15363
15898
|
});
|
|
15364
15899
|
|
|
15365
|
-
var css_248z$
|
|
15366
|
-
styleInject(css_248z$
|
|
15900
|
+
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";
|
|
15901
|
+
styleInject(css_248z$h);
|
|
15367
15902
|
|
|
15368
|
-
var _excluded$
|
|
15903
|
+
var _excluded$f = ["className", "style"];
|
|
15369
15904
|
var DragHandle$2 = SortableHandle(function () {
|
|
15370
15905
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
15371
15906
|
width: 25,
|
|
@@ -15803,7 +16338,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15803
16338
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15804
16339
|
var className = _ref2.className,
|
|
15805
16340
|
style = _ref2.style,
|
|
15806
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16341
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15807
16342
|
var sortDataSource = _this.state.sortDataSource;
|
|
15808
16343
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15809
16344
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16173,7 +16708,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16173
16708
|
}]);
|
|
16174
16709
|
}(React$1.Component);
|
|
16175
16710
|
|
|
16176
|
-
var _excluded$
|
|
16711
|
+
var _excluded$g = ["className", "style"];
|
|
16177
16712
|
var DragHandle$3 = SortableHandle(function () {
|
|
16178
16713
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
16179
16714
|
width: 25,
|
|
@@ -16426,7 +16961,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16426
16961
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16427
16962
|
var className = _ref2.className,
|
|
16428
16963
|
style = _ref2.style,
|
|
16429
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16964
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16430
16965
|
var sortDataSource = _this.state.sortDataSource;
|
|
16431
16966
|
var index = sortDataSource.findIndex(function (x) {
|
|
16432
16967
|
return x.name === restProps['data-row-key'];
|
|
@@ -16722,16 +17257,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16722
17257
|
}]);
|
|
16723
17258
|
}(React$1.Component);
|
|
16724
17259
|
|
|
16725
|
-
var css_248z$
|
|
16726
|
-
styleInject(css_248z$
|
|
17260
|
+
var css_248z$i = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17261
|
+
styleInject(css_248z$i);
|
|
16727
17262
|
|
|
16728
|
-
var _excluded$
|
|
17263
|
+
var _excluded$h = ["onResize", "width"];
|
|
16729
17264
|
var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
|
|
16730
17265
|
var Text$2 = Typography.Text;
|
|
16731
17266
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16732
17267
|
var onResize = props.onResize,
|
|
16733
17268
|
width = props.width,
|
|
16734
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17269
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16735
17270
|
var _useState = useState(width),
|
|
16736
17271
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16737
17272
|
innerWidth = _useState2[0],
|
|
@@ -17449,8 +17984,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17449
17984
|
})));
|
|
17450
17985
|
});
|
|
17451
17986
|
|
|
17452
|
-
var css_248z$
|
|
17453
|
-
styleInject(css_248z$
|
|
17987
|
+
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";
|
|
17988
|
+
styleInject(css_248z$j);
|
|
17454
17989
|
|
|
17455
17990
|
var cache = {};
|
|
17456
17991
|
var cacheLimit = 10000;
|
|
@@ -17706,8 +18241,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17706
18241
|
})))));
|
|
17707
18242
|
};
|
|
17708
18243
|
|
|
17709
|
-
var css_248z$
|
|
17710
|
-
styleInject(css_248z$
|
|
18244
|
+
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";
|
|
18245
|
+
styleInject(css_248z$k);
|
|
17711
18246
|
|
|
17712
18247
|
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
18248
|
|
|
@@ -17915,8 +18450,8 @@ var i18n = {
|
|
|
17915
18450
|
}
|
|
17916
18451
|
};
|
|
17917
18452
|
|
|
17918
|
-
var css_248z$
|
|
17919
|
-
styleInject(css_248z$
|
|
18453
|
+
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";
|
|
18454
|
+
styleInject(css_248z$l);
|
|
17920
18455
|
|
|
17921
18456
|
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
18457
|
|
|
@@ -18446,8 +18981,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18446
18981
|
}))))));
|
|
18447
18982
|
};
|
|
18448
18983
|
|
|
18449
|
-
var css_248z$
|
|
18450
|
-
styleInject(css_248z$
|
|
18984
|
+
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";
|
|
18985
|
+
styleInject(css_248z$m);
|
|
18451
18986
|
|
|
18452
18987
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18453
18988
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18603,8 +19138,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18603
19138
|
|
|
18604
19139
|
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
19140
|
|
|
18606
|
-
var css_248z$
|
|
18607
|
-
styleInject(css_248z$
|
|
19141
|
+
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";
|
|
19142
|
+
styleInject(css_248z$n);
|
|
18608
19143
|
|
|
18609
19144
|
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
19145
|
|
|
@@ -19231,8 +19766,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19231
19766
|
}));
|
|
19232
19767
|
});
|
|
19233
19768
|
|
|
19234
|
-
var css_248z$
|
|
19235
|
-
styleInject(css_248z$
|
|
19769
|
+
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";
|
|
19770
|
+
styleInject(css_248z$o);
|
|
19236
19771
|
|
|
19237
19772
|
var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
19238
19773
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19368,8 +19903,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19368
19903
|
})));
|
|
19369
19904
|
});
|
|
19370
19905
|
|
|
19371
|
-
var css_248z$
|
|
19372
|
-
styleInject(css_248z$
|
|
19906
|
+
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";
|
|
19907
|
+
styleInject(css_248z$p);
|
|
19373
19908
|
|
|
19374
19909
|
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
19910
|
|
|
@@ -19784,8 +20319,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19784
20319
|
})));
|
|
19785
20320
|
};
|
|
19786
20321
|
|
|
19787
|
-
var css_248z$
|
|
19788
|
-
styleInject(css_248z$
|
|
20322
|
+
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";
|
|
20323
|
+
styleInject(css_248z$q);
|
|
19789
20324
|
|
|
19790
20325
|
/*
|
|
19791
20326
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19808,7 +20343,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19808
20343
|
}));
|
|
19809
20344
|
};
|
|
19810
20345
|
|
|
19811
|
-
var _excluded$
|
|
20346
|
+
var _excluded$i = ["route"];
|
|
19812
20347
|
var TabPane = Tabs.TabPane;
|
|
19813
20348
|
var getId = function getId(str) {
|
|
19814
20349
|
// 找到最后一个 / 的位置
|
|
@@ -20749,7 +21284,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20749
21284
|
}); // 添加数据大屏
|
|
20750
21285
|
var _this$props3 = this.props,
|
|
20751
21286
|
route = _this$props3.route,
|
|
20752
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21287
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20753
21288
|
var exist = route.routes.find(function (route) {
|
|
20754
21289
|
return route.path === '/homePage/data-show';
|
|
20755
21290
|
});
|
|
@@ -21309,8 +21844,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21309
21844
|
};
|
|
21310
21845
|
};
|
|
21311
21846
|
|
|
21312
|
-
var css_248z$
|
|
21313
|
-
styleInject(css_248z$
|
|
21847
|
+
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";
|
|
21848
|
+
styleInject(css_248z$r);
|
|
21314
21849
|
|
|
21315
21850
|
var useSticky = function useSticky(sticky) {
|
|
21316
21851
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21722,10 +22257,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
21722
22257
|
}))))));
|
|
21723
22258
|
});
|
|
21724
22259
|
|
|
21725
|
-
var _excluded$
|
|
22260
|
+
var _excluded$j = ["children"];
|
|
21726
22261
|
var Drawer = (function (props) {
|
|
21727
22262
|
var children = props.children,
|
|
21728
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22263
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21729
22264
|
return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
|
|
21730
22265
|
mask: true,
|
|
21731
22266
|
closable: false,
|
|
@@ -27545,8 +28080,8 @@ var nameRender = (function (data) {
|
|
|
27545
28080
|
}, " ");
|
|
27546
28081
|
});
|
|
27547
28082
|
|
|
27548
|
-
var css_248z$
|
|
27549
|
-
styleInject(css_248z$
|
|
28083
|
+
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";
|
|
28084
|
+
styleInject(css_248z$s);
|
|
27550
28085
|
|
|
27551
28086
|
function parseData(data) {
|
|
27552
28087
|
var res;
|
|
@@ -27757,8 +28292,8 @@ function registerSuggestions(monaco) {
|
|
|
27757
28292
|
});
|
|
27758
28293
|
}
|
|
27759
28294
|
|
|
27760
|
-
var css_248z$
|
|
27761
|
-
styleInject(css_248z$
|
|
28295
|
+
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";
|
|
28296
|
+
styleInject(css_248z$t);
|
|
27762
28297
|
|
|
27763
28298
|
var Title = Typography.Title;
|
|
27764
28299
|
var STRTEMP = 'const config = ';
|
|
@@ -27952,7 +28487,7 @@ var Editor = (function (props) {
|
|
|
27952
28487
|
}, [shallowHeight]);
|
|
27953
28488
|
var hasConfigTree = type !== 'editor';
|
|
27954
28489
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
27955
|
-
className: isFull ? css_248z$
|
|
28490
|
+
className: isFull ? css_248z$t.editorWrapper : ''
|
|
27956
28491
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
27957
28492
|
style: {
|
|
27958
28493
|
overflow: 'hidden'
|
|
@@ -28020,7 +28555,7 @@ var Editor = (function (props) {
|
|
|
28020
28555
|
})), hasConfigTree && /*#__PURE__*/React$1.createElement(Col, {
|
|
28021
28556
|
span: 8
|
|
28022
28557
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
28023
|
-
className: css_248z$
|
|
28558
|
+
className: css_248z$t.title
|
|
28024
28559
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React$1.createElement(ConfigTree, {
|
|
28025
28560
|
style: {
|
|
28026
28561
|
height: 'calc(100vh - 300px)',
|
|
@@ -29901,8 +30436,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29901
30436
|
})), fieldsModify.visible && /*#__PURE__*/React$1.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29902
30437
|
});
|
|
29903
30438
|
|
|
29904
|
-
var css_248z$
|
|
29905
|
-
styleInject(css_248z$
|
|
30439
|
+
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";
|
|
30440
|
+
styleInject(css_248z$u);
|
|
29906
30441
|
|
|
29907
30442
|
function iterFileds(fields) {
|
|
29908
30443
|
var filedsValue = [];
|
|
@@ -30504,7 +31039,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30504
31039
|
});
|
|
30505
31040
|
};
|
|
30506
31041
|
|
|
30507
|
-
var _excluded$
|
|
31042
|
+
var _excluded$k = ["sorter"];
|
|
30508
31043
|
/**
|
|
30509
31044
|
* 删掉查询条件的qp- 和 -eq等
|
|
30510
31045
|
* @param {object} data
|
|
@@ -30587,7 +31122,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30587
31122
|
var _requestConfig$method;
|
|
30588
31123
|
var params = _ref.params;
|
|
30589
31124
|
var sorter = params.sorter,
|
|
30590
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31125
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30591
31126
|
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
31127
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30593
31128
|
});
|
|
@@ -31442,8 +31977,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31442
31977
|
});
|
|
31443
31978
|
};
|
|
31444
31979
|
|
|
31445
|
-
var css_248z$
|
|
31446
|
-
styleInject(css_248z$
|
|
31980
|
+
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";
|
|
31981
|
+
styleInject(css_248z$v);
|
|
31447
31982
|
|
|
31448
31983
|
// 查询规则对象属性thresholdList
|
|
31449
31984
|
function getRegularThresholdRange(_x) {
|
|
@@ -34348,7 +34883,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34348
34883
|
style: {
|
|
34349
34884
|
marginLeft: '10px'
|
|
34350
34885
|
},
|
|
34351
|
-
className: css_248z$
|
|
34886
|
+
className: css_248z$v.rule_field_style
|
|
34352
34887
|
}, this.renderConditionField());
|
|
34353
34888
|
}
|
|
34354
34889
|
}]);
|
|
@@ -34789,7 +35324,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34789
35324
|
disabled = _this$props.disabled;
|
|
34790
35325
|
return /*#__PURE__*/React$1.createElement("div", null, ruleTypeData.map(function (i) {
|
|
34791
35326
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
34792
|
-
className: css_248z$
|
|
35327
|
+
className: css_248z$v.action_list_item
|
|
34793
35328
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
34794
35329
|
onClick: function onClick() {
|
|
34795
35330
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -36736,8 +37271,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36736
37271
|
}]);
|
|
36737
37272
|
}(Component);
|
|
36738
37273
|
|
|
36739
|
-
var css_248z$
|
|
36740
|
-
styleInject(css_248z$
|
|
37274
|
+
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";
|
|
37275
|
+
styleInject(css_248z$w);
|
|
36741
37276
|
|
|
36742
37277
|
var formatOperationList = function formatOperationList(data) {
|
|
36743
37278
|
var _result$find;
|
|
@@ -37470,13 +38005,13 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37470
38005
|
return /*#__PURE__*/React$1.createElement(Spin, {
|
|
37471
38006
|
spinning: loading
|
|
37472
38007
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37473
|
-
className: css_248z$
|
|
38008
|
+
className: css_248z$w.base_rule
|
|
37474
38009
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37475
|
-
className: css_248z$
|
|
38010
|
+
className: css_248z$w.base_rule_content
|
|
37476
38011
|
}, /*#__PURE__*/React$1.createElement("p", {
|
|
37477
|
-
className: css_248z$
|
|
38012
|
+
className: css_248z$w.base_rule_line_title
|
|
37478
38013
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
37479
|
-
className: css_248z$
|
|
38014
|
+
className: css_248z$w.rule_title
|
|
37480
38015
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React$1.createElement("p", {
|
|
37481
38016
|
style: {
|
|
37482
38017
|
float: 'right'
|
|
@@ -37726,17 +38261,17 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37726
38261
|
})));
|
|
37727
38262
|
});
|
|
37728
38263
|
|
|
37729
|
-
var css_248z$
|
|
37730
|
-
styleInject(css_248z$
|
|
38264
|
+
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";
|
|
38265
|
+
styleInject(css_248z$x);
|
|
37731
38266
|
|
|
37732
|
-
var _excluded$
|
|
38267
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37733
38268
|
var Panel = Collapse.Panel;
|
|
37734
38269
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37735
38270
|
var titleExtra = _ref.titleExtra,
|
|
37736
38271
|
header = _ref.header,
|
|
37737
38272
|
_ref$showArrow = _ref.showArrow,
|
|
37738
38273
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37739
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38274
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37740
38275
|
var renderHeader = function renderHeader() {
|
|
37741
38276
|
return /*#__PURE__*/React$1.createElement(Space, {
|
|
37742
38277
|
align: "center"
|
|
@@ -37760,11 +38295,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37760
38295
|
}), props.children);
|
|
37761
38296
|
};
|
|
37762
38297
|
|
|
37763
|
-
var _excluded$
|
|
38298
|
+
var _excluded$m = ["children", "bordered"];
|
|
37764
38299
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37765
38300
|
var children = props.children,
|
|
37766
38301
|
bordered = props.bordered,
|
|
37767
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38302
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37768
38303
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
37769
38304
|
className: classNames({
|
|
37770
38305
|
'bs-collapse-wrap': true,
|
|
@@ -37778,9 +38313,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37778
38313
|
Board: ExtendedPanel
|
|
37779
38314
|
});
|
|
37780
38315
|
|
|
37781
|
-
var css_248z$
|
|
38316
|
+
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
38317
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37783
|
-
styleInject(css_248z$
|
|
38318
|
+
styleInject(css_248z$y);
|
|
37784
38319
|
|
|
37785
38320
|
var Paragraph = Typography.Paragraph;
|
|
37786
38321
|
var Section = function Section(_ref) {
|
|
@@ -37874,4 +38409,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
37874
38409
|
}, children));
|
|
37875
38410
|
};
|
|
37876
38411
|
|
|
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 };
|
|
38412
|
+
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 };
|