@bit-sun/business-component 4.0.12-alpha.9 → 4.0.13-alpha.1
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/BsSulaQueryTable/utils.d.ts +1 -1
- package/dist/components/Business/PropertyModal/index.d.ts +23 -0
- package/dist/components/Business/PropertyModal/mockData.d.ts +10 -0
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +4 -0
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +4 -0
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +5 -0
- package/dist/components/Functional/SearchSelect/utils.d.ts +16 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1510 -588
- package/dist/index.js +1507 -583
- package/package.json +3 -3
- package/src/components/Business/BsSulaQueryTable/utils.tsx +5 -4
- 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 +271 -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 +50 -3
- package/src/components/Business/SearchSelect/index.md +3 -4
- package/src/components/Business/columnSettingTable/columnSetting.tsx +2 -1
- package/src/components/Business/columnSettingTable/components/TableSumComponent.tsx +25 -0
- package/src/components/Business/columnSettingTable/components/style.less +25 -0
- package/src/components/Business/columnSettingTable/index.tsx +3 -28
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +2 -27
- package/src/components/Functional/QueryMutipleSelect/index.less +117 -0
- package/src/components/Functional/QueryMutipleSelect/index.md +41 -0
- package/src/components/Functional/QueryMutipleSelect/index.tsx +245 -0
- package/src/components/Functional/SearchSelect/index.less +33 -1
- package/src/components/Functional/SearchSelect/index.tsx +76 -269
- package/src/components/Functional/SearchSelect/utils.tsx +401 -0
- package/src/components/Solution/RuleComponent/ruleFiled.js +93 -93
- package/src/index.ts +2 -0
- package/src/components/Functional/SearchSelect/utils.ts +0 -38
package/dist/index.esm.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
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,
|
|
5
|
-
import _, {
|
|
4
|
+
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Row, Col, Tabs, TreeSelect, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, DatePicker, TimePicker, Divider, Switch, Collapse } from 'antd';
|
|
5
|
+
import _, { omit, uniqBy, escapeRegExp, isNil, 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, DashOutlined, CaretUpOutlined, CaretDownOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, CaretLeftOutlined, 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
|
+
import { renderToString as renderToString$1 } from 'react-dom/server';
|
|
14
15
|
import { utils, writeFile, read } from 'xlsx';
|
|
15
16
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
16
17
|
import { useDebounceFn, useSize, useMount } from 'ahooks';
|
|
@@ -1187,10 +1188,7 @@ var authFn = function authFn(code) {
|
|
|
1187
1188
|
};
|
|
1188
1189
|
// 可以将普通字符串 或者tsx 转换成字符串
|
|
1189
1190
|
var renderToString = function renderToString(render) {
|
|
1190
|
-
return render;
|
|
1191
|
-
// return typeof render === 'string'
|
|
1192
|
-
// ? render
|
|
1193
|
-
// : ReactDOMServer.renderToString(render);
|
|
1191
|
+
return typeof render === 'string' ? render : renderToString$1(render);
|
|
1194
1192
|
};
|
|
1195
1193
|
|
|
1196
1194
|
function downloadExcel(data, fileName, isResUrl) {
|
|
@@ -4075,7 +4073,7 @@ function ToCDB(str) {
|
|
|
4075
4073
|
return tmp;
|
|
4076
4074
|
}
|
|
4077
4075
|
|
|
4078
|
-
var css_248z$5 = ".
|
|
4076
|
+
var css_248z$5 = ".query_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.query_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.query_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.query_select_show {\n display: flex;\n}\n.query_select_show .ant-select-clear {\n right: 33px;\n}\n.query_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.query_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.query_select_show .ant-select-dropdown {\n top: 24px !important;\n left: -110px !important;\n width: calc(100% + 110px) !important;\n}\n.query_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: 12px;\n color: rgba(0, 0, 0, 0.85);\n}\n.query_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_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.query_select_wrapper_top {\n color: #8E8E8E;\n}\n.query_select_textArea {\n margin-top: 10px;\n}\n.query_select_textArea .ant-input {\n height: 300px;\n background: #FAFAFA;\n border: 0.8px solid #E0E0E0;\n resize: none;\n border-radius: 0;\n}\n.multiInput_modal .ant-modal-header {\n height: 32px;\n padding: 0 16px;\n font-size: 12px;\n}\n.multiInput_modal .ant-modal-title {\n line-height: 32px;\n}\n.multiInput_modal .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.multiInput_modal .ant-modal-footer {\n padding-right: 8px;\n height: 44px;\n}\n.multiInput_modal .ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {\n margin-left: 6px;\n}\n.multiInput_modal .ant-modal-footer .ant-btn {\n width: 56px;\n height: 28px;\n font-weight: 500;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n.searchSelectMaxTagToolTip .ant-tag {\n display: flex;\n width: -moz-fit-content;\n width: fit-content;\n}\n";
|
|
4079
4077
|
styleInject(css_248z$5);
|
|
4080
4078
|
|
|
4081
4079
|
var columnsPerRow = 4; // 每行的列数
|
|
@@ -4083,6 +4081,12 @@ var ColSpan = 6; // 查询条件 每行col = 24 /columnsPerRow
|
|
|
4083
4081
|
var handleSourceName = function handleSourceName(sName) {
|
|
4084
4082
|
return sName;
|
|
4085
4083
|
};
|
|
4084
|
+
// 生成唯一值
|
|
4085
|
+
var makeUniqueValue = function makeUniqueValue() {
|
|
4086
|
+
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4087
|
+
return generateUnitKey;
|
|
4088
|
+
};
|
|
4089
|
+
// ------------------------------------------处理样式相关--开始----------------------------------------
|
|
4086
4090
|
var getFormRowInfo = function getFormRowInfo(list) {
|
|
4087
4091
|
var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
|
|
4088
4092
|
var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
|
|
@@ -4111,6 +4115,22 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
|
|
|
4111
4115
|
var visibleFieldsCount = getVisibleFieldsCount(modalTableProps);
|
|
4112
4116
|
return visibleFieldsCount < (tableSearchForm === null || tableSearchForm === void 0 ? void 0 : tableSearchForm.length);
|
|
4113
4117
|
};
|
|
4118
|
+
var getTableHeigth = function getTableHeigth(list) {
|
|
4119
|
+
var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
|
|
4120
|
+
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4121
|
+
return 411 - totalRows * 10;
|
|
4122
|
+
};
|
|
4123
|
+
// ------------------------------------------处理样式相关--结束----------------------------------------
|
|
4124
|
+
// ------------------------------------------处理数据相关--开始----------------------------------------
|
|
4125
|
+
var formatSelectedValue = function formatSelectedValue(value) {
|
|
4126
|
+
return (value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
4127
|
+
return {
|
|
4128
|
+
value: (s === null || s === void 0 ? void 0 : s.value) || s,
|
|
4129
|
+
key: (s === null || s === void 0 ? void 0 : s.key) || (s === null || s === void 0 ? void 0 : s.value) || s,
|
|
4130
|
+
label: (s === null || s === void 0 ? void 0 : s.label) || ''
|
|
4131
|
+
};
|
|
4132
|
+
})) || [];
|
|
4133
|
+
};
|
|
4114
4134
|
var getRealStr = function getRealStr(oldSelect, newSelect, record) {
|
|
4115
4135
|
return (oldSelect === null || oldSelect === void 0 ? void 0 : oldSelect.length) ? oldSelect.some(function (o) {
|
|
4116
4136
|
return o.value == (record === null || record === void 0 ? void 0 : record.value);
|
|
@@ -4118,17 +4138,1031 @@ var getRealStr = function getRealStr(oldSelect, newSelect, record) {
|
|
|
4118
4138
|
return s.value != (record === null || record === void 0 ? void 0 : record.value);
|
|
4119
4139
|
}) : [].concat(_toConsumableArray(oldSelect), _toConsumableArray(newSelect)) : newSelect;
|
|
4120
4140
|
};
|
|
4121
|
-
var
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4141
|
+
var getCurrentSRKs = function getCurrentSRKs(selectMode, labelInValue, value) {
|
|
4142
|
+
return selectMode ? labelInValue ? value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
4143
|
+
return (s === null || s === void 0 ? void 0 : s.value) || s;
|
|
4144
|
+
}) : value : labelInValue ? (value === null || value === void 0 ? void 0 : value.value) && [value === null || value === void 0 ? void 0 : value.value] || [] : value && [value] || [];
|
|
4145
|
+
};
|
|
4146
|
+
var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
4147
|
+
// 判空处理
|
|
4148
|
+
if (!(currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length)) return items || [];
|
|
4149
|
+
// 创建映射对象 用于记录原始选中顺序
|
|
4150
|
+
var orderMap = new Map();
|
|
4151
|
+
currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.forEach(function (value, index) {
|
|
4152
|
+
orderMap.set(value, index);
|
|
4153
|
+
});
|
|
4154
|
+
// 被选中数据集合,获取之后排序
|
|
4155
|
+
var selectedOption = (items === null || items === void 0 ? void 0 : items.filter(function (option) {
|
|
4156
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4157
|
+
})) || [];
|
|
4158
|
+
var selectedOptionSort = (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.sort(function (a, b) {
|
|
4159
|
+
var _orderMap$get, _orderMap$get2;
|
|
4160
|
+
return ((_orderMap$get = orderMap.get(a.value)) !== null && _orderMap$get !== void 0 ? _orderMap$get : Infinity) - ((_orderMap$get2 = orderMap.get(b.value)) !== null && _orderMap$get2 !== void 0 ? _orderMap$get2 : Infinity);
|
|
4161
|
+
})) || [];
|
|
4162
|
+
// 未选中数据集合
|
|
4163
|
+
var otherOptions = (items === null || items === void 0 ? void 0 : items.filter(function (option) {
|
|
4164
|
+
return !(currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value));
|
|
4165
|
+
})) || [];
|
|
4166
|
+
return [].concat(_toConsumableArray(selectedOptionSort), _toConsumableArray(otherOptions));
|
|
4167
|
+
};
|
|
4168
|
+
// ------------------------------------------处理数据相关--结束----------------------------------------
|
|
4169
|
+
// ------------------------------------------查询 & 数据源 相关处理--开始----------------------------------------
|
|
4170
|
+
var handleParams = function handleParams(params) {
|
|
4171
|
+
var _loop = function _loop() {
|
|
4172
|
+
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4173
|
+
var element = params[key];
|
|
4174
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
4175
|
+
var dataParams = key.split('*number*');
|
|
4176
|
+
dataParams.forEach(function (value, index) {
|
|
4177
|
+
params[value] = element[index];
|
|
4178
|
+
});
|
|
4179
|
+
delete params[key];
|
|
4180
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4181
|
+
var _dataParams = key.split('*address*');
|
|
4182
|
+
_dataParams.forEach(function (value, index) {
|
|
4183
|
+
params[value] = element.PCDCode[index];
|
|
4184
|
+
});
|
|
4185
|
+
delete params[key];
|
|
4186
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4187
|
+
var _dataParams2 = key.split('*costType*');
|
|
4188
|
+
// eslint-disable-next-line prefer-destructuring
|
|
4189
|
+
params[_dataParams2[0]] = element[1];
|
|
4190
|
+
delete params[key];
|
|
4191
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4192
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
4193
|
+
_dataParams3.forEach(function (value, index) {
|
|
4194
|
+
if (index === 0) {
|
|
4195
|
+
params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4196
|
+
} else {
|
|
4197
|
+
params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4198
|
+
}
|
|
4199
|
+
});
|
|
4200
|
+
delete params[key];
|
|
4201
|
+
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4202
|
+
var _dataParams4 = key.split('*checkBox*');
|
|
4203
|
+
if (element) {
|
|
4204
|
+
params[_dataParams4[0]] = 0;
|
|
4205
|
+
}
|
|
4206
|
+
delete params[key];
|
|
4207
|
+
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4208
|
+
var _dataParams5 = key.split('*cascader*');
|
|
4209
|
+
params[_dataParams5[0]] = element[element.length - 1];
|
|
4210
|
+
delete params[key];
|
|
4211
|
+
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4212
|
+
var _dataParams6 = key.split('*date*');
|
|
4213
|
+
_dataParams6.forEach(function (value, index) {
|
|
4214
|
+
if (index === 0) {
|
|
4215
|
+
params[value] = moment$1(element[index]).format('YYYY-MM-DD');
|
|
4216
|
+
} else {
|
|
4217
|
+
params[value] = moment$1(element[index]).format('YYYY-MM-DD');
|
|
4218
|
+
}
|
|
4219
|
+
});
|
|
4220
|
+
delete params[key];
|
|
4221
|
+
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4222
|
+
var name = '',
|
|
4223
|
+
value = element['value'];
|
|
4224
|
+
if (value.indexOf(',') >= 0) {
|
|
4225
|
+
name = "qp-".concat(element['name'], "-in");
|
|
4226
|
+
} else {
|
|
4227
|
+
name = "qp-".concat(element['name'], "-like");
|
|
4228
|
+
}
|
|
4229
|
+
params[name] = value;
|
|
4230
|
+
delete params[key];
|
|
4231
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
4232
|
+
var _dataParams7 = key.split('*');
|
|
4233
|
+
_dataParams7.forEach(function (value, index) {
|
|
4234
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4235
|
+
});
|
|
4236
|
+
delete params[key];
|
|
4237
|
+
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4238
|
+
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4239
|
+
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4240
|
+
if (params[key][0] === 'range') {
|
|
4241
|
+
if (params[key][1][0]) {
|
|
4242
|
+
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4243
|
+
}
|
|
4244
|
+
if (params[key][1][1]) {
|
|
4245
|
+
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4246
|
+
}
|
|
4247
|
+
} else {
|
|
4248
|
+
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4249
|
+
}
|
|
4250
|
+
delete params[key];
|
|
4251
|
+
} else if (Array.isArray(element)) {
|
|
4252
|
+
params[key] = element.join(',');
|
|
4253
|
+
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4254
|
+
delete params[key];
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
};
|
|
4258
|
+
for (var key in params) {
|
|
4259
|
+
_loop();
|
|
4260
|
+
}
|
|
4261
|
+
};
|
|
4262
|
+
//处理单据编号查询 如果是查询单条数据 就是模糊查询 两条以上就是精准查询
|
|
4263
|
+
var convertOrderNo = function convertOrderNo(params) {
|
|
4264
|
+
//需要处理得编号字段名
|
|
4265
|
+
var arr = ['qp-skuCode-in', 'qp-eancode-in', 'qp-itemCode-in'];
|
|
4266
|
+
for (var i = 0; i < arr.length; i++) {
|
|
4267
|
+
if (params[arr[i]]) {
|
|
4268
|
+
if (!params[arr[i]].includes(',')) {
|
|
4269
|
+
params[arr[i].replace(/(.*)in/, '$1like')] = params[arr[i]];
|
|
4270
|
+
delete params[arr[i]];
|
|
4271
|
+
}
|
|
4272
|
+
}
|
|
4273
|
+
}
|
|
4274
|
+
return params;
|
|
4275
|
+
};
|
|
4276
|
+
var convertQueryParams = function convertQueryParams(params) {
|
|
4277
|
+
var result = convertOrderNo(params);
|
|
4278
|
+
return omit(result, ['UNIQUE_SPEC']); // 处理sku选择器属性参数
|
|
4279
|
+
};
|
|
4280
|
+
var convertUrlQueryParams = function convertUrlQueryParams(params) {
|
|
4281
|
+
// 非query请求:默认参数拼接URL,设置属性noUrlQueryParams可不拼接
|
|
4282
|
+
return (params === null || params === void 0 ? void 0 : params.noUrlQueryParams) ? '' : "?".concat(stringify(convertQueryParams(params)));
|
|
4283
|
+
};
|
|
4284
|
+
var convertBodyParams = function convertBodyParams(params) {
|
|
4285
|
+
// 处理sku选择器属性参数
|
|
4286
|
+
var unique_params = null;
|
|
4287
|
+
if (params['UNIQUE_SPEC']) {
|
|
4288
|
+
var _params$UNIQUE_SPEC;
|
|
4289
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
4290
|
+
}
|
|
4291
|
+
// body参数来源:sku选择器固定参数 > 调用所传bodyParams > 默认参数-无
|
|
4292
|
+
return unique_params || (params === null || params === void 0 ? void 0 : params.bodyParams) || null;
|
|
4293
|
+
};
|
|
4294
|
+
var convertRes = function convertRes(data, otherParams) {
|
|
4295
|
+
var mappingTextField = otherParams.mappingTextField,
|
|
4296
|
+
mappingTextShowTextField = otherParams.mappingTextShowTextField,
|
|
4297
|
+
mappingTextShowKeyField = otherParams.mappingTextShowKeyField,
|
|
4298
|
+
mappingValueField = otherParams.mappingValueField,
|
|
4299
|
+
specialBracket = otherParams.specialBracket,
|
|
4300
|
+
type = otherParams.type,
|
|
4301
|
+
queryParams = otherParams.queryParams;
|
|
4302
|
+
return data.map(function (item, index) {
|
|
4303
|
+
var _item$children;
|
|
4304
|
+
var textShowText = item[mappingTextField];
|
|
4305
|
+
if (mappingTextShowTextField) {
|
|
4306
|
+
textShowText = [];
|
|
4307
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
4308
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
4309
|
+
textShowText.push(item[r]);
|
|
4310
|
+
});
|
|
4311
|
+
} else {
|
|
4312
|
+
textShowText = item[mappingTextShowTextField];
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
4316
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
4317
|
+
}
|
|
4318
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4319
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4320
|
+
textShowText: textShowText,
|
|
4321
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4322
|
+
value: item[mappingValueField]
|
|
4323
|
+
}, (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) ? {
|
|
4324
|
+
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
|
|
4325
|
+
} : {});
|
|
4326
|
+
});
|
|
4327
|
+
};
|
|
4328
|
+
var convertResData = function convertResData(requestConfig, res, selectProps) {
|
|
4329
|
+
var isMap = requestConfig.isMap,
|
|
4330
|
+
mappingTextField = requestConfig.mappingTextField,
|
|
4331
|
+
mappingTextShowTextField = requestConfig.mappingTextShowTextField,
|
|
4332
|
+
specialBracket = requestConfig.specialBracket,
|
|
4333
|
+
mappingValueField = requestConfig.mappingValueField,
|
|
4334
|
+
mappingTextShowKeyField = requestConfig.mappingTextShowKeyField;
|
|
4335
|
+
var selectMode = selectProps.selectMode,
|
|
4336
|
+
labelInValue = selectProps.labelInValue,
|
|
4337
|
+
value = selectProps.value,
|
|
4338
|
+
type = selectProps.type,
|
|
4339
|
+
items = selectProps.items,
|
|
4340
|
+
queryParams = selectProps.queryParams,
|
|
4341
|
+
_selectProps$needTopS = selectProps.needTopSelectedSource,
|
|
4342
|
+
needTopSelectedSource = _selectProps$needTopS === void 0 ? true : _selectProps$needTopS;
|
|
4343
|
+
var otherParams = {
|
|
4344
|
+
mappingTextField: mappingTextField,
|
|
4345
|
+
mappingTextShowTextField: mappingTextShowTextField,
|
|
4346
|
+
mappingTextShowKeyField: mappingTextShowKeyField,
|
|
4347
|
+
mappingValueField: mappingValueField,
|
|
4348
|
+
specialBracket: specialBracket,
|
|
4349
|
+
type: type,
|
|
4350
|
+
queryParams: queryParams
|
|
4351
|
+
};
|
|
4352
|
+
var source = [];
|
|
4353
|
+
if (isMap) {
|
|
4354
|
+
source = Object.keys(res).map(function (d, i) {
|
|
4355
|
+
return {
|
|
4356
|
+
text: Object.values(res)[i],
|
|
4357
|
+
value: d
|
|
4358
|
+
};
|
|
4359
|
+
});
|
|
4360
|
+
} else {
|
|
4361
|
+
var keys = res.list ? 'list' : 'items';
|
|
4362
|
+
source = res ? res[keys] ? convertRes(res[keys], otherParams) : Array.isArray(res) && convertRes(res, otherParams) : [];
|
|
4363
|
+
}
|
|
4364
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
4365
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4366
|
+
if (needTopSelectedSource && type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
4367
|
+
var _source;
|
|
4368
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
4369
|
+
return r.value == s;
|
|
4370
|
+
}));
|
|
4371
|
+
}))) {
|
|
4372
|
+
var selectedOption = items.filter(function (option) {
|
|
4373
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4374
|
+
}) || [];
|
|
4375
|
+
source = (source || []).concat(selectedOption);
|
|
4376
|
+
}
|
|
4377
|
+
// 数据源 不可以有重复key
|
|
4378
|
+
source = Array.isArray(source) ? uniqBy(source, 'value') : [];
|
|
4379
|
+
return source;
|
|
4380
|
+
};
|
|
4381
|
+
// ------------------------------------------查询 & 数据源 相关处理--结束----------------------------------------
|
|
4382
|
+
// ------------------------------------------ 数据源展示 相关处理--开始----------------------------------------
|
|
4383
|
+
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
4384
|
+
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
4385
|
+
if (noNeedSplit) {
|
|
4386
|
+
return item.text;
|
|
4387
|
+
} else {
|
|
4388
|
+
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
4389
|
+
}
|
|
4390
|
+
};
|
|
4391
|
+
var LightHeightOption = function LightHeightOption(props) {
|
|
4392
|
+
var filterTxt = props.filterTxt,
|
|
4393
|
+
text = props.text,
|
|
4394
|
+
_props$needToolTips = props.needToolTips,
|
|
4395
|
+
needToolTips = _props$needToolTips === void 0 ? true : _props$needToolTips;
|
|
4396
|
+
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
4397
|
+
if (heightTxt === '') {
|
|
4398
|
+
return text;
|
|
4399
|
+
}
|
|
4400
|
+
var searchString = escapeRegExp(heightTxt);
|
|
4401
|
+
// 前面filterOption 不区分大小写,这里用i
|
|
4402
|
+
var regexp = new RegExp(searchString, 'gi');
|
|
4403
|
+
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
4404
|
+
};
|
|
4405
|
+
var renderContent = /*#__PURE__*/React$1.createElement("div", {
|
|
4406
|
+
ref: function ref(nodeElement) {
|
|
4407
|
+
if (nodeElement) {
|
|
4408
|
+
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
4409
|
+
}
|
|
4410
|
+
}
|
|
4411
|
+
});
|
|
4412
|
+
if (!needToolTips) return renderContent;
|
|
4413
|
+
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
4414
|
+
title: text
|
|
4415
|
+
}, renderContent);
|
|
4416
|
+
};
|
|
4417
|
+
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
|
|
4418
|
+
var selectProps = _ref3.selectProps,
|
|
4419
|
+
onChange = _ref3.onChange,
|
|
4420
|
+
value = _ref3.value,
|
|
4421
|
+
setIsMaxTagsOpen = _ref3.setIsMaxTagsOpen;
|
|
4422
|
+
var labelInValue = selectProps.labelInValue;
|
|
4423
|
+
var _onClose = function onClose(e, item) {
|
|
4424
|
+
e.preventDefault();
|
|
4425
|
+
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4426
|
+
return i.value !== item.value;
|
|
4427
|
+
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4428
|
+
return i !== item.value;
|
|
4429
|
+
});
|
|
4430
|
+
onChange(newValue);
|
|
4431
|
+
};
|
|
4432
|
+
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
4433
|
+
open: true,
|
|
4434
|
+
overlayClassName: 'searchSelectMaxTagToolTip',
|
|
4435
|
+
destroyTooltipOnHide: true,
|
|
4436
|
+
placement: "topRight",
|
|
4437
|
+
autoAdjustOverflow: false,
|
|
4438
|
+
title: (/*#__PURE__*/React$1.createElement("div", {
|
|
4439
|
+
style: {
|
|
4440
|
+
margin: '6px 8px 0px'
|
|
4441
|
+
},
|
|
4442
|
+
onMouseEnter: function onMouseEnter() {
|
|
4443
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(true);
|
|
4444
|
+
},
|
|
4445
|
+
onMouseLeave: function onMouseLeave() {
|
|
4446
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(false);
|
|
4447
|
+
}
|
|
4448
|
+
}, selectedValues.map(function (i) {
|
|
4449
|
+
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
4450
|
+
closable: true,
|
|
4451
|
+
onClose: function onClose(e) {
|
|
4452
|
+
return _onClose(e, i);
|
|
4453
|
+
},
|
|
4454
|
+
style: {
|
|
4455
|
+
margin: '0px 3px 3px 0px',
|
|
4456
|
+
background: '#f5f5f5',
|
|
4457
|
+
height: '24px',
|
|
4458
|
+
border: '1px solid #f0f0f0'
|
|
4459
|
+
}
|
|
4460
|
+
}, i.label);
|
|
4461
|
+
})))
|
|
4462
|
+
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
4463
|
+
};
|
|
4464
|
+
// ------------------------------------------ 数据源展示 相关处理--结束----------------------------------------
|
|
4465
|
+
|
|
4466
|
+
var getValue = function getValue(value, selectMode) {
|
|
4467
|
+
var _value$split;
|
|
4468
|
+
return selectMode ? typeof value == 'string' && (value === null || value === void 0 ? void 0 : value.length) && (value === null || value === void 0 ? void 0 : (_value$split = value.split) === null || _value$split === void 0 ? void 0 : _value$split.call(value, ',')) || [] : value;
|
|
4469
|
+
};
|
|
4470
|
+
var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
4471
|
+
var onValueChange = _ref.onValueChange,
|
|
4472
|
+
_ref$requestConfig = _ref.requestConfig,
|
|
4473
|
+
requestConfig = _ref$requestConfig === void 0 ? {} : _ref$requestConfig,
|
|
4474
|
+
_ref$selectProps = _ref.selectProps,
|
|
4475
|
+
selectProps = _ref$selectProps === void 0 ? {} : _ref$selectProps,
|
|
4476
|
+
ctx = _ref.ctx;
|
|
4477
|
+
var filter = requestConfig.filter,
|
|
4478
|
+
_requestConfig$method = requestConfig.method,
|
|
4479
|
+
method = _requestConfig$method === void 0 ? 'get' : _requestConfig$method,
|
|
4480
|
+
url = requestConfig.url,
|
|
4481
|
+
_requestConfig$extral = requestConfig.extralHeaders,
|
|
4482
|
+
extralHeaders = _requestConfig$extral === void 0 ? {} : _requestConfig$extral,
|
|
4483
|
+
_requestConfig$otherP = requestConfig.otherParams,
|
|
4484
|
+
otherParams = _requestConfig$otherP === void 0 ? {} : _requestConfig$otherP,
|
|
4485
|
+
_requestConfig$specia = requestConfig.specialBracket,
|
|
4486
|
+
specialBracket = _requestConfig$specia === void 0 ? false : _requestConfig$specia,
|
|
4487
|
+
_requestConfig$noNeed = requestConfig.noNeedSplit,
|
|
4488
|
+
noNeedSplit = _requestConfig$noNeed === void 0 ? false : _requestConfig$noNeed;
|
|
4489
|
+
var selectParamsKey = filter || 'qp-codeAndName-like';
|
|
4490
|
+
var resultSourceKey = handleSourceName((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'skuCode');
|
|
4491
|
+
var currentSelectProps = _objectSpread2({
|
|
4492
|
+
showArrow: true,
|
|
4493
|
+
showSearch: true,
|
|
4494
|
+
filterOption: false,
|
|
4495
|
+
allowClear: true,
|
|
4496
|
+
listHeight: 160,
|
|
4497
|
+
labelInValue: false,
|
|
4498
|
+
maxTagCount: 4
|
|
4499
|
+
}, selectProps);
|
|
4500
|
+
var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
|
|
4501
|
+
var _useState = useState(false),
|
|
4502
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4503
|
+
isModalVisible = _useState2[0],
|
|
4504
|
+
setIsModalVisible = _useState2[1];
|
|
4505
|
+
var _useState3 = useState(false),
|
|
4506
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4507
|
+
open = _useState4[0],
|
|
4508
|
+
setOpen = _useState4[1];
|
|
4509
|
+
var _useState5 = useState(),
|
|
4510
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4511
|
+
value = _useState6[0],
|
|
4512
|
+
setValue = _useState6[1];
|
|
4513
|
+
var _useState7 = useState(),
|
|
4514
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4515
|
+
popvalue = _useState8[0],
|
|
4516
|
+
setPopValue = _useState8[1];
|
|
4517
|
+
var _useState9 = useState([]),
|
|
4518
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4519
|
+
source = _useState10[0],
|
|
4520
|
+
setSource = _useState10[1];
|
|
4521
|
+
var _useDebounceFn = useDebounceFn(function () {
|
|
4522
|
+
getData();
|
|
4523
|
+
}, {
|
|
4524
|
+
wait: 1000
|
|
4525
|
+
}),
|
|
4526
|
+
run = _useDebounceFn.run;
|
|
4527
|
+
var _useState11 = useState(false),
|
|
4528
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4529
|
+
fetching = _useState12[0],
|
|
4530
|
+
setFetching = _useState12[1];
|
|
4531
|
+
var _useState13 = useState(''),
|
|
4532
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4533
|
+
searchValue = _useState14[0],
|
|
4534
|
+
setSearchValue = _useState14[1];
|
|
4535
|
+
var _useState15 = useState(resultSourceKey),
|
|
4536
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4537
|
+
uniqueValue = _useState16[0],
|
|
4538
|
+
setUniqueValue = _useState16[1];
|
|
4539
|
+
useEffect(function () {
|
|
4540
|
+
if (value) {
|
|
4541
|
+
setPopValue(value);
|
|
4542
|
+
onValueChange(value);
|
|
4543
|
+
}
|
|
4544
|
+
}, [value]);
|
|
4545
|
+
useEffect(function () {
|
|
4546
|
+
setUniqueValue(makeUniqueValue());
|
|
4547
|
+
}, [resultSourceKey]);
|
|
4548
|
+
var showModal = function showModal() {
|
|
4549
|
+
setIsModalVisible(true);
|
|
4550
|
+
//弹窗打开时 默认搜索内容换行显示
|
|
4551
|
+
setPopValue(function (data) {
|
|
4552
|
+
return data === null || data === void 0 ? void 0 : data.replace(/,/g, '\n');
|
|
4553
|
+
});
|
|
4554
|
+
};
|
|
4555
|
+
var handleOk = function handleOk() {
|
|
4556
|
+
formaData(popvalue);
|
|
4557
|
+
setIsModalVisible(false);
|
|
4558
|
+
};
|
|
4559
|
+
var formaData = function formaData(v) {
|
|
4560
|
+
var _ToCDB, _ToCDB$split, _ToCDB$split$filter;
|
|
4561
|
+
var formatValue = (_ToCDB = ToCDB$1(v)) === null || _ToCDB === void 0 ? void 0 : (_ToCDB$split = _ToCDB.split(/[/\n/\s,;]/)) === null || _ToCDB$split === void 0 ? void 0 : (_ToCDB$split$filter = _ToCDB$split.filter(function (item) {
|
|
4562
|
+
return item;
|
|
4563
|
+
})) === null || _ToCDB$split$filter === void 0 ? void 0 : _ToCDB$split$filter.join(',');
|
|
4564
|
+
console.log(formatValue, '1111formatValue');
|
|
4565
|
+
setValue(formatValue);
|
|
4566
|
+
};
|
|
4567
|
+
var handleCancel = function handleCancel() {
|
|
4568
|
+
setIsModalVisible(false);
|
|
4569
|
+
};
|
|
4570
|
+
var outerChange = function outerChange(v) {
|
|
4571
|
+
formaData(v);
|
|
4572
|
+
};
|
|
4573
|
+
var onChange = function onChange(e) {
|
|
4574
|
+
var v = e.target.value;
|
|
4575
|
+
setPopValue(v);
|
|
4576
|
+
};
|
|
4577
|
+
// 获取下拉框数据源-不分页
|
|
4578
|
+
var getData = function getData() {
|
|
4579
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4580
|
+
var callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
4581
|
+
if (!requestConfig) return;
|
|
4582
|
+
if (!url) return;
|
|
4583
|
+
setFetching(true);
|
|
4584
|
+
var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
|
|
4585
|
+
if (isNil(queryParams[selectParamsKey])) {
|
|
4586
|
+
queryParams[selectParamsKey] = searchValue;
|
|
4587
|
+
}
|
|
4588
|
+
var getRequest;
|
|
4589
|
+
var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
|
|
4590
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
4591
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
4592
|
+
} else {
|
|
4593
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
4594
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
4595
|
+
});
|
|
4596
|
+
}
|
|
4597
|
+
if (!getRequest) return;
|
|
4598
|
+
getRequest.then(function (result) {
|
|
4599
|
+
setFetching(false);
|
|
4600
|
+
result = result.data;
|
|
4601
|
+
if (judgeIsRequestError(result)) {
|
|
4602
|
+
message$1.error(result.msg);
|
|
4603
|
+
return;
|
|
4604
|
+
}
|
|
4605
|
+
var res = result.data;
|
|
4606
|
+
var dSource = convertResData(requestConfig, res, {
|
|
4607
|
+
selectMode: selectMode,
|
|
4608
|
+
labelInValue: currentSelectProps === null || currentSelectProps === void 0 ? void 0 : currentSelectProps.labelInValue,
|
|
4609
|
+
value: value,
|
|
4610
|
+
type: 1,
|
|
4611
|
+
items: source,
|
|
4612
|
+
needTopSelectedSource: false
|
|
4613
|
+
});
|
|
4614
|
+
if (callback) {
|
|
4615
|
+
callback(source);
|
|
4616
|
+
} else {
|
|
4617
|
+
setSource(dSource);
|
|
4618
|
+
}
|
|
4619
|
+
}).catch(function (err) {
|
|
4620
|
+
setFetching(false);
|
|
4621
|
+
});
|
|
4622
|
+
};
|
|
4623
|
+
var onSearchChange = function onSearchChange(v) {
|
|
4624
|
+
setSearchValue(v);
|
|
4625
|
+
run();
|
|
4626
|
+
};
|
|
4627
|
+
return /*#__PURE__*/React$1.createElement("div", {
|
|
4628
|
+
className: 'query_select'
|
|
4629
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4630
|
+
className: "query_select_show",
|
|
4631
|
+
id: "query_multiple_select_div_".concat(uniqueValue)
|
|
4632
|
+
}, /*#__PURE__*/React$1.createElement(Select, _objectSpread2({
|
|
4633
|
+
value: getValue(value, selectMode),
|
|
4634
|
+
onChange: outerChange,
|
|
4635
|
+
open: open,
|
|
4636
|
+
onBlur: function onBlur(v) {
|
|
4637
|
+
onSearchChange(v);
|
|
4638
|
+
setOpen(false);
|
|
4639
|
+
},
|
|
4640
|
+
onClick: function onClick() {
|
|
4641
|
+
return setOpen(true);
|
|
4642
|
+
},
|
|
4643
|
+
onPaste: function onPaste(e) {
|
|
4644
|
+
formaData(e.clipboardData.getData('text'));
|
|
4645
|
+
e.preventDefault();
|
|
4646
|
+
},
|
|
4647
|
+
onSearch: function onSearch(v) {
|
|
4648
|
+
return onSearchChange(v);
|
|
4649
|
+
},
|
|
4650
|
+
onSelect: function onSelect() {
|
|
4651
|
+
if (selectMode) return;
|
|
4652
|
+
setTimeout(function () {
|
|
4653
|
+
setOpen(false);
|
|
4654
|
+
}, 0);
|
|
4655
|
+
},
|
|
4656
|
+
style: {
|
|
4657
|
+
width: 'calc(100%)'
|
|
4658
|
+
},
|
|
4659
|
+
suffixIcon: /*#__PURE__*/React$1.createElement("div", {
|
|
4660
|
+
className: "query_select_expand_button",
|
|
4661
|
+
onClick: showModal
|
|
4662
|
+
}, /*#__PURE__*/React$1.createElement(DashOutlined, null)),
|
|
4663
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
4664
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
4665
|
+
return maxTagPlaceholder(v, {
|
|
4666
|
+
selectProps: currentSelectProps,
|
|
4667
|
+
onChange: outerChange,
|
|
4668
|
+
value: getValue(value, selectMode),
|
|
4669
|
+
setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
|
|
4670
|
+
});
|
|
4671
|
+
},
|
|
4672
|
+
notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
|
|
4673
|
+
size: "small",
|
|
4674
|
+
className: 'searchSelectSpin'
|
|
4675
|
+
})) : (/*#__PURE__*/React$1.createElement("div", {
|
|
4676
|
+
style: {
|
|
4677
|
+
textAlign: 'center'
|
|
4678
|
+
}
|
|
4679
|
+
}, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165\u5185\u5BB9\u6A21\u7CCA\u67E5\u8BE2"))),
|
|
4680
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
4681
|
+
return triggerNode.parentElement;
|
|
4682
|
+
}
|
|
4683
|
+
}, currentSelectProps), source.map(function (item) {
|
|
4684
|
+
return /*#__PURE__*/React$1.createElement(Select.Option, {
|
|
4685
|
+
key: item.value,
|
|
4686
|
+
label: item.text
|
|
4687
|
+
}, LightHeightOption({
|
|
4688
|
+
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
4689
|
+
filterTxt: searchValue,
|
|
4690
|
+
needToolTips: false
|
|
4691
|
+
}));
|
|
4692
|
+
}))), /*#__PURE__*/React$1.createElement(Modal, {
|
|
4693
|
+
width: 600,
|
|
4694
|
+
title: "\u591A\u503C\u5F55\u5165",
|
|
4695
|
+
visible: isModalVisible,
|
|
4696
|
+
onOk: handleOk,
|
|
4697
|
+
onCancel: handleCancel,
|
|
4698
|
+
className: 'multiInput_modal',
|
|
4699
|
+
bodyStyle: {
|
|
4700
|
+
padding: '10px 16px'
|
|
4701
|
+
},
|
|
4702
|
+
footer: [/*#__PURE__*/React$1.createElement(ConfigProvider, {
|
|
4703
|
+
autoInsertSpaceInButton: false
|
|
4704
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
4705
|
+
key: "back",
|
|
4706
|
+
onClick: handleCancel
|
|
4707
|
+
}, "\u53D6\u6D88")), /*#__PURE__*/React$1.createElement(ConfigProvider, {
|
|
4708
|
+
autoInsertSpaceInButton: false
|
|
4709
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
4710
|
+
key: "submit",
|
|
4711
|
+
type: "primary",
|
|
4712
|
+
onClick: handleOk
|
|
4713
|
+
}, "\u5F55\u5165"))]
|
|
4714
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4715
|
+
className: 'query_select_wrapper'
|
|
4716
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4717
|
+
className: 'query_select_wrapper_top'
|
|
4718
|
+
}, "\u5982\u9700\u540C\u65F6\u4F7F\u7528\u591A\u4E2A\u503C\u8FDB\u884C\u67E5\u8BE2\uFF0C\u8BF7\u4F7F\u7528\u9017\u53F7\uFF0C\u5206\u53F7\u3001\u7A7A\u683C\u6216\u6362\u884C\u8FDB\u884C\u503C\u7684\u5206\u5272\uFF0C\u4E2D\u82F1\u6587\u683C\u5F0F\u7684\u7B26\u53F7\u5747\u652F\u6301"), /*#__PURE__*/React$1.createElement("div", {
|
|
4719
|
+
className: 'query_select_textArea'
|
|
4720
|
+
}, /*#__PURE__*/React$1.createElement(Input.TextArea, {
|
|
4721
|
+
placeholder: "\u5728\u6B64\u5F55\u5165...",
|
|
4722
|
+
value: popvalue,
|
|
4723
|
+
onChange: onChange,
|
|
4724
|
+
rows: 12,
|
|
4725
|
+
showCount: false
|
|
4726
|
+
})))));
|
|
4125
4727
|
};
|
|
4728
|
+
function ToCDB$1(selectStr) {
|
|
4729
|
+
var tmp = '';
|
|
4730
|
+
if (!(selectStr === null || selectStr === void 0 ? void 0 : selectStr.length)) return '';
|
|
4731
|
+
var str = Array.isArray(selectStr) ? selectStr.join(',') : selectStr;
|
|
4732
|
+
for (var i = 0; i < (str === null || str === void 0 ? void 0 : str.length); i++) {
|
|
4733
|
+
var _str$charCodeAt, _str$charCodeAt2;
|
|
4734
|
+
if ((str === null || str === void 0 ? void 0 : (_str$charCodeAt = str.charCodeAt) === null || _str$charCodeAt === void 0 ? void 0 : _str$charCodeAt.call(str, i)) > 65248 && (str === null || str === void 0 ? void 0 : (_str$charCodeAt2 = str.charCodeAt) === null || _str$charCodeAt2 === void 0 ? void 0 : _str$charCodeAt2.call(str, i)) < 65375) {
|
|
4735
|
+
tmp += String.fromCharCode((str === null || str === void 0 ? void 0 : str.charCodeAt(i)) - 65248);
|
|
4736
|
+
} else {
|
|
4737
|
+
tmp += String.fromCharCode(str.charCodeAt(i));
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4740
|
+
return tmp;
|
|
4741
|
+
}
|
|
4742
|
+
|
|
4743
|
+
var css_248z$6 = ".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 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";
|
|
4744
|
+
styleInject(css_248z$6);
|
|
4126
4745
|
|
|
4127
4746
|
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";
|
|
4128
4747
|
|
|
4748
|
+
var css_248z$7 = ".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";
|
|
4749
|
+
styleInject(css_248z$7);
|
|
4750
|
+
|
|
4751
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4752
|
+
var propertyData = props.propertyData,
|
|
4753
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4754
|
+
modalVisilbe = props.modalVisilbe,
|
|
4755
|
+
itemValue = props.itemValue;
|
|
4756
|
+
var _useState = useState([]),
|
|
4757
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4758
|
+
commonUseProperty = _useState2[0],
|
|
4759
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4760
|
+
var _useState3 = useState([]),
|
|
4761
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4762
|
+
notCommonUseProperty = _useState4[0],
|
|
4763
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4764
|
+
var _useState5 = useState(false),
|
|
4765
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4766
|
+
indeterminate = _useState6[0],
|
|
4767
|
+
setIndeterminate = _useState6[1];
|
|
4768
|
+
var _useState7 = useState(false),
|
|
4769
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4770
|
+
showNotCommon = _useState8[0],
|
|
4771
|
+
setShowNotCommon = _useState8[1];
|
|
4772
|
+
useEffect(function () {
|
|
4773
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4774
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4775
|
+
});
|
|
4776
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4777
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4778
|
+
proDetailList.forEach(function (item) {
|
|
4779
|
+
if (checkedList.some(function (checkItem) {
|
|
4780
|
+
return checkItem.value === item.value;
|
|
4781
|
+
})) {
|
|
4782
|
+
item.isChecked = true;
|
|
4783
|
+
}
|
|
4784
|
+
});
|
|
4785
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4786
|
+
return item.isCommonUse;
|
|
4787
|
+
});
|
|
4788
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4789
|
+
return !item.isCommonUse;
|
|
4790
|
+
});
|
|
4791
|
+
if (checkedList.some(function (item) {
|
|
4792
|
+
return !item.isCommonUse;
|
|
4793
|
+
})) {
|
|
4794
|
+
setShowNotCommon(true);
|
|
4795
|
+
}
|
|
4796
|
+
setCommonUseProperty(commonUseProperty);
|
|
4797
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4798
|
+
}, [modalVisilbe]);
|
|
4799
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4800
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4801
|
+
return item.isChecked;
|
|
4802
|
+
});
|
|
4803
|
+
if (showNotCommon) {
|
|
4804
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4805
|
+
return item.isChecked;
|
|
4806
|
+
})));
|
|
4807
|
+
}
|
|
4808
|
+
handleProperyItemChange({
|
|
4809
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4810
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4811
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4812
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4813
|
+
detailList: choosedPropertyList
|
|
4814
|
+
});
|
|
4815
|
+
};
|
|
4816
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4817
|
+
if (showNotCommon) {
|
|
4818
|
+
notCommonUseProperty.map(function (item) {
|
|
4819
|
+
return item.isChecked = e.target.checked;
|
|
4820
|
+
});
|
|
4821
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4822
|
+
}
|
|
4823
|
+
commonUseProperty.map(function (item) {
|
|
4824
|
+
return item.isChecked = e.target.checked;
|
|
4825
|
+
});
|
|
4826
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4827
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4828
|
+
setIndeterminate(false);
|
|
4829
|
+
};
|
|
4830
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4831
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4832
|
+
if (showNotCommon) {
|
|
4833
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4834
|
+
}
|
|
4835
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4836
|
+
return item.isChecked;
|
|
4837
|
+
}).length && checkList.filter(function (item) {
|
|
4838
|
+
return item.isChecked;
|
|
4839
|
+
}).length !== checkList.length;
|
|
4840
|
+
setIndeterminate(indeterminate);
|
|
4841
|
+
};
|
|
4842
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4843
|
+
if (type === 1) {
|
|
4844
|
+
// 常用属性
|
|
4845
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4846
|
+
if (info.value === item.value) {
|
|
4847
|
+
info.isChecked = e.target.checked;
|
|
4848
|
+
}
|
|
4849
|
+
});
|
|
4850
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4851
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4852
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4853
|
+
}
|
|
4854
|
+
if (type === 2) {
|
|
4855
|
+
// 非常用属性
|
|
4856
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4857
|
+
if (info.value === item.value) {
|
|
4858
|
+
info.isChecked = e.target.checked;
|
|
4859
|
+
}
|
|
4860
|
+
});
|
|
4861
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4862
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4863
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4864
|
+
}
|
|
4865
|
+
};
|
|
4866
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4867
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4868
|
+
return checkData.length && checkData.every(function (item) {
|
|
4869
|
+
return item.isChecked;
|
|
4870
|
+
}) ? true : false;
|
|
4871
|
+
};
|
|
4872
|
+
return /*#__PURE__*/React$1.createElement("div", {
|
|
4873
|
+
className: 'propertyGroup_container'
|
|
4874
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4875
|
+
className: 'propertyGroup_container_left'
|
|
4876
|
+
}, /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4877
|
+
checked: checkAllChecked(),
|
|
4878
|
+
indeterminate: indeterminate,
|
|
4879
|
+
onChange: handleChangeAll
|
|
4880
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4881
|
+
title: propertyData.name,
|
|
4882
|
+
className: "propertyGroup_checkbox_container"
|
|
4883
|
+
}, propertyData.propertyName))), /*#__PURE__*/React$1.createElement("div", {
|
|
4884
|
+
className: 'propertyGroup_container_right'
|
|
4885
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4886
|
+
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4887
|
+
checked: item.isChecked,
|
|
4888
|
+
key: item.value,
|
|
4889
|
+
onChange: function onChange(e) {
|
|
4890
|
+
handleItemChecked(e, item, 1);
|
|
4891
|
+
}
|
|
4892
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4893
|
+
title: item.name,
|
|
4894
|
+
className: "propertyGroup_checkbox_container"
|
|
4895
|
+
}, item.name));
|
|
4896
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4897
|
+
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4898
|
+
checked: item.isChecked,
|
|
4899
|
+
key: item.value,
|
|
4900
|
+
onChange: function onChange(e) {
|
|
4901
|
+
handleItemChecked(e, item, 2);
|
|
4902
|
+
}
|
|
4903
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4904
|
+
title: item.name,
|
|
4905
|
+
className: "propertyGroup_checkbox_container"
|
|
4906
|
+
}, item.name));
|
|
4907
|
+
}), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
4908
|
+
style: {
|
|
4909
|
+
width: '50px',
|
|
4910
|
+
cursor: 'pointer',
|
|
4911
|
+
color: '#005cff',
|
|
4912
|
+
fontSize: '10px',
|
|
4913
|
+
display: 'flex',
|
|
4914
|
+
alignItems: 'center'
|
|
4915
|
+
},
|
|
4916
|
+
onClick: function onClick() {
|
|
4917
|
+
setShowNotCommon(!showNotCommon);
|
|
4918
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4919
|
+
}
|
|
4920
|
+
}, 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"))))));
|
|
4921
|
+
};
|
|
4922
|
+
var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
|
|
4923
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4924
|
+
return true;
|
|
4925
|
+
});
|
|
4926
|
+
|
|
4927
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
4928
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
4929
|
+
var value = _ref.value,
|
|
4930
|
+
onChange = _ref.onChange,
|
|
4931
|
+
width = _ref.width,
|
|
4932
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4933
|
+
var settingValue = useRef({
|
|
4934
|
+
classifyCode: '',
|
|
4935
|
+
classifyName: '',
|
|
4936
|
+
propertyList: []
|
|
4937
|
+
});
|
|
4938
|
+
var _useState = useState([]),
|
|
4939
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4940
|
+
choosedValues = _useState2[0],
|
|
4941
|
+
setChoosedValues = _useState2[1];
|
|
4942
|
+
var _useState3 = useState(''),
|
|
4943
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4944
|
+
choosedClassify = _useState4[0],
|
|
4945
|
+
setChoosedClassify = _useState4[1];
|
|
4946
|
+
var _useState5 = useState([]),
|
|
4947
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4948
|
+
commonProperty = _useState6[0],
|
|
4949
|
+
setCommonUseProperty = _useState6[1];
|
|
4950
|
+
var _useState7 = useState([]),
|
|
4951
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4952
|
+
notCommonProperty = _useState8[0],
|
|
4953
|
+
setNotCommonProperty = _useState8[1];
|
|
4954
|
+
var _useState9 = useState(false),
|
|
4955
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4956
|
+
visible = _useState10[0],
|
|
4957
|
+
setVisible = _useState10[1];
|
|
4958
|
+
var _useState11 = useState(false),
|
|
4959
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4960
|
+
showNotCommon = _useState12[0],
|
|
4961
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4962
|
+
var _useState13 = useState([]),
|
|
4963
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4964
|
+
classifyOptionList = _useState14[0],
|
|
4965
|
+
setClassifyOptionList = _useState14[1];
|
|
4966
|
+
var _useState15 = useState('1'),
|
|
4967
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4968
|
+
listKey = _useState16[0],
|
|
4969
|
+
setListKey = _useState16[1];
|
|
4970
|
+
useEffect(function () {
|
|
4971
|
+
requestUtil({
|
|
4972
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4973
|
+
method: 'GET'
|
|
4974
|
+
}).then(function (_ref2) {
|
|
4975
|
+
var _data$data;
|
|
4976
|
+
var data = _ref2.data;
|
|
4977
|
+
if (judgeIsRequestError(data)) {
|
|
4978
|
+
return;
|
|
4979
|
+
}
|
|
4980
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
4981
|
+
setClassifyOptionList(items.map(function (item) {
|
|
4982
|
+
return {
|
|
4983
|
+
label: item.name,
|
|
4984
|
+
value: item.id
|
|
4985
|
+
};
|
|
4986
|
+
}));
|
|
4987
|
+
});
|
|
4988
|
+
}, []);
|
|
4989
|
+
useEffect(function () {
|
|
4990
|
+
if (!choosedClassify) return;
|
|
4991
|
+
requestUtil({
|
|
4992
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
4993
|
+
method: 'GET'
|
|
4994
|
+
}).then(function (_ref3) {
|
|
4995
|
+
var data = _ref3.data;
|
|
4996
|
+
if (judgeIsRequestError(data)) {
|
|
4997
|
+
return;
|
|
4998
|
+
}
|
|
4999
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
5000
|
+
var _item$property, _item$property2, _item$property3, _item$property4;
|
|
5001
|
+
return {
|
|
5002
|
+
propertyCode: (_item$property = item.property) === null || _item$property === void 0 ? void 0 : _item$property.propertyCode,
|
|
5003
|
+
propertyName: (_item$property2 = item.property) === null || _item$property2 === void 0 ? void 0 : _item$property2.name,
|
|
5004
|
+
propertyId: (_item$property3 = item.property) === null || _item$property3 === void 0 ? void 0 : _item$property3.id,
|
|
5005
|
+
isCommonUse: ((_item$property4 = item.property) === null || _item$property4 === void 0 ? void 0 : _item$property4.isCommonUse) === 'commonUse',
|
|
5006
|
+
detailList: (item.propertyValueList || []).map(function (detail) {
|
|
5007
|
+
return {
|
|
5008
|
+
name: detail.value,
|
|
5009
|
+
value: detail.value,
|
|
5010
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
5011
|
+
};
|
|
5012
|
+
})
|
|
5013
|
+
};
|
|
5014
|
+
});
|
|
5015
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
5016
|
+
return item.isCommonUse;
|
|
5017
|
+
}));
|
|
5018
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
5019
|
+
return !item.isCommonUse;
|
|
5020
|
+
}));
|
|
5021
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
5022
|
+
});
|
|
5023
|
+
}, [choosedClassify]);
|
|
5024
|
+
useEffect(function () {
|
|
5025
|
+
var _classifyOptionList$2;
|
|
5026
|
+
if (visible) {
|
|
5027
|
+
var _classifyOptionList$;
|
|
5028
|
+
// 获取选中品类信息
|
|
5029
|
+
setChoosedClassify((value === null || value === void 0 ? void 0 : value.classifyCode) || ((_classifyOptionList$ = classifyOptionList[0]) === null || _classifyOptionList$ === void 0 ? void 0 : _classifyOptionList$.value));
|
|
5030
|
+
}
|
|
5031
|
+
// 获取选中属性值展示
|
|
5032
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
5033
|
+
return (item.detailList || []).map(function (detail) {
|
|
5034
|
+
return detail.name;
|
|
5035
|
+
});
|
|
5036
|
+
}).flat();
|
|
5037
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
5038
|
+
return !item.isCommonUse;
|
|
5039
|
+
})) {
|
|
5040
|
+
setShowNotCommon(true);
|
|
5041
|
+
}
|
|
5042
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
5043
|
+
classifyCode: (value === null || value === void 0 ? void 0 : value.classifyCode) || ((_classifyOptionList$2 = classifyOptionList[0]) === null || _classifyOptionList$2 === void 0 ? void 0 : _classifyOptionList$2.value)
|
|
5044
|
+
});
|
|
5045
|
+
setChoosedValues(choosedPropertyList);
|
|
5046
|
+
}, [value, visible]);
|
|
5047
|
+
// 关闭弹窗回传组件值
|
|
5048
|
+
var handleConfirm = function handleConfirm() {
|
|
5049
|
+
setVisible(false);
|
|
5050
|
+
onChange(settingValue.current);
|
|
5051
|
+
};
|
|
5052
|
+
var onCancel = function onCancel() {
|
|
5053
|
+
setVisible(false);
|
|
5054
|
+
};
|
|
5055
|
+
// 获取选中属性值信息
|
|
5056
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
5057
|
+
var _settingValue$current;
|
|
5058
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
5059
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
5060
|
+
return item.propertyCode === value.propertyCode;
|
|
5061
|
+
});
|
|
5062
|
+
if (itemIndex !== -1) {
|
|
5063
|
+
newDetailList[itemIndex] = value;
|
|
5064
|
+
} else {
|
|
5065
|
+
newDetailList.push(value);
|
|
5066
|
+
}
|
|
5067
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
5068
|
+
propertyList: newDetailList.filter(function (item) {
|
|
5069
|
+
return item.detailList && item.detailList.length;
|
|
5070
|
+
})
|
|
5071
|
+
});
|
|
5072
|
+
};
|
|
5073
|
+
//修改品类值
|
|
5074
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
5075
|
+
setChoosedClassify(value);
|
|
5076
|
+
settingValue.current = {
|
|
5077
|
+
classifyCode: value,
|
|
5078
|
+
classifyName: option.children,
|
|
5079
|
+
propertyList: []
|
|
5080
|
+
};
|
|
5081
|
+
};
|
|
5082
|
+
var tagRender = function tagRender(props) {
|
|
5083
|
+
var label = props.label,
|
|
5084
|
+
value = props.value,
|
|
5085
|
+
closable = props.closable,
|
|
5086
|
+
onClose = props.onClose;
|
|
5087
|
+
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
5088
|
+
closable: false,
|
|
5089
|
+
style: {
|
|
5090
|
+
marginRight: 3,
|
|
5091
|
+
height: '20px',
|
|
5092
|
+
fontSize: '12px'
|
|
5093
|
+
}
|
|
5094
|
+
}, label);
|
|
5095
|
+
};
|
|
5096
|
+
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
|
|
5097
|
+
maxTagCount: 1,
|
|
5098
|
+
tagRender: tagRender
|
|
5099
|
+
}, restProps), {}, {
|
|
5100
|
+
mode: "multiple",
|
|
5101
|
+
value: choosedValues,
|
|
5102
|
+
onClick: function onClick() {
|
|
5103
|
+
setVisible(true);
|
|
5104
|
+
},
|
|
5105
|
+
style: {
|
|
5106
|
+
width: width || '100%'
|
|
5107
|
+
},
|
|
5108
|
+
open: false
|
|
5109
|
+
})), /*#__PURE__*/React$1.createElement(Modal, {
|
|
5110
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
5111
|
+
width: 700,
|
|
5112
|
+
open: visible,
|
|
5113
|
+
onOk: handleConfirm,
|
|
5114
|
+
destroyOnClose: true,
|
|
5115
|
+
onCancel: onCancel,
|
|
5116
|
+
cancelText: '取消',
|
|
5117
|
+
okText: '确定'
|
|
5118
|
+
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
5119
|
+
className: 'property_classify_content'
|
|
5120
|
+
}, /*#__PURE__*/React$1.createElement("span", {
|
|
5121
|
+
style: {
|
|
5122
|
+
marginRight: '10px'
|
|
5123
|
+
}
|
|
5124
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React$1.createElement(Select, {
|
|
5125
|
+
style: {
|
|
5126
|
+
width: '200px'
|
|
5127
|
+
},
|
|
5128
|
+
value: choosedClassify,
|
|
5129
|
+
options: classifyOptionList,
|
|
5130
|
+
onChange: function onChange(value, option) {
|
|
5131
|
+
onClassifyChange(value, option);
|
|
5132
|
+
}
|
|
5133
|
+
})), /*#__PURE__*/React$1.createElement("div", {
|
|
5134
|
+
className: 'property_classify_content1',
|
|
5135
|
+
key: listKey
|
|
5136
|
+
}, /*#__PURE__*/React$1.createElement("div", null, commonProperty.map(function (item) {
|
|
5137
|
+
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
5138
|
+
modalVisilbe: visible,
|
|
5139
|
+
itemValue: settingValue.current,
|
|
5140
|
+
propertyData: item,
|
|
5141
|
+
handleProperyItemChange: handleProperyItemChange
|
|
5142
|
+
});
|
|
5143
|
+
})), /*#__PURE__*/React$1.createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
5144
|
+
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
5145
|
+
modalVisilbe: visible,
|
|
5146
|
+
itemValue: settingValue.current,
|
|
5147
|
+
propertyData: item,
|
|
5148
|
+
handleProperyItemChange: handleProperyItemChange
|
|
5149
|
+
});
|
|
5150
|
+
}))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
5151
|
+
style: {
|
|
5152
|
+
width: '50px',
|
|
5153
|
+
cursor: 'pointer',
|
|
5154
|
+
color: '#005cff',
|
|
5155
|
+
fontSize: '10px'
|
|
5156
|
+
},
|
|
5157
|
+
onClick: function onClick() {
|
|
5158
|
+
return setShowNotCommon(!showNotCommon);
|
|
5159
|
+
}
|
|
5160
|
+
}, 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"))))))));
|
|
5161
|
+
};
|
|
5162
|
+
|
|
4129
5163
|
var Option$1 = Select.Option;
|
|
4130
5164
|
var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
4131
|
-
var _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
5165
|
+
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
4132
5166
|
var value = props.value,
|
|
4133
5167
|
onChangeTemp = props.onChange,
|
|
4134
5168
|
_props$selectProps = props.selectProps,
|
|
@@ -4144,12 +5178,15 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4144
5178
|
_props$needModalTable = props.needModalTable,
|
|
4145
5179
|
needModalTable = _props$needModalTable === void 0 ? true : _props$needModalTable,
|
|
4146
5180
|
_props$getPopupContai = props.getPopupContainer,
|
|
4147
|
-
|
|
5181
|
+
_props$highestPopCont = props.highestPopContainer,
|
|
5182
|
+
highestPopContainer = _props$highestPopCont === void 0 ? undefined : _props$highestPopCont,
|
|
4148
5183
|
fieldComponent = props.fieldComponent,
|
|
4149
5184
|
onSaveCallback = props.onSaveCallback,
|
|
4150
5185
|
selectBusinessType = props.selectBusinessType;
|
|
4151
5186
|
var _ref = requestConfig || {},
|
|
4152
5187
|
url = _ref.url,
|
|
5188
|
+
_ref$method = _ref.method,
|
|
5189
|
+
method = _ref$method === void 0 ? 'get' : _ref$method,
|
|
4153
5190
|
otherParams = _ref.otherParams,
|
|
4154
5191
|
isMap = _ref.isMap,
|
|
4155
5192
|
fixedparameter = _ref.fixedparameter,
|
|
@@ -4190,11 +5227,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4190
5227
|
listHeight: 160,
|
|
4191
5228
|
optionLabelProp: "label",
|
|
4192
5229
|
autoClearSearchValue: false,
|
|
4193
|
-
placement: '
|
|
5230
|
+
placement: 'bottomRight'
|
|
4194
5231
|
});
|
|
5232
|
+
var pathname = window.location.href;
|
|
5233
|
+
var pattern = /(action|create|edit|view)/;
|
|
5234
|
+
var isFormPage = ((_pathname$match = pathname.match(pattern)) === null || _pathname$match === void 0 ? void 0 : _pathname$match.length) > 0;
|
|
4195
5235
|
var initPagination = {
|
|
4196
5236
|
showQuickJumper: true,
|
|
4197
|
-
showSizeChanger:
|
|
5237
|
+
showSizeChanger: true,
|
|
4198
5238
|
showTotal: function showTotal(total) {
|
|
4199
5239
|
return "\u5171 ".concat(total, " \u6761");
|
|
4200
5240
|
},
|
|
@@ -4225,34 +5265,38 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4225
5265
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
4226
5266
|
selectOpen = _useState4[0],
|
|
4227
5267
|
setSelectOpen = _useState4[1];
|
|
4228
|
-
var _useState5 = useState(
|
|
5268
|
+
var _useState5 = useState(false),
|
|
4229
5269
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
var _useState7 = useState(
|
|
5270
|
+
isMaxTagsOpen = _useState6[0],
|
|
5271
|
+
setIsMaxTagsOpen = _useState6[1];
|
|
5272
|
+
var _useState7 = useState(1),
|
|
4233
5273
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
var _useState9 = useState(
|
|
5274
|
+
scrollPage = _useState8[0],
|
|
5275
|
+
setScrollPage = _useState8[1];
|
|
5276
|
+
var _useState9 = useState(0),
|
|
4237
5277
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
var _useState11 = useState(
|
|
5278
|
+
itemsTotal = _useState10[0],
|
|
5279
|
+
setItemsTotal = _useState10[1];
|
|
5280
|
+
var _useState11 = useState(false),
|
|
4241
5281
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
var _useState13 = useState(
|
|
5282
|
+
fetching = _useState12[0],
|
|
5283
|
+
setFetching = _useState12[1];
|
|
5284
|
+
var _useState13 = useState(''),
|
|
4245
5285
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
var _useState15 = useState(
|
|
5286
|
+
searchValue = _useState14[0],
|
|
5287
|
+
setSearchValue = _useState14[1];
|
|
5288
|
+
var _useState15 = useState(false),
|
|
4249
5289
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
var _useState17 = useState(
|
|
5290
|
+
isModalVisible = _useState16[0],
|
|
5291
|
+
setIsModalVisible = _useState16[1];
|
|
5292
|
+
var _useState17 = useState(initVal),
|
|
4253
5293
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
4254
|
-
|
|
4255
|
-
|
|
5294
|
+
popvalue = _useState18[0],
|
|
5295
|
+
setPopValue = _useState18[1];
|
|
5296
|
+
var _useState19 = useState(resultSourceKey),
|
|
5297
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
5298
|
+
uniqueValue = _useState20[0],
|
|
5299
|
+
setUniqueValue = _useState20[1];
|
|
4256
5300
|
var _useDebounceFn = useDebounceFn(function (v) {
|
|
4257
5301
|
// 优化搜索参数 支持传多个
|
|
4258
5302
|
var searchParams = {};
|
|
@@ -4281,62 +5325,62 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4281
5325
|
var _Form$useForm = Form.useForm(),
|
|
4282
5326
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
4283
5327
|
form = _Form$useForm2[0];
|
|
4284
|
-
var _useState19 = useState(true),
|
|
4285
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
4286
|
-
collapsed = _useState20[0],
|
|
4287
|
-
setCollapsed = _useState20[1];
|
|
4288
5328
|
var _useState21 = useState(true),
|
|
4289
5329
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
var _useState23 = useState(
|
|
5330
|
+
collapsed = _useState22[0],
|
|
5331
|
+
setCollapsed = _useState22[1];
|
|
5332
|
+
var _useState23 = useState(true),
|
|
4293
5333
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
var _useState25 = useState(
|
|
5334
|
+
caretLeftFlag = _useState24[0],
|
|
5335
|
+
setCaretLeftFlag = _useState24[1];
|
|
5336
|
+
var _useState25 = useState([]),
|
|
4297
5337
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
var _useState27 = useState(
|
|
5338
|
+
tableData = _useState26[0],
|
|
5339
|
+
setTableData = _useState26[1];
|
|
5340
|
+
var _useState27 = useState(tableInitPagination),
|
|
4301
5341
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
4302
|
-
|
|
4303
|
-
|
|
5342
|
+
tablePagination = _useState28[0],
|
|
5343
|
+
setTablePagination = _useState28[1];
|
|
4304
5344
|
var _useState29 = useState([]),
|
|
4305
5345
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
var _useState31 = useState(
|
|
5346
|
+
selectedRowKeys = _useState30[0],
|
|
5347
|
+
setSelectedRowKeys = _useState30[1];
|
|
5348
|
+
var _useState31 = useState([]),
|
|
4309
5349
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
4310
|
-
|
|
4311
|
-
|
|
5350
|
+
selectedRows = _useState32[0],
|
|
5351
|
+
setSelectedRows = _useState32[1];
|
|
4312
5352
|
var _useState33 = useState(false),
|
|
4313
5353
|
_useState34 = _slicedToArray(_useState33, 2),
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
var _useState35 = useState(
|
|
5354
|
+
checkedAll = _useState34[0],
|
|
5355
|
+
setCheckedAll = _useState34[1];
|
|
5356
|
+
var _useState35 = useState(false),
|
|
4317
5357
|
_useState36 = _slicedToArray(_useState35, 2),
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
var _useState37 = useState(
|
|
5358
|
+
indeterminate = _useState36[0],
|
|
5359
|
+
setIndeterminate = _useState36[1];
|
|
5360
|
+
var _useState37 = useState({}),
|
|
4321
5361
|
_useState38 = _slicedToArray(_useState37, 2),
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
var _useState39 = useState(
|
|
5362
|
+
tableFormParams = _useState38[0],
|
|
5363
|
+
setTableFormParams = _useState38[1];
|
|
5364
|
+
var _useState39 = useState(false),
|
|
5365
|
+
_useState40 = _slicedToArray(_useState39, 2),
|
|
5366
|
+
tooltipVisible = _useState40[0],
|
|
5367
|
+
setTooltipVisible = _useState40[1];
|
|
5368
|
+
var _useState41 = useState((modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$tabl = modalTableProps.tableColumns) === null || _modalTableProps$tabl === void 0 ? void 0 : (_modalTableProps$tabl2 = _modalTableProps$tabl.filter(function (s) {
|
|
4325
5369
|
return typeof s.defaultSort == 'number';
|
|
4326
5370
|
})) === null || _modalTableProps$tabl2 === void 0 ? void 0 : _modalTableProps$tabl2.sort(function (a, b) {
|
|
4327
5371
|
return a.defaultSort - b.defaultSort;
|
|
4328
5372
|
})) || []),
|
|
4329
|
-
_useState40 = _slicedToArray(_useState39, 2),
|
|
4330
|
-
tableShowColumns = _useState40[0],
|
|
4331
|
-
setTabletShowColumns = _useState40[1];
|
|
4332
|
-
var _useState41 = useState(false),
|
|
4333
5373
|
_useState42 = _slicedToArray(_useState41, 2),
|
|
4334
|
-
|
|
4335
|
-
|
|
5374
|
+
tableShowColumns = _useState42[0],
|
|
5375
|
+
setTabletShowColumns = _useState42[1];
|
|
4336
5376
|
var _useState43 = useState(false),
|
|
4337
5377
|
_useState44 = _slicedToArray(_useState43, 2),
|
|
4338
|
-
|
|
4339
|
-
|
|
5378
|
+
confirmLoading = _useState44[0],
|
|
5379
|
+
setConfirmLoading = _useState44[1];
|
|
5380
|
+
var _useState45 = useState(false),
|
|
5381
|
+
_useState46 = _slicedToArray(_useState45, 2),
|
|
5382
|
+
modalSearched = _useState46[0],
|
|
5383
|
+
setModalSearched = _useState46[1];
|
|
4340
5384
|
var setSelectDataSource = function setSelectDataSource(list, total) {
|
|
4341
5385
|
setItems(list);
|
|
4342
5386
|
setItemsTotal(total);
|
|
@@ -4420,96 +5464,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4420
5464
|
});
|
|
4421
5465
|
}
|
|
4422
5466
|
// 数组对象处理,对带有特殊标记的name进行处理
|
|
4423
|
-
|
|
4424
|
-
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4425
|
-
var element = params[key];
|
|
4426
|
-
if (element && key.indexOf('*number*') >= 0) {
|
|
4427
|
-
var dataParams = key.split('*number*');
|
|
4428
|
-
dataParams.forEach(function (value, index) {
|
|
4429
|
-
params[value] = element[index];
|
|
4430
|
-
});
|
|
4431
|
-
delete params[key];
|
|
4432
|
-
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4433
|
-
var _dataParams = key.split('*address*');
|
|
4434
|
-
_dataParams.forEach(function (value, index) {
|
|
4435
|
-
params[value] = element.PCDCode[index];
|
|
4436
|
-
});
|
|
4437
|
-
delete params[key];
|
|
4438
|
-
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4439
|
-
var _dataParams2 = key.split('*costType*');
|
|
4440
|
-
// eslint-disable-next-line prefer-destructuring
|
|
4441
|
-
params[_dataParams2[0]] = element[1];
|
|
4442
|
-
delete params[key];
|
|
4443
|
-
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4444
|
-
var _dataParams3 = key.split('*fullDate*');
|
|
4445
|
-
_dataParams3.forEach(function (value, index) {
|
|
4446
|
-
if (index === 0) {
|
|
4447
|
-
params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4448
|
-
} else {
|
|
4449
|
-
params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4450
|
-
}
|
|
4451
|
-
});
|
|
4452
|
-
delete params[key];
|
|
4453
|
-
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4454
|
-
var _dataParams4 = key.split('*checkBox*');
|
|
4455
|
-
if (element) {
|
|
4456
|
-
params[_dataParams4[0]] = 0;
|
|
4457
|
-
}
|
|
4458
|
-
delete params[key];
|
|
4459
|
-
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4460
|
-
var _dataParams5 = key.split('*cascader*');
|
|
4461
|
-
params[_dataParams5[0]] = element[element.length - 1];
|
|
4462
|
-
delete params[key];
|
|
4463
|
-
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4464
|
-
var _dataParams6 = key.split('*date*');
|
|
4465
|
-
_dataParams6.forEach(function (value, index) {
|
|
4466
|
-
if (index === 0) {
|
|
4467
|
-
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4468
|
-
} else {
|
|
4469
|
-
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4470
|
-
}
|
|
4471
|
-
});
|
|
4472
|
-
delete params[key];
|
|
4473
|
-
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4474
|
-
var name = '',
|
|
4475
|
-
_value = element['value'];
|
|
4476
|
-
if (_value.indexOf(',') >= 0) {
|
|
4477
|
-
name = "qp-".concat(element['name'], "-in");
|
|
4478
|
-
} else {
|
|
4479
|
-
name = "qp-".concat(element['name'], "-like");
|
|
4480
|
-
}
|
|
4481
|
-
params[name] = _value;
|
|
4482
|
-
delete params[key];
|
|
4483
|
-
} else if (element && key.indexOf('*') >= 0) {
|
|
4484
|
-
var _dataParams7 = key.split('*');
|
|
4485
|
-
_dataParams7.forEach(function (value, index) {
|
|
4486
|
-
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4487
|
-
});
|
|
4488
|
-
delete params[key];
|
|
4489
|
-
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4490
|
-
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4491
|
-
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4492
|
-
if (params[key][0] === 'range') {
|
|
4493
|
-
if (params[key][1][0]) {
|
|
4494
|
-
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4495
|
-
}
|
|
4496
|
-
if (params[key][1][1]) {
|
|
4497
|
-
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4498
|
-
}
|
|
4499
|
-
} else {
|
|
4500
|
-
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4501
|
-
}
|
|
4502
|
-
delete params[key];
|
|
4503
|
-
} else if (Array.isArray(element)) {
|
|
4504
|
-
params[key] = element.join(',');
|
|
4505
|
-
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4506
|
-
delete params[key];
|
|
4507
|
-
}
|
|
4508
|
-
}
|
|
4509
|
-
};
|
|
4510
|
-
for (var key in params) {
|
|
4511
|
-
_loop();
|
|
4512
|
-
}
|
|
5467
|
+
handleParams(params);
|
|
4513
5468
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
4514
5469
|
pageSize: pageSize,
|
|
4515
5470
|
currentPage: currentPage
|
|
@@ -4517,9 +5472,17 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4517
5472
|
if (isNil(queryParams[selectParamsKey])) {
|
|
4518
5473
|
queryParams[selectParamsKey] = searchValue;
|
|
4519
5474
|
}
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
5475
|
+
var getRequest;
|
|
5476
|
+
var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
|
|
5477
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
5478
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
5479
|
+
} else {
|
|
5480
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
5481
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
5482
|
+
});
|
|
5483
|
+
}
|
|
5484
|
+
if (!url || !getRequest) return;
|
|
5485
|
+
getRequest.then(function (result) {
|
|
4523
5486
|
setFetching(false);
|
|
4524
5487
|
result = result.data;
|
|
4525
5488
|
if (judgeIsRequestError(result)) {
|
|
@@ -4527,66 +5490,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4527
5490
|
return;
|
|
4528
5491
|
}
|
|
4529
5492
|
var res = result.data;
|
|
4530
|
-
var source =
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
} else {
|
|
4539
|
-
var keys = res.list ? 'list' : 'items';
|
|
4540
|
-
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
4541
|
-
var _item$children;
|
|
4542
|
-
var textShowText = item[mappingTextField];
|
|
4543
|
-
if (mappingTextShowTextField) {
|
|
4544
|
-
textShowText = [];
|
|
4545
|
-
if (Array.isArray(mappingTextShowTextField)) {
|
|
4546
|
-
mappingTextShowTextField.forEach(function (r) {
|
|
4547
|
-
textShowText.push(item[r]);
|
|
4548
|
-
});
|
|
4549
|
-
} else {
|
|
4550
|
-
textShowText = item[mappingTextShowTextField];
|
|
4551
|
-
}
|
|
4552
|
-
}
|
|
4553
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
4554
|
-
item === null || item === void 0 ? true : delete item.children;
|
|
4555
|
-
}
|
|
4556
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4557
|
-
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4558
|
-
textShowText: textShowText,
|
|
4559
|
-
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4560
|
-
value: item[mappingValueField],
|
|
4561
|
-
keyIndex: index + 1
|
|
4562
|
-
});
|
|
4563
|
-
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
4564
|
-
var _item$children2;
|
|
4565
|
-
var textShowText = item[mappingTextField];
|
|
4566
|
-
if (mappingTextShowTextField) {
|
|
4567
|
-
textShowText = [];
|
|
4568
|
-
if (Array.isArray(mappingTextShowTextField)) {
|
|
4569
|
-
mappingTextShowTextField.forEach(function (r) {
|
|
4570
|
-
textShowText.push(item[r]);
|
|
4571
|
-
});
|
|
4572
|
-
} else {
|
|
4573
|
-
textShowText = item[mappingTextShowTextField];
|
|
4574
|
-
}
|
|
4575
|
-
}
|
|
4576
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
|
|
4577
|
-
item === null || item === void 0 ? true : delete item.children;
|
|
4578
|
-
}
|
|
4579
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4580
|
-
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4581
|
-
textShowText: textShowText,
|
|
4582
|
-
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4583
|
-
value: item[mappingValueField],
|
|
4584
|
-
keyIndex: index + 1
|
|
4585
|
-
});
|
|
4586
|
-
})) : [];
|
|
4587
|
-
}
|
|
4588
|
-
// 数据源 不可以有重复key
|
|
4589
|
-
source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
|
|
5493
|
+
var source = convertResData(requestConfig, res, {
|
|
5494
|
+
selectMode: selectMode,
|
|
5495
|
+
labelInValue: labelInValue,
|
|
5496
|
+
value: value,
|
|
5497
|
+
type: type,
|
|
5498
|
+
items: items,
|
|
5499
|
+
queryParams: queryParams
|
|
5500
|
+
});
|
|
4590
5501
|
if (callback) {
|
|
4591
5502
|
callback(source);
|
|
4592
5503
|
} else {
|
|
@@ -4661,7 +5572,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4661
5572
|
}
|
|
4662
5573
|
}, [value]);
|
|
4663
5574
|
useEffect(function () {
|
|
4664
|
-
makeUniqueValue();
|
|
5575
|
+
setUniqueValue(makeUniqueValue());
|
|
4665
5576
|
}, [resultSourceKey]);
|
|
4666
5577
|
useEffect(function () {
|
|
4667
5578
|
if (init) {
|
|
@@ -4828,12 +5739,11 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4828
5739
|
};
|
|
4829
5740
|
var onSearchTable = function onSearchTable() {
|
|
4830
5741
|
var params = form.getFieldsValue();
|
|
4831
|
-
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4832
5742
|
setModalSearched(true);
|
|
4833
5743
|
setTableFormParams(params);
|
|
4834
5744
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4835
5745
|
pageSize: tableInitPageSize
|
|
4836
|
-
}), 2);
|
|
5746
|
+
}), 2, null);
|
|
4837
5747
|
};
|
|
4838
5748
|
var onResetTable = function onResetTable() {
|
|
4839
5749
|
form.resetFields();
|
|
@@ -4852,28 +5762,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4852
5762
|
currentPage: pagination.current
|
|
4853
5763
|
}), 2);
|
|
4854
5764
|
};
|
|
4855
|
-
var LightHeightOption = function LightHeightOption(props) {
|
|
4856
|
-
var filterTxt = props.filterTxt,
|
|
4857
|
-
text = props.text;
|
|
4858
|
-
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
4859
|
-
if (heightTxt === '') {
|
|
4860
|
-
return text;
|
|
4861
|
-
}
|
|
4862
|
-
var searchString = escapeRegExp(heightTxt);
|
|
4863
|
-
// 前面filterOption 不区分大小写,这里用i
|
|
4864
|
-
var regexp = new RegExp(searchString, 'gi');
|
|
4865
|
-
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
4866
|
-
};
|
|
4867
|
-
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
4868
|
-
title: text
|
|
4869
|
-
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4870
|
-
ref: function ref(nodeElement) {
|
|
4871
|
-
if (nodeElement) {
|
|
4872
|
-
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
4873
|
-
}
|
|
4874
|
-
}
|
|
4875
|
-
}));
|
|
4876
|
-
};
|
|
4877
5765
|
var onChangeSelectedKeys = function onChangeSelectedKeys(selectKeys, selectRows) {
|
|
4878
5766
|
var sksResult = (selectRows === null || selectRows === void 0 ? void 0 : selectRows.map(function (i) {
|
|
4879
5767
|
return i.value;
|
|
@@ -4889,12 +5777,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4889
5777
|
setIndeterminate(!!selectRows.length && selectRows.length < (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
4890
5778
|
setCheckedAll(selectRows.length === (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
4891
5779
|
};
|
|
4892
|
-
// 生成唯一值
|
|
4893
|
-
var makeUniqueValue = function makeUniqueValue() {
|
|
4894
|
-
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4895
|
-
setUniqueValue(generateUnitKey);
|
|
4896
|
-
return generateUnitKey;
|
|
4897
|
-
};
|
|
4898
5780
|
var rowSelection = {
|
|
4899
5781
|
type: selectMode ? 'checkbox' : 'radio',
|
|
4900
5782
|
selectedRowKeys: selectedRowKeys,
|
|
@@ -4960,7 +5842,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4960
5842
|
};
|
|
4961
5843
|
})) || [];
|
|
4962
5844
|
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) {
|
|
4963
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
|
|
5845
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
|
|
4964
5846
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
|
|
4965
5847
|
span: ColSpan,
|
|
4966
5848
|
key: i
|
|
@@ -5035,6 +5917,30 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5035
5917
|
}
|
|
5036
5918
|
})));
|
|
5037
5919
|
}
|
|
5920
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5921
|
+
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5922
|
+
span: ColSpan,
|
|
5923
|
+
key: i.name
|
|
5924
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
5925
|
+
name: i.name,
|
|
5926
|
+
label: i.label,
|
|
5927
|
+
key: i.name
|
|
5928
|
+
}, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
|
|
5929
|
+
}
|
|
5930
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
|
|
5931
|
+
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5932
|
+
span: ColSpan,
|
|
5933
|
+
key: i.name
|
|
5934
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
5935
|
+
name: i.name,
|
|
5936
|
+
label: i.label,
|
|
5937
|
+
key: i.name
|
|
5938
|
+
}, /*#__PURE__*/React$1.createElement(QueryMutipleSearchSelect, _objectSpread2(_objectSpread2({}, i.field.props), {}, {
|
|
5939
|
+
onValueChange: function onValueChange(value) {
|
|
5940
|
+
form.setFieldsValue(_defineProperty({}, i.name, value));
|
|
5941
|
+
}
|
|
5942
|
+
}))));
|
|
5943
|
+
}
|
|
5038
5944
|
// 默认type是input
|
|
5039
5945
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5040
5946
|
span: ColSpan,
|
|
@@ -5050,7 +5956,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5050
5956
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5051
5957
|
allowClear: true,
|
|
5052
5958
|
maxLength: 100
|
|
5053
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5959
|
+
}, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
|
|
5054
5960
|
disabled: setDisabled(i.name)
|
|
5055
5961
|
}))));
|
|
5056
5962
|
});
|
|
@@ -5062,13 +5968,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5062
5968
|
var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
|
|
5063
5969
|
return collapsed ? formItem(list === null || list === void 0 ? void 0 : list.slice(0, viCount)) : formItem(list);
|
|
5064
5970
|
};
|
|
5065
|
-
// const queryFieldsDom = <SearchItemTable
|
|
5066
|
-
// ref={searchTableRef}
|
|
5067
|
-
// setShowSearchFields={setShowSearchFields||[]}
|
|
5068
|
-
// showSearchFields={showSearchFields||[]}
|
|
5069
|
-
// datasource={modalTableProps?.tableSearchForm || []}
|
|
5070
|
-
// bsTableCode={bsTableCode}
|
|
5071
|
-
// />
|
|
5072
5971
|
var renderShowTable = function renderShowTable(tableList, type) {
|
|
5073
5972
|
var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
|
|
5074
5973
|
var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - 82px)"); // 分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
|
|
@@ -5083,7 +5982,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5083
5982
|
columns: tableShowColumns,
|
|
5084
5983
|
dataSource: tableList
|
|
5085
5984
|
}, type == 'noPage' ? {
|
|
5086
|
-
pagination: initPagination,
|
|
5985
|
+
pagination: _objectSpread2(_objectSpread2({}, initPagination), {}, {
|
|
5986
|
+
showSizeChanger: false
|
|
5987
|
+
}),
|
|
5087
5988
|
locale: {
|
|
5088
5989
|
emptyText: '暂无已选结果'
|
|
5089
5990
|
}
|
|
@@ -5128,9 +6029,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5128
6029
|
})) || [], 'noPage')
|
|
5129
6030
|
}];
|
|
5130
6031
|
var resetSelectDataSource = function resetSelectDataSource() {
|
|
6032
|
+
var isClear = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
5131
6033
|
setSearchValue('');
|
|
5132
6034
|
// 有关联值 不需要清空下拉框数据 也不需要重新去请求了
|
|
5133
|
-
if (isHaveDependency) return;
|
|
6035
|
+
if (!isClear && isHaveDependency) return; // 清空时需要放开:级联首次回之后,清空数据需要重新查询下拉框的值
|
|
5134
6036
|
clearSelectDataSource();
|
|
5135
6037
|
init && run('init');
|
|
5136
6038
|
};
|
|
@@ -5142,14 +6044,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5142
6044
|
formaData([], items);
|
|
5143
6045
|
onChangeSelectedKeys([], []);
|
|
5144
6046
|
// 重置下拉框数据源
|
|
5145
|
-
resetSelectDataSource();
|
|
6047
|
+
resetSelectDataSource(true);
|
|
5146
6048
|
};
|
|
5147
6049
|
var onDeselect = function onDeselect() {
|
|
5148
|
-
var oldSelect = (value
|
|
5149
|
-
return {
|
|
5150
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5151
|
-
};
|
|
5152
|
-
})) || [];
|
|
6050
|
+
var oldSelect = formatSelectedValue(value);
|
|
5153
6051
|
var deRecord = arguments.length <= 1 ? undefined : arguments[1];
|
|
5154
6052
|
var srs = oldSelect.filter(function (s) {
|
|
5155
6053
|
return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
|
|
@@ -5162,13 +6060,20 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5162
6060
|
nr && setSelectOpen(false);
|
|
5163
6061
|
};
|
|
5164
6062
|
var onDropdownVisibleChange = function onDropdownVisibleChange(visible) {
|
|
6063
|
+
// 阻止maxTagPlaceholder点击事件触发下拉框展示事件
|
|
6064
|
+
if (isMaxTagsOpen && !selectOpen) return;
|
|
5165
6065
|
setSelectOpen(visible);
|
|
5166
6066
|
// 关闭下拉框 如果首次本身就不展示数据的 没有选中数据-需要清空查询数据源; 首次展示的默认展示
|
|
5167
6067
|
if (!visible && !(value === null || value === void 0 ? void 0 : value.length)) {
|
|
5168
|
-
|
|
6068
|
+
setTimeout(function () {
|
|
6069
|
+
// 延时 是为了避免 执行时候出现下拉框弹两次的问题-可以看到数据源从展示到显示空数据框的问题
|
|
6070
|
+
resetSelectDataSource();
|
|
6071
|
+
}, 200);
|
|
5169
6072
|
}
|
|
5170
6073
|
};
|
|
5171
6074
|
var renderTable = function renderTable(dataSource) {
|
|
6075
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
6076
|
+
var renderSource = getRenderSource(currentSRKs, items);
|
|
5172
6077
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
5173
6078
|
className: "search_select_dropdown_table ".concat(!selectMode ? 'search_select_dropdown_table1' : '')
|
|
5174
6079
|
}, /*#__PURE__*/React$1.createElement(Table, _objectSpread2(_objectSpread2({
|
|
@@ -5178,16 +6083,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5178
6083
|
rowSelection: {
|
|
5179
6084
|
type: 'checkbox',
|
|
5180
6085
|
columnWidth: '24px',
|
|
5181
|
-
selectedRowKeys:
|
|
5182
|
-
return (s === null || s === void 0 ? void 0 : s.value) || s;
|
|
5183
|
-
}) : value,
|
|
6086
|
+
selectedRowKeys: currentSRKs,
|
|
5184
6087
|
preserveSelectedRowKeys: true,
|
|
5185
6088
|
onChange: function onChange(sks, srs) {
|
|
5186
|
-
var oldSelect = (value
|
|
5187
|
-
return {
|
|
5188
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5189
|
-
};
|
|
5190
|
-
})) || [];
|
|
6089
|
+
var oldSelect = formatSelectedValue(value);
|
|
5191
6090
|
var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
|
|
5192
6091
|
return item != undefined;
|
|
5193
6092
|
});
|
|
@@ -5206,11 +6105,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5206
6105
|
onClick: function onClick(event) {
|
|
5207
6106
|
event.stopPropagation();
|
|
5208
6107
|
event.nativeEvent.stopImmediatePropagation();
|
|
5209
|
-
var oldSelect = (value
|
|
5210
|
-
return {
|
|
5211
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5212
|
-
};
|
|
5213
|
-
})) || [];
|
|
6108
|
+
var oldSelect = formatSelectedValue(value);
|
|
5214
6109
|
var newSelect = [JSON.parse(JSON.stringify(record))];
|
|
5215
6110
|
var srs = getRealStr(oldSelect, newSelect, record);
|
|
5216
6111
|
onSelectClick(srs, dataSource, false);
|
|
@@ -5221,7 +6116,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5221
6116
|
rowSelection: {
|
|
5222
6117
|
type: 'radio',
|
|
5223
6118
|
columnWidth: 0,
|
|
5224
|
-
selectedRowKeys:
|
|
6119
|
+
selectedRowKeys: currentSRKs
|
|
5225
6120
|
},
|
|
5226
6121
|
onRow: function onRow(record, rowKey) {
|
|
5227
6122
|
return {
|
|
@@ -5233,7 +6128,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5233
6128
|
}
|
|
5234
6129
|
}), {}, {
|
|
5235
6130
|
columns: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.renderTableColumns) || [],
|
|
5236
|
-
dataSource:
|
|
6131
|
+
dataSource: renderSource,
|
|
5237
6132
|
size: "middle",
|
|
5238
6133
|
pagination: false,
|
|
5239
6134
|
rowKey: mappingValueField,
|
|
@@ -5243,41 +6138,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5243
6138
|
}
|
|
5244
6139
|
})));
|
|
5245
6140
|
};
|
|
5246
|
-
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues) {
|
|
5247
|
-
var _onClose = function onClose(e, item) {
|
|
5248
|
-
e.preventDefault();
|
|
5249
|
-
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
5250
|
-
return i.value !== item.value;
|
|
5251
|
-
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
5252
|
-
return i !== item.value;
|
|
5253
|
-
});
|
|
5254
|
-
onChange(newValue);
|
|
5255
|
-
};
|
|
5256
|
-
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
5257
|
-
title: selectedValues.map(function (i) {
|
|
5258
|
-
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
5259
|
-
closable: true,
|
|
5260
|
-
onClose: function onClose(e) {
|
|
5261
|
-
return _onClose(e, i);
|
|
5262
|
-
},
|
|
5263
|
-
style: {
|
|
5264
|
-
marginRight: 3,
|
|
5265
|
-
background: '#f5f5f5',
|
|
5266
|
-
height: '24px',
|
|
5267
|
-
border: '1px solid #f0f0f0'
|
|
5268
|
-
}
|
|
5269
|
-
}, i.label);
|
|
5270
|
-
})
|
|
5271
|
-
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
5272
|
-
};
|
|
5273
|
-
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
5274
|
-
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
5275
|
-
if (noNeedSplit) {
|
|
5276
|
-
return item.text;
|
|
5277
|
-
} else {
|
|
5278
|
-
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
5279
|
-
}
|
|
5280
|
-
};
|
|
5281
6141
|
var getShowLabelTextStr = function getShowLabelTextStr(kongValue) {
|
|
5282
6142
|
if (selectMode) {
|
|
5283
6143
|
var _value$map;
|
|
@@ -5331,7 +6191,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5331
6191
|
},
|
|
5332
6192
|
className: 'search_select_show'
|
|
5333
6193
|
}, getShowStr())) : /*#__PURE__*/React$1.createElement("div", {
|
|
5334
|
-
className: "search_select_show",
|
|
6194
|
+
className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
|
|
5335
6195
|
id: "search_select_div_".concat(uniqueValue)
|
|
5336
6196
|
}, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
5337
6197
|
labelInValue: labelInValue,
|
|
@@ -5362,7 +6222,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5362
6222
|
width: 'calc(100%)'
|
|
5363
6223
|
},
|
|
5364
6224
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
5365
|
-
maxTagPlaceholder: maxTagPlaceholder
|
|
6225
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
6226
|
+
return maxTagPlaceholder(v, {
|
|
6227
|
+
selectProps: {
|
|
6228
|
+
labelInValue: labelInValue
|
|
6229
|
+
},
|
|
6230
|
+
onChange: onChange,
|
|
6231
|
+
value: value,
|
|
6232
|
+
setIsMaxTagsOpen: setIsMaxTagsOpen
|
|
6233
|
+
});
|
|
6234
|
+
},
|
|
5366
6235
|
onSearch: function onSearch(v) {
|
|
5367
6236
|
return onSearchChange(v);
|
|
5368
6237
|
}
|
|
@@ -5373,7 +6242,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5373
6242
|
}, /*#__PURE__*/React$1.createElement(SearchOutlined, null))
|
|
5374
6243
|
} : {}), currentSelectProps), {}, {
|
|
5375
6244
|
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
5376
|
-
return
|
|
6245
|
+
return highestPopContainer && highestPopContainer(triggerNode) || triggerNode.parentElement;
|
|
5377
6246
|
}
|
|
5378
6247
|
}), items.map(function (item) {
|
|
5379
6248
|
return /*#__PURE__*/React$1.createElement(Option$1, {
|
|
@@ -5458,8 +6327,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5458
6327
|
})) : null)))));
|
|
5459
6328
|
});
|
|
5460
6329
|
|
|
5461
|
-
var css_248z$
|
|
5462
|
-
styleInject(css_248z$
|
|
6330
|
+
var css_248z$8 = ".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";
|
|
6331
|
+
styleInject(css_248z$8);
|
|
5463
6332
|
|
|
5464
6333
|
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";
|
|
5465
6334
|
|
|
@@ -5475,10 +6344,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5475
6344
|
|
|
5476
6345
|
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";
|
|
5477
6346
|
|
|
5478
|
-
var css_248z$
|
|
5479
|
-
styleInject(css_248z$
|
|
6347
|
+
var css_248z$9 = ".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";
|
|
6348
|
+
styleInject(css_248z$9);
|
|
5480
6349
|
|
|
5481
|
-
var _excluded$
|
|
6350
|
+
var _excluded$4 = ["className", "style"];
|
|
5482
6351
|
var Search = Input.Search;
|
|
5483
6352
|
var DragHandle = SortableHandle(function () {
|
|
5484
6353
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -5830,7 +6699,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5830
6699
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5831
6700
|
var className = _ref2.className,
|
|
5832
6701
|
style = _ref2.style,
|
|
5833
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6702
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5834
6703
|
var sortDataSource = _this.state.sortDataSource;
|
|
5835
6704
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5836
6705
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6249,7 +7118,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6249
7118
|
});
|
|
6250
7119
|
};
|
|
6251
7120
|
|
|
6252
|
-
var _excluded$
|
|
7121
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6253
7122
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6254
7123
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6255
7124
|
return new Promise(function (resolve, reject) {
|
|
@@ -6269,7 +7138,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6269
7138
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6270
7139
|
var onResize = props.onResize,
|
|
6271
7140
|
width = props.width,
|
|
6272
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7141
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6273
7142
|
if (!width) {
|
|
6274
7143
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
6275
7144
|
}
|
|
@@ -7498,10 +8367,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7498
8367
|
}))))));
|
|
7499
8368
|
};
|
|
7500
8369
|
|
|
7501
|
-
var css_248z$
|
|
7502
|
-
styleInject(css_248z$
|
|
8370
|
+
var css_248z$a = ".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";
|
|
8371
|
+
styleInject(css_248z$a);
|
|
7503
8372
|
|
|
7504
|
-
var _excluded$
|
|
8373
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7505
8374
|
var _this = undefined;
|
|
7506
8375
|
var InputElement = function InputElement(_ref) {
|
|
7507
8376
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -7999,7 +8868,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
7999
8868
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8000
8869
|
var onResize = props.onResize,
|
|
8001
8870
|
width = props.width,
|
|
8002
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8871
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8003
8872
|
if (!width) {
|
|
8004
8873
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
8005
8874
|
}
|
|
@@ -8642,6 +9511,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8642
9511
|
hiddenFields = _ref$hiddenFields === void 0 ? [] : _ref$hiddenFields;
|
|
8643
9512
|
// 默认type === 'supplier' 供应商选择器
|
|
8644
9513
|
var requestConfig = _objectSpread2({
|
|
9514
|
+
init: true,
|
|
8645
9515
|
url: "".concat(prefixUrl.selectPrefix, "/supplier"),
|
|
8646
9516
|
filter: 'qp-name,code-orGroup,like',
|
|
8647
9517
|
otherParams: _objectSpread2({
|
|
@@ -8935,7 +9805,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8935
9805
|
// 商品选择器sku
|
|
8936
9806
|
if (type === 'skuCommodity') {
|
|
8937
9807
|
requestConfig = _objectSpread2({
|
|
8938
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9808
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9809
|
+
method: 'post',
|
|
8939
9810
|
filter: 'skuCodeAndSkuName',
|
|
8940
9811
|
searchStartLength: 4,
|
|
8941
9812
|
mappingTextField: 'name',
|
|
@@ -8959,13 +9830,43 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8959
9830
|
tableSearchForm = [{
|
|
8960
9831
|
name: 'qp-skuCode-in',
|
|
8961
9832
|
label: 'SKU编码',
|
|
8962
|
-
|
|
9833
|
+
field: {
|
|
9834
|
+
type: 'multipleQuerySearchSelect',
|
|
9835
|
+
props: {
|
|
9836
|
+
selectProps: {
|
|
9837
|
+
mode: "multiple"
|
|
9838
|
+
},
|
|
9839
|
+
requestConfig: {
|
|
9840
|
+
url: '/items/sku//listNoPage/Simple',
|
|
9841
|
+
filter: 'qp-name-like',
|
|
9842
|
+
// filter: 'qp-itemCode,name-orGroup,like',
|
|
9843
|
+
mappingTextField: 'name',
|
|
9844
|
+
mappingValueField: 'skuCode',
|
|
9845
|
+
sourceName: 'qp-skuCode-in',
|
|
9846
|
+
specialBracket: true
|
|
9847
|
+
}
|
|
9848
|
+
}
|
|
9849
|
+
}
|
|
8963
9850
|
}, {
|
|
8964
9851
|
name: 'qp-skuName-like',
|
|
8965
9852
|
label: 'SKU名称'
|
|
8966
9853
|
}, {
|
|
8967
|
-
name: 'qp-itemCode-
|
|
8968
|
-
label: '
|
|
9854
|
+
name: 'qp-itemCode-in',
|
|
9855
|
+
label: 'SPU编码',
|
|
9856
|
+
field: {
|
|
9857
|
+
type: 'multipleQuerySearchSelect',
|
|
9858
|
+
props: {
|
|
9859
|
+
requestConfig: {
|
|
9860
|
+
url: '/items/item/listNoPage/Simple',
|
|
9861
|
+
filter: 'qp-name-like',
|
|
9862
|
+
// filter: 'qp-skuCode,name-orGroup,like',
|
|
9863
|
+
mappingTextField: 'name',
|
|
9864
|
+
mappingValueField: 'itemCode',
|
|
9865
|
+
sourceName: 'qp-itemCode-in',
|
|
9866
|
+
specialBracket: true
|
|
9867
|
+
}
|
|
9868
|
+
}
|
|
9869
|
+
}
|
|
8969
9870
|
}, {
|
|
8970
9871
|
name: 'qp-eancode-in',
|
|
8971
9872
|
label: '商品条码',
|
|
@@ -9018,6 +9919,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9018
9919
|
}
|
|
9019
9920
|
}
|
|
9020
9921
|
}
|
|
9922
|
+
}, {
|
|
9923
|
+
name: 'UNIQUE_SPEC',
|
|
9924
|
+
label: '属性',
|
|
9925
|
+
field: {
|
|
9926
|
+
type: 'proppertySelector'
|
|
9927
|
+
}
|
|
9021
9928
|
}];
|
|
9022
9929
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9023
9930
|
pageSize: 5000,
|
|
@@ -9424,6 +10331,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9424
10331
|
}]
|
|
9425
10332
|
}, selectConfigProps);
|
|
9426
10333
|
requestConfig = _objectSpread2({
|
|
10334
|
+
init: true,
|
|
9427
10335
|
url: "".concat(prefixUrl.selectPrefix, "/skuPropertyValue/list"),
|
|
9428
10336
|
filter: 'qp-value-like',
|
|
9429
10337
|
mappingTextField: 'value',
|
|
@@ -10346,6 +11254,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10346
11254
|
}]
|
|
10347
11255
|
}, selectConfigProps);
|
|
10348
11256
|
requestConfig = _objectSpread2({
|
|
11257
|
+
init: true,
|
|
10349
11258
|
url: "".concat(prefixUrl.selectPrefix, "/inventoryOrg"),
|
|
10350
11259
|
filter: 'qp-name,code-orGroup,like',
|
|
10351
11260
|
mappingTextField: 'name',
|
|
@@ -10371,6 +11280,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10371
11280
|
}]
|
|
10372
11281
|
}, selectConfigProps);
|
|
10373
11282
|
requestConfig = _objectSpread2({
|
|
11283
|
+
init: true,
|
|
10374
11284
|
url: "".concat(prefixUrl.selectPrefix, "/company"),
|
|
10375
11285
|
filter: 'qp-name,code-orGroup,like',
|
|
10376
11286
|
mappingTextField: 'name',
|
|
@@ -10396,6 +11306,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10396
11306
|
}]
|
|
10397
11307
|
}, selectConfigProps);
|
|
10398
11308
|
requestConfig = _objectSpread2({
|
|
11309
|
+
init: true,
|
|
10399
11310
|
url: "".concat(prefixUrl.selectPrefix, "/platCompany"),
|
|
10400
11311
|
filter: 'qp-name,socialCreditCode-orGroup,like',
|
|
10401
11312
|
mappingTextField: 'name',
|
|
@@ -10421,6 +11332,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10421
11332
|
}]
|
|
10422
11333
|
}, selectConfigProps);
|
|
10423
11334
|
requestConfig = _objectSpread2({
|
|
11335
|
+
init: true,
|
|
10424
11336
|
url: "".concat(prefixUrl.selectPrefix, "/employee/v2"),
|
|
10425
11337
|
filter: 'qp-employeeNumber,name-orGroup,like',
|
|
10426
11338
|
mappingTextField: 'name',
|
|
@@ -10514,6 +11426,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10514
11426
|
}]
|
|
10515
11427
|
}, selectConfigProps);
|
|
10516
11428
|
requestConfig = _objectSpread2({
|
|
11429
|
+
init: true,
|
|
10517
11430
|
url: "".concat(prefixUrl.selectPrefix, "/employee/pageList/v2"),
|
|
10518
11431
|
filter: 'qp-username,name-orGroup,like',
|
|
10519
11432
|
mappingTextField: 'name',
|
|
@@ -10656,6 +11569,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10656
11569
|
});
|
|
10657
11570
|
var logisCompanyCodeSingleSearchName = isLogisCompanyCodeSingleSearch ? 'qp-logisCompanyCode-eq' : 'qp-logisCompanyCode-in';
|
|
10658
11571
|
requestConfig = _objectSpread2({
|
|
11572
|
+
init: true,
|
|
10659
11573
|
url: "".concat(prefixUrl.selectPrefix, "/deliveryMode"),
|
|
10660
11574
|
filter: 'qp-name,code-orGroup,like',
|
|
10661
11575
|
mappingTextField: 'name',
|
|
@@ -10792,6 +11706,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10792
11706
|
}]
|
|
10793
11707
|
}, selectConfigProps);
|
|
10794
11708
|
requestConfig = _objectSpread2({
|
|
11709
|
+
init: true,
|
|
10795
11710
|
url: "".concat(prefixUrl.selectPrefix, "/ruleTemplate"),
|
|
10796
11711
|
filter: 'qp-name,code-orGroup,like',
|
|
10797
11712
|
mappingTextField: 'name',
|
|
@@ -10863,6 +11778,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10863
11778
|
}]
|
|
10864
11779
|
}, selectConfigProps);
|
|
10865
11780
|
requestConfig = _objectSpread2({
|
|
11781
|
+
init: true,
|
|
10866
11782
|
url: "".concat(prefixUrl.selectPrefix, "/role"),
|
|
10867
11783
|
filter: 'qp-name,code-orGroup,like',
|
|
10868
11784
|
mappingTextField: 'name',
|
|
@@ -10959,6 +11875,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10959
11875
|
}]
|
|
10960
11876
|
}, selectConfigProps);
|
|
10961
11877
|
requestConfig = _objectSpread2({
|
|
11878
|
+
init: true,
|
|
10962
11879
|
url: "".concat(prefixUrl.selectPrefix, "/channelInfo"),
|
|
10963
11880
|
filter: 'qp-name,code-orGroup,like',
|
|
10964
11881
|
mappingTextField: 'name',
|
|
@@ -11046,6 +11963,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11046
11963
|
}]
|
|
11047
11964
|
}, selectConfigProps);
|
|
11048
11965
|
requestConfig = _objectSpread2({
|
|
11966
|
+
init: true,
|
|
11049
11967
|
url: "".concat(prefixUrl.selectPrefix, "/orgViewNode/common/pageList"),
|
|
11050
11968
|
filter: 'qp-name-like',
|
|
11051
11969
|
mappingTextField: 'name',
|
|
@@ -11174,6 +12092,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11174
12092
|
}]
|
|
11175
12093
|
}, selectConfigProps);
|
|
11176
12094
|
requestConfig = _objectSpread2({
|
|
12095
|
+
init: true,
|
|
11177
12096
|
url: "".concat(prefixUrl.selectPrefix, "/person"),
|
|
11178
12097
|
filter: 'qp-code,name-orGroup,like',
|
|
11179
12098
|
mappingTextField: 'name',
|
|
@@ -11309,6 +12228,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11309
12228
|
}]
|
|
11310
12229
|
}, selectConfigProps);
|
|
11311
12230
|
requestConfig = _objectSpread2({
|
|
12231
|
+
init: true,
|
|
11312
12232
|
url: "".concat(prefixUrl.selectPrefix, "/priceType"),
|
|
11313
12233
|
filter: 'qp-code,name-orGroup,like',
|
|
11314
12234
|
mappingTextField: 'name',
|
|
@@ -12811,7 +13731,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12811
13731
|
return "";
|
|
12812
13732
|
}
|
|
12813
13733
|
|
|
12814
|
-
var _excluded$
|
|
13734
|
+
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"];
|
|
12815
13735
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12816
13736
|
var _useState = useState([]),
|
|
12817
13737
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12853,7 +13773,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12853
13773
|
} : _props$style,
|
|
12854
13774
|
getTreeData = props.getTreeData,
|
|
12855
13775
|
disabled = props.disabled,
|
|
12856
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13776
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12857
13777
|
var url = remoteSource.url,
|
|
12858
13778
|
headers = remoteSource.headers,
|
|
12859
13779
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13238,8 +14158,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React$1.memo(BusinessTreeSearchSel
|
|
|
13238
14158
|
return true;
|
|
13239
14159
|
});
|
|
13240
14160
|
|
|
13241
|
-
var css_248z$
|
|
13242
|
-
styleInject(css_248z$
|
|
14161
|
+
var css_248z$b = ".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";
|
|
14162
|
+
styleInject(css_248z$b);
|
|
13243
14163
|
|
|
13244
14164
|
var index$2 = (function (props) {
|
|
13245
14165
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13276,10 +14196,10 @@ var index$2 = (function (props) {
|
|
|
13276
14196
|
}));
|
|
13277
14197
|
});
|
|
13278
14198
|
|
|
13279
|
-
var css_248z$
|
|
13280
|
-
styleInject(css_248z$
|
|
14199
|
+
var css_248z$c = ".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";
|
|
14200
|
+
styleInject(css_248z$c);
|
|
13281
14201
|
|
|
13282
|
-
var _excluded$
|
|
14202
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13283
14203
|
_excluded2$3 = ["children"];
|
|
13284
14204
|
var Field = function Field(_ref) {
|
|
13285
14205
|
var children = _ref.children,
|
|
@@ -13287,7 +14207,7 @@ var Field = function Field(_ref) {
|
|
|
13287
14207
|
title = _ref.title,
|
|
13288
14208
|
extra = _ref.extra,
|
|
13289
14209
|
bordered = _ref.bordered,
|
|
13290
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
14210
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13291
14211
|
var _React$useState = React$1.useState(true),
|
|
13292
14212
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13293
14213
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13411,10 +14331,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13411
14331
|
})));
|
|
13412
14332
|
};
|
|
13413
14333
|
|
|
13414
|
-
var css_248z$
|
|
13415
|
-
styleInject(css_248z$
|
|
14334
|
+
var css_248z$d = ".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";
|
|
14335
|
+
styleInject(css_248z$d);
|
|
13416
14336
|
|
|
13417
|
-
var _excluded$
|
|
14337
|
+
var _excluded$9 = ["className", "style"];
|
|
13418
14338
|
var Search$1 = Input.Search;
|
|
13419
14339
|
var DragHandle$1 = SortableHandle(function () {
|
|
13420
14340
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -13832,7 +14752,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13832
14752
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13833
14753
|
var className = _ref2.className,
|
|
13834
14754
|
style = _ref2.style,
|
|
13835
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14755
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13836
14756
|
var sortDataSource = _this.state.sortDataSource;
|
|
13837
14757
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13838
14758
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -13992,8 +14912,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13992
14912
|
visible = _this$state3.visible,
|
|
13993
14913
|
onSearchSort = _this$state3.onSearchSort;
|
|
13994
14914
|
var seatchDataSource = dataSource.filter(function (item) {
|
|
13995
|
-
var
|
|
13996
|
-
return (item === null || item === void 0 ? void 0 :
|
|
14915
|
+
var _renderToString;
|
|
14916
|
+
return ((_renderToString = renderToString(item === null || item === void 0 ? void 0 : item.title)) === null || _renderToString === void 0 ? void 0 : _renderToString.indexOf(searchDataSource || '')) > -1;
|
|
13997
14917
|
});
|
|
13998
14918
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
13999
14919
|
className: 'sort_table_wrapper'
|
|
@@ -14076,8 +14996,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14076
14996
|
}
|
|
14077
14997
|
}, item.title);
|
|
14078
14998
|
}) : dataSource.filter(function (item) {
|
|
14079
|
-
var _item$
|
|
14080
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
14999
|
+
var _item$title, _item$title2;
|
|
15000
|
+
return (item === null || item === void 0 ? void 0 : (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.indexOf('人')) === -1 && (item === null || item === void 0 ? void 0 : (_item$title2 = item.title) === null || _item$title2 === void 0 ? void 0 : _item$title2.indexOf('日期')) === -1;
|
|
14081
15001
|
}).map(function (item) {
|
|
14082
15002
|
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
14083
15003
|
checked: !item.hidden,
|
|
@@ -14096,8 +15016,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14096
15016
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
14097
15017
|
className: 'sort_table_column_all'
|
|
14098
15018
|
}, _toConsumableArray(dataSource).filter(function (item) {
|
|
14099
|
-
var _item$
|
|
14100
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15019
|
+
var _item$title3, _item$title4;
|
|
15020
|
+
return (item === null || item === void 0 ? void 0 : (_item$title3 = item.title) === null || _item$title3 === void 0 ? void 0 : _item$title3.indexOf('人')) > -1 || (item === null || item === void 0 ? void 0 : (_item$title4 = item.title) === null || _item$title4 === void 0 ? void 0 : _item$title4.indexOf('日期')) > -1;
|
|
14101
15021
|
}).map(function (item) {
|
|
14102
15022
|
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
14103
15023
|
checked: !item.hidden,
|
|
@@ -14133,8 +15053,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14133
15053
|
pagination: false,
|
|
14134
15054
|
showHeader: false,
|
|
14135
15055
|
dataSource: (onSearchSort ? sortDataSource.filter(function (item) {
|
|
14136
|
-
var _item$
|
|
14137
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15056
|
+
var _item$title5;
|
|
15057
|
+
return (item === null || item === void 0 ? void 0 : (_item$title5 = item.title) === null || _item$title5 === void 0 ? void 0 : _item$title5.indexOf(onSearchSort)) > -1;
|
|
14138
15058
|
}) : sortDataSource).map(function (item) {
|
|
14139
15059
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
14140
15060
|
key: item.key || item.dataIndex
|
|
@@ -14164,7 +15084,29 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14164
15084
|
}]);
|
|
14165
15085
|
}(React$1.Component);
|
|
14166
15086
|
|
|
14167
|
-
var
|
|
15087
|
+
var css_248z$e = ".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";
|
|
15088
|
+
styleInject(css_248z$e);
|
|
15089
|
+
|
|
15090
|
+
//表格底部 金额总计
|
|
15091
|
+
var TableSumComponent = (function (_ref) {
|
|
15092
|
+
var summary = _ref.summary;
|
|
15093
|
+
var Text = Typography.Text;
|
|
15094
|
+
return /*#__PURE__*/React$1.createElement(Fragment, null, /*#__PURE__*/React$1.createElement("div", {
|
|
15095
|
+
className: "table_sum_wrapper"
|
|
15096
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
15097
|
+
className: 'table-bssula-summary'
|
|
15098
|
+
}, summary.map(function (item) {
|
|
15099
|
+
return /*#__PURE__*/React$1.createElement(Text, {
|
|
15100
|
+
type: 'danger'
|
|
15101
|
+
}, item.label, ": ", /*#__PURE__*/React$1.createElement("span", {
|
|
15102
|
+
className: 'table-bssula-summary-count'
|
|
15103
|
+
}, item.count || 0));
|
|
15104
|
+
}))), /*#__PURE__*/React$1.createElement("div", {
|
|
15105
|
+
className: "sum_right_line"
|
|
15106
|
+
}));
|
|
15107
|
+
});
|
|
15108
|
+
|
|
15109
|
+
var _excluded$a = ["onResize", "width"],
|
|
14168
15110
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14169
15111
|
var Text = Typography.Text;
|
|
14170
15112
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14268,7 +15210,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14268
15210
|
_this.ResizeableTitle = function (props) {
|
|
14269
15211
|
var onResize = props.onResize,
|
|
14270
15212
|
width = props.width,
|
|
14271
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15213
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14272
15214
|
var _useState = useState(width),
|
|
14273
15215
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14274
15216
|
innerWidth = _useState2[0],
|
|
@@ -14502,37 +15444,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14502
15444
|
cell: this.ResizeableTitle
|
|
14503
15445
|
}
|
|
14504
15446
|
}
|
|
14505
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(
|
|
14506
|
-
|
|
14507
|
-
|
|
14508
|
-
right: '20%',
|
|
14509
|
-
bottom: 0,
|
|
14510
|
-
whiteSpace: 'nowrap',
|
|
14511
|
-
overflowX: 'auto'
|
|
14512
|
-
}
|
|
14513
|
-
}, summary.map(function (item) {
|
|
14514
|
-
return /*#__PURE__*/React$1.createElement(Text, {
|
|
14515
|
-
type: 'danger'
|
|
14516
|
-
}, item.label, ": ", /*#__PURE__*/React$1.createElement("span", {
|
|
14517
|
-
className: 'table-bssula-summary-count'
|
|
14518
|
-
}, item.count || 0));
|
|
14519
|
-
})), /*#__PURE__*/React$1.createElement("div", {
|
|
14520
|
-
style: {
|
|
14521
|
-
width: '16px',
|
|
14522
|
-
height: '26px',
|
|
14523
|
-
opacity: 0.32,
|
|
14524
|
-
transform: 'scaleX(-1)',
|
|
14525
|
-
backgroundImage: 'linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%)',
|
|
14526
|
-
right: '20%',
|
|
14527
|
-
position: 'absolute',
|
|
14528
|
-
bottom: 0
|
|
14529
|
-
}
|
|
14530
|
-
}))));
|
|
15447
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
|
|
15448
|
+
summary: summary
|
|
15449
|
+
})));
|
|
14531
15450
|
}
|
|
14532
15451
|
}]);
|
|
14533
15452
|
}(React$1.Component);
|
|
14534
15453
|
|
|
14535
|
-
var _excluded$
|
|
15454
|
+
var _excluded$b = ["onResize", "width"],
|
|
14536
15455
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14537
15456
|
var Text$1 = Typography.Text;
|
|
14538
15457
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14642,7 +15561,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14642
15561
|
_this.ResizeableTitle = function (props) {
|
|
14643
15562
|
var onResize = props.onResize,
|
|
14644
15563
|
width = props.width,
|
|
14645
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15564
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14646
15565
|
if (!width) {
|
|
14647
15566
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
14648
15567
|
}
|
|
@@ -14771,32 +15690,9 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14771
15690
|
cell: this.ResizeableTitle
|
|
14772
15691
|
}
|
|
14773
15692
|
}
|
|
14774
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
right: '20%',
|
|
14778
|
-
bottom: 0,
|
|
14779
|
-
whiteSpace: 'nowrap',
|
|
14780
|
-
overflowX: 'auto'
|
|
14781
|
-
}
|
|
14782
|
-
}, summary.map(function (item) {
|
|
14783
|
-
return /*#__PURE__*/React$1.createElement(Text$1, {
|
|
14784
|
-
type: 'danger'
|
|
14785
|
-
}, item.label, ": ", /*#__PURE__*/React$1.createElement("span", {
|
|
14786
|
-
className: 'table-bssula-summary-count'
|
|
14787
|
-
}, item.count || 0));
|
|
14788
|
-
})), /*#__PURE__*/React$1.createElement("div", {
|
|
14789
|
-
style: {
|
|
14790
|
-
width: '16px',
|
|
14791
|
-
height: '26px',
|
|
14792
|
-
opacity: 0.32,
|
|
14793
|
-
transform: 'scaleX(-1)',
|
|
14794
|
-
backgroundImage: 'linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%)',
|
|
14795
|
-
right: '20%',
|
|
14796
|
-
position: 'absolute',
|
|
14797
|
-
bottom: 0
|
|
14798
|
-
}
|
|
14799
|
-
}))));
|
|
15693
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
|
|
15694
|
+
summary: summary
|
|
15695
|
+
})));
|
|
14800
15696
|
}
|
|
14801
15697
|
}]);
|
|
14802
15698
|
}(React$1.Component);
|
|
@@ -14928,8 +15824,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
14928
15824
|
return undefined;
|
|
14929
15825
|
};
|
|
14930
15826
|
|
|
14931
|
-
var css_248z$
|
|
14932
|
-
styleInject(css_248z$
|
|
15827
|
+
var css_248z$f = ".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";
|
|
15828
|
+
styleInject(css_248z$f);
|
|
14933
15829
|
|
|
14934
15830
|
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";
|
|
14935
15831
|
|
|
@@ -14943,15 +15839,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
14943
15839
|
|
|
14944
15840
|
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";
|
|
14945
15841
|
|
|
14946
|
-
var css_248z$
|
|
14947
|
-
styleInject(css_248z$
|
|
15842
|
+
var css_248z$g = "";
|
|
15843
|
+
styleInject(css_248z$g);
|
|
14948
15844
|
|
|
14949
|
-
var _excluded$
|
|
15845
|
+
var _excluded$c = ["message", "type"];
|
|
14950
15846
|
var CommonAlert = (function (props) {
|
|
14951
15847
|
var message = props.message,
|
|
14952
15848
|
_props$type = props.type,
|
|
14953
15849
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
14954
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15850
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
14955
15851
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
14956
15852
|
style: {
|
|
14957
15853
|
width: '100%',
|
|
@@ -14972,7 +15868,7 @@ var CommonAlert = (function (props) {
|
|
|
14972
15868
|
}, reset)));
|
|
14973
15869
|
});
|
|
14974
15870
|
|
|
14975
|
-
var _excluded$
|
|
15871
|
+
var _excluded$d = ["children"];
|
|
14976
15872
|
var iconMap = {
|
|
14977
15873
|
edit: /*#__PURE__*/React$1.createElement("img", {
|
|
14978
15874
|
src: editIcon
|
|
@@ -14994,7 +15890,7 @@ var index$3 = (function (props) {
|
|
|
14994
15890
|
_useState2 = _slicedToArray(_useState, 1),
|
|
14995
15891
|
id = _useState2[0];
|
|
14996
15892
|
var children = props.children,
|
|
14997
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15893
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
14998
15894
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
14999
15895
|
id: id,
|
|
15000
15896
|
className: 'detail_page_wrapper'
|
|
@@ -15217,10 +16113,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15217
16113
|
return true;
|
|
15218
16114
|
});
|
|
15219
16115
|
|
|
15220
|
-
var css_248z$
|
|
15221
|
-
styleInject(css_248z$
|
|
16116
|
+
var css_248z$h = ".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";
|
|
16117
|
+
styleInject(css_248z$h);
|
|
15222
16118
|
|
|
15223
|
-
var _excluded$
|
|
16119
|
+
var _excluded$e = ["children"];
|
|
15224
16120
|
var index$4 = (function (props) {
|
|
15225
16121
|
var _useLocation = useLocation(),
|
|
15226
16122
|
pathname = _useLocation.pathname;
|
|
@@ -15228,7 +16124,7 @@ var index$4 = (function (props) {
|
|
|
15228
16124
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15229
16125
|
id = _useState2[0];
|
|
15230
16126
|
var children = props.children,
|
|
15231
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16127
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15232
16128
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15233
16129
|
id: id,
|
|
15234
16130
|
className: 'home_page_wrapper'
|
|
@@ -15302,10 +16198,10 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15302
16198
|
return true;
|
|
15303
16199
|
});
|
|
15304
16200
|
|
|
15305
|
-
var css_248z$
|
|
15306
|
-
styleInject(css_248z$
|
|
16201
|
+
var css_248z$i = ".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";
|
|
16202
|
+
styleInject(css_248z$i);
|
|
15307
16203
|
|
|
15308
|
-
var _excluded$
|
|
16204
|
+
var _excluded$f = ["className", "style"];
|
|
15309
16205
|
var DragHandle$2 = SortableHandle(function () {
|
|
15310
16206
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
15311
16207
|
width: 25,
|
|
@@ -15743,7 +16639,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15743
16639
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15744
16640
|
var className = _ref2.className,
|
|
15745
16641
|
style = _ref2.style,
|
|
15746
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16642
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15747
16643
|
var sortDataSource = _this.state.sortDataSource;
|
|
15748
16644
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15749
16645
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16113,7 +17009,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16113
17009
|
}]);
|
|
16114
17010
|
}(React$1.Component);
|
|
16115
17011
|
|
|
16116
|
-
var _excluded$
|
|
17012
|
+
var _excluded$g = ["className", "style"];
|
|
16117
17013
|
var DragHandle$3 = SortableHandle(function () {
|
|
16118
17014
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
16119
17015
|
width: 25,
|
|
@@ -16366,7 +17262,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16366
17262
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16367
17263
|
var className = _ref2.className,
|
|
16368
17264
|
style = _ref2.style,
|
|
16369
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17265
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16370
17266
|
var sortDataSource = _this.state.sortDataSource;
|
|
16371
17267
|
var index = sortDataSource.findIndex(function (x) {
|
|
16372
17268
|
return x.name === restProps['data-row-key'];
|
|
@@ -16662,16 +17558,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16662
17558
|
}]);
|
|
16663
17559
|
}(React$1.Component);
|
|
16664
17560
|
|
|
16665
|
-
var css_248z$
|
|
16666
|
-
styleInject(css_248z$
|
|
17561
|
+
var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17562
|
+
styleInject(css_248z$j);
|
|
16667
17563
|
|
|
16668
|
-
var _excluded$
|
|
17564
|
+
var _excluded$h = ["onResize", "width"];
|
|
16669
17565
|
var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
|
|
16670
17566
|
var Text$2 = Typography.Text;
|
|
16671
17567
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16672
17568
|
var onResize = props.onResize,
|
|
16673
17569
|
width = props.width,
|
|
16674
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17570
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16675
17571
|
var _useState = useState(width),
|
|
16676
17572
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16677
17573
|
innerWidth = _useState2[0],
|
|
@@ -17389,8 +18285,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17389
18285
|
})));
|
|
17390
18286
|
});
|
|
17391
18287
|
|
|
17392
|
-
var css_248z$
|
|
17393
|
-
styleInject(css_248z$
|
|
18288
|
+
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.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";
|
|
18289
|
+
styleInject(css_248z$k);
|
|
17394
18290
|
|
|
17395
18291
|
var cache = {};
|
|
17396
18292
|
var cacheLimit = 10000;
|
|
@@ -17646,8 +18542,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17646
18542
|
})))));
|
|
17647
18543
|
};
|
|
17648
18544
|
|
|
17649
|
-
var css_248z$
|
|
17650
|
-
styleInject(css_248z$
|
|
18545
|
+
var css_248z$l = ".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";
|
|
18546
|
+
styleInject(css_248z$l);
|
|
17651
18547
|
|
|
17652
18548
|
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";
|
|
17653
18549
|
|
|
@@ -17855,8 +18751,8 @@ var i18n = {
|
|
|
17855
18751
|
}
|
|
17856
18752
|
};
|
|
17857
18753
|
|
|
17858
|
-
var css_248z$
|
|
17859
|
-
styleInject(css_248z$
|
|
18754
|
+
var css_248z$m = ".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";
|
|
18755
|
+
styleInject(css_248z$m);
|
|
17860
18756
|
|
|
17861
18757
|
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";
|
|
17862
18758
|
|
|
@@ -18386,8 +19282,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18386
19282
|
}))))));
|
|
18387
19283
|
};
|
|
18388
19284
|
|
|
18389
|
-
var css_248z$
|
|
18390
|
-
styleInject(css_248z$
|
|
19285
|
+
var css_248z$n = ".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";
|
|
19286
|
+
styleInject(css_248z$n);
|
|
18391
19287
|
|
|
18392
19288
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18393
19289
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18543,8 +19439,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18543
19439
|
|
|
18544
19440
|
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";
|
|
18545
19441
|
|
|
18546
|
-
var css_248z$
|
|
18547
|
-
styleInject(css_248z$
|
|
19442
|
+
var css_248z$o = ".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";
|
|
19443
|
+
styleInject(css_248z$o);
|
|
18548
19444
|
|
|
18549
19445
|
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";
|
|
18550
19446
|
|
|
@@ -19171,8 +20067,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19171
20067
|
}));
|
|
19172
20068
|
});
|
|
19173
20069
|
|
|
19174
|
-
var css_248z$
|
|
19175
|
-
styleInject(css_248z$
|
|
20070
|
+
var css_248z$p = ".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";
|
|
20071
|
+
styleInject(css_248z$p);
|
|
19176
20072
|
|
|
19177
20073
|
var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
19178
20074
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19308,8 +20204,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19308
20204
|
})));
|
|
19309
20205
|
});
|
|
19310
20206
|
|
|
19311
|
-
var css_248z$
|
|
19312
|
-
styleInject(css_248z$
|
|
20207
|
+
var css_248z$q = ".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";
|
|
20208
|
+
styleInject(css_248z$q);
|
|
19313
20209
|
|
|
19314
20210
|
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=";
|
|
19315
20211
|
|
|
@@ -19724,8 +20620,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19724
20620
|
})));
|
|
19725
20621
|
};
|
|
19726
20622
|
|
|
19727
|
-
var css_248z$
|
|
19728
|
-
styleInject(css_248z$
|
|
20623
|
+
var css_248z$r = ".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";
|
|
20624
|
+
styleInject(css_248z$r);
|
|
19729
20625
|
|
|
19730
20626
|
/*
|
|
19731
20627
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19748,7 +20644,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19748
20644
|
}));
|
|
19749
20645
|
};
|
|
19750
20646
|
|
|
19751
|
-
var _excluded$
|
|
20647
|
+
var _excluded$i = ["route"];
|
|
19752
20648
|
var TabPane = Tabs.TabPane;
|
|
19753
20649
|
var getId = function getId(str) {
|
|
19754
20650
|
// 找到最后一个 / 的位置
|
|
@@ -20689,7 +21585,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20689
21585
|
}); // 添加数据大屏
|
|
20690
21586
|
var _this$props3 = this.props,
|
|
20691
21587
|
route = _this$props3.route,
|
|
20692
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21588
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20693
21589
|
var exist = route.routes.find(function (route) {
|
|
20694
21590
|
return route.path === '/homePage/data-show';
|
|
20695
21591
|
});
|
|
@@ -21249,8 +22145,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21249
22145
|
};
|
|
21250
22146
|
};
|
|
21251
22147
|
|
|
21252
|
-
var css_248z$
|
|
21253
|
-
styleInject(css_248z$
|
|
22148
|
+
var css_248z$s = ".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";
|
|
22149
|
+
styleInject(css_248z$s);
|
|
21254
22150
|
|
|
21255
22151
|
var useSticky = function useSticky(sticky) {
|
|
21256
22152
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21662,10 +22558,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
21662
22558
|
}))))));
|
|
21663
22559
|
});
|
|
21664
22560
|
|
|
21665
|
-
var _excluded$
|
|
22561
|
+
var _excluded$j = ["children"];
|
|
21666
22562
|
var Drawer = (function (props) {
|
|
21667
22563
|
var children = props.children,
|
|
21668
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22564
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21669
22565
|
return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
|
|
21670
22566
|
mask: true,
|
|
21671
22567
|
closable: false,
|
|
@@ -27485,8 +28381,8 @@ var nameRender = (function (data) {
|
|
|
27485
28381
|
}, " ");
|
|
27486
28382
|
});
|
|
27487
28383
|
|
|
27488
|
-
var css_248z$
|
|
27489
|
-
styleInject(css_248z$
|
|
28384
|
+
var css_248z$t = ".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";
|
|
28385
|
+
styleInject(css_248z$t);
|
|
27490
28386
|
|
|
27491
28387
|
function parseData(data) {
|
|
27492
28388
|
var res;
|
|
@@ -27697,8 +28593,8 @@ function registerSuggestions(monaco) {
|
|
|
27697
28593
|
});
|
|
27698
28594
|
}
|
|
27699
28595
|
|
|
27700
|
-
var css_248z$
|
|
27701
|
-
styleInject(css_248z$
|
|
28596
|
+
var css_248z$u = ":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";
|
|
28597
|
+
styleInject(css_248z$u);
|
|
27702
28598
|
|
|
27703
28599
|
var Title = Typography.Title;
|
|
27704
28600
|
var STRTEMP = 'const config = ';
|
|
@@ -27892,7 +28788,7 @@ var Editor = (function (props) {
|
|
|
27892
28788
|
}, [shallowHeight]);
|
|
27893
28789
|
var hasConfigTree = type !== 'editor';
|
|
27894
28790
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
27895
|
-
className: isFull ? css_248z$
|
|
28791
|
+
className: isFull ? css_248z$u.editorWrapper : ''
|
|
27896
28792
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
27897
28793
|
style: {
|
|
27898
28794
|
overflow: 'hidden'
|
|
@@ -27960,7 +28856,7 @@ var Editor = (function (props) {
|
|
|
27960
28856
|
})), hasConfigTree && /*#__PURE__*/React$1.createElement(Col, {
|
|
27961
28857
|
span: 8
|
|
27962
28858
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
27963
|
-
className: css_248z$
|
|
28859
|
+
className: css_248z$u.title
|
|
27964
28860
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React$1.createElement(ConfigTree, {
|
|
27965
28861
|
style: {
|
|
27966
28862
|
height: 'calc(100vh - 300px)',
|
|
@@ -29841,8 +30737,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29841
30737
|
})), fieldsModify.visible && /*#__PURE__*/React$1.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29842
30738
|
});
|
|
29843
30739
|
|
|
29844
|
-
var css_248z$
|
|
29845
|
-
styleInject(css_248z$
|
|
30740
|
+
var css_248z$v = ".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";
|
|
30741
|
+
styleInject(css_248z$v);
|
|
29846
30742
|
|
|
29847
30743
|
function iterFileds(fields) {
|
|
29848
30744
|
var filedsValue = [];
|
|
@@ -30444,7 +31340,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30444
31340
|
});
|
|
30445
31341
|
};
|
|
30446
31342
|
|
|
30447
|
-
var _excluded$
|
|
31343
|
+
var _excluded$k = ["sorter"];
|
|
30448
31344
|
/**
|
|
30449
31345
|
* 删掉查询条件的qp- 和 -eq等
|
|
30450
31346
|
* @param {object} data
|
|
@@ -30527,7 +31423,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30527
31423
|
var _requestConfig$method;
|
|
30528
31424
|
var params = _ref.params;
|
|
30529
31425
|
var sorter = params.sorter,
|
|
30530
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31426
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30531
31427
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), _.omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
|
|
30532
31428
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30533
31429
|
});
|
|
@@ -31382,8 +32278,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31382
32278
|
});
|
|
31383
32279
|
};
|
|
31384
32280
|
|
|
31385
|
-
var css_248z$
|
|
31386
|
-
styleInject(css_248z$
|
|
32281
|
+
var css_248z$w = ".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";
|
|
32282
|
+
styleInject(css_248z$w);
|
|
31387
32283
|
|
|
31388
32284
|
// 查询规则对象属性thresholdList
|
|
31389
32285
|
function getRegularThresholdRange(_x) {
|
|
@@ -31818,7 +32714,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31818
32714
|
}
|
|
31819
32715
|
callback(values, valueNames);
|
|
31820
32716
|
},
|
|
31821
|
-
|
|
32717
|
+
highestPopContainer: function highestPopContainer() {
|
|
31822
32718
|
return document.body;
|
|
31823
32719
|
}
|
|
31824
32720
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -31851,27 +32747,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31851
32747
|
}
|
|
31852
32748
|
callback(values, valueNames);
|
|
31853
32749
|
},
|
|
31854
|
-
|
|
32750
|
+
highestPopContainer: function highestPopContainer() {
|
|
31855
32751
|
return document.body;
|
|
31856
32752
|
}
|
|
31857
32753
|
}));
|
|
31858
32754
|
} else {
|
|
31859
32755
|
var _values;
|
|
31860
|
-
var currentValue = dataInputBusinessType === 12 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
|
|
32756
|
+
var currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
|
|
31861
32757
|
return {
|
|
31862
32758
|
key: s,
|
|
31863
|
-
label: valueNames[vIndex]
|
|
32759
|
+
label: valueNames[vIndex],
|
|
32760
|
+
value: s
|
|
31864
32761
|
};
|
|
31865
32762
|
})) || [] : values[0] && {
|
|
31866
32763
|
key: values[0],
|
|
31867
|
-
label: valueNames[0]
|
|
32764
|
+
label: valueNames[0],
|
|
32765
|
+
value: values[0]
|
|
31868
32766
|
} || {};
|
|
31869
32767
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
31870
32768
|
selectBusinessType: "physicalWarehouse",
|
|
31871
32769
|
selectProps: _objectSpread2({
|
|
31872
32770
|
style: styleCommon,
|
|
31873
32771
|
placeholder: '请选择物理仓'
|
|
31874
|
-
}, dataInputBusinessType === 12 ? {
|
|
32772
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
31875
32773
|
mode: 'multiple',
|
|
31876
32774
|
maxTagCount: 1
|
|
31877
32775
|
} : {}),
|
|
@@ -31883,7 +32781,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31883
32781
|
filterInit: 'qp-physicalWarehouseCode-in'
|
|
31884
32782
|
},
|
|
31885
32783
|
onChange: function onChange(value) {
|
|
31886
|
-
if (dataInputBusinessType === 12) {
|
|
32784
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
31887
32785
|
values = value.map(function (i) {
|
|
31888
32786
|
return i.key;
|
|
31889
32787
|
}) || [];
|
|
@@ -31896,7 +32794,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31896
32794
|
}
|
|
31897
32795
|
callback(values, valueNames);
|
|
31898
32796
|
},
|
|
31899
|
-
|
|
32797
|
+
highestPopContainer: function highestPopContainer() {
|
|
31900
32798
|
return document.body;
|
|
31901
32799
|
}
|
|
31902
32800
|
});
|
|
@@ -31935,7 +32833,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31935
32833
|
}
|
|
31936
32834
|
callback(values, valueNames);
|
|
31937
32835
|
},
|
|
31938
|
-
|
|
32836
|
+
highestPopContainer: function highestPopContainer() {
|
|
31939
32837
|
return document.body;
|
|
31940
32838
|
}
|
|
31941
32839
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -31968,27 +32866,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31968
32866
|
}
|
|
31969
32867
|
callback(values, valueNames);
|
|
31970
32868
|
},
|
|
31971
|
-
|
|
32869
|
+
highestPopContainer: function highestPopContainer() {
|
|
31972
32870
|
return document.body;
|
|
31973
32871
|
}
|
|
31974
32872
|
}));
|
|
31975
32873
|
} else {
|
|
31976
32874
|
var _values2;
|
|
31977
|
-
var _currentValue = dataInputBusinessType === 12 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
|
|
32875
|
+
var _currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
|
|
31978
32876
|
return {
|
|
31979
32877
|
key: s,
|
|
31980
|
-
label: valueNames[vIndex]
|
|
32878
|
+
label: valueNames[vIndex],
|
|
32879
|
+
value: s
|
|
31981
32880
|
};
|
|
31982
32881
|
})) || [] : values[0] && {
|
|
31983
32882
|
key: values[0],
|
|
31984
|
-
label: valueNames[0]
|
|
32883
|
+
label: valueNames[0],
|
|
32884
|
+
value: values[0]
|
|
31985
32885
|
} || {};
|
|
31986
32886
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
31987
32887
|
selectBusinessType: "realWarehouse",
|
|
31988
32888
|
selectProps: _objectSpread2({
|
|
31989
32889
|
style: styleCommon,
|
|
31990
32890
|
placeholder: '请选择逻辑仓'
|
|
31991
|
-
}, dataInputBusinessType === 12 ? {
|
|
32891
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
31992
32892
|
mode: 'multiple',
|
|
31993
32893
|
maxTagCount: 1
|
|
31994
32894
|
} : {}),
|
|
@@ -32000,7 +32900,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32000
32900
|
filterInit: 'qp-realWarehouseCode-in'
|
|
32001
32901
|
},
|
|
32002
32902
|
onChange: function onChange(value) {
|
|
32003
|
-
if (dataInputBusinessType === 12) {
|
|
32903
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32004
32904
|
values = value.map(function (i) {
|
|
32005
32905
|
return i.key;
|
|
32006
32906
|
}) || [];
|
|
@@ -32013,7 +32913,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32013
32913
|
}
|
|
32014
32914
|
callback(values, valueNames);
|
|
32015
32915
|
},
|
|
32016
|
-
|
|
32916
|
+
highestPopContainer: function highestPopContainer() {
|
|
32017
32917
|
return document.body;
|
|
32018
32918
|
}
|
|
32019
32919
|
});
|
|
@@ -32052,7 +32952,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32052
32952
|
}
|
|
32053
32953
|
callback(values, valueNames);
|
|
32054
32954
|
},
|
|
32055
|
-
|
|
32955
|
+
highestPopContainer: function highestPopContainer() {
|
|
32056
32956
|
return document.body;
|
|
32057
32957
|
}
|
|
32058
32958
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -32085,27 +32985,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32085
32985
|
}
|
|
32086
32986
|
callback(values, valueNames);
|
|
32087
32987
|
},
|
|
32088
|
-
|
|
32988
|
+
highestPopContainer: function highestPopContainer() {
|
|
32089
32989
|
return document.body;
|
|
32090
32990
|
}
|
|
32091
32991
|
}));
|
|
32092
32992
|
} else {
|
|
32093
32993
|
var _values3;
|
|
32094
|
-
var _currentValue2 = dataInputBusinessType === 12 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
|
|
32994
|
+
var _currentValue2 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
|
|
32095
32995
|
return {
|
|
32096
32996
|
key: s,
|
|
32097
|
-
label: valueNames[vIndex]
|
|
32997
|
+
label: valueNames[vIndex],
|
|
32998
|
+
value: s
|
|
32098
32999
|
};
|
|
32099
33000
|
})) || [] : values[0] && {
|
|
32100
33001
|
key: values[0],
|
|
32101
|
-
label: valueNames[0]
|
|
33002
|
+
label: valueNames[0],
|
|
33003
|
+
value: values[0]
|
|
32102
33004
|
} || {};
|
|
32103
33005
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
32104
33006
|
selectBusinessType: "virtualWarehouse",
|
|
32105
33007
|
selectProps: _objectSpread2({
|
|
32106
33008
|
style: styleCommon,
|
|
32107
33009
|
placeholder: '请选择虚拟仓'
|
|
32108
|
-
}, dataInputBusinessType === 12 ? {
|
|
33010
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32109
33011
|
mode: 'multiple',
|
|
32110
33012
|
maxTagCount: 1
|
|
32111
33013
|
} : {}),
|
|
@@ -32117,7 +33019,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32117
33019
|
filterInit: 'qp-virtualWarehouseCode-in'
|
|
32118
33020
|
},
|
|
32119
33021
|
onChange: function onChange(value) {
|
|
32120
|
-
if (dataInputBusinessType === 12) {
|
|
33022
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32121
33023
|
values = value.map(function (i) {
|
|
32122
33024
|
return i.key;
|
|
32123
33025
|
}) || [];
|
|
@@ -32130,7 +33032,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32130
33032
|
}
|
|
32131
33033
|
callback(values, valueNames);
|
|
32132
33034
|
},
|
|
32133
|
-
|
|
33035
|
+
highestPopContainer: function highestPopContainer() {
|
|
32134
33036
|
return document.body;
|
|
32135
33037
|
}
|
|
32136
33038
|
});
|
|
@@ -32202,27 +33104,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32202
33104
|
}
|
|
32203
33105
|
callback(values, valueNames);
|
|
32204
33106
|
},
|
|
32205
|
-
|
|
33107
|
+
highestPopContainer: function highestPopContainer() {
|
|
32206
33108
|
return document.body;
|
|
32207
33109
|
}
|
|
32208
33110
|
}));
|
|
32209
33111
|
} else {
|
|
32210
33112
|
var _values4;
|
|
32211
|
-
var _currentValue3 = dataInputBusinessType === 12 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
|
|
33113
|
+
var _currentValue3 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
|
|
32212
33114
|
return {
|
|
32213
33115
|
key: s,
|
|
32214
|
-
label: valueNames[vIndex]
|
|
33116
|
+
label: valueNames[vIndex],
|
|
33117
|
+
value: s
|
|
32215
33118
|
};
|
|
32216
33119
|
})) || [] : values[0] && {
|
|
32217
33120
|
key: values[0],
|
|
32218
|
-
label: valueNames[0]
|
|
33121
|
+
label: valueNames[0],
|
|
33122
|
+
value: values[0]
|
|
32219
33123
|
} || {};
|
|
32220
33124
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
32221
33125
|
selectBusinessType: "channelWarehouse",
|
|
32222
33126
|
selectProps: _objectSpread2({
|
|
32223
33127
|
style: styleCommon,
|
|
32224
33128
|
placeholder: '请选择渠道仓'
|
|
32225
|
-
}, dataInputBusinessType === 12 ? {
|
|
33129
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32226
33130
|
mode: 'multiple',
|
|
32227
33131
|
maxTagCount: 1
|
|
32228
33132
|
} : {}),
|
|
@@ -32234,7 +33138,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32234
33138
|
filterInit: 'qp-channelWarehouseCode-in'
|
|
32235
33139
|
},
|
|
32236
33140
|
onChange: function onChange(value) {
|
|
32237
|
-
if (dataInputBusinessType === 12) {
|
|
33141
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32238
33142
|
values = value.map(function (i) {
|
|
32239
33143
|
return i.key;
|
|
32240
33144
|
}) || [];
|
|
@@ -32247,7 +33151,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32247
33151
|
}
|
|
32248
33152
|
callback(values, valueNames);
|
|
32249
33153
|
},
|
|
32250
|
-
|
|
33154
|
+
highestPopContainer: function highestPopContainer() {
|
|
32251
33155
|
return document.body;
|
|
32252
33156
|
}
|
|
32253
33157
|
});
|
|
@@ -32285,7 +33189,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32285
33189
|
}
|
|
32286
33190
|
callback(values, valueNames);
|
|
32287
33191
|
},
|
|
32288
|
-
|
|
33192
|
+
highestPopContainer: function highestPopContainer() {
|
|
32289
33193
|
return document.body;
|
|
32290
33194
|
}
|
|
32291
33195
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -32317,27 +33221,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32317
33221
|
}
|
|
32318
33222
|
callback(values, valueNames);
|
|
32319
33223
|
},
|
|
32320
|
-
|
|
33224
|
+
highestPopContainer: function highestPopContainer() {
|
|
32321
33225
|
return document.body;
|
|
32322
33226
|
}
|
|
32323
33227
|
}));
|
|
32324
33228
|
} else {
|
|
32325
33229
|
var _values5;
|
|
32326
|
-
var _currentValue4 = dataInputBusinessType === 12 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
|
|
33230
|
+
var _currentValue4 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
|
|
32327
33231
|
return {
|
|
32328
33232
|
key: s,
|
|
32329
|
-
label: valueNames[vIndex]
|
|
33233
|
+
label: valueNames[vIndex],
|
|
33234
|
+
value: s
|
|
32330
33235
|
};
|
|
32331
33236
|
})) || [] : values[0] && {
|
|
32332
33237
|
key: values[0],
|
|
32333
|
-
label: valueNames[0]
|
|
33238
|
+
label: valueNames[0],
|
|
33239
|
+
value: values[0]
|
|
32334
33240
|
} || {};
|
|
32335
33241
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
32336
33242
|
selectBusinessType: "spuCommodity",
|
|
32337
33243
|
selectProps: _objectSpread2({
|
|
32338
33244
|
style: styleCommon,
|
|
32339
33245
|
placeholder: '请选择SPU'
|
|
32340
|
-
}, dataInputBusinessType === 12 ? {
|
|
33246
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32341
33247
|
mode: 'multiple',
|
|
32342
33248
|
maxTagCount: 1
|
|
32343
33249
|
} : {}),
|
|
@@ -32348,7 +33254,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32348
33254
|
filterInit: 'qp-itemCode-in'
|
|
32349
33255
|
},
|
|
32350
33256
|
onChange: function onChange(value) {
|
|
32351
|
-
if (dataInputBusinessType === 12) {
|
|
33257
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32352
33258
|
values = value.map(function (i) {
|
|
32353
33259
|
return i.key;
|
|
32354
33260
|
}) || [];
|
|
@@ -32361,7 +33267,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32361
33267
|
}
|
|
32362
33268
|
callback(values, valueNames);
|
|
32363
33269
|
},
|
|
32364
|
-
|
|
33270
|
+
highestPopContainer: function highestPopContainer() {
|
|
32365
33271
|
return document.body;
|
|
32366
33272
|
}
|
|
32367
33273
|
});
|
|
@@ -32437,21 +33343,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32437
33343
|
}));
|
|
32438
33344
|
} else {
|
|
32439
33345
|
var _values6;
|
|
32440
|
-
var _currentValue5 = dataInputBusinessType === 12 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
|
|
33346
|
+
var _currentValue5 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
|
|
32441
33347
|
return {
|
|
32442
33348
|
key: s,
|
|
32443
|
-
label: valueNames[vIndex]
|
|
33349
|
+
label: valueNames[vIndex],
|
|
33350
|
+
value: s
|
|
32444
33351
|
};
|
|
32445
33352
|
})) || [] : values[0] && {
|
|
32446
33353
|
key: values[0],
|
|
32447
|
-
label: valueNames[0]
|
|
33354
|
+
label: valueNames[0],
|
|
33355
|
+
value: values[0]
|
|
32448
33356
|
} || {};
|
|
32449
33357
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
32450
33358
|
selectBusinessType: "skuCommodity",
|
|
32451
33359
|
selectProps: _objectSpread2({
|
|
32452
33360
|
style: styleCommon,
|
|
32453
33361
|
placeholder: '请选择商品'
|
|
32454
|
-
}, dataInputBusinessType === 12 ? {
|
|
33362
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32455
33363
|
mode: 'multiple',
|
|
32456
33364
|
maxTagCount: 1
|
|
32457
33365
|
} : {}),
|
|
@@ -32462,7 +33370,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32462
33370
|
filterInit: 'qp-skuCode-in'
|
|
32463
33371
|
},
|
|
32464
33372
|
onChange: function onChange(value) {
|
|
32465
|
-
if (dataInputBusinessType === 12) {
|
|
33373
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32466
33374
|
values = value.map(function (i) {
|
|
32467
33375
|
return i.key;
|
|
32468
33376
|
}) || [];
|
|
@@ -32475,7 +33383,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32475
33383
|
}
|
|
32476
33384
|
callback(values, valueNames);
|
|
32477
33385
|
},
|
|
32478
|
-
|
|
33386
|
+
highestPopContainer: function highestPopContainer() {
|
|
32479
33387
|
return document.body;
|
|
32480
33388
|
}
|
|
32481
33389
|
});
|
|
@@ -32916,7 +33824,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32916
33824
|
}
|
|
32917
33825
|
callback(values, valueNames);
|
|
32918
33826
|
},
|
|
32919
|
-
|
|
33827
|
+
highestPopContainer: function highestPopContainer() {
|
|
32920
33828
|
return document.body;
|
|
32921
33829
|
}
|
|
32922
33830
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -32948,27 +33856,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32948
33856
|
}
|
|
32949
33857
|
callback(values, valueNames);
|
|
32950
33858
|
},
|
|
32951
|
-
|
|
33859
|
+
highestPopContainer: function highestPopContainer() {
|
|
32952
33860
|
return document.body;
|
|
32953
33861
|
}
|
|
32954
33862
|
}));
|
|
32955
33863
|
} else {
|
|
32956
33864
|
var _values7;
|
|
32957
|
-
var _currentValue6 = dataInputBusinessType === 12 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
|
|
33865
|
+
var _currentValue6 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
|
|
32958
33866
|
return {
|
|
32959
33867
|
key: s,
|
|
32960
|
-
label: valueNames[vIndex]
|
|
33868
|
+
label: valueNames[vIndex],
|
|
33869
|
+
value: s
|
|
32961
33870
|
};
|
|
32962
33871
|
})) || [] : values[0] && {
|
|
32963
33872
|
key: values[0],
|
|
32964
|
-
label: valueNames[0]
|
|
33873
|
+
label: valueNames[0],
|
|
33874
|
+
value: values[0]
|
|
32965
33875
|
} || {};
|
|
32966
33876
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
32967
33877
|
selectBusinessType: "supplier2",
|
|
32968
33878
|
selectProps: _objectSpread2({
|
|
32969
33879
|
style: styleCommon,
|
|
32970
33880
|
placeholder: '请选择供应商'
|
|
32971
|
-
}, dataInputBusinessType === 12 ? {
|
|
33881
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32972
33882
|
mode: 'multiple',
|
|
32973
33883
|
maxTagCount: 1
|
|
32974
33884
|
} : {}),
|
|
@@ -32979,7 +33889,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32979
33889
|
filterInit: 'qp-code-in'
|
|
32980
33890
|
},
|
|
32981
33891
|
onChange: function onChange(value) {
|
|
32982
|
-
if (dataInputBusinessType === 12) {
|
|
33892
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32983
33893
|
values = value.map(function (i) {
|
|
32984
33894
|
return i.key;
|
|
32985
33895
|
}) || [];
|
|
@@ -32992,7 +33902,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32992
33902
|
}
|
|
32993
33903
|
callback(values, valueNames);
|
|
32994
33904
|
},
|
|
32995
|
-
|
|
33905
|
+
highestPopContainer: function highestPopContainer() {
|
|
32996
33906
|
return document.body;
|
|
32997
33907
|
}
|
|
32998
33908
|
});
|
|
@@ -33068,21 +33978,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33068
33978
|
}));
|
|
33069
33979
|
} else {
|
|
33070
33980
|
var _values8;
|
|
33071
|
-
var _currentValue7 = dataInputBusinessType === 12 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
|
|
33981
|
+
var _currentValue7 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
|
|
33072
33982
|
return {
|
|
33073
33983
|
key: s,
|
|
33074
|
-
label: valueNames[vIndex]
|
|
33984
|
+
label: valueNames[vIndex],
|
|
33985
|
+
value: s
|
|
33075
33986
|
};
|
|
33076
33987
|
})) || [] : values[0] && {
|
|
33077
33988
|
key: values[0],
|
|
33078
|
-
label: valueNames[0]
|
|
33989
|
+
label: valueNames[0],
|
|
33990
|
+
value: values[0]
|
|
33079
33991
|
} || {};
|
|
33080
33992
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
33081
33993
|
selectBusinessType: "customer2",
|
|
33082
33994
|
selectProps: _objectSpread2({
|
|
33083
33995
|
style: styleCommon,
|
|
33084
33996
|
placeholder: '请选择客户'
|
|
33085
|
-
}, dataInputBusinessType === 12 ? {
|
|
33997
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33086
33998
|
mode: 'multiple',
|
|
33087
33999
|
maxTagCount: 1
|
|
33088
34000
|
} : {}),
|
|
@@ -33093,7 +34005,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33093
34005
|
filterInit: 'qp-code-in'
|
|
33094
34006
|
},
|
|
33095
34007
|
onChange: function onChange(value) {
|
|
33096
|
-
if (dataInputBusinessType === 12) {
|
|
34008
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33097
34009
|
values = value.map(function (i) {
|
|
33098
34010
|
return i.key;
|
|
33099
34011
|
}) || [];
|
|
@@ -33106,7 +34018,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33106
34018
|
}
|
|
33107
34019
|
callback(values, valueNames);
|
|
33108
34020
|
},
|
|
33109
|
-
|
|
34021
|
+
highestPopContainer: function highestPopContainer() {
|
|
33110
34022
|
return document.body;
|
|
33111
34023
|
}
|
|
33112
34024
|
});
|
|
@@ -33182,21 +34094,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33182
34094
|
}));
|
|
33183
34095
|
} else {
|
|
33184
34096
|
var _values9;
|
|
33185
|
-
var _currentValue8 = dataInputBusinessType === 12 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
|
|
34097
|
+
var _currentValue8 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
|
|
33186
34098
|
return {
|
|
33187
34099
|
key: s,
|
|
33188
|
-
label: valueNames[vIndex]
|
|
34100
|
+
label: valueNames[vIndex],
|
|
34101
|
+
value: s
|
|
33189
34102
|
};
|
|
33190
34103
|
})) || [] : values[0] && {
|
|
33191
34104
|
key: values[0],
|
|
33192
|
-
label: valueNames[0]
|
|
34105
|
+
label: valueNames[0],
|
|
34106
|
+
value: values[0]
|
|
33193
34107
|
} || {};
|
|
33194
34108
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
33195
34109
|
selectBusinessType: "shopFile2",
|
|
33196
34110
|
selectProps: _objectSpread2({
|
|
33197
34111
|
style: styleCommon,
|
|
33198
34112
|
placeholder: '请选择店铺'
|
|
33199
|
-
}, dataInputBusinessType === 12 ? {
|
|
34113
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33200
34114
|
mode: 'multiple',
|
|
33201
34115
|
maxTagCount: 1
|
|
33202
34116
|
} : {}),
|
|
@@ -33207,7 +34121,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33207
34121
|
filterInit: 'qp-code-in'
|
|
33208
34122
|
},
|
|
33209
34123
|
onChange: function onChange(value) {
|
|
33210
|
-
if (dataInputBusinessType === 12) {
|
|
34124
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33211
34125
|
values = value.map(function (i) {
|
|
33212
34126
|
return i.key;
|
|
33213
34127
|
}) || [];
|
|
@@ -33220,7 +34134,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33220
34134
|
}
|
|
33221
34135
|
callback(values, valueNames);
|
|
33222
34136
|
},
|
|
33223
|
-
|
|
34137
|
+
highestPopContainer: function highestPopContainer() {
|
|
33224
34138
|
return document.body;
|
|
33225
34139
|
}
|
|
33226
34140
|
});
|
|
@@ -33296,21 +34210,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33296
34210
|
}));
|
|
33297
34211
|
} else {
|
|
33298
34212
|
var _values10;
|
|
33299
|
-
var _currentValue9 = dataInputBusinessType === 12 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
34213
|
+
var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
33300
34214
|
return {
|
|
33301
34215
|
key: s,
|
|
33302
|
-
label: valueNames[vIndex]
|
|
34216
|
+
label: valueNames[vIndex],
|
|
34217
|
+
value: s
|
|
33303
34218
|
};
|
|
33304
34219
|
})) || [] : values[0] && {
|
|
33305
34220
|
key: values[0],
|
|
33306
|
-
label: valueNames[0]
|
|
34221
|
+
label: valueNames[0],
|
|
34222
|
+
value: values[0]
|
|
33307
34223
|
} || {};
|
|
33308
34224
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
33309
34225
|
selectBusinessType: "employee2",
|
|
33310
34226
|
selectProps: _objectSpread2({
|
|
33311
34227
|
style: styleCommon,
|
|
33312
34228
|
placeholder: '请选择员工'
|
|
33313
|
-
}, dataInputBusinessType === 12 ? {
|
|
34229
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33314
34230
|
mode: 'multiple',
|
|
33315
34231
|
maxTagCount: 1
|
|
33316
34232
|
} : {}),
|
|
@@ -33321,7 +34237,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33321
34237
|
filterInit: 'qp-id-in'
|
|
33322
34238
|
},
|
|
33323
34239
|
onChange: function onChange(value) {
|
|
33324
|
-
if (dataInputBusinessType === 12) {
|
|
34240
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33325
34241
|
values = value.map(function (i) {
|
|
33326
34242
|
return i.key;
|
|
33327
34243
|
}) || [];
|
|
@@ -33334,7 +34250,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33334
34250
|
}
|
|
33335
34251
|
callback(values, valueNames);
|
|
33336
34252
|
},
|
|
33337
|
-
|
|
34253
|
+
highestPopContainer: function highestPopContainer() {
|
|
33338
34254
|
return document.body;
|
|
33339
34255
|
}
|
|
33340
34256
|
});
|
|
@@ -33573,21 +34489,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33573
34489
|
}));
|
|
33574
34490
|
} else {
|
|
33575
34491
|
var _values11;
|
|
33576
|
-
var _currentValue10 = dataInputBusinessType === 12 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
34492
|
+
var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
33577
34493
|
return {
|
|
33578
34494
|
key: s,
|
|
33579
|
-
label: valueNames[vIndex]
|
|
34495
|
+
label: valueNames[vIndex],
|
|
34496
|
+
value: s
|
|
33580
34497
|
};
|
|
33581
34498
|
})) || [] : values[0] && {
|
|
33582
34499
|
key: values[0],
|
|
33583
|
-
label: valueNames[0]
|
|
34500
|
+
label: valueNames[0],
|
|
34501
|
+
value: values[0]
|
|
33584
34502
|
} || {};
|
|
33585
34503
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
33586
34504
|
selectBusinessType: "deliveryMode",
|
|
33587
34505
|
selectProps: _objectSpread2({
|
|
33588
34506
|
style: styleCommon,
|
|
33589
34507
|
placeholder: '请选择配送方式'
|
|
33590
|
-
}, dataInputBusinessType === 12 ? {
|
|
34508
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33591
34509
|
mode: 'multiple',
|
|
33592
34510
|
maxTagCount: 1
|
|
33593
34511
|
} : {}),
|
|
@@ -33598,7 +34516,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33598
34516
|
filterInit: 'qp-code-in'
|
|
33599
34517
|
},
|
|
33600
34518
|
onChange: function onChange(value) {
|
|
33601
|
-
if (dataInputBusinessType === 12) {
|
|
34519
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33602
34520
|
values = value.map(function (i) {
|
|
33603
34521
|
return i.key;
|
|
33604
34522
|
}) || [];
|
|
@@ -33611,7 +34529,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33611
34529
|
}
|
|
33612
34530
|
callback(values, valueNames);
|
|
33613
34531
|
},
|
|
33614
|
-
|
|
34532
|
+
highestPopContainer: function highestPopContainer() {
|
|
33615
34533
|
return document.body;
|
|
33616
34534
|
}
|
|
33617
34535
|
});
|
|
@@ -33649,7 +34567,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33649
34567
|
}
|
|
33650
34568
|
callback(values, valueNames);
|
|
33651
34569
|
},
|
|
33652
|
-
|
|
34570
|
+
highestPopContainer: function highestPopContainer() {
|
|
33653
34571
|
return document.body;
|
|
33654
34572
|
}
|
|
33655
34573
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -33681,27 +34599,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33681
34599
|
}
|
|
33682
34600
|
callback(values, valueNames);
|
|
33683
34601
|
},
|
|
33684
|
-
|
|
34602
|
+
highestPopContainer: function highestPopContainer() {
|
|
33685
34603
|
return document.body;
|
|
33686
34604
|
}
|
|
33687
34605
|
}));
|
|
33688
34606
|
} else {
|
|
33689
34607
|
var _values12;
|
|
33690
|
-
var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
34608
|
+
var _currentValue11 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
33691
34609
|
return {
|
|
33692
34610
|
key: s,
|
|
33693
|
-
label: valueNames[vIndex]
|
|
34611
|
+
label: valueNames[vIndex],
|
|
34612
|
+
value: s
|
|
33694
34613
|
};
|
|
33695
34614
|
})) || [] : values[0] && {
|
|
33696
34615
|
key: values[0],
|
|
33697
|
-
label: valueNames[0]
|
|
34616
|
+
label: valueNames[0],
|
|
34617
|
+
value: values[0]
|
|
33698
34618
|
} || {};
|
|
33699
34619
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
33700
34620
|
selectBusinessType: "role",
|
|
33701
34621
|
selectProps: _objectSpread2({
|
|
33702
34622
|
style: styleCommon,
|
|
33703
34623
|
placeholder: '请选择角色'
|
|
33704
|
-
}, dataInputBusinessType === 12 ? {
|
|
34624
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33705
34625
|
mode: 'multiple',
|
|
33706
34626
|
maxTagCount: 1
|
|
33707
34627
|
} : {}),
|
|
@@ -33712,7 +34632,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33712
34632
|
filterInit: 'qp-code-in'
|
|
33713
34633
|
},
|
|
33714
34634
|
onChange: function onChange(value) {
|
|
33715
|
-
if (dataInputBusinessType === 12) {
|
|
34635
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33716
34636
|
values = value.map(function (i) {
|
|
33717
34637
|
return i.key;
|
|
33718
34638
|
}) || [];
|
|
@@ -33725,7 +34645,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33725
34645
|
}
|
|
33726
34646
|
callback(values, valueNames);
|
|
33727
34647
|
},
|
|
33728
|
-
|
|
34648
|
+
highestPopContainer: function highestPopContainer() {
|
|
33729
34649
|
return document.body;
|
|
33730
34650
|
}
|
|
33731
34651
|
});
|
|
@@ -33763,7 +34683,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33763
34683
|
}
|
|
33764
34684
|
callback(values, valueNames);
|
|
33765
34685
|
},
|
|
33766
|
-
|
|
34686
|
+
highestPopContainer: function highestPopContainer() {
|
|
33767
34687
|
return document.body;
|
|
33768
34688
|
}
|
|
33769
34689
|
}), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
@@ -33795,27 +34715,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33795
34715
|
}
|
|
33796
34716
|
callback(values, valueNames);
|
|
33797
34717
|
},
|
|
33798
|
-
|
|
34718
|
+
highestPopContainer: function highestPopContainer() {
|
|
33799
34719
|
return document.body;
|
|
33800
34720
|
}
|
|
33801
34721
|
}));
|
|
33802
34722
|
} else {
|
|
33803
34723
|
var _values13;
|
|
33804
|
-
var _currentValue12 = dataInputBusinessType === 12 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
|
|
34724
|
+
var _currentValue12 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
|
|
33805
34725
|
return {
|
|
33806
34726
|
key: s,
|
|
33807
|
-
label: valueNames[vIndex]
|
|
34727
|
+
label: valueNames[vIndex],
|
|
34728
|
+
value: s
|
|
33808
34729
|
};
|
|
33809
34730
|
})) || [] : values[0] && {
|
|
33810
34731
|
key: values[0],
|
|
33811
|
-
label: valueNames[0]
|
|
34732
|
+
label: valueNames[0],
|
|
34733
|
+
value: values[0]
|
|
33812
34734
|
} || {};
|
|
33813
34735
|
return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
33814
34736
|
selectBusinessType: "brand",
|
|
33815
34737
|
selectProps: _objectSpread2({
|
|
33816
34738
|
style: styleCommon,
|
|
33817
34739
|
placeholder: '请选择品牌'
|
|
33818
|
-
}, dataInputBusinessType === 12 ? {
|
|
34740
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33819
34741
|
mode: 'multiple',
|
|
33820
34742
|
maxTagCount: 1
|
|
33821
34743
|
} : {}),
|
|
@@ -33826,7 +34748,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33826
34748
|
filterInit: 'qp-brandCode-in'
|
|
33827
34749
|
},
|
|
33828
34750
|
onChange: function onChange(value) {
|
|
33829
|
-
if (dataInputBusinessType === 12) {
|
|
34751
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33830
34752
|
values = value.map(function (i) {
|
|
33831
34753
|
return i.key;
|
|
33832
34754
|
}) || [];
|
|
@@ -33839,7 +34761,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33839
34761
|
}
|
|
33840
34762
|
callback(values, valueNames);
|
|
33841
34763
|
},
|
|
33842
|
-
|
|
34764
|
+
highestPopContainer: function highestPopContainer() {
|
|
33843
34765
|
return document.body;
|
|
33844
34766
|
}
|
|
33845
34767
|
});
|
|
@@ -34288,7 +35210,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34288
35210
|
style: {
|
|
34289
35211
|
marginLeft: '10px'
|
|
34290
35212
|
},
|
|
34291
|
-
className: css_248z$
|
|
35213
|
+
className: css_248z$w.rule_field_style
|
|
34292
35214
|
}, this.renderConditionField());
|
|
34293
35215
|
}
|
|
34294
35216
|
}]);
|
|
@@ -34729,7 +35651,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34729
35651
|
disabled = _this$props.disabled;
|
|
34730
35652
|
return /*#__PURE__*/React$1.createElement("div", null, ruleTypeData.map(function (i) {
|
|
34731
35653
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
34732
|
-
className: css_248z$
|
|
35654
|
+
className: css_248z$w.action_list_item
|
|
34733
35655
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
34734
35656
|
onClick: function onClick() {
|
|
34735
35657
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -36676,8 +37598,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36676
37598
|
}]);
|
|
36677
37599
|
}(Component);
|
|
36678
37600
|
|
|
36679
|
-
var css_248z$
|
|
36680
|
-
styleInject(css_248z$
|
|
37601
|
+
var css_248z$x = ".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";
|
|
37602
|
+
styleInject(css_248z$x);
|
|
36681
37603
|
|
|
36682
37604
|
var formatOperationList = function formatOperationList(data) {
|
|
36683
37605
|
var _result$find;
|
|
@@ -37410,13 +38332,13 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37410
38332
|
return /*#__PURE__*/React$1.createElement(Spin, {
|
|
37411
38333
|
spinning: loading
|
|
37412
38334
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37413
|
-
className: css_248z$
|
|
38335
|
+
className: css_248z$x.base_rule
|
|
37414
38336
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37415
|
-
className: css_248z$
|
|
38337
|
+
className: css_248z$x.base_rule_content
|
|
37416
38338
|
}, /*#__PURE__*/React$1.createElement("p", {
|
|
37417
|
-
className: css_248z$
|
|
38339
|
+
className: css_248z$x.base_rule_line_title
|
|
37418
38340
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
37419
|
-
className: css_248z$
|
|
38341
|
+
className: css_248z$x.rule_title
|
|
37420
38342
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React$1.createElement("p", {
|
|
37421
38343
|
style: {
|
|
37422
38344
|
float: 'right'
|
|
@@ -37666,17 +38588,17 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37666
38588
|
})));
|
|
37667
38589
|
});
|
|
37668
38590
|
|
|
37669
|
-
var css_248z$
|
|
37670
|
-
styleInject(css_248z$
|
|
38591
|
+
var css_248z$y = ".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";
|
|
38592
|
+
styleInject(css_248z$y);
|
|
37671
38593
|
|
|
37672
|
-
var _excluded$
|
|
38594
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37673
38595
|
var Panel = Collapse.Panel;
|
|
37674
38596
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37675
38597
|
var titleExtra = _ref.titleExtra,
|
|
37676
38598
|
header = _ref.header,
|
|
37677
38599
|
_ref$showArrow = _ref.showArrow,
|
|
37678
38600
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37679
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38601
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37680
38602
|
var renderHeader = function renderHeader() {
|
|
37681
38603
|
return /*#__PURE__*/React$1.createElement(Space, {
|
|
37682
38604
|
align: "center"
|
|
@@ -37700,11 +38622,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37700
38622
|
}), props.children);
|
|
37701
38623
|
};
|
|
37702
38624
|
|
|
37703
|
-
var _excluded$
|
|
38625
|
+
var _excluded$m = ["children", "bordered"];
|
|
37704
38626
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37705
38627
|
var children = props.children,
|
|
37706
38628
|
bordered = props.bordered,
|
|
37707
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38629
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37708
38630
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
37709
38631
|
className: classNames({
|
|
37710
38632
|
'bs-collapse-wrap': true,
|
|
@@ -37718,9 +38640,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37718
38640
|
Board: ExtendedPanel
|
|
37719
38641
|
});
|
|
37720
38642
|
|
|
37721
|
-
var css_248z$
|
|
38643
|
+
var css_248z$z = ".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";
|
|
37722
38644
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37723
|
-
styleInject(css_248z$
|
|
38645
|
+
styleInject(css_248z$z);
|
|
37724
38646
|
|
|
37725
38647
|
var Paragraph = Typography.Paragraph;
|
|
37726
38648
|
var Section = function Section(_ref) {
|
|
@@ -37814,4 +38736,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
37814
38736
|
}, children));
|
|
37815
38737
|
};
|
|
37816
38738
|
|
|
37817
|
-
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 };
|
|
38739
|
+
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, QueryMutipleSearchSelect, 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 };
|