@bit-sun/business-component 4.0.12-alpha.28 → 4.0.12-alpha.29
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/Functional/QueryMutipleSelect/index.d.ts +5 -0
- package/dist/components/Functional/SearchSelect/utils.d.ts +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +690 -321
- package/dist/index.js +687 -317
- package/package.json +3 -3
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +31 -2
- 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 +0 -1
- package/src/components/Functional/SearchSelect/index.tsx +18 -256
- package/src/components/Functional/SearchSelect/utils.tsx +401 -0
- package/src/index.ts +1 -0
- package/src/components/Functional/SearchSelect/utils.ts +0 -125
package/dist/index.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import request$1 from 'umi-request';
|
|
3
3
|
import cookie from 'js-cookie';
|
|
4
|
-
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Select,
|
|
5
|
-
import _, { omit,
|
|
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
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, CaretUpOutlined, CaretDownOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, CaretLeftOutlined,
|
|
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
14
|
import { utils, writeFile, read } from 'xlsx';
|
|
@@ -4075,7 +4075,7 @@ function ToCDB(str) {
|
|
|
4075
4075
|
return tmp;
|
|
4076
4076
|
}
|
|
4077
4077
|
|
|
4078
|
-
var css_248z$5 = ".
|
|
4078
|
+
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
4079
|
styleInject(css_248z$5);
|
|
4080
4080
|
|
|
4081
4081
|
var columnsPerRow = 4; // 每行的列数
|
|
@@ -4083,6 +4083,11 @@ var ColSpan = 6; // 查询条件 每行col = 24 /columnsPerRow
|
|
|
4083
4083
|
var handleSourceName = function handleSourceName(sName) {
|
|
4084
4084
|
return sName;
|
|
4085
4085
|
};
|
|
4086
|
+
// 生成唯一值
|
|
4087
|
+
var makeUniqueValue = function makeUniqueValue() {
|
|
4088
|
+
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4089
|
+
return generateUnitKey;
|
|
4090
|
+
};
|
|
4086
4091
|
// ------------------------------------------处理样式相关--开始----------------------------------------
|
|
4087
4092
|
var getFormRowInfo = function getFormRowInfo(list) {
|
|
4088
4093
|
var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
|
|
@@ -4163,11 +4168,103 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
|
4163
4168
|
return [].concat(_toConsumableArray(selectedOptionSort), _toConsumableArray(otherOptions));
|
|
4164
4169
|
};
|
|
4165
4170
|
// ------------------------------------------处理数据相关--结束----------------------------------------
|
|
4166
|
-
//
|
|
4171
|
+
// ------------------------------------------查询 & 数据源 相关处理--开始----------------------------------------
|
|
4172
|
+
var handleParams = function handleParams(params) {
|
|
4173
|
+
var _loop = function _loop() {
|
|
4174
|
+
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4175
|
+
var element = params[key];
|
|
4176
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
4177
|
+
var dataParams = key.split('*number*');
|
|
4178
|
+
dataParams.forEach(function (value, index) {
|
|
4179
|
+
params[value] = element[index];
|
|
4180
|
+
});
|
|
4181
|
+
delete params[key];
|
|
4182
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4183
|
+
var _dataParams = key.split('*address*');
|
|
4184
|
+
_dataParams.forEach(function (value, index) {
|
|
4185
|
+
params[value] = element.PCDCode[index];
|
|
4186
|
+
});
|
|
4187
|
+
delete params[key];
|
|
4188
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4189
|
+
var _dataParams2 = key.split('*costType*');
|
|
4190
|
+
// eslint-disable-next-line prefer-destructuring
|
|
4191
|
+
params[_dataParams2[0]] = element[1];
|
|
4192
|
+
delete params[key];
|
|
4193
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4194
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
4195
|
+
_dataParams3.forEach(function (value, index) {
|
|
4196
|
+
if (index === 0) {
|
|
4197
|
+
params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4198
|
+
} else {
|
|
4199
|
+
params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4200
|
+
}
|
|
4201
|
+
});
|
|
4202
|
+
delete params[key];
|
|
4203
|
+
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4204
|
+
var _dataParams4 = key.split('*checkBox*');
|
|
4205
|
+
if (element) {
|
|
4206
|
+
params[_dataParams4[0]] = 0;
|
|
4207
|
+
}
|
|
4208
|
+
delete params[key];
|
|
4209
|
+
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4210
|
+
var _dataParams5 = key.split('*cascader*');
|
|
4211
|
+
params[_dataParams5[0]] = element[element.length - 1];
|
|
4212
|
+
delete params[key];
|
|
4213
|
+
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4214
|
+
var _dataParams6 = key.split('*date*');
|
|
4215
|
+
_dataParams6.forEach(function (value, index) {
|
|
4216
|
+
if (index === 0) {
|
|
4217
|
+
params[value] = moment$1(element[index]).format('YYYY-MM-DD');
|
|
4218
|
+
} else {
|
|
4219
|
+
params[value] = moment$1(element[index]).format('YYYY-MM-DD');
|
|
4220
|
+
}
|
|
4221
|
+
});
|
|
4222
|
+
delete params[key];
|
|
4223
|
+
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4224
|
+
var name = '',
|
|
4225
|
+
value = element['value'];
|
|
4226
|
+
if (value.indexOf(',') >= 0) {
|
|
4227
|
+
name = "qp-".concat(element['name'], "-in");
|
|
4228
|
+
} else {
|
|
4229
|
+
name = "qp-".concat(element['name'], "-like");
|
|
4230
|
+
}
|
|
4231
|
+
params[name] = value;
|
|
4232
|
+
delete params[key];
|
|
4233
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
4234
|
+
var _dataParams7 = key.split('*');
|
|
4235
|
+
_dataParams7.forEach(function (value, index) {
|
|
4236
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4237
|
+
});
|
|
4238
|
+
delete params[key];
|
|
4239
|
+
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4240
|
+
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4241
|
+
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4242
|
+
if (params[key][0] === 'range') {
|
|
4243
|
+
if (params[key][1][0]) {
|
|
4244
|
+
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4245
|
+
}
|
|
4246
|
+
if (params[key][1][1]) {
|
|
4247
|
+
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4248
|
+
}
|
|
4249
|
+
} else {
|
|
4250
|
+
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4251
|
+
}
|
|
4252
|
+
delete params[key];
|
|
4253
|
+
} else if (Array.isArray(element)) {
|
|
4254
|
+
params[key] = element.join(',');
|
|
4255
|
+
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4256
|
+
delete params[key];
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
};
|
|
4260
|
+
for (var key in params) {
|
|
4261
|
+
_loop();
|
|
4262
|
+
}
|
|
4263
|
+
};
|
|
4167
4264
|
//处理单据编号查询 如果是查询单条数据 就是模糊查询 两条以上就是精准查询
|
|
4168
4265
|
var convertOrderNo = function convertOrderNo(params) {
|
|
4169
4266
|
//需要处理得编号字段名
|
|
4170
|
-
var arr = ['qp-skuCode-in', 'qp-eancode-in'];
|
|
4267
|
+
var arr = ['qp-skuCode-in', 'qp-eancode-in', 'qp-itemCode-in'];
|
|
4171
4268
|
for (var i = 0; i < arr.length; i++) {
|
|
4172
4269
|
if (params[arr[i]]) {
|
|
4173
4270
|
if (!params[arr[i]].includes(',')) {
|
|
@@ -4196,13 +4293,463 @@ var convertBodyParams = function convertBodyParams(params) {
|
|
|
4196
4293
|
// body参数来源:sku选择器固定参数 > 调用所传bodyParams > 默认参数-无
|
|
4197
4294
|
return unique_params || (params === null || params === void 0 ? void 0 : params.bodyParams) || null;
|
|
4198
4295
|
};
|
|
4199
|
-
|
|
4296
|
+
var convertRes = function convertRes(data, otherParams) {
|
|
4297
|
+
var mappingTextField = otherParams.mappingTextField,
|
|
4298
|
+
mappingTextShowTextField = otherParams.mappingTextShowTextField,
|
|
4299
|
+
mappingTextShowKeyField = otherParams.mappingTextShowKeyField,
|
|
4300
|
+
mappingValueField = otherParams.mappingValueField,
|
|
4301
|
+
specialBracket = otherParams.specialBracket,
|
|
4302
|
+
type = otherParams.type,
|
|
4303
|
+
queryParams = otherParams.queryParams;
|
|
4304
|
+
return data.map(function (item, index) {
|
|
4305
|
+
var _item$children;
|
|
4306
|
+
var textShowText = item[mappingTextField];
|
|
4307
|
+
if (mappingTextShowTextField) {
|
|
4308
|
+
textShowText = [];
|
|
4309
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
4310
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
4311
|
+
textShowText.push(item[r]);
|
|
4312
|
+
});
|
|
4313
|
+
} else {
|
|
4314
|
+
textShowText = item[mappingTextShowTextField];
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
4318
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
4319
|
+
}
|
|
4320
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4321
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4322
|
+
textShowText: textShowText,
|
|
4323
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4324
|
+
value: item[mappingValueField]
|
|
4325
|
+
}, (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) ? {
|
|
4326
|
+
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
|
|
4327
|
+
} : {});
|
|
4328
|
+
});
|
|
4329
|
+
};
|
|
4330
|
+
var convertResData = function convertResData(requestConfig, res, selectProps) {
|
|
4331
|
+
var isMap = requestConfig.isMap,
|
|
4332
|
+
mappingTextField = requestConfig.mappingTextField,
|
|
4333
|
+
mappingTextShowTextField = requestConfig.mappingTextShowTextField,
|
|
4334
|
+
specialBracket = requestConfig.specialBracket,
|
|
4335
|
+
mappingValueField = requestConfig.mappingValueField,
|
|
4336
|
+
mappingTextShowKeyField = requestConfig.mappingTextShowKeyField;
|
|
4337
|
+
var selectMode = selectProps.selectMode,
|
|
4338
|
+
labelInValue = selectProps.labelInValue,
|
|
4339
|
+
value = selectProps.value,
|
|
4340
|
+
type = selectProps.type,
|
|
4341
|
+
items = selectProps.items,
|
|
4342
|
+
queryParams = selectProps.queryParams,
|
|
4343
|
+
_selectProps$needTopS = selectProps.needTopSelectedSource,
|
|
4344
|
+
needTopSelectedSource = _selectProps$needTopS === void 0 ? true : _selectProps$needTopS;
|
|
4345
|
+
var otherParams = {
|
|
4346
|
+
mappingTextField: mappingTextField,
|
|
4347
|
+
mappingTextShowTextField: mappingTextShowTextField,
|
|
4348
|
+
mappingTextShowKeyField: mappingTextShowKeyField,
|
|
4349
|
+
mappingValueField: mappingValueField,
|
|
4350
|
+
specialBracket: specialBracket,
|
|
4351
|
+
type: type,
|
|
4352
|
+
queryParams: queryParams
|
|
4353
|
+
};
|
|
4354
|
+
var source = [];
|
|
4355
|
+
if (isMap) {
|
|
4356
|
+
source = Object.keys(res).map(function (d, i) {
|
|
4357
|
+
return {
|
|
4358
|
+
text: Object.values(res)[i],
|
|
4359
|
+
value: d
|
|
4360
|
+
};
|
|
4361
|
+
});
|
|
4362
|
+
} else {
|
|
4363
|
+
var keys = res.list ? 'list' : 'items';
|
|
4364
|
+
source = res ? res[keys] ? convertRes(res[keys], otherParams) : Array.isArray(res) && convertRes(res, otherParams) : [];
|
|
4365
|
+
}
|
|
4366
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
4367
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4368
|
+
if (needTopSelectedSource && type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
4369
|
+
var _source;
|
|
4370
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
4371
|
+
return r.value == s;
|
|
4372
|
+
}));
|
|
4373
|
+
}))) {
|
|
4374
|
+
var selectedOption = items.filter(function (option) {
|
|
4375
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4376
|
+
}) || [];
|
|
4377
|
+
source = (source || []).concat(selectedOption);
|
|
4378
|
+
}
|
|
4379
|
+
// 数据源 不可以有重复key
|
|
4380
|
+
source = Array.isArray(source) ? uniqBy(source, 'value') : [];
|
|
4381
|
+
return source;
|
|
4382
|
+
};
|
|
4383
|
+
// ------------------------------------------查询 & 数据源 相关处理--结束----------------------------------------
|
|
4384
|
+
// ------------------------------------------ 数据源展示 相关处理--开始----------------------------------------
|
|
4385
|
+
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
4386
|
+
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
4387
|
+
if (noNeedSplit) {
|
|
4388
|
+
return item.text;
|
|
4389
|
+
} else {
|
|
4390
|
+
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
4391
|
+
}
|
|
4392
|
+
};
|
|
4393
|
+
var LightHeightOption = function LightHeightOption(props) {
|
|
4394
|
+
var filterTxt = props.filterTxt,
|
|
4395
|
+
text = props.text,
|
|
4396
|
+
_props$needToolTips = props.needToolTips,
|
|
4397
|
+
needToolTips = _props$needToolTips === void 0 ? true : _props$needToolTips;
|
|
4398
|
+
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
4399
|
+
if (heightTxt === '') {
|
|
4400
|
+
return text;
|
|
4401
|
+
}
|
|
4402
|
+
var searchString = escapeRegExp(heightTxt);
|
|
4403
|
+
// 前面filterOption 不区分大小写,这里用i
|
|
4404
|
+
var regexp = new RegExp(searchString, 'gi');
|
|
4405
|
+
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
4406
|
+
};
|
|
4407
|
+
var renderContent = /*#__PURE__*/React$1.createElement("div", {
|
|
4408
|
+
ref: function ref(nodeElement) {
|
|
4409
|
+
if (nodeElement) {
|
|
4410
|
+
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
4411
|
+
}
|
|
4412
|
+
}
|
|
4413
|
+
});
|
|
4414
|
+
if (!needToolTips) return renderContent;
|
|
4415
|
+
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
4416
|
+
title: text
|
|
4417
|
+
}, renderContent);
|
|
4418
|
+
};
|
|
4419
|
+
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
|
|
4420
|
+
var selectProps = _ref3.selectProps,
|
|
4421
|
+
onChange = _ref3.onChange,
|
|
4422
|
+
value = _ref3.value,
|
|
4423
|
+
setIsMaxTagsOpen = _ref3.setIsMaxTagsOpen;
|
|
4424
|
+
var labelInValue = selectProps.labelInValue;
|
|
4425
|
+
var _onClose = function onClose(e, item) {
|
|
4426
|
+
e.preventDefault();
|
|
4427
|
+
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4428
|
+
return i.value !== item.value;
|
|
4429
|
+
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4430
|
+
return i !== item.value;
|
|
4431
|
+
});
|
|
4432
|
+
onChange(newValue);
|
|
4433
|
+
};
|
|
4434
|
+
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
4435
|
+
open: true,
|
|
4436
|
+
overlayClassName: 'searchSelectMaxTagToolTip',
|
|
4437
|
+
destroyTooltipOnHide: true,
|
|
4438
|
+
placement: "topRight",
|
|
4439
|
+
autoAdjustOverflow: false,
|
|
4440
|
+
title: (/*#__PURE__*/React$1.createElement("div", {
|
|
4441
|
+
style: {
|
|
4442
|
+
margin: '6px 8px 0px'
|
|
4443
|
+
},
|
|
4444
|
+
onMouseEnter: function onMouseEnter() {
|
|
4445
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(true);
|
|
4446
|
+
},
|
|
4447
|
+
onMouseLeave: function onMouseLeave() {
|
|
4448
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(false);
|
|
4449
|
+
}
|
|
4450
|
+
}, selectedValues.map(function (i) {
|
|
4451
|
+
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
4452
|
+
closable: true,
|
|
4453
|
+
onClose: function onClose(e) {
|
|
4454
|
+
return _onClose(e, i);
|
|
4455
|
+
},
|
|
4456
|
+
style: {
|
|
4457
|
+
margin: '0px 3px 3px 0px',
|
|
4458
|
+
background: '#f5f5f5',
|
|
4459
|
+
height: '24px',
|
|
4460
|
+
border: '1px solid #f0f0f0'
|
|
4461
|
+
}
|
|
4462
|
+
}, i.label);
|
|
4463
|
+
})))
|
|
4464
|
+
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
4465
|
+
};
|
|
4466
|
+
// ------------------------------------------ 数据源展示 相关处理--结束----------------------------------------
|
|
4200
4467
|
|
|
4201
|
-
var
|
|
4468
|
+
var getValue = function getValue(value, selectMode) {
|
|
4469
|
+
var _value$split;
|
|
4470
|
+
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;
|
|
4471
|
+
};
|
|
4472
|
+
var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
4473
|
+
var onValueChange = _ref.onValueChange,
|
|
4474
|
+
_ref$requestConfig = _ref.requestConfig,
|
|
4475
|
+
requestConfig = _ref$requestConfig === void 0 ? {} : _ref$requestConfig,
|
|
4476
|
+
_ref$selectProps = _ref.selectProps,
|
|
4477
|
+
selectProps = _ref$selectProps === void 0 ? {} : _ref$selectProps,
|
|
4478
|
+
ctx = _ref.ctx;
|
|
4479
|
+
var filter = requestConfig.filter,
|
|
4480
|
+
_requestConfig$method = requestConfig.method,
|
|
4481
|
+
method = _requestConfig$method === void 0 ? 'get' : _requestConfig$method,
|
|
4482
|
+
url = requestConfig.url,
|
|
4483
|
+
_requestConfig$extral = requestConfig.extralHeaders,
|
|
4484
|
+
extralHeaders = _requestConfig$extral === void 0 ? {} : _requestConfig$extral,
|
|
4485
|
+
_requestConfig$otherP = requestConfig.otherParams,
|
|
4486
|
+
otherParams = _requestConfig$otherP === void 0 ? {} : _requestConfig$otherP,
|
|
4487
|
+
_requestConfig$specia = requestConfig.specialBracket,
|
|
4488
|
+
specialBracket = _requestConfig$specia === void 0 ? false : _requestConfig$specia,
|
|
4489
|
+
_requestConfig$noNeed = requestConfig.noNeedSplit,
|
|
4490
|
+
noNeedSplit = _requestConfig$noNeed === void 0 ? false : _requestConfig$noNeed;
|
|
4491
|
+
var selectParamsKey = filter || 'qp-codeAndName-like';
|
|
4492
|
+
var resultSourceKey = handleSourceName((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'skuCode');
|
|
4493
|
+
var currentSelectProps = _objectSpread2({
|
|
4494
|
+
showArrow: true,
|
|
4495
|
+
showSearch: true,
|
|
4496
|
+
filterOption: false,
|
|
4497
|
+
allowClear: true,
|
|
4498
|
+
listHeight: 160,
|
|
4499
|
+
labelInValue: false,
|
|
4500
|
+
maxTagCount: 4
|
|
4501
|
+
}, selectProps);
|
|
4502
|
+
var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
|
|
4503
|
+
var _useState = useState(false),
|
|
4504
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4505
|
+
isModalVisible = _useState2[0],
|
|
4506
|
+
setIsModalVisible = _useState2[1];
|
|
4507
|
+
var _useState3 = useState(false),
|
|
4508
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4509
|
+
open = _useState4[0],
|
|
4510
|
+
setOpen = _useState4[1];
|
|
4511
|
+
var _useState5 = useState(),
|
|
4512
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4513
|
+
value = _useState6[0],
|
|
4514
|
+
setValue = _useState6[1];
|
|
4515
|
+
var _useState7 = useState(),
|
|
4516
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4517
|
+
popvalue = _useState8[0],
|
|
4518
|
+
setPopValue = _useState8[1];
|
|
4519
|
+
var _useState9 = useState([]),
|
|
4520
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4521
|
+
source = _useState10[0],
|
|
4522
|
+
setSource = _useState10[1];
|
|
4523
|
+
var _useDebounceFn = useDebounceFn(function () {
|
|
4524
|
+
getData();
|
|
4525
|
+
}, {
|
|
4526
|
+
wait: 1000
|
|
4527
|
+
}),
|
|
4528
|
+
run = _useDebounceFn.run;
|
|
4529
|
+
var _useState11 = useState(false),
|
|
4530
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4531
|
+
fetching = _useState12[0],
|
|
4532
|
+
setFetching = _useState12[1];
|
|
4533
|
+
var _useState13 = useState(''),
|
|
4534
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4535
|
+
searchValue = _useState14[0],
|
|
4536
|
+
setSearchValue = _useState14[1];
|
|
4537
|
+
var _useState15 = useState(resultSourceKey),
|
|
4538
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4539
|
+
uniqueValue = _useState16[0],
|
|
4540
|
+
setUniqueValue = _useState16[1];
|
|
4541
|
+
useEffect(function () {
|
|
4542
|
+
if (value) {
|
|
4543
|
+
setPopValue(value);
|
|
4544
|
+
onValueChange(value);
|
|
4545
|
+
}
|
|
4546
|
+
}, [value]);
|
|
4547
|
+
useEffect(function () {
|
|
4548
|
+
setUniqueValue(makeUniqueValue());
|
|
4549
|
+
}, [resultSourceKey]);
|
|
4550
|
+
var showModal = function showModal() {
|
|
4551
|
+
setIsModalVisible(true);
|
|
4552
|
+
//弹窗打开时 默认搜索内容换行显示
|
|
4553
|
+
setPopValue(function (data) {
|
|
4554
|
+
return data === null || data === void 0 ? void 0 : data.replace(/,/g, '\n');
|
|
4555
|
+
});
|
|
4556
|
+
};
|
|
4557
|
+
var handleOk = function handleOk() {
|
|
4558
|
+
formaData(popvalue);
|
|
4559
|
+
setIsModalVisible(false);
|
|
4560
|
+
};
|
|
4561
|
+
var formaData = function formaData(v) {
|
|
4562
|
+
var _ToCDB, _ToCDB$split, _ToCDB$split$filter;
|
|
4563
|
+
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) {
|
|
4564
|
+
return item;
|
|
4565
|
+
})) === null || _ToCDB$split$filter === void 0 ? void 0 : _ToCDB$split$filter.join(',');
|
|
4566
|
+
console.log(formatValue, '1111formatValue');
|
|
4567
|
+
setValue(formatValue);
|
|
4568
|
+
};
|
|
4569
|
+
var handleCancel = function handleCancel() {
|
|
4570
|
+
setIsModalVisible(false);
|
|
4571
|
+
};
|
|
4572
|
+
var outerChange = function outerChange(v) {
|
|
4573
|
+
formaData(v);
|
|
4574
|
+
};
|
|
4575
|
+
var onChange = function onChange(e) {
|
|
4576
|
+
var v = e.target.value;
|
|
4577
|
+
setPopValue(v);
|
|
4578
|
+
};
|
|
4579
|
+
// 获取下拉框数据源-不分页
|
|
4580
|
+
var getData = function getData() {
|
|
4581
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4582
|
+
var callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
4583
|
+
if (!requestConfig) return;
|
|
4584
|
+
if (!url) return;
|
|
4585
|
+
setFetching(true);
|
|
4586
|
+
var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
|
|
4587
|
+
if (isNil(queryParams[selectParamsKey])) {
|
|
4588
|
+
queryParams[selectParamsKey] = searchValue;
|
|
4589
|
+
}
|
|
4590
|
+
var getRequest;
|
|
4591
|
+
var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
|
|
4592
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
4593
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
4594
|
+
} else {
|
|
4595
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
4596
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
4597
|
+
});
|
|
4598
|
+
}
|
|
4599
|
+
if (!getRequest) return;
|
|
4600
|
+
getRequest.then(function (result) {
|
|
4601
|
+
setFetching(false);
|
|
4602
|
+
result = result.data;
|
|
4603
|
+
if (judgeIsRequestError(result)) {
|
|
4604
|
+
message$1.error(result.msg);
|
|
4605
|
+
return;
|
|
4606
|
+
}
|
|
4607
|
+
var res = result.data;
|
|
4608
|
+
var dSource = convertResData(requestConfig, res, {
|
|
4609
|
+
selectMode: selectMode,
|
|
4610
|
+
labelInValue: currentSelectProps === null || currentSelectProps === void 0 ? void 0 : currentSelectProps.labelInValue,
|
|
4611
|
+
value: value,
|
|
4612
|
+
type: 1,
|
|
4613
|
+
items: source,
|
|
4614
|
+
needTopSelectedSource: false
|
|
4615
|
+
});
|
|
4616
|
+
if (callback) {
|
|
4617
|
+
callback(source);
|
|
4618
|
+
} else {
|
|
4619
|
+
setSource(dSource);
|
|
4620
|
+
}
|
|
4621
|
+
}).catch(function (err) {
|
|
4622
|
+
setFetching(false);
|
|
4623
|
+
});
|
|
4624
|
+
};
|
|
4625
|
+
var onSearchChange = function onSearchChange(v) {
|
|
4626
|
+
setSearchValue(v);
|
|
4627
|
+
run();
|
|
4628
|
+
};
|
|
4629
|
+
return /*#__PURE__*/React$1.createElement("div", {
|
|
4630
|
+
className: 'query_select'
|
|
4631
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4632
|
+
className: "query_select_show",
|
|
4633
|
+
id: "query_multiple_select_div_".concat(uniqueValue)
|
|
4634
|
+
}, /*#__PURE__*/React$1.createElement(Select, _objectSpread2({
|
|
4635
|
+
value: getValue(value, selectMode),
|
|
4636
|
+
onChange: outerChange,
|
|
4637
|
+
open: open,
|
|
4638
|
+
onBlur: function onBlur(v) {
|
|
4639
|
+
onSearchChange(v);
|
|
4640
|
+
setOpen(false);
|
|
4641
|
+
},
|
|
4642
|
+
onClick: function onClick() {
|
|
4643
|
+
return setOpen(true);
|
|
4644
|
+
},
|
|
4645
|
+
onPaste: function onPaste(e) {
|
|
4646
|
+
formaData(e.clipboardData.getData('text'));
|
|
4647
|
+
e.preventDefault();
|
|
4648
|
+
},
|
|
4649
|
+
onSearch: function onSearch(v) {
|
|
4650
|
+
return onSearchChange(v);
|
|
4651
|
+
},
|
|
4652
|
+
onSelect: function onSelect() {
|
|
4653
|
+
if (selectMode) return;
|
|
4654
|
+
setTimeout(function () {
|
|
4655
|
+
setOpen(false);
|
|
4656
|
+
}, 0);
|
|
4657
|
+
},
|
|
4658
|
+
style: {
|
|
4659
|
+
width: 'calc(100%)'
|
|
4660
|
+
},
|
|
4661
|
+
suffixIcon: /*#__PURE__*/React$1.createElement("div", {
|
|
4662
|
+
className: "query_select_expand_button",
|
|
4663
|
+
onClick: showModal
|
|
4664
|
+
}, /*#__PURE__*/React$1.createElement(DashOutlined, null)),
|
|
4665
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
4666
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
4667
|
+
return maxTagPlaceholder(v, {
|
|
4668
|
+
selectProps: currentSelectProps,
|
|
4669
|
+
onChange: outerChange,
|
|
4670
|
+
value: getValue(value, selectMode),
|
|
4671
|
+
setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
|
|
4672
|
+
});
|
|
4673
|
+
},
|
|
4674
|
+
notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
|
|
4675
|
+
size: "small",
|
|
4676
|
+
className: 'searchSelectSpin'
|
|
4677
|
+
})) : (/*#__PURE__*/React$1.createElement("div", {
|
|
4678
|
+
style: {
|
|
4679
|
+
textAlign: 'center'
|
|
4680
|
+
}
|
|
4681
|
+
}, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165\u5185\u5BB9\u6A21\u7CCA\u67E5\u8BE2"))),
|
|
4682
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
4683
|
+
return triggerNode.parentElement;
|
|
4684
|
+
}
|
|
4685
|
+
}, currentSelectProps), source.map(function (item) {
|
|
4686
|
+
return /*#__PURE__*/React$1.createElement(Select.Option, {
|
|
4687
|
+
key: item.value,
|
|
4688
|
+
label: item.text
|
|
4689
|
+
}, LightHeightOption({
|
|
4690
|
+
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
4691
|
+
filterTxt: searchValue,
|
|
4692
|
+
needToolTips: false
|
|
4693
|
+
}));
|
|
4694
|
+
}))), /*#__PURE__*/React$1.createElement(Modal, {
|
|
4695
|
+
width: 600,
|
|
4696
|
+
title: "\u591A\u503C\u5F55\u5165",
|
|
4697
|
+
visible: isModalVisible,
|
|
4698
|
+
onOk: handleOk,
|
|
4699
|
+
onCancel: handleCancel,
|
|
4700
|
+
className: 'multiInput_modal',
|
|
4701
|
+
bodyStyle: {
|
|
4702
|
+
padding: '10px 16px'
|
|
4703
|
+
},
|
|
4704
|
+
footer: [/*#__PURE__*/React$1.createElement(ConfigProvider, {
|
|
4705
|
+
autoInsertSpaceInButton: false
|
|
4706
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
4707
|
+
key: "back",
|
|
4708
|
+
onClick: handleCancel
|
|
4709
|
+
}, "\u53D6\u6D88")), /*#__PURE__*/React$1.createElement(ConfigProvider, {
|
|
4710
|
+
autoInsertSpaceInButton: false
|
|
4711
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
4712
|
+
key: "submit",
|
|
4713
|
+
type: "primary",
|
|
4714
|
+
onClick: handleOk
|
|
4715
|
+
}, "\u5F55\u5165"))]
|
|
4716
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4717
|
+
className: 'query_select_wrapper'
|
|
4718
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4719
|
+
className: 'query_select_wrapper_top'
|
|
4720
|
+
}, "\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", {
|
|
4721
|
+
className: 'query_select_textArea'
|
|
4722
|
+
}, /*#__PURE__*/React$1.createElement(Input.TextArea, {
|
|
4723
|
+
placeholder: "\u5728\u6B64\u5F55\u5165...",
|
|
4724
|
+
value: popvalue,
|
|
4725
|
+
onChange: onChange,
|
|
4726
|
+
rows: 12,
|
|
4727
|
+
showCount: false
|
|
4728
|
+
})))));
|
|
4729
|
+
};
|
|
4730
|
+
function ToCDB$1(selectStr) {
|
|
4731
|
+
var tmp = '';
|
|
4732
|
+
if (!(selectStr === null || selectStr === void 0 ? void 0 : selectStr.length)) return '';
|
|
4733
|
+
var str = Array.isArray(selectStr) ? selectStr.join(',') : selectStr;
|
|
4734
|
+
for (var i = 0; i < (str === null || str === void 0 ? void 0 : str.length); i++) {
|
|
4735
|
+
var _str$charCodeAt, _str$charCodeAt2;
|
|
4736
|
+
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) {
|
|
4737
|
+
tmp += String.fromCharCode((str === null || str === void 0 ? void 0 : str.charCodeAt(i)) - 65248);
|
|
4738
|
+
} else {
|
|
4739
|
+
tmp += String.fromCharCode(str.charCodeAt(i));
|
|
4740
|
+
}
|
|
4741
|
+
}
|
|
4742
|
+
return tmp;
|
|
4743
|
+
}
|
|
4202
4744
|
|
|
4203
|
-
var css_248z$6 = ".
|
|
4745
|
+
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";
|
|
4204
4746
|
styleInject(css_248z$6);
|
|
4205
4747
|
|
|
4748
|
+
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";
|
|
4749
|
+
|
|
4750
|
+
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";
|
|
4751
|
+
styleInject(css_248z$7);
|
|
4752
|
+
|
|
4206
4753
|
var PropertyGroup = function PropertyGroup(props) {
|
|
4207
4754
|
var propertyData = props.propertyData,
|
|
4208
4755
|
handleProperyItemChange = props.handleProperyItemChange,
|
|
@@ -4919,96 +5466,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4919
5466
|
});
|
|
4920
5467
|
}
|
|
4921
5468
|
// 数组对象处理,对带有特殊标记的name进行处理
|
|
4922
|
-
|
|
4923
|
-
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4924
|
-
var element = params[key];
|
|
4925
|
-
if (element && key.indexOf('*number*') >= 0) {
|
|
4926
|
-
var dataParams = key.split('*number*');
|
|
4927
|
-
dataParams.forEach(function (value, index) {
|
|
4928
|
-
params[value] = element[index];
|
|
4929
|
-
});
|
|
4930
|
-
delete params[key];
|
|
4931
|
-
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4932
|
-
var _dataParams = key.split('*address*');
|
|
4933
|
-
_dataParams.forEach(function (value, index) {
|
|
4934
|
-
params[value] = element.PCDCode[index];
|
|
4935
|
-
});
|
|
4936
|
-
delete params[key];
|
|
4937
|
-
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4938
|
-
var _dataParams2 = key.split('*costType*');
|
|
4939
|
-
// eslint-disable-next-line prefer-destructuring
|
|
4940
|
-
params[_dataParams2[0]] = element[1];
|
|
4941
|
-
delete params[key];
|
|
4942
|
-
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4943
|
-
var _dataParams3 = key.split('*fullDate*');
|
|
4944
|
-
_dataParams3.forEach(function (value, index) {
|
|
4945
|
-
if (index === 0) {
|
|
4946
|
-
params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4947
|
-
} else {
|
|
4948
|
-
params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4949
|
-
}
|
|
4950
|
-
});
|
|
4951
|
-
delete params[key];
|
|
4952
|
-
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4953
|
-
var _dataParams4 = key.split('*checkBox*');
|
|
4954
|
-
if (element) {
|
|
4955
|
-
params[_dataParams4[0]] = 0;
|
|
4956
|
-
}
|
|
4957
|
-
delete params[key];
|
|
4958
|
-
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4959
|
-
var _dataParams5 = key.split('*cascader*');
|
|
4960
|
-
params[_dataParams5[0]] = element[element.length - 1];
|
|
4961
|
-
delete params[key];
|
|
4962
|
-
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4963
|
-
var _dataParams6 = key.split('*date*');
|
|
4964
|
-
_dataParams6.forEach(function (value, index) {
|
|
4965
|
-
if (index === 0) {
|
|
4966
|
-
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4967
|
-
} else {
|
|
4968
|
-
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4969
|
-
}
|
|
4970
|
-
});
|
|
4971
|
-
delete params[key];
|
|
4972
|
-
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4973
|
-
var name = '',
|
|
4974
|
-
_value = element['value'];
|
|
4975
|
-
if (_value.indexOf(',') >= 0) {
|
|
4976
|
-
name = "qp-".concat(element['name'], "-in");
|
|
4977
|
-
} else {
|
|
4978
|
-
name = "qp-".concat(element['name'], "-like");
|
|
4979
|
-
}
|
|
4980
|
-
params[name] = _value;
|
|
4981
|
-
delete params[key];
|
|
4982
|
-
} else if (element && key.indexOf('*') >= 0) {
|
|
4983
|
-
var _dataParams7 = key.split('*');
|
|
4984
|
-
_dataParams7.forEach(function (value, index) {
|
|
4985
|
-
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4986
|
-
});
|
|
4987
|
-
delete params[key];
|
|
4988
|
-
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4989
|
-
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4990
|
-
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4991
|
-
if (params[key][0] === 'range') {
|
|
4992
|
-
if (params[key][1][0]) {
|
|
4993
|
-
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4994
|
-
}
|
|
4995
|
-
if (params[key][1][1]) {
|
|
4996
|
-
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4997
|
-
}
|
|
4998
|
-
} else {
|
|
4999
|
-
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
5000
|
-
}
|
|
5001
|
-
delete params[key];
|
|
5002
|
-
} else if (Array.isArray(element)) {
|
|
5003
|
-
params[key] = element.join(',');
|
|
5004
|
-
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
5005
|
-
delete params[key];
|
|
5006
|
-
}
|
|
5007
|
-
}
|
|
5008
|
-
};
|
|
5009
|
-
for (var key in params) {
|
|
5010
|
-
_loop();
|
|
5011
|
-
}
|
|
5469
|
+
handleParams(params);
|
|
5012
5470
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
5013
5471
|
pageSize: pageSize,
|
|
5014
5472
|
currentPage: currentPage
|
|
@@ -5034,79 +5492,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5034
5492
|
return;
|
|
5035
5493
|
}
|
|
5036
5494
|
var res = result.data;
|
|
5037
|
-
var source =
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
} else {
|
|
5046
|
-
var keys = res.list ? 'list' : 'items';
|
|
5047
|
-
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
5048
|
-
var _item$children;
|
|
5049
|
-
var textShowText = item[mappingTextField];
|
|
5050
|
-
if (mappingTextShowTextField) {
|
|
5051
|
-
textShowText = [];
|
|
5052
|
-
if (Array.isArray(mappingTextShowTextField)) {
|
|
5053
|
-
mappingTextShowTextField.forEach(function (r) {
|
|
5054
|
-
textShowText.push(item[r]);
|
|
5055
|
-
});
|
|
5056
|
-
} else {
|
|
5057
|
-
textShowText = item[mappingTextShowTextField];
|
|
5058
|
-
}
|
|
5059
|
-
}
|
|
5060
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
5061
|
-
item === null || item === void 0 ? true : delete item.children;
|
|
5062
|
-
}
|
|
5063
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5064
|
-
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5065
|
-
textShowText: textShowText,
|
|
5066
|
-
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5067
|
-
value: item[mappingValueField],
|
|
5068
|
-
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
|
|
5069
|
-
});
|
|
5070
|
-
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
5071
|
-
var _item$children2;
|
|
5072
|
-
var textShowText = item[mappingTextField];
|
|
5073
|
-
if (mappingTextShowTextField) {
|
|
5074
|
-
textShowText = [];
|
|
5075
|
-
if (Array.isArray(mappingTextShowTextField)) {
|
|
5076
|
-
mappingTextShowTextField.forEach(function (r) {
|
|
5077
|
-
textShowText.push(item[r]);
|
|
5078
|
-
});
|
|
5079
|
-
} else {
|
|
5080
|
-
textShowText = item[mappingTextShowTextField];
|
|
5081
|
-
}
|
|
5082
|
-
}
|
|
5083
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
|
|
5084
|
-
item === null || item === void 0 ? true : delete item.children;
|
|
5085
|
-
}
|
|
5086
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
5087
|
-
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
5088
|
-
textShowText: textShowText,
|
|
5089
|
-
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
5090
|
-
value: item[mappingValueField],
|
|
5091
|
-
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
|
|
5092
|
-
});
|
|
5093
|
-
})) : [];
|
|
5094
|
-
}
|
|
5095
|
-
// 补充搜索项--选中的数据添加到数据源中去
|
|
5096
|
-
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
5097
|
-
if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
5098
|
-
var _source;
|
|
5099
|
-
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
5100
|
-
return r.value == s;
|
|
5101
|
-
}));
|
|
5102
|
-
}))) {
|
|
5103
|
-
var selectedOption = items.filter(function (option) {
|
|
5104
|
-
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
5105
|
-
}) || [];
|
|
5106
|
-
source = (source || []).concat(selectedOption);
|
|
5107
|
-
}
|
|
5108
|
-
// 数据源 不可以有重复key
|
|
5109
|
-
source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
|
|
5495
|
+
var source = convertResData(requestConfig, res, {
|
|
5496
|
+
selectMode: selectMode,
|
|
5497
|
+
labelInValue: labelInValue,
|
|
5498
|
+
value: value,
|
|
5499
|
+
type: type,
|
|
5500
|
+
items: items,
|
|
5501
|
+
queryParams: queryParams
|
|
5502
|
+
});
|
|
5110
5503
|
if (callback) {
|
|
5111
5504
|
callback(source);
|
|
5112
5505
|
} else {
|
|
@@ -5181,7 +5574,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5181
5574
|
}
|
|
5182
5575
|
}, [value]);
|
|
5183
5576
|
useEffect(function () {
|
|
5184
|
-
makeUniqueValue();
|
|
5577
|
+
setUniqueValue(makeUniqueValue());
|
|
5185
5578
|
}, [resultSourceKey]);
|
|
5186
5579
|
useEffect(function () {
|
|
5187
5580
|
if (init) {
|
|
@@ -5371,28 +5764,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5371
5764
|
currentPage: pagination.current
|
|
5372
5765
|
}), 2);
|
|
5373
5766
|
};
|
|
5374
|
-
var LightHeightOption = function LightHeightOption(props) {
|
|
5375
|
-
var filterTxt = props.filterTxt,
|
|
5376
|
-
text = props.text;
|
|
5377
|
-
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
5378
|
-
if (heightTxt === '') {
|
|
5379
|
-
return text;
|
|
5380
|
-
}
|
|
5381
|
-
var searchString = escapeRegExp(heightTxt);
|
|
5382
|
-
// 前面filterOption 不区分大小写,这里用i
|
|
5383
|
-
var regexp = new RegExp(searchString, 'gi');
|
|
5384
|
-
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
5385
|
-
};
|
|
5386
|
-
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
5387
|
-
title: text
|
|
5388
|
-
}, /*#__PURE__*/React$1.createElement("div", {
|
|
5389
|
-
ref: function ref(nodeElement) {
|
|
5390
|
-
if (nodeElement) {
|
|
5391
|
-
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
5392
|
-
}
|
|
5393
|
-
}
|
|
5394
|
-
}));
|
|
5395
|
-
};
|
|
5396
5767
|
var onChangeSelectedKeys = function onChangeSelectedKeys(selectKeys, selectRows) {
|
|
5397
5768
|
var sksResult = (selectRows === null || selectRows === void 0 ? void 0 : selectRows.map(function (i) {
|
|
5398
5769
|
return i.value;
|
|
@@ -5408,12 +5779,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5408
5779
|
setIndeterminate(!!selectRows.length && selectRows.length < (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
5409
5780
|
setCheckedAll(selectRows.length === (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
5410
5781
|
};
|
|
5411
|
-
// 生成唯一值
|
|
5412
|
-
var makeUniqueValue = function makeUniqueValue() {
|
|
5413
|
-
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
5414
|
-
setUniqueValue(generateUnitKey);
|
|
5415
|
-
return generateUnitKey;
|
|
5416
|
-
};
|
|
5417
5782
|
var rowSelection = {
|
|
5418
5783
|
type: selectMode ? 'checkbox' : 'radio',
|
|
5419
5784
|
selectedRowKeys: selectedRowKeys,
|
|
@@ -5479,7 +5844,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5479
5844
|
};
|
|
5480
5845
|
})) || [];
|
|
5481
5846
|
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) {
|
|
5482
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8;
|
|
5847
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
|
|
5483
5848
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
|
|
5484
5849
|
span: ColSpan,
|
|
5485
5850
|
key: i
|
|
@@ -5564,6 +5929,20 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5564
5929
|
key: i.name
|
|
5565
5930
|
}, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
|
|
5566
5931
|
}
|
|
5932
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
|
|
5933
|
+
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5934
|
+
span: ColSpan,
|
|
5935
|
+
key: i.name
|
|
5936
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
5937
|
+
name: i.name,
|
|
5938
|
+
label: i.label,
|
|
5939
|
+
key: i.name
|
|
5940
|
+
}, /*#__PURE__*/React$1.createElement(QueryMutipleSearchSelect, _objectSpread2(_objectSpread2({}, i.field.props), {}, {
|
|
5941
|
+
onValueChange: function onValueChange(value) {
|
|
5942
|
+
form.setFieldsValue(_defineProperty({}, i.name, value));
|
|
5943
|
+
}
|
|
5944
|
+
}))));
|
|
5945
|
+
}
|
|
5567
5946
|
// 默认type是input
|
|
5568
5947
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5569
5948
|
span: ColSpan,
|
|
@@ -5579,7 +5958,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5579
5958
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5580
5959
|
allowClear: true,
|
|
5581
5960
|
maxLength: 100
|
|
5582
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5961
|
+
}, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
|
|
5583
5962
|
disabled: setDisabled(i.name)
|
|
5584
5963
|
}))));
|
|
5585
5964
|
});
|
|
@@ -5761,55 +6140,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5761
6140
|
}
|
|
5762
6141
|
})));
|
|
5763
6142
|
};
|
|
5764
|
-
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues) {
|
|
5765
|
-
var _onClose = function onClose(e, item) {
|
|
5766
|
-
e.preventDefault();
|
|
5767
|
-
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
5768
|
-
return i.value !== item.value;
|
|
5769
|
-
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
5770
|
-
return i !== item.value;
|
|
5771
|
-
});
|
|
5772
|
-
onChange(newValue);
|
|
5773
|
-
};
|
|
5774
|
-
return /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
5775
|
-
overlayClassName: 'searchSelectMaxTagToolTip',
|
|
5776
|
-
destroyTooltipOnHide: true,
|
|
5777
|
-
placement: "topRight",
|
|
5778
|
-
autoAdjustOverflow: false,
|
|
5779
|
-
title: (/*#__PURE__*/React$1.createElement("div", {
|
|
5780
|
-
style: {
|
|
5781
|
-
margin: '6px 8px 0px'
|
|
5782
|
-
},
|
|
5783
|
-
onMouseEnter: function onMouseEnter() {
|
|
5784
|
-
setIsMaxTagsOpen(true);
|
|
5785
|
-
},
|
|
5786
|
-
onMouseLeave: function onMouseLeave() {
|
|
5787
|
-
setIsMaxTagsOpen(false);
|
|
5788
|
-
}
|
|
5789
|
-
}, selectedValues.map(function (i) {
|
|
5790
|
-
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
5791
|
-
closable: true,
|
|
5792
|
-
onClose: function onClose(e) {
|
|
5793
|
-
return _onClose(e, i);
|
|
5794
|
-
},
|
|
5795
|
-
style: {
|
|
5796
|
-
margin: '0px 3px 3px 0px',
|
|
5797
|
-
background: '#f5f5f5',
|
|
5798
|
-
height: '24px',
|
|
5799
|
-
border: '1px solid #f0f0f0'
|
|
5800
|
-
}
|
|
5801
|
-
}, i.label);
|
|
5802
|
-
})))
|
|
5803
|
-
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
5804
|
-
};
|
|
5805
|
-
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
5806
|
-
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
5807
|
-
if (noNeedSplit) {
|
|
5808
|
-
return item.text;
|
|
5809
|
-
} else {
|
|
5810
|
-
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
5811
|
-
}
|
|
5812
|
-
};
|
|
5813
6143
|
var getShowLabelTextStr = function getShowLabelTextStr(kongValue) {
|
|
5814
6144
|
if (selectMode) {
|
|
5815
6145
|
var _value$map;
|
|
@@ -5894,7 +6224,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5894
6224
|
width: 'calc(100%)'
|
|
5895
6225
|
},
|
|
5896
6226
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
5897
|
-
maxTagPlaceholder: maxTagPlaceholder
|
|
6227
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
6228
|
+
return maxTagPlaceholder(v, {
|
|
6229
|
+
selectProps: {
|
|
6230
|
+
labelInValue: labelInValue
|
|
6231
|
+
},
|
|
6232
|
+
onChange: onChange,
|
|
6233
|
+
value: value,
|
|
6234
|
+
setIsMaxTagsOpen: setIsMaxTagsOpen
|
|
6235
|
+
});
|
|
6236
|
+
},
|
|
5898
6237
|
onSearch: function onSearch(v) {
|
|
5899
6238
|
return onSearchChange(v);
|
|
5900
6239
|
}
|
|
@@ -5990,8 +6329,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5990
6329
|
})) : null)))));
|
|
5991
6330
|
});
|
|
5992
6331
|
|
|
5993
|
-
var css_248z$
|
|
5994
|
-
styleInject(css_248z$
|
|
6332
|
+
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";
|
|
6333
|
+
styleInject(css_248z$8);
|
|
5995
6334
|
|
|
5996
6335
|
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";
|
|
5997
6336
|
|
|
@@ -6007,8 +6346,8 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
6007
6346
|
|
|
6008
6347
|
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";
|
|
6009
6348
|
|
|
6010
|
-
var css_248z$
|
|
6011
|
-
styleInject(css_248z$
|
|
6349
|
+
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";
|
|
6350
|
+
styleInject(css_248z$9);
|
|
6012
6351
|
|
|
6013
6352
|
var _excluded$4 = ["className", "style"];
|
|
6014
6353
|
var Search = Input.Search;
|
|
@@ -8030,8 +8369,8 @@ var AddSelect = function AddSelect(props) {
|
|
|
8030
8369
|
}))))));
|
|
8031
8370
|
};
|
|
8032
8371
|
|
|
8033
|
-
var css_248z$
|
|
8034
|
-
styleInject(css_248z$
|
|
8372
|
+
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";
|
|
8373
|
+
styleInject(css_248z$a);
|
|
8035
8374
|
|
|
8036
8375
|
var _excluded$6 = ["onResize", "width"];
|
|
8037
8376
|
var _this = undefined;
|
|
@@ -9493,13 +9832,43 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9493
9832
|
tableSearchForm = [{
|
|
9494
9833
|
name: 'qp-skuCode-in',
|
|
9495
9834
|
label: 'SKU编码',
|
|
9496
|
-
|
|
9835
|
+
field: {
|
|
9836
|
+
type: 'multipleQuerySearchSelect',
|
|
9837
|
+
props: {
|
|
9838
|
+
selectProps: {
|
|
9839
|
+
mode: "multiple"
|
|
9840
|
+
},
|
|
9841
|
+
requestConfig: {
|
|
9842
|
+
url: '/items/sku//listNoPage/Simple',
|
|
9843
|
+
filter: 'qp-name-like',
|
|
9844
|
+
// filter: 'qp-itemCode,name-orGroup,like',
|
|
9845
|
+
mappingTextField: 'name',
|
|
9846
|
+
mappingValueField: 'skuCode',
|
|
9847
|
+
sourceName: 'qp-skuCode-in',
|
|
9848
|
+
specialBracket: true
|
|
9849
|
+
}
|
|
9850
|
+
}
|
|
9851
|
+
}
|
|
9497
9852
|
}, {
|
|
9498
9853
|
name: 'qp-skuName-like',
|
|
9499
9854
|
label: 'SKU名称'
|
|
9500
9855
|
}, {
|
|
9501
|
-
name: 'qp-itemCode-
|
|
9502
|
-
label: 'SPU编码'
|
|
9856
|
+
name: 'qp-itemCode-in',
|
|
9857
|
+
label: 'SPU编码',
|
|
9858
|
+
field: {
|
|
9859
|
+
type: 'multipleQuerySearchSelect',
|
|
9860
|
+
props: {
|
|
9861
|
+
requestConfig: {
|
|
9862
|
+
url: '/items/item/listNoPage/Simple',
|
|
9863
|
+
filter: 'qp-name-like',
|
|
9864
|
+
// filter: 'qp-skuCode,name-orGroup,like',
|
|
9865
|
+
mappingTextField: 'name',
|
|
9866
|
+
mappingValueField: 'itemCode',
|
|
9867
|
+
sourceName: 'qp-itemCode-in',
|
|
9868
|
+
specialBracket: true
|
|
9869
|
+
}
|
|
9870
|
+
}
|
|
9871
|
+
}
|
|
9503
9872
|
}, {
|
|
9504
9873
|
name: 'qp-eancode-in',
|
|
9505
9874
|
label: '商品条码',
|
|
@@ -13791,8 +14160,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React$1.memo(BusinessTreeSearchSel
|
|
|
13791
14160
|
return true;
|
|
13792
14161
|
});
|
|
13793
14162
|
|
|
13794
|
-
var css_248z$
|
|
13795
|
-
styleInject(css_248z$
|
|
14163
|
+
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";
|
|
14164
|
+
styleInject(css_248z$b);
|
|
13796
14165
|
|
|
13797
14166
|
var index$2 = (function (props) {
|
|
13798
14167
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13829,8 +14198,8 @@ var index$2 = (function (props) {
|
|
|
13829
14198
|
}));
|
|
13830
14199
|
});
|
|
13831
14200
|
|
|
13832
|
-
var css_248z$
|
|
13833
|
-
styleInject(css_248z$
|
|
14201
|
+
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";
|
|
14202
|
+
styleInject(css_248z$c);
|
|
13834
14203
|
|
|
13835
14204
|
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13836
14205
|
_excluded2$3 = ["children"];
|
|
@@ -13964,8 +14333,8 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13964
14333
|
})));
|
|
13965
14334
|
};
|
|
13966
14335
|
|
|
13967
|
-
var css_248z$
|
|
13968
|
-
styleInject(css_248z$
|
|
14336
|
+
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";
|
|
14337
|
+
styleInject(css_248z$d);
|
|
13969
14338
|
|
|
13970
14339
|
var _excluded$9 = ["className", "style"];
|
|
13971
14340
|
var Search$1 = Input.Search;
|
|
@@ -14717,8 +15086,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14717
15086
|
}]);
|
|
14718
15087
|
}(React$1.Component);
|
|
14719
15088
|
|
|
14720
|
-
var css_248z$
|
|
14721
|
-
styleInject(css_248z$
|
|
15089
|
+
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";
|
|
15090
|
+
styleInject(css_248z$e);
|
|
14722
15091
|
|
|
14723
15092
|
//表格底部 金额总计
|
|
14724
15093
|
var TableSumComponent = (function (_ref) {
|
|
@@ -15457,8 +15826,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
15457
15826
|
return undefined;
|
|
15458
15827
|
};
|
|
15459
15828
|
|
|
15460
|
-
var css_248z$
|
|
15461
|
-
styleInject(css_248z$
|
|
15829
|
+
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";
|
|
15830
|
+
styleInject(css_248z$f);
|
|
15462
15831
|
|
|
15463
15832
|
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";
|
|
15464
15833
|
|
|
@@ -15472,8 +15841,8 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
15472
15841
|
|
|
15473
15842
|
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";
|
|
15474
15843
|
|
|
15475
|
-
var css_248z$
|
|
15476
|
-
styleInject(css_248z$
|
|
15844
|
+
var css_248z$g = "";
|
|
15845
|
+
styleInject(css_248z$g);
|
|
15477
15846
|
|
|
15478
15847
|
var _excluded$c = ["message", "type"];
|
|
15479
15848
|
var CommonAlert = (function (props) {
|
|
@@ -15746,8 +16115,8 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15746
16115
|
return true;
|
|
15747
16116
|
});
|
|
15748
16117
|
|
|
15749
|
-
var css_248z$
|
|
15750
|
-
styleInject(css_248z$
|
|
16118
|
+
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";
|
|
16119
|
+
styleInject(css_248z$h);
|
|
15751
16120
|
|
|
15752
16121
|
var _excluded$e = ["children"];
|
|
15753
16122
|
var index$4 = (function (props) {
|
|
@@ -15831,8 +16200,8 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15831
16200
|
return true;
|
|
15832
16201
|
});
|
|
15833
16202
|
|
|
15834
|
-
var css_248z$
|
|
15835
|
-
styleInject(css_248z$
|
|
16203
|
+
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";
|
|
16204
|
+
styleInject(css_248z$i);
|
|
15836
16205
|
|
|
15837
16206
|
var _excluded$f = ["className", "style"];
|
|
15838
16207
|
var DragHandle$2 = SortableHandle(function () {
|
|
@@ -17191,8 +17560,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
17191
17560
|
}]);
|
|
17192
17561
|
}(React$1.Component);
|
|
17193
17562
|
|
|
17194
|
-
var css_248z$
|
|
17195
|
-
styleInject(css_248z$
|
|
17563
|
+
var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17564
|
+
styleInject(css_248z$j);
|
|
17196
17565
|
|
|
17197
17566
|
var _excluded$h = ["onResize", "width"];
|
|
17198
17567
|
var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
|
|
@@ -17918,8 +18287,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17918
18287
|
})));
|
|
17919
18288
|
});
|
|
17920
18289
|
|
|
17921
|
-
var css_248z$
|
|
17922
|
-
styleInject(css_248z$
|
|
18290
|
+
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";
|
|
18291
|
+
styleInject(css_248z$k);
|
|
17923
18292
|
|
|
17924
18293
|
var cache = {};
|
|
17925
18294
|
var cacheLimit = 10000;
|
|
@@ -18175,8 +18544,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
18175
18544
|
})))));
|
|
18176
18545
|
};
|
|
18177
18546
|
|
|
18178
|
-
var css_248z$
|
|
18179
|
-
styleInject(css_248z$
|
|
18547
|
+
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";
|
|
18548
|
+
styleInject(css_248z$l);
|
|
18180
18549
|
|
|
18181
18550
|
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";
|
|
18182
18551
|
|
|
@@ -18384,8 +18753,8 @@ var i18n = {
|
|
|
18384
18753
|
}
|
|
18385
18754
|
};
|
|
18386
18755
|
|
|
18387
|
-
var css_248z$
|
|
18388
|
-
styleInject(css_248z$
|
|
18756
|
+
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";
|
|
18757
|
+
styleInject(css_248z$m);
|
|
18389
18758
|
|
|
18390
18759
|
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";
|
|
18391
18760
|
|
|
@@ -18915,8 +19284,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18915
19284
|
}))))));
|
|
18916
19285
|
};
|
|
18917
19286
|
|
|
18918
|
-
var css_248z$
|
|
18919
|
-
styleInject(css_248z$
|
|
19287
|
+
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";
|
|
19288
|
+
styleInject(css_248z$n);
|
|
18920
19289
|
|
|
18921
19290
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18922
19291
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -19072,8 +19441,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
19072
19441
|
|
|
19073
19442
|
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";
|
|
19074
19443
|
|
|
19075
|
-
var css_248z$
|
|
19076
|
-
styleInject(css_248z$
|
|
19444
|
+
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";
|
|
19445
|
+
styleInject(css_248z$o);
|
|
19077
19446
|
|
|
19078
19447
|
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";
|
|
19079
19448
|
|
|
@@ -19700,8 +20069,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19700
20069
|
}));
|
|
19701
20070
|
});
|
|
19702
20071
|
|
|
19703
|
-
var css_248z$
|
|
19704
|
-
styleInject(css_248z$
|
|
20072
|
+
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";
|
|
20073
|
+
styleInject(css_248z$p);
|
|
19705
20074
|
|
|
19706
20075
|
var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
19707
20076
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19837,8 +20206,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19837
20206
|
})));
|
|
19838
20207
|
});
|
|
19839
20208
|
|
|
19840
|
-
var css_248z$
|
|
19841
|
-
styleInject(css_248z$
|
|
20209
|
+
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";
|
|
20210
|
+
styleInject(css_248z$q);
|
|
19842
20211
|
|
|
19843
20212
|
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=";
|
|
19844
20213
|
|
|
@@ -20253,8 +20622,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
20253
20622
|
})));
|
|
20254
20623
|
};
|
|
20255
20624
|
|
|
20256
|
-
var css_248z$
|
|
20257
|
-
styleInject(css_248z$
|
|
20625
|
+
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";
|
|
20626
|
+
styleInject(css_248z$r);
|
|
20258
20627
|
|
|
20259
20628
|
/*
|
|
20260
20629
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -21778,8 +22147,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21778
22147
|
};
|
|
21779
22148
|
};
|
|
21780
22149
|
|
|
21781
|
-
var css_248z$
|
|
21782
|
-
styleInject(css_248z$
|
|
22150
|
+
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";
|
|
22151
|
+
styleInject(css_248z$s);
|
|
21783
22152
|
|
|
21784
22153
|
var useSticky = function useSticky(sticky) {
|
|
21785
22154
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -28014,8 +28383,8 @@ var nameRender = (function (data) {
|
|
|
28014
28383
|
}, " ");
|
|
28015
28384
|
});
|
|
28016
28385
|
|
|
28017
|
-
var css_248z$
|
|
28018
|
-
styleInject(css_248z$
|
|
28386
|
+
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";
|
|
28387
|
+
styleInject(css_248z$t);
|
|
28019
28388
|
|
|
28020
28389
|
function parseData(data) {
|
|
28021
28390
|
var res;
|
|
@@ -28226,8 +28595,8 @@ function registerSuggestions(monaco) {
|
|
|
28226
28595
|
});
|
|
28227
28596
|
}
|
|
28228
28597
|
|
|
28229
|
-
var css_248z$
|
|
28230
|
-
styleInject(css_248z$
|
|
28598
|
+
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";
|
|
28599
|
+
styleInject(css_248z$u);
|
|
28231
28600
|
|
|
28232
28601
|
var Title = Typography.Title;
|
|
28233
28602
|
var STRTEMP = 'const config = ';
|
|
@@ -28421,7 +28790,7 @@ var Editor = (function (props) {
|
|
|
28421
28790
|
}, [shallowHeight]);
|
|
28422
28791
|
var hasConfigTree = type !== 'editor';
|
|
28423
28792
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
28424
|
-
className: isFull ? css_248z$
|
|
28793
|
+
className: isFull ? css_248z$u.editorWrapper : ''
|
|
28425
28794
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
28426
28795
|
style: {
|
|
28427
28796
|
overflow: 'hidden'
|
|
@@ -28489,7 +28858,7 @@ var Editor = (function (props) {
|
|
|
28489
28858
|
})), hasConfigTree && /*#__PURE__*/React$1.createElement(Col, {
|
|
28490
28859
|
span: 8
|
|
28491
28860
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
28492
|
-
className: css_248z$
|
|
28861
|
+
className: css_248z$u.title
|
|
28493
28862
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React$1.createElement(ConfigTree, {
|
|
28494
28863
|
style: {
|
|
28495
28864
|
height: 'calc(100vh - 300px)',
|
|
@@ -30370,8 +30739,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
30370
30739
|
})), fieldsModify.visible && /*#__PURE__*/React$1.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
30371
30740
|
});
|
|
30372
30741
|
|
|
30373
|
-
var css_248z$
|
|
30374
|
-
styleInject(css_248z$
|
|
30742
|
+
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";
|
|
30743
|
+
styleInject(css_248z$v);
|
|
30375
30744
|
|
|
30376
30745
|
function iterFileds(fields) {
|
|
30377
30746
|
var filedsValue = [];
|
|
@@ -31911,8 +32280,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31911
32280
|
});
|
|
31912
32281
|
};
|
|
31913
32282
|
|
|
31914
|
-
var css_248z$
|
|
31915
|
-
styleInject(css_248z$
|
|
32283
|
+
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";
|
|
32284
|
+
styleInject(css_248z$w);
|
|
31916
32285
|
|
|
31917
32286
|
// 查询规则对象属性thresholdList
|
|
31918
32287
|
function getRegularThresholdRange(_x) {
|
|
@@ -34843,7 +35212,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34843
35212
|
style: {
|
|
34844
35213
|
marginLeft: '10px'
|
|
34845
35214
|
},
|
|
34846
|
-
className: css_248z$
|
|
35215
|
+
className: css_248z$w.rule_field_style
|
|
34847
35216
|
}, this.renderConditionField());
|
|
34848
35217
|
}
|
|
34849
35218
|
}]);
|
|
@@ -35284,7 +35653,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
35284
35653
|
disabled = _this$props.disabled;
|
|
35285
35654
|
return /*#__PURE__*/React$1.createElement("div", null, ruleTypeData.map(function (i) {
|
|
35286
35655
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
35287
|
-
className: css_248z$
|
|
35656
|
+
className: css_248z$w.action_list_item
|
|
35288
35657
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
35289
35658
|
onClick: function onClick() {
|
|
35290
35659
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -37231,8 +37600,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
37231
37600
|
}]);
|
|
37232
37601
|
}(Component);
|
|
37233
37602
|
|
|
37234
|
-
var css_248z$
|
|
37235
|
-
styleInject(css_248z$
|
|
37603
|
+
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";
|
|
37604
|
+
styleInject(css_248z$x);
|
|
37236
37605
|
|
|
37237
37606
|
var formatOperationList = function formatOperationList(data) {
|
|
37238
37607
|
var _result$find;
|
|
@@ -37965,13 +38334,13 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37965
38334
|
return /*#__PURE__*/React$1.createElement(Spin, {
|
|
37966
38335
|
spinning: loading
|
|
37967
38336
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37968
|
-
className: css_248z$
|
|
38337
|
+
className: css_248z$x.base_rule
|
|
37969
38338
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37970
|
-
className: css_248z$
|
|
38339
|
+
className: css_248z$x.base_rule_content
|
|
37971
38340
|
}, /*#__PURE__*/React$1.createElement("p", {
|
|
37972
|
-
className: css_248z$
|
|
38341
|
+
className: css_248z$x.base_rule_line_title
|
|
37973
38342
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
37974
|
-
className: css_248z$
|
|
38343
|
+
className: css_248z$x.rule_title
|
|
37975
38344
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React$1.createElement("p", {
|
|
37976
38345
|
style: {
|
|
37977
38346
|
float: 'right'
|
|
@@ -38221,8 +38590,8 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
38221
38590
|
})));
|
|
38222
38591
|
});
|
|
38223
38592
|
|
|
38224
|
-
var css_248z$
|
|
38225
|
-
styleInject(css_248z$
|
|
38593
|
+
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";
|
|
38594
|
+
styleInject(css_248z$y);
|
|
38226
38595
|
|
|
38227
38596
|
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
38228
38597
|
var Panel = Collapse.Panel;
|
|
@@ -38273,9 +38642,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
38273
38642
|
Board: ExtendedPanel
|
|
38274
38643
|
});
|
|
38275
38644
|
|
|
38276
|
-
var css_248z$
|
|
38645
|
+
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";
|
|
38277
38646
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
38278
|
-
styleInject(css_248z$
|
|
38647
|
+
styleInject(css_248z$z);
|
|
38279
38648
|
|
|
38280
38649
|
var Paragraph = Typography.Paragraph;
|
|
38281
38650
|
var Section = function Section(_ref) {
|
|
@@ -38369,4 +38738,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
38369
38738
|
}, children));
|
|
38370
38739
|
};
|
|
38371
38740
|
|
|
38372
|
-
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
|
|
38741
|
+
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 };
|