@bit-sun/business-component 4.0.12-alpha.8 → 4.0.13-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -1
- package/dist/components/Business/PropertyModal/index.d.ts +23 -0
- package/dist/components/Business/PropertyModal/mockData.d.ts +10 -0
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +4 -0
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +4 -0
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +5 -0
- package/dist/components/Functional/SearchSelect/utils.d.ts +16 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1515 -589
- package/dist/index.js +1512 -584
- package/package.json +3 -3
- package/src/components/Business/BsSulaQueryTable/utils.tsx +5 -4
- package/src/components/Business/PropertyModal/index.less +58 -0
- package/src/components/Business/PropertyModal/index.md +33 -0
- package/src/components/Business/PropertyModal/index.tsx +271 -0
- package/src/components/Business/PropertyModal/mockData.ts +160 -0
- package/src/components/Business/PropertyModal/propertyGroup.tsx +205 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +50 -3
- package/src/components/Business/SearchSelect/index.md +3 -4
- package/src/components/Business/SearchSelect/index.tsx +4 -1
- package/src/components/Business/columnSettingTable/columnSetting.tsx +2 -1
- package/src/components/Business/columnSettingTable/components/TableSumComponent.tsx +25 -0
- package/src/components/Business/columnSettingTable/components/style.less +25 -0
- package/src/components/Business/columnSettingTable/index.tsx +3 -28
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +2 -27
- package/src/components/Functional/QueryMutipleSelect/index.less +117 -0
- package/src/components/Functional/QueryMutipleSelect/index.md +41 -0
- package/src/components/Functional/QueryMutipleSelect/index.tsx +245 -0
- package/src/components/Functional/SearchSelect/index.less +33 -1
- package/src/components/Functional/SearchSelect/index.tsx +76 -269
- package/src/components/Functional/SearchSelect/utils.tsx +401 -0
- package/src/components/Solution/RuleComponent/ruleFiled.js +93 -93
- package/src/index.ts +2 -0
- package/src/components/Functional/SearchSelect/utils.ts +0 -38
package/dist/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var moment$1 = require('moment');
|
|
|
15
15
|
var icons = require('@ant-design/icons');
|
|
16
16
|
var bssula = require('bssula');
|
|
17
17
|
require('qs');
|
|
18
|
+
var ReactDOMServer = require('react-dom/server');
|
|
18
19
|
var XLSX = require('xlsx');
|
|
19
20
|
var reactBeautifulDnd = require('react-beautiful-dnd');
|
|
20
21
|
var ahooks = require('ahooks');
|
|
@@ -1210,10 +1211,7 @@ var authFn = function authFn(code) {
|
|
|
1210
1211
|
};
|
|
1211
1212
|
// 可以将普通字符串 或者tsx 转换成字符串
|
|
1212
1213
|
var renderToString = function renderToString(render) {
|
|
1213
|
-
return render;
|
|
1214
|
-
// return typeof render === 'string'
|
|
1215
|
-
// ? render
|
|
1216
|
-
// : ReactDOMServer.renderToString(render);
|
|
1214
|
+
return typeof render === 'string' ? render : ReactDOMServer.renderToString(render);
|
|
1217
1215
|
};
|
|
1218
1216
|
|
|
1219
1217
|
function downloadExcel(data, fileName, isResUrl) {
|
|
@@ -4098,7 +4096,7 @@ function ToCDB(str) {
|
|
|
4098
4096
|
return tmp;
|
|
4099
4097
|
}
|
|
4100
4098
|
|
|
4101
|
-
var css_248z$5 = ".
|
|
4099
|
+
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";
|
|
4102
4100
|
styleInject(css_248z$5);
|
|
4103
4101
|
|
|
4104
4102
|
var columnsPerRow = 4; // 每行的列数
|
|
@@ -4106,6 +4104,12 @@ var ColSpan = 6; // 查询条件 每行col = 24 /columnsPerRow
|
|
|
4106
4104
|
var handleSourceName = function handleSourceName(sName) {
|
|
4107
4105
|
return sName;
|
|
4108
4106
|
};
|
|
4107
|
+
// 生成唯一值
|
|
4108
|
+
var makeUniqueValue = function makeUniqueValue() {
|
|
4109
|
+
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4110
|
+
return generateUnitKey;
|
|
4111
|
+
};
|
|
4112
|
+
// ------------------------------------------处理样式相关--开始----------------------------------------
|
|
4109
4113
|
var getFormRowInfo = function getFormRowInfo(list) {
|
|
4110
4114
|
var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
|
|
4111
4115
|
var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
|
|
@@ -4134,6 +4138,22 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
|
|
|
4134
4138
|
var visibleFieldsCount = getVisibleFieldsCount(modalTableProps);
|
|
4135
4139
|
return visibleFieldsCount < (tableSearchForm === null || tableSearchForm === void 0 ? void 0 : tableSearchForm.length);
|
|
4136
4140
|
};
|
|
4141
|
+
var getTableHeigth = function getTableHeigth(list) {
|
|
4142
|
+
var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
|
|
4143
|
+
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4144
|
+
return 411 - totalRows * 10;
|
|
4145
|
+
};
|
|
4146
|
+
// ------------------------------------------处理样式相关--结束----------------------------------------
|
|
4147
|
+
// ------------------------------------------处理数据相关--开始----------------------------------------
|
|
4148
|
+
var formatSelectedValue = function formatSelectedValue(value) {
|
|
4149
|
+
return (value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
4150
|
+
return {
|
|
4151
|
+
value: (s === null || s === void 0 ? void 0 : s.value) || s,
|
|
4152
|
+
key: (s === null || s === void 0 ? void 0 : s.key) || (s === null || s === void 0 ? void 0 : s.value) || s,
|
|
4153
|
+
label: (s === null || s === void 0 ? void 0 : s.label) || ''
|
|
4154
|
+
};
|
|
4155
|
+
})) || [];
|
|
4156
|
+
};
|
|
4137
4157
|
var getRealStr = function getRealStr(oldSelect, newSelect, record) {
|
|
4138
4158
|
return (oldSelect === null || oldSelect === void 0 ? void 0 : oldSelect.length) ? oldSelect.some(function (o) {
|
|
4139
4159
|
return o.value == (record === null || record === void 0 ? void 0 : record.value);
|
|
@@ -4141,17 +4161,1031 @@ var getRealStr = function getRealStr(oldSelect, newSelect, record) {
|
|
|
4141
4161
|
return s.value != (record === null || record === void 0 ? void 0 : record.value);
|
|
4142
4162
|
}) : [].concat(_toConsumableArray(oldSelect), _toConsumableArray(newSelect)) : newSelect;
|
|
4143
4163
|
};
|
|
4144
|
-
var
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4164
|
+
var getCurrentSRKs = function getCurrentSRKs(selectMode, labelInValue, value) {
|
|
4165
|
+
return selectMode ? labelInValue ? value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
4166
|
+
return (s === null || s === void 0 ? void 0 : s.value) || s;
|
|
4167
|
+
}) : value : labelInValue ? (value === null || value === void 0 ? void 0 : value.value) && [value === null || value === void 0 ? void 0 : value.value] || [] : value && [value] || [];
|
|
4168
|
+
};
|
|
4169
|
+
var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
4170
|
+
// 判空处理
|
|
4171
|
+
if (!(currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length)) return items || [];
|
|
4172
|
+
// 创建映射对象 用于记录原始选中顺序
|
|
4173
|
+
var orderMap = new Map();
|
|
4174
|
+
currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.forEach(function (value, index) {
|
|
4175
|
+
orderMap.set(value, index);
|
|
4176
|
+
});
|
|
4177
|
+
// 被选中数据集合,获取之后排序
|
|
4178
|
+
var selectedOption = (items === null || items === void 0 ? void 0 : items.filter(function (option) {
|
|
4179
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4180
|
+
})) || [];
|
|
4181
|
+
var selectedOptionSort = (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.sort(function (a, b) {
|
|
4182
|
+
var _orderMap$get, _orderMap$get2;
|
|
4183
|
+
return ((_orderMap$get = orderMap.get(a.value)) !== null && _orderMap$get !== void 0 ? _orderMap$get : Infinity) - ((_orderMap$get2 = orderMap.get(b.value)) !== null && _orderMap$get2 !== void 0 ? _orderMap$get2 : Infinity);
|
|
4184
|
+
})) || [];
|
|
4185
|
+
// 未选中数据集合
|
|
4186
|
+
var otherOptions = (items === null || items === void 0 ? void 0 : items.filter(function (option) {
|
|
4187
|
+
return !(currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value));
|
|
4188
|
+
})) || [];
|
|
4189
|
+
return [].concat(_toConsumableArray(selectedOptionSort), _toConsumableArray(otherOptions));
|
|
4190
|
+
};
|
|
4191
|
+
// ------------------------------------------处理数据相关--结束----------------------------------------
|
|
4192
|
+
// ------------------------------------------查询 & 数据源 相关处理--开始----------------------------------------
|
|
4193
|
+
var handleParams = function handleParams(params) {
|
|
4194
|
+
var _loop = function _loop() {
|
|
4195
|
+
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4196
|
+
var element = params[key];
|
|
4197
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
4198
|
+
var dataParams = key.split('*number*');
|
|
4199
|
+
dataParams.forEach(function (value, index) {
|
|
4200
|
+
params[value] = element[index];
|
|
4201
|
+
});
|
|
4202
|
+
delete params[key];
|
|
4203
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4204
|
+
var _dataParams = key.split('*address*');
|
|
4205
|
+
_dataParams.forEach(function (value, index) {
|
|
4206
|
+
params[value] = element.PCDCode[index];
|
|
4207
|
+
});
|
|
4208
|
+
delete params[key];
|
|
4209
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4210
|
+
var _dataParams2 = key.split('*costType*');
|
|
4211
|
+
// eslint-disable-next-line prefer-destructuring
|
|
4212
|
+
params[_dataParams2[0]] = element[1];
|
|
4213
|
+
delete params[key];
|
|
4214
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4215
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
4216
|
+
_dataParams3.forEach(function (value, index) {
|
|
4217
|
+
if (index === 0) {
|
|
4218
|
+
params[value] = moment__default['default'](element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4219
|
+
} else {
|
|
4220
|
+
params[value] = moment__default['default'](element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4221
|
+
}
|
|
4222
|
+
});
|
|
4223
|
+
delete params[key];
|
|
4224
|
+
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4225
|
+
var _dataParams4 = key.split('*checkBox*');
|
|
4226
|
+
if (element) {
|
|
4227
|
+
params[_dataParams4[0]] = 0;
|
|
4228
|
+
}
|
|
4229
|
+
delete params[key];
|
|
4230
|
+
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4231
|
+
var _dataParams5 = key.split('*cascader*');
|
|
4232
|
+
params[_dataParams5[0]] = element[element.length - 1];
|
|
4233
|
+
delete params[key];
|
|
4234
|
+
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4235
|
+
var _dataParams6 = key.split('*date*');
|
|
4236
|
+
_dataParams6.forEach(function (value, index) {
|
|
4237
|
+
if (index === 0) {
|
|
4238
|
+
params[value] = moment__default['default'](element[index]).format('YYYY-MM-DD');
|
|
4239
|
+
} else {
|
|
4240
|
+
params[value] = moment__default['default'](element[index]).format('YYYY-MM-DD');
|
|
4241
|
+
}
|
|
4242
|
+
});
|
|
4243
|
+
delete params[key];
|
|
4244
|
+
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4245
|
+
var name = '',
|
|
4246
|
+
value = element['value'];
|
|
4247
|
+
if (value.indexOf(',') >= 0) {
|
|
4248
|
+
name = "qp-".concat(element['name'], "-in");
|
|
4249
|
+
} else {
|
|
4250
|
+
name = "qp-".concat(element['name'], "-like");
|
|
4251
|
+
}
|
|
4252
|
+
params[name] = value;
|
|
4253
|
+
delete params[key];
|
|
4254
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
4255
|
+
var _dataParams7 = key.split('*');
|
|
4256
|
+
_dataParams7.forEach(function (value, index) {
|
|
4257
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4258
|
+
});
|
|
4259
|
+
delete params[key];
|
|
4260
|
+
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4261
|
+
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4262
|
+
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4263
|
+
if (params[key][0] === 'range') {
|
|
4264
|
+
if (params[key][1][0]) {
|
|
4265
|
+
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4266
|
+
}
|
|
4267
|
+
if (params[key][1][1]) {
|
|
4268
|
+
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4269
|
+
}
|
|
4270
|
+
} else {
|
|
4271
|
+
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4272
|
+
}
|
|
4273
|
+
delete params[key];
|
|
4274
|
+
} else if (Array.isArray(element)) {
|
|
4275
|
+
params[key] = element.join(',');
|
|
4276
|
+
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4277
|
+
delete params[key];
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
};
|
|
4281
|
+
for (var key in params) {
|
|
4282
|
+
_loop();
|
|
4283
|
+
}
|
|
4284
|
+
};
|
|
4285
|
+
//处理单据编号查询 如果是查询单条数据 就是模糊查询 两条以上就是精准查询
|
|
4286
|
+
var convertOrderNo = function convertOrderNo(params) {
|
|
4287
|
+
//需要处理得编号字段名
|
|
4288
|
+
var arr = ['qp-skuCode-in', 'qp-eancode-in', 'qp-itemCode-in'];
|
|
4289
|
+
for (var i = 0; i < arr.length; i++) {
|
|
4290
|
+
if (params[arr[i]]) {
|
|
4291
|
+
if (!params[arr[i]].includes(',')) {
|
|
4292
|
+
params[arr[i].replace(/(.*)in/, '$1like')] = params[arr[i]];
|
|
4293
|
+
delete params[arr[i]];
|
|
4294
|
+
}
|
|
4295
|
+
}
|
|
4296
|
+
}
|
|
4297
|
+
return params;
|
|
4298
|
+
};
|
|
4299
|
+
var convertQueryParams = function convertQueryParams(params) {
|
|
4300
|
+
var result = convertOrderNo(params);
|
|
4301
|
+
return _.omit(result, ['UNIQUE_SPEC']); // 处理sku选择器属性参数
|
|
4302
|
+
};
|
|
4303
|
+
var convertUrlQueryParams = function convertUrlQueryParams(params) {
|
|
4304
|
+
// 非query请求:默认参数拼接URL,设置属性noUrlQueryParams可不拼接
|
|
4305
|
+
return (params === null || params === void 0 ? void 0 : params.noUrlQueryParams) ? '' : "?".concat(querystring.stringify(convertQueryParams(params)));
|
|
4306
|
+
};
|
|
4307
|
+
var convertBodyParams = function convertBodyParams(params) {
|
|
4308
|
+
// 处理sku选择器属性参数
|
|
4309
|
+
var unique_params = null;
|
|
4310
|
+
if (params['UNIQUE_SPEC']) {
|
|
4311
|
+
var _params$UNIQUE_SPEC;
|
|
4312
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
4313
|
+
}
|
|
4314
|
+
// body参数来源:sku选择器固定参数 > 调用所传bodyParams > 默认参数-无
|
|
4315
|
+
return unique_params || (params === null || params === void 0 ? void 0 : params.bodyParams) || null;
|
|
4316
|
+
};
|
|
4317
|
+
var convertRes = function convertRes(data, otherParams) {
|
|
4318
|
+
var mappingTextField = otherParams.mappingTextField,
|
|
4319
|
+
mappingTextShowTextField = otherParams.mappingTextShowTextField,
|
|
4320
|
+
mappingTextShowKeyField = otherParams.mappingTextShowKeyField,
|
|
4321
|
+
mappingValueField = otherParams.mappingValueField,
|
|
4322
|
+
specialBracket = otherParams.specialBracket,
|
|
4323
|
+
type = otherParams.type,
|
|
4324
|
+
queryParams = otherParams.queryParams;
|
|
4325
|
+
return data.map(function (item, index) {
|
|
4326
|
+
var _item$children;
|
|
4327
|
+
var textShowText = item[mappingTextField];
|
|
4328
|
+
if (mappingTextShowTextField) {
|
|
4329
|
+
textShowText = [];
|
|
4330
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
4331
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
4332
|
+
textShowText.push(item[r]);
|
|
4333
|
+
});
|
|
4334
|
+
} else {
|
|
4335
|
+
textShowText = item[mappingTextShowTextField];
|
|
4336
|
+
}
|
|
4337
|
+
}
|
|
4338
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
4339
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
4340
|
+
}
|
|
4341
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4342
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4343
|
+
textShowText: textShowText,
|
|
4344
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4345
|
+
value: item[mappingValueField]
|
|
4346
|
+
}, (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) ? {
|
|
4347
|
+
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
|
|
4348
|
+
} : {});
|
|
4349
|
+
});
|
|
4350
|
+
};
|
|
4351
|
+
var convertResData = function convertResData(requestConfig, res, selectProps) {
|
|
4352
|
+
var isMap = requestConfig.isMap,
|
|
4353
|
+
mappingTextField = requestConfig.mappingTextField,
|
|
4354
|
+
mappingTextShowTextField = requestConfig.mappingTextShowTextField,
|
|
4355
|
+
specialBracket = requestConfig.specialBracket,
|
|
4356
|
+
mappingValueField = requestConfig.mappingValueField,
|
|
4357
|
+
mappingTextShowKeyField = requestConfig.mappingTextShowKeyField;
|
|
4358
|
+
var selectMode = selectProps.selectMode,
|
|
4359
|
+
labelInValue = selectProps.labelInValue,
|
|
4360
|
+
value = selectProps.value,
|
|
4361
|
+
type = selectProps.type,
|
|
4362
|
+
items = selectProps.items,
|
|
4363
|
+
queryParams = selectProps.queryParams,
|
|
4364
|
+
_selectProps$needTopS = selectProps.needTopSelectedSource,
|
|
4365
|
+
needTopSelectedSource = _selectProps$needTopS === void 0 ? true : _selectProps$needTopS;
|
|
4366
|
+
var otherParams = {
|
|
4367
|
+
mappingTextField: mappingTextField,
|
|
4368
|
+
mappingTextShowTextField: mappingTextShowTextField,
|
|
4369
|
+
mappingTextShowKeyField: mappingTextShowKeyField,
|
|
4370
|
+
mappingValueField: mappingValueField,
|
|
4371
|
+
specialBracket: specialBracket,
|
|
4372
|
+
type: type,
|
|
4373
|
+
queryParams: queryParams
|
|
4374
|
+
};
|
|
4375
|
+
var source = [];
|
|
4376
|
+
if (isMap) {
|
|
4377
|
+
source = Object.keys(res).map(function (d, i) {
|
|
4378
|
+
return {
|
|
4379
|
+
text: Object.values(res)[i],
|
|
4380
|
+
value: d
|
|
4381
|
+
};
|
|
4382
|
+
});
|
|
4383
|
+
} else {
|
|
4384
|
+
var keys = res.list ? 'list' : 'items';
|
|
4385
|
+
source = res ? res[keys] ? convertRes(res[keys], otherParams) : Array.isArray(res) && convertRes(res, otherParams) : [];
|
|
4386
|
+
}
|
|
4387
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
4388
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4389
|
+
if (needTopSelectedSource && type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
4390
|
+
var _source;
|
|
4391
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
4392
|
+
return r.value == s;
|
|
4393
|
+
}));
|
|
4394
|
+
}))) {
|
|
4395
|
+
var selectedOption = items.filter(function (option) {
|
|
4396
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4397
|
+
}) || [];
|
|
4398
|
+
source = (source || []).concat(selectedOption);
|
|
4399
|
+
}
|
|
4400
|
+
// 数据源 不可以有重复key
|
|
4401
|
+
source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
|
|
4402
|
+
return source;
|
|
4403
|
+
};
|
|
4404
|
+
// ------------------------------------------查询 & 数据源 相关处理--结束----------------------------------------
|
|
4405
|
+
// ------------------------------------------ 数据源展示 相关处理--开始----------------------------------------
|
|
4406
|
+
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
4407
|
+
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
4408
|
+
if (noNeedSplit) {
|
|
4409
|
+
return item.text;
|
|
4410
|
+
} else {
|
|
4411
|
+
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
4412
|
+
}
|
|
4413
|
+
};
|
|
4414
|
+
var LightHeightOption = function LightHeightOption(props) {
|
|
4415
|
+
var filterTxt = props.filterTxt,
|
|
4416
|
+
text = props.text,
|
|
4417
|
+
_props$needToolTips = props.needToolTips,
|
|
4418
|
+
needToolTips = _props$needToolTips === void 0 ? true : _props$needToolTips;
|
|
4419
|
+
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
4420
|
+
if (heightTxt === '') {
|
|
4421
|
+
return text;
|
|
4422
|
+
}
|
|
4423
|
+
var searchString = _.escapeRegExp(heightTxt);
|
|
4424
|
+
// 前面filterOption 不区分大小写,这里用i
|
|
4425
|
+
var regexp = new RegExp(searchString, 'gi');
|
|
4426
|
+
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
4427
|
+
};
|
|
4428
|
+
var renderContent = /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4429
|
+
ref: function ref(nodeElement) {
|
|
4430
|
+
if (nodeElement) {
|
|
4431
|
+
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4434
|
+
});
|
|
4435
|
+
if (!needToolTips) return renderContent;
|
|
4436
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
4437
|
+
title: text
|
|
4438
|
+
}, renderContent);
|
|
4439
|
+
};
|
|
4440
|
+
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
|
|
4441
|
+
var selectProps = _ref3.selectProps,
|
|
4442
|
+
onChange = _ref3.onChange,
|
|
4443
|
+
value = _ref3.value,
|
|
4444
|
+
setIsMaxTagsOpen = _ref3.setIsMaxTagsOpen;
|
|
4445
|
+
var labelInValue = selectProps.labelInValue;
|
|
4446
|
+
var _onClose = function onClose(e, item) {
|
|
4447
|
+
e.preventDefault();
|
|
4448
|
+
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4449
|
+
return i.value !== item.value;
|
|
4450
|
+
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4451
|
+
return i !== item.value;
|
|
4452
|
+
});
|
|
4453
|
+
onChange(newValue);
|
|
4454
|
+
};
|
|
4455
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
4456
|
+
open: true,
|
|
4457
|
+
overlayClassName: 'searchSelectMaxTagToolTip',
|
|
4458
|
+
destroyTooltipOnHide: true,
|
|
4459
|
+
placement: "topRight",
|
|
4460
|
+
autoAdjustOverflow: false,
|
|
4461
|
+
title: (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
4462
|
+
style: {
|
|
4463
|
+
margin: '6px 8px 0px'
|
|
4464
|
+
},
|
|
4465
|
+
onMouseEnter: function onMouseEnter() {
|
|
4466
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(true);
|
|
4467
|
+
},
|
|
4468
|
+
onMouseLeave: function onMouseLeave() {
|
|
4469
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(false);
|
|
4470
|
+
}
|
|
4471
|
+
}, selectedValues.map(function (i) {
|
|
4472
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
4473
|
+
closable: true,
|
|
4474
|
+
onClose: function onClose(e) {
|
|
4475
|
+
return _onClose(e, i);
|
|
4476
|
+
},
|
|
4477
|
+
style: {
|
|
4478
|
+
margin: '0px 3px 3px 0px',
|
|
4479
|
+
background: '#f5f5f5',
|
|
4480
|
+
height: '24px',
|
|
4481
|
+
border: '1px solid #f0f0f0'
|
|
4482
|
+
}
|
|
4483
|
+
}, i.label);
|
|
4484
|
+
})))
|
|
4485
|
+
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
4486
|
+
};
|
|
4487
|
+
// ------------------------------------------ 数据源展示 相关处理--结束----------------------------------------
|
|
4488
|
+
|
|
4489
|
+
var getValue = function getValue(value, selectMode) {
|
|
4490
|
+
var _value$split;
|
|
4491
|
+
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;
|
|
4492
|
+
};
|
|
4493
|
+
var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
4494
|
+
var onValueChange = _ref.onValueChange,
|
|
4495
|
+
_ref$requestConfig = _ref.requestConfig,
|
|
4496
|
+
requestConfig = _ref$requestConfig === void 0 ? {} : _ref$requestConfig,
|
|
4497
|
+
_ref$selectProps = _ref.selectProps,
|
|
4498
|
+
selectProps = _ref$selectProps === void 0 ? {} : _ref$selectProps,
|
|
4499
|
+
ctx = _ref.ctx;
|
|
4500
|
+
var filter = requestConfig.filter,
|
|
4501
|
+
_requestConfig$method = requestConfig.method,
|
|
4502
|
+
method = _requestConfig$method === void 0 ? 'get' : _requestConfig$method,
|
|
4503
|
+
url = requestConfig.url,
|
|
4504
|
+
_requestConfig$extral = requestConfig.extralHeaders,
|
|
4505
|
+
extralHeaders = _requestConfig$extral === void 0 ? {} : _requestConfig$extral,
|
|
4506
|
+
_requestConfig$otherP = requestConfig.otherParams,
|
|
4507
|
+
otherParams = _requestConfig$otherP === void 0 ? {} : _requestConfig$otherP,
|
|
4508
|
+
_requestConfig$specia = requestConfig.specialBracket,
|
|
4509
|
+
specialBracket = _requestConfig$specia === void 0 ? false : _requestConfig$specia,
|
|
4510
|
+
_requestConfig$noNeed = requestConfig.noNeedSplit,
|
|
4511
|
+
noNeedSplit = _requestConfig$noNeed === void 0 ? false : _requestConfig$noNeed;
|
|
4512
|
+
var selectParamsKey = filter || 'qp-codeAndName-like';
|
|
4513
|
+
var resultSourceKey = handleSourceName((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'skuCode');
|
|
4514
|
+
var currentSelectProps = _objectSpread2({
|
|
4515
|
+
showArrow: true,
|
|
4516
|
+
showSearch: true,
|
|
4517
|
+
filterOption: false,
|
|
4518
|
+
allowClear: true,
|
|
4519
|
+
listHeight: 160,
|
|
4520
|
+
labelInValue: false,
|
|
4521
|
+
maxTagCount: 4
|
|
4522
|
+
}, selectProps);
|
|
4523
|
+
var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
|
|
4524
|
+
var _useState = React$1.useState(false),
|
|
4525
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4526
|
+
isModalVisible = _useState2[0],
|
|
4527
|
+
setIsModalVisible = _useState2[1];
|
|
4528
|
+
var _useState3 = React$1.useState(false),
|
|
4529
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4530
|
+
open = _useState4[0],
|
|
4531
|
+
setOpen = _useState4[1];
|
|
4532
|
+
var _useState5 = React$1.useState(),
|
|
4533
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4534
|
+
value = _useState6[0],
|
|
4535
|
+
setValue = _useState6[1];
|
|
4536
|
+
var _useState7 = React$1.useState(),
|
|
4537
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4538
|
+
popvalue = _useState8[0],
|
|
4539
|
+
setPopValue = _useState8[1];
|
|
4540
|
+
var _useState9 = React$1.useState([]),
|
|
4541
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4542
|
+
source = _useState10[0],
|
|
4543
|
+
setSource = _useState10[1];
|
|
4544
|
+
var _useDebounceFn = ahooks.useDebounceFn(function () {
|
|
4545
|
+
getData();
|
|
4546
|
+
}, {
|
|
4547
|
+
wait: 1000
|
|
4548
|
+
}),
|
|
4549
|
+
run = _useDebounceFn.run;
|
|
4550
|
+
var _useState11 = React$1.useState(false),
|
|
4551
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4552
|
+
fetching = _useState12[0],
|
|
4553
|
+
setFetching = _useState12[1];
|
|
4554
|
+
var _useState13 = React$1.useState(''),
|
|
4555
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4556
|
+
searchValue = _useState14[0],
|
|
4557
|
+
setSearchValue = _useState14[1];
|
|
4558
|
+
var _useState15 = React$1.useState(resultSourceKey),
|
|
4559
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4560
|
+
uniqueValue = _useState16[0],
|
|
4561
|
+
setUniqueValue = _useState16[1];
|
|
4562
|
+
React$1.useEffect(function () {
|
|
4563
|
+
if (value) {
|
|
4564
|
+
setPopValue(value);
|
|
4565
|
+
onValueChange(value);
|
|
4566
|
+
}
|
|
4567
|
+
}, [value]);
|
|
4568
|
+
React$1.useEffect(function () {
|
|
4569
|
+
setUniqueValue(makeUniqueValue());
|
|
4570
|
+
}, [resultSourceKey]);
|
|
4571
|
+
var showModal = function showModal() {
|
|
4572
|
+
setIsModalVisible(true);
|
|
4573
|
+
//弹窗打开时 默认搜索内容换行显示
|
|
4574
|
+
setPopValue(function (data) {
|
|
4575
|
+
return data === null || data === void 0 ? void 0 : data.replace(/,/g, '\n');
|
|
4576
|
+
});
|
|
4577
|
+
};
|
|
4578
|
+
var handleOk = function handleOk() {
|
|
4579
|
+
formaData(popvalue);
|
|
4580
|
+
setIsModalVisible(false);
|
|
4581
|
+
};
|
|
4582
|
+
var formaData = function formaData(v) {
|
|
4583
|
+
var _ToCDB, _ToCDB$split, _ToCDB$split$filter;
|
|
4584
|
+
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) {
|
|
4585
|
+
return item;
|
|
4586
|
+
})) === null || _ToCDB$split$filter === void 0 ? void 0 : _ToCDB$split$filter.join(',');
|
|
4587
|
+
console.log(formatValue, '1111formatValue');
|
|
4588
|
+
setValue(formatValue);
|
|
4589
|
+
};
|
|
4590
|
+
var handleCancel = function handleCancel() {
|
|
4591
|
+
setIsModalVisible(false);
|
|
4592
|
+
};
|
|
4593
|
+
var outerChange = function outerChange(v) {
|
|
4594
|
+
formaData(v);
|
|
4595
|
+
};
|
|
4596
|
+
var onChange = function onChange(e) {
|
|
4597
|
+
var v = e.target.value;
|
|
4598
|
+
setPopValue(v);
|
|
4599
|
+
};
|
|
4600
|
+
// 获取下拉框数据源-不分页
|
|
4601
|
+
var getData = function getData() {
|
|
4602
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4603
|
+
var callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
4604
|
+
if (!requestConfig) return;
|
|
4605
|
+
if (!url) return;
|
|
4606
|
+
setFetching(true);
|
|
4607
|
+
var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
|
|
4608
|
+
if (_.isNil(queryParams[selectParamsKey])) {
|
|
4609
|
+
queryParams[selectParamsKey] = searchValue;
|
|
4610
|
+
}
|
|
4611
|
+
var getRequest;
|
|
4612
|
+
var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
|
|
4613
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
4614
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
4615
|
+
} else {
|
|
4616
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
4617
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
4618
|
+
});
|
|
4619
|
+
}
|
|
4620
|
+
if (!getRequest) return;
|
|
4621
|
+
getRequest.then(function (result) {
|
|
4622
|
+
setFetching(false);
|
|
4623
|
+
result = result.data;
|
|
4624
|
+
if (judgeIsRequestError(result)) {
|
|
4625
|
+
antd.message.error(result.msg);
|
|
4626
|
+
return;
|
|
4627
|
+
}
|
|
4628
|
+
var res = result.data;
|
|
4629
|
+
var dSource = convertResData(requestConfig, res, {
|
|
4630
|
+
selectMode: selectMode,
|
|
4631
|
+
labelInValue: currentSelectProps === null || currentSelectProps === void 0 ? void 0 : currentSelectProps.labelInValue,
|
|
4632
|
+
value: value,
|
|
4633
|
+
type: 1,
|
|
4634
|
+
items: source,
|
|
4635
|
+
needTopSelectedSource: false
|
|
4636
|
+
});
|
|
4637
|
+
if (callback) {
|
|
4638
|
+
callback(source);
|
|
4639
|
+
} else {
|
|
4640
|
+
setSource(dSource);
|
|
4641
|
+
}
|
|
4642
|
+
}).catch(function (err) {
|
|
4643
|
+
setFetching(false);
|
|
4644
|
+
});
|
|
4645
|
+
};
|
|
4646
|
+
var onSearchChange = function onSearchChange(v) {
|
|
4647
|
+
setSearchValue(v);
|
|
4648
|
+
run();
|
|
4649
|
+
};
|
|
4650
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4651
|
+
className: 'query_select'
|
|
4652
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4653
|
+
className: "query_select_show",
|
|
4654
|
+
id: "query_multiple_select_div_".concat(uniqueValue)
|
|
4655
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2({
|
|
4656
|
+
value: getValue(value, selectMode),
|
|
4657
|
+
onChange: outerChange,
|
|
4658
|
+
open: open,
|
|
4659
|
+
onBlur: function onBlur(v) {
|
|
4660
|
+
onSearchChange(v);
|
|
4661
|
+
setOpen(false);
|
|
4662
|
+
},
|
|
4663
|
+
onClick: function onClick() {
|
|
4664
|
+
return setOpen(true);
|
|
4665
|
+
},
|
|
4666
|
+
onPaste: function onPaste(e) {
|
|
4667
|
+
formaData(e.clipboardData.getData('text'));
|
|
4668
|
+
e.preventDefault();
|
|
4669
|
+
},
|
|
4670
|
+
onSearch: function onSearch(v) {
|
|
4671
|
+
return onSearchChange(v);
|
|
4672
|
+
},
|
|
4673
|
+
onSelect: function onSelect() {
|
|
4674
|
+
if (selectMode) return;
|
|
4675
|
+
setTimeout(function () {
|
|
4676
|
+
setOpen(false);
|
|
4677
|
+
}, 0);
|
|
4678
|
+
},
|
|
4679
|
+
style: {
|
|
4680
|
+
width: 'calc(100%)'
|
|
4681
|
+
},
|
|
4682
|
+
suffixIcon: /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4683
|
+
className: "query_select_expand_button",
|
|
4684
|
+
onClick: showModal
|
|
4685
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.DashOutlined, null)),
|
|
4686
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
4687
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
4688
|
+
return maxTagPlaceholder(v, {
|
|
4689
|
+
selectProps: currentSelectProps,
|
|
4690
|
+
onChange: outerChange,
|
|
4691
|
+
value: getValue(value, selectMode),
|
|
4692
|
+
setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
|
|
4693
|
+
});
|
|
4694
|
+
},
|
|
4695
|
+
notFoundContent: fetching ? (/*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
4696
|
+
size: "small",
|
|
4697
|
+
className: 'searchSelectSpin'
|
|
4698
|
+
})) : (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
4699
|
+
style: {
|
|
4700
|
+
textAlign: 'center'
|
|
4701
|
+
}
|
|
4702
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165\u5185\u5BB9\u6A21\u7CCA\u67E5\u8BE2"))),
|
|
4703
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
4704
|
+
return triggerNode.parentElement;
|
|
4705
|
+
}
|
|
4706
|
+
}, currentSelectProps), source.map(function (item) {
|
|
4707
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
|
|
4708
|
+
key: item.value,
|
|
4709
|
+
label: item.text
|
|
4710
|
+
}, LightHeightOption({
|
|
4711
|
+
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
4712
|
+
filterTxt: searchValue,
|
|
4713
|
+
needToolTips: false
|
|
4714
|
+
}));
|
|
4715
|
+
}))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
4716
|
+
width: 600,
|
|
4717
|
+
title: "\u591A\u503C\u5F55\u5165",
|
|
4718
|
+
visible: isModalVisible,
|
|
4719
|
+
onOk: handleOk,
|
|
4720
|
+
onCancel: handleCancel,
|
|
4721
|
+
className: 'multiInput_modal',
|
|
4722
|
+
bodyStyle: {
|
|
4723
|
+
padding: '10px 16px'
|
|
4724
|
+
},
|
|
4725
|
+
footer: [/*#__PURE__*/React__default['default'].createElement(antd.ConfigProvider, {
|
|
4726
|
+
autoInsertSpaceInButton: false
|
|
4727
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
4728
|
+
key: "back",
|
|
4729
|
+
onClick: handleCancel
|
|
4730
|
+
}, "\u53D6\u6D88")), /*#__PURE__*/React__default['default'].createElement(antd.ConfigProvider, {
|
|
4731
|
+
autoInsertSpaceInButton: false
|
|
4732
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
4733
|
+
key: "submit",
|
|
4734
|
+
type: "primary",
|
|
4735
|
+
onClick: handleOk
|
|
4736
|
+
}, "\u5F55\u5165"))]
|
|
4737
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4738
|
+
className: 'query_select_wrapper'
|
|
4739
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4740
|
+
className: 'query_select_wrapper_top'
|
|
4741
|
+
}, "\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__default['default'].createElement("div", {
|
|
4742
|
+
className: 'query_select_textArea'
|
|
4743
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Input.TextArea, {
|
|
4744
|
+
placeholder: "\u5728\u6B64\u5F55\u5165...",
|
|
4745
|
+
value: popvalue,
|
|
4746
|
+
onChange: onChange,
|
|
4747
|
+
rows: 12,
|
|
4748
|
+
showCount: false
|
|
4749
|
+
})))));
|
|
4148
4750
|
};
|
|
4751
|
+
function ToCDB$1(selectStr) {
|
|
4752
|
+
var tmp = '';
|
|
4753
|
+
if (!(selectStr === null || selectStr === void 0 ? void 0 : selectStr.length)) return '';
|
|
4754
|
+
var str = Array.isArray(selectStr) ? selectStr.join(',') : selectStr;
|
|
4755
|
+
for (var i = 0; i < (str === null || str === void 0 ? void 0 : str.length); i++) {
|
|
4756
|
+
var _str$charCodeAt, _str$charCodeAt2;
|
|
4757
|
+
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) {
|
|
4758
|
+
tmp += String.fromCharCode((str === null || str === void 0 ? void 0 : str.charCodeAt(i)) - 65248);
|
|
4759
|
+
} else {
|
|
4760
|
+
tmp += String.fromCharCode(str.charCodeAt(i));
|
|
4761
|
+
}
|
|
4762
|
+
}
|
|
4763
|
+
return tmp;
|
|
4764
|
+
}
|
|
4765
|
+
|
|
4766
|
+
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";
|
|
4767
|
+
styleInject(css_248z$6);
|
|
4149
4768
|
|
|
4150
4769
|
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";
|
|
4151
4770
|
|
|
4771
|
+
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";
|
|
4772
|
+
styleInject(css_248z$7);
|
|
4773
|
+
|
|
4774
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4775
|
+
var propertyData = props.propertyData,
|
|
4776
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4777
|
+
modalVisilbe = props.modalVisilbe,
|
|
4778
|
+
itemValue = props.itemValue;
|
|
4779
|
+
var _useState = React$1.useState([]),
|
|
4780
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4781
|
+
commonUseProperty = _useState2[0],
|
|
4782
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4783
|
+
var _useState3 = React$1.useState([]),
|
|
4784
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4785
|
+
notCommonUseProperty = _useState4[0],
|
|
4786
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4787
|
+
var _useState5 = React$1.useState(false),
|
|
4788
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4789
|
+
indeterminate = _useState6[0],
|
|
4790
|
+
setIndeterminate = _useState6[1];
|
|
4791
|
+
var _useState7 = React$1.useState(false),
|
|
4792
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4793
|
+
showNotCommon = _useState8[0],
|
|
4794
|
+
setShowNotCommon = _useState8[1];
|
|
4795
|
+
React$1.useEffect(function () {
|
|
4796
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4797
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4798
|
+
});
|
|
4799
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4800
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4801
|
+
proDetailList.forEach(function (item) {
|
|
4802
|
+
if (checkedList.some(function (checkItem) {
|
|
4803
|
+
return checkItem.value === item.value;
|
|
4804
|
+
})) {
|
|
4805
|
+
item.isChecked = true;
|
|
4806
|
+
}
|
|
4807
|
+
});
|
|
4808
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4809
|
+
return item.isCommonUse;
|
|
4810
|
+
});
|
|
4811
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4812
|
+
return !item.isCommonUse;
|
|
4813
|
+
});
|
|
4814
|
+
if (checkedList.some(function (item) {
|
|
4815
|
+
return !item.isCommonUse;
|
|
4816
|
+
})) {
|
|
4817
|
+
setShowNotCommon(true);
|
|
4818
|
+
}
|
|
4819
|
+
setCommonUseProperty(commonUseProperty);
|
|
4820
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4821
|
+
}, [modalVisilbe]);
|
|
4822
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4823
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4824
|
+
return item.isChecked;
|
|
4825
|
+
});
|
|
4826
|
+
if (showNotCommon) {
|
|
4827
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4828
|
+
return item.isChecked;
|
|
4829
|
+
})));
|
|
4830
|
+
}
|
|
4831
|
+
handleProperyItemChange({
|
|
4832
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4833
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4834
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4835
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4836
|
+
detailList: choosedPropertyList
|
|
4837
|
+
});
|
|
4838
|
+
};
|
|
4839
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4840
|
+
if (showNotCommon) {
|
|
4841
|
+
notCommonUseProperty.map(function (item) {
|
|
4842
|
+
return item.isChecked = e.target.checked;
|
|
4843
|
+
});
|
|
4844
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4845
|
+
}
|
|
4846
|
+
commonUseProperty.map(function (item) {
|
|
4847
|
+
return item.isChecked = e.target.checked;
|
|
4848
|
+
});
|
|
4849
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4850
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4851
|
+
setIndeterminate(false);
|
|
4852
|
+
};
|
|
4853
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4854
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4855
|
+
if (showNotCommon) {
|
|
4856
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4857
|
+
}
|
|
4858
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4859
|
+
return item.isChecked;
|
|
4860
|
+
}).length && checkList.filter(function (item) {
|
|
4861
|
+
return item.isChecked;
|
|
4862
|
+
}).length !== checkList.length;
|
|
4863
|
+
setIndeterminate(indeterminate);
|
|
4864
|
+
};
|
|
4865
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4866
|
+
if (type === 1) {
|
|
4867
|
+
// 常用属性
|
|
4868
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4869
|
+
if (info.value === item.value) {
|
|
4870
|
+
info.isChecked = e.target.checked;
|
|
4871
|
+
}
|
|
4872
|
+
});
|
|
4873
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4874
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4875
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4876
|
+
}
|
|
4877
|
+
if (type === 2) {
|
|
4878
|
+
// 非常用属性
|
|
4879
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4880
|
+
if (info.value === item.value) {
|
|
4881
|
+
info.isChecked = e.target.checked;
|
|
4882
|
+
}
|
|
4883
|
+
});
|
|
4884
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4885
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4886
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4887
|
+
}
|
|
4888
|
+
};
|
|
4889
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4890
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4891
|
+
return checkData.length && checkData.every(function (item) {
|
|
4892
|
+
return item.isChecked;
|
|
4893
|
+
}) ? true : false;
|
|
4894
|
+
};
|
|
4895
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4896
|
+
className: 'propertyGroup_container'
|
|
4897
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4898
|
+
className: 'propertyGroup_container_left'
|
|
4899
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4900
|
+
checked: checkAllChecked(),
|
|
4901
|
+
indeterminate: indeterminate,
|
|
4902
|
+
onChange: handleChangeAll
|
|
4903
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4904
|
+
title: propertyData.name,
|
|
4905
|
+
className: "propertyGroup_checkbox_container"
|
|
4906
|
+
}, propertyData.propertyName))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4907
|
+
className: 'propertyGroup_container_right'
|
|
4908
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4909
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4910
|
+
checked: item.isChecked,
|
|
4911
|
+
key: item.value,
|
|
4912
|
+
onChange: function onChange(e) {
|
|
4913
|
+
handleItemChecked(e, item, 1);
|
|
4914
|
+
}
|
|
4915
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4916
|
+
title: item.name,
|
|
4917
|
+
className: "propertyGroup_checkbox_container"
|
|
4918
|
+
}, item.name));
|
|
4919
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4920
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4921
|
+
checked: item.isChecked,
|
|
4922
|
+
key: item.value,
|
|
4923
|
+
onChange: function onChange(e) {
|
|
4924
|
+
handleItemChecked(e, item, 2);
|
|
4925
|
+
}
|
|
4926
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4927
|
+
title: item.name,
|
|
4928
|
+
className: "propertyGroup_checkbox_container"
|
|
4929
|
+
}, item.name));
|
|
4930
|
+
}), !!notCommonUseProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
4931
|
+
style: {
|
|
4932
|
+
width: '50px',
|
|
4933
|
+
cursor: 'pointer',
|
|
4934
|
+
color: '#005cff',
|
|
4935
|
+
fontSize: '10px',
|
|
4936
|
+
display: 'flex',
|
|
4937
|
+
alignItems: 'center'
|
|
4938
|
+
},
|
|
4939
|
+
onClick: function onClick() {
|
|
4940
|
+
setShowNotCommon(!showNotCommon);
|
|
4941
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4942
|
+
}
|
|
4943
|
+
}, showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))));
|
|
4944
|
+
};
|
|
4945
|
+
var PropertyGroup$1 = /*#__PURE__*/React__default['default'].memo(PropertyGroup, function (props, nextProps) {
|
|
4946
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4947
|
+
return true;
|
|
4948
|
+
});
|
|
4949
|
+
|
|
4950
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
4951
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
4952
|
+
var value = _ref.value,
|
|
4953
|
+
onChange = _ref.onChange,
|
|
4954
|
+
width = _ref.width,
|
|
4955
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4956
|
+
var settingValue = React$1.useRef({
|
|
4957
|
+
classifyCode: '',
|
|
4958
|
+
classifyName: '',
|
|
4959
|
+
propertyList: []
|
|
4960
|
+
});
|
|
4961
|
+
var _useState = React$1.useState([]),
|
|
4962
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4963
|
+
choosedValues = _useState2[0],
|
|
4964
|
+
setChoosedValues = _useState2[1];
|
|
4965
|
+
var _useState3 = React$1.useState(''),
|
|
4966
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4967
|
+
choosedClassify = _useState4[0],
|
|
4968
|
+
setChoosedClassify = _useState4[1];
|
|
4969
|
+
var _useState5 = React$1.useState([]),
|
|
4970
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4971
|
+
commonProperty = _useState6[0],
|
|
4972
|
+
setCommonUseProperty = _useState6[1];
|
|
4973
|
+
var _useState7 = React$1.useState([]),
|
|
4974
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4975
|
+
notCommonProperty = _useState8[0],
|
|
4976
|
+
setNotCommonProperty = _useState8[1];
|
|
4977
|
+
var _useState9 = React$1.useState(false),
|
|
4978
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4979
|
+
visible = _useState10[0],
|
|
4980
|
+
setVisible = _useState10[1];
|
|
4981
|
+
var _useState11 = React$1.useState(false),
|
|
4982
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4983
|
+
showNotCommon = _useState12[0],
|
|
4984
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4985
|
+
var _useState13 = React$1.useState([]),
|
|
4986
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4987
|
+
classifyOptionList = _useState14[0],
|
|
4988
|
+
setClassifyOptionList = _useState14[1];
|
|
4989
|
+
var _useState15 = React$1.useState('1'),
|
|
4990
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4991
|
+
listKey = _useState16[0],
|
|
4992
|
+
setListKey = _useState16[1];
|
|
4993
|
+
React$1.useEffect(function () {
|
|
4994
|
+
requestUtil({
|
|
4995
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4996
|
+
method: 'GET'
|
|
4997
|
+
}).then(function (_ref2) {
|
|
4998
|
+
var _data$data;
|
|
4999
|
+
var data = _ref2.data;
|
|
5000
|
+
if (judgeIsRequestError(data)) {
|
|
5001
|
+
return;
|
|
5002
|
+
}
|
|
5003
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
5004
|
+
setClassifyOptionList(items.map(function (item) {
|
|
5005
|
+
return {
|
|
5006
|
+
label: item.name,
|
|
5007
|
+
value: item.id
|
|
5008
|
+
};
|
|
5009
|
+
}));
|
|
5010
|
+
});
|
|
5011
|
+
}, []);
|
|
5012
|
+
React$1.useEffect(function () {
|
|
5013
|
+
if (!choosedClassify) return;
|
|
5014
|
+
requestUtil({
|
|
5015
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
5016
|
+
method: 'GET'
|
|
5017
|
+
}).then(function (_ref3) {
|
|
5018
|
+
var data = _ref3.data;
|
|
5019
|
+
if (judgeIsRequestError(data)) {
|
|
5020
|
+
return;
|
|
5021
|
+
}
|
|
5022
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
5023
|
+
var _item$property, _item$property2, _item$property3, _item$property4;
|
|
5024
|
+
return {
|
|
5025
|
+
propertyCode: (_item$property = item.property) === null || _item$property === void 0 ? void 0 : _item$property.propertyCode,
|
|
5026
|
+
propertyName: (_item$property2 = item.property) === null || _item$property2 === void 0 ? void 0 : _item$property2.name,
|
|
5027
|
+
propertyId: (_item$property3 = item.property) === null || _item$property3 === void 0 ? void 0 : _item$property3.id,
|
|
5028
|
+
isCommonUse: ((_item$property4 = item.property) === null || _item$property4 === void 0 ? void 0 : _item$property4.isCommonUse) === 'commonUse',
|
|
5029
|
+
detailList: (item.propertyValueList || []).map(function (detail) {
|
|
5030
|
+
return {
|
|
5031
|
+
name: detail.value,
|
|
5032
|
+
value: detail.value,
|
|
5033
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
5034
|
+
};
|
|
5035
|
+
})
|
|
5036
|
+
};
|
|
5037
|
+
});
|
|
5038
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
5039
|
+
return item.isCommonUse;
|
|
5040
|
+
}));
|
|
5041
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
5042
|
+
return !item.isCommonUse;
|
|
5043
|
+
}));
|
|
5044
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
5045
|
+
});
|
|
5046
|
+
}, [choosedClassify]);
|
|
5047
|
+
React$1.useEffect(function () {
|
|
5048
|
+
var _classifyOptionList$2;
|
|
5049
|
+
if (visible) {
|
|
5050
|
+
var _classifyOptionList$;
|
|
5051
|
+
// 获取选中品类信息
|
|
5052
|
+
setChoosedClassify((value === null || value === void 0 ? void 0 : value.classifyCode) || ((_classifyOptionList$ = classifyOptionList[0]) === null || _classifyOptionList$ === void 0 ? void 0 : _classifyOptionList$.value));
|
|
5053
|
+
}
|
|
5054
|
+
// 获取选中属性值展示
|
|
5055
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
5056
|
+
return (item.detailList || []).map(function (detail) {
|
|
5057
|
+
return detail.name;
|
|
5058
|
+
});
|
|
5059
|
+
}).flat();
|
|
5060
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
5061
|
+
return !item.isCommonUse;
|
|
5062
|
+
})) {
|
|
5063
|
+
setShowNotCommon(true);
|
|
5064
|
+
}
|
|
5065
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
5066
|
+
classifyCode: (value === null || value === void 0 ? void 0 : value.classifyCode) || ((_classifyOptionList$2 = classifyOptionList[0]) === null || _classifyOptionList$2 === void 0 ? void 0 : _classifyOptionList$2.value)
|
|
5067
|
+
});
|
|
5068
|
+
setChoosedValues(choosedPropertyList);
|
|
5069
|
+
}, [value, visible]);
|
|
5070
|
+
// 关闭弹窗回传组件值
|
|
5071
|
+
var handleConfirm = function handleConfirm() {
|
|
5072
|
+
setVisible(false);
|
|
5073
|
+
onChange(settingValue.current);
|
|
5074
|
+
};
|
|
5075
|
+
var onCancel = function onCancel() {
|
|
5076
|
+
setVisible(false);
|
|
5077
|
+
};
|
|
5078
|
+
// 获取选中属性值信息
|
|
5079
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
5080
|
+
var _settingValue$current;
|
|
5081
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
5082
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
5083
|
+
return item.propertyCode === value.propertyCode;
|
|
5084
|
+
});
|
|
5085
|
+
if (itemIndex !== -1) {
|
|
5086
|
+
newDetailList[itemIndex] = value;
|
|
5087
|
+
} else {
|
|
5088
|
+
newDetailList.push(value);
|
|
5089
|
+
}
|
|
5090
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
5091
|
+
propertyList: newDetailList.filter(function (item) {
|
|
5092
|
+
return item.detailList && item.detailList.length;
|
|
5093
|
+
})
|
|
5094
|
+
});
|
|
5095
|
+
};
|
|
5096
|
+
//修改品类值
|
|
5097
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
5098
|
+
setChoosedClassify(value);
|
|
5099
|
+
settingValue.current = {
|
|
5100
|
+
classifyCode: value,
|
|
5101
|
+
classifyName: option.children,
|
|
5102
|
+
propertyList: []
|
|
5103
|
+
};
|
|
5104
|
+
};
|
|
5105
|
+
var tagRender = function tagRender(props) {
|
|
5106
|
+
var label = props.label,
|
|
5107
|
+
value = props.value,
|
|
5108
|
+
closable = props.closable,
|
|
5109
|
+
onClose = props.onClose;
|
|
5110
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
5111
|
+
closable: false,
|
|
5112
|
+
style: {
|
|
5113
|
+
marginRight: 3,
|
|
5114
|
+
height: '20px',
|
|
5115
|
+
fontSize: '12px'
|
|
5116
|
+
}
|
|
5117
|
+
}, label);
|
|
5118
|
+
};
|
|
5119
|
+
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
5120
|
+
maxTagCount: 1,
|
|
5121
|
+
tagRender: tagRender
|
|
5122
|
+
}, restProps), {}, {
|
|
5123
|
+
mode: "multiple",
|
|
5124
|
+
value: choosedValues,
|
|
5125
|
+
onClick: function onClick() {
|
|
5126
|
+
setVisible(true);
|
|
5127
|
+
},
|
|
5128
|
+
style: {
|
|
5129
|
+
width: width || '100%'
|
|
5130
|
+
},
|
|
5131
|
+
open: false
|
|
5132
|
+
})), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
5133
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
5134
|
+
width: 700,
|
|
5135
|
+
open: visible,
|
|
5136
|
+
onOk: handleConfirm,
|
|
5137
|
+
destroyOnClose: true,
|
|
5138
|
+
onCancel: onCancel,
|
|
5139
|
+
cancelText: '取消',
|
|
5140
|
+
okText: '确定'
|
|
5141
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5142
|
+
className: 'property_classify_content'
|
|
5143
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
5144
|
+
style: {
|
|
5145
|
+
marginRight: '10px'
|
|
5146
|
+
}
|
|
5147
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
5148
|
+
style: {
|
|
5149
|
+
width: '200px'
|
|
5150
|
+
},
|
|
5151
|
+
value: choosedClassify,
|
|
5152
|
+
options: classifyOptionList,
|
|
5153
|
+
onChange: function onChange(value, option) {
|
|
5154
|
+
onClassifyChange(value, option);
|
|
5155
|
+
}
|
|
5156
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5157
|
+
className: 'property_classify_content1',
|
|
5158
|
+
key: listKey
|
|
5159
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, commonProperty.map(function (item) {
|
|
5160
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
5161
|
+
modalVisilbe: visible,
|
|
5162
|
+
itemValue: settingValue.current,
|
|
5163
|
+
propertyData: item,
|
|
5164
|
+
handleProperyItemChange: handleProperyItemChange
|
|
5165
|
+
});
|
|
5166
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
5167
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
5168
|
+
modalVisilbe: visible,
|
|
5169
|
+
itemValue: settingValue.current,
|
|
5170
|
+
propertyData: item,
|
|
5171
|
+
handleProperyItemChange: handleProperyItemChange
|
|
5172
|
+
});
|
|
5173
|
+
}))), !!notCommonProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5174
|
+
style: {
|
|
5175
|
+
width: '50px',
|
|
5176
|
+
cursor: 'pointer',
|
|
5177
|
+
color: '#005cff',
|
|
5178
|
+
fontSize: '10px'
|
|
5179
|
+
},
|
|
5180
|
+
onClick: function onClick() {
|
|
5181
|
+
return setShowNotCommon(!showNotCommon);
|
|
5182
|
+
}
|
|
5183
|
+
}, showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))))));
|
|
5184
|
+
};
|
|
5185
|
+
|
|
4152
5186
|
var Option$1 = antd.Select.Option;
|
|
4153
5187
|
var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
4154
|
-
var _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
5188
|
+
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
4155
5189
|
var value = props.value,
|
|
4156
5190
|
onChangeTemp = props.onChange,
|
|
4157
5191
|
_props$selectProps = props.selectProps,
|
|
@@ -4167,12 +5201,15 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4167
5201
|
_props$needModalTable = props.needModalTable,
|
|
4168
5202
|
needModalTable = _props$needModalTable === void 0 ? true : _props$needModalTable,
|
|
4169
5203
|
_props$getPopupContai = props.getPopupContainer,
|
|
4170
|
-
|
|
5204
|
+
_props$highestPopCont = props.highestPopContainer,
|
|
5205
|
+
highestPopContainer = _props$highestPopCont === void 0 ? undefined : _props$highestPopCont,
|
|
4171
5206
|
fieldComponent = props.fieldComponent,
|
|
4172
5207
|
onSaveCallback = props.onSaveCallback,
|
|
4173
5208
|
selectBusinessType = props.selectBusinessType;
|
|
4174
5209
|
var _ref = requestConfig || {},
|
|
4175
5210
|
url = _ref.url,
|
|
5211
|
+
_ref$method = _ref.method,
|
|
5212
|
+
method = _ref$method === void 0 ? 'get' : _ref$method,
|
|
4176
5213
|
otherParams = _ref.otherParams,
|
|
4177
5214
|
isMap = _ref.isMap,
|
|
4178
5215
|
fixedparameter = _ref.fixedparameter,
|
|
@@ -4213,11 +5250,14 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4213
5250
|
listHeight: 160,
|
|
4214
5251
|
optionLabelProp: "label",
|
|
4215
5252
|
autoClearSearchValue: false,
|
|
4216
|
-
placement: '
|
|
5253
|
+
placement: 'bottomRight'
|
|
4217
5254
|
});
|
|
5255
|
+
var pathname = window.location.href;
|
|
5256
|
+
var pattern = /(action|create|edit|view)/;
|
|
5257
|
+
var isFormPage = ((_pathname$match = pathname.match(pattern)) === null || _pathname$match === void 0 ? void 0 : _pathname$match.length) > 0;
|
|
4218
5258
|
var initPagination = {
|
|
4219
5259
|
showQuickJumper: true,
|
|
4220
|
-
showSizeChanger:
|
|
5260
|
+
showSizeChanger: true,
|
|
4221
5261
|
showTotal: function showTotal(total) {
|
|
4222
5262
|
return "\u5171 ".concat(total, " \u6761");
|
|
4223
5263
|
},
|
|
@@ -4248,34 +5288,38 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4248
5288
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
4249
5289
|
selectOpen = _useState4[0],
|
|
4250
5290
|
setSelectOpen = _useState4[1];
|
|
4251
|
-
var _useState5 = React$1.useState(
|
|
5291
|
+
var _useState5 = React$1.useState(false),
|
|
4252
5292
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
var _useState7 = React$1.useState(
|
|
5293
|
+
isMaxTagsOpen = _useState6[0],
|
|
5294
|
+
setIsMaxTagsOpen = _useState6[1];
|
|
5295
|
+
var _useState7 = React$1.useState(1),
|
|
4256
5296
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
var _useState9 = React$1.useState(
|
|
5297
|
+
scrollPage = _useState8[0],
|
|
5298
|
+
setScrollPage = _useState8[1];
|
|
5299
|
+
var _useState9 = React$1.useState(0),
|
|
4260
5300
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
var _useState11 = React$1.useState(
|
|
5301
|
+
itemsTotal = _useState10[0],
|
|
5302
|
+
setItemsTotal = _useState10[1];
|
|
5303
|
+
var _useState11 = React$1.useState(false),
|
|
4264
5304
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
var _useState13 = React$1.useState(
|
|
5305
|
+
fetching = _useState12[0],
|
|
5306
|
+
setFetching = _useState12[1];
|
|
5307
|
+
var _useState13 = React$1.useState(''),
|
|
4268
5308
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
var _useState15 = React$1.useState(
|
|
5309
|
+
searchValue = _useState14[0],
|
|
5310
|
+
setSearchValue = _useState14[1];
|
|
5311
|
+
var _useState15 = React$1.useState(false),
|
|
4272
5312
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
var _useState17 = React$1.useState(
|
|
5313
|
+
isModalVisible = _useState16[0],
|
|
5314
|
+
setIsModalVisible = _useState16[1];
|
|
5315
|
+
var _useState17 = React$1.useState(initVal),
|
|
4276
5316
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
4277
|
-
|
|
4278
|
-
|
|
5317
|
+
popvalue = _useState18[0],
|
|
5318
|
+
setPopValue = _useState18[1];
|
|
5319
|
+
var _useState19 = React$1.useState(resultSourceKey),
|
|
5320
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
5321
|
+
uniqueValue = _useState20[0],
|
|
5322
|
+
setUniqueValue = _useState20[1];
|
|
4279
5323
|
var _useDebounceFn = ahooks.useDebounceFn(function (v) {
|
|
4280
5324
|
// 优化搜索参数 支持传多个
|
|
4281
5325
|
var searchParams = {};
|
|
@@ -4304,62 +5348,62 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4304
5348
|
var _Form$useForm = antd.Form.useForm(),
|
|
4305
5349
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
4306
5350
|
form = _Form$useForm2[0];
|
|
4307
|
-
var _useState19 = React$1.useState(true),
|
|
4308
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
4309
|
-
collapsed = _useState20[0],
|
|
4310
|
-
setCollapsed = _useState20[1];
|
|
4311
5351
|
var _useState21 = React$1.useState(true),
|
|
4312
5352
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
var _useState23 = React$1.useState(
|
|
5353
|
+
collapsed = _useState22[0],
|
|
5354
|
+
setCollapsed = _useState22[1];
|
|
5355
|
+
var _useState23 = React$1.useState(true),
|
|
4316
5356
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
var _useState25 = React$1.useState(
|
|
5357
|
+
caretLeftFlag = _useState24[0],
|
|
5358
|
+
setCaretLeftFlag = _useState24[1];
|
|
5359
|
+
var _useState25 = React$1.useState([]),
|
|
4320
5360
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
var _useState27 = React$1.useState(
|
|
5361
|
+
tableData = _useState26[0],
|
|
5362
|
+
setTableData = _useState26[1];
|
|
5363
|
+
var _useState27 = React$1.useState(tableInitPagination),
|
|
4324
5364
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
4325
|
-
|
|
4326
|
-
|
|
5365
|
+
tablePagination = _useState28[0],
|
|
5366
|
+
setTablePagination = _useState28[1];
|
|
4327
5367
|
var _useState29 = React$1.useState([]),
|
|
4328
5368
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
var _useState31 = React$1.useState(
|
|
5369
|
+
selectedRowKeys = _useState30[0],
|
|
5370
|
+
setSelectedRowKeys = _useState30[1];
|
|
5371
|
+
var _useState31 = React$1.useState([]),
|
|
4332
5372
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
4333
|
-
|
|
4334
|
-
|
|
5373
|
+
selectedRows = _useState32[0],
|
|
5374
|
+
setSelectedRows = _useState32[1];
|
|
4335
5375
|
var _useState33 = React$1.useState(false),
|
|
4336
5376
|
_useState34 = _slicedToArray(_useState33, 2),
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
var _useState35 = React$1.useState(
|
|
5377
|
+
checkedAll = _useState34[0],
|
|
5378
|
+
setCheckedAll = _useState34[1];
|
|
5379
|
+
var _useState35 = React$1.useState(false),
|
|
4340
5380
|
_useState36 = _slicedToArray(_useState35, 2),
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
var _useState37 = React$1.useState(
|
|
5381
|
+
indeterminate = _useState36[0],
|
|
5382
|
+
setIndeterminate = _useState36[1];
|
|
5383
|
+
var _useState37 = React$1.useState({}),
|
|
4344
5384
|
_useState38 = _slicedToArray(_useState37, 2),
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
var _useState39 = React$1.useState(
|
|
5385
|
+
tableFormParams = _useState38[0],
|
|
5386
|
+
setTableFormParams = _useState38[1];
|
|
5387
|
+
var _useState39 = React$1.useState(false),
|
|
5388
|
+
_useState40 = _slicedToArray(_useState39, 2),
|
|
5389
|
+
tooltipVisible = _useState40[0],
|
|
5390
|
+
setTooltipVisible = _useState40[1];
|
|
5391
|
+
var _useState41 = React$1.useState((modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$tabl = modalTableProps.tableColumns) === null || _modalTableProps$tabl === void 0 ? void 0 : (_modalTableProps$tabl2 = _modalTableProps$tabl.filter(function (s) {
|
|
4348
5392
|
return typeof s.defaultSort == 'number';
|
|
4349
5393
|
})) === null || _modalTableProps$tabl2 === void 0 ? void 0 : _modalTableProps$tabl2.sort(function (a, b) {
|
|
4350
5394
|
return a.defaultSort - b.defaultSort;
|
|
4351
5395
|
})) || []),
|
|
4352
|
-
_useState40 = _slicedToArray(_useState39, 2),
|
|
4353
|
-
tableShowColumns = _useState40[0],
|
|
4354
|
-
setTabletShowColumns = _useState40[1];
|
|
4355
|
-
var _useState41 = React$1.useState(false),
|
|
4356
5396
|
_useState42 = _slicedToArray(_useState41, 2),
|
|
4357
|
-
|
|
4358
|
-
|
|
5397
|
+
tableShowColumns = _useState42[0],
|
|
5398
|
+
setTabletShowColumns = _useState42[1];
|
|
4359
5399
|
var _useState43 = React$1.useState(false),
|
|
4360
5400
|
_useState44 = _slicedToArray(_useState43, 2),
|
|
4361
|
-
|
|
4362
|
-
|
|
5401
|
+
confirmLoading = _useState44[0],
|
|
5402
|
+
setConfirmLoading = _useState44[1];
|
|
5403
|
+
var _useState45 = React$1.useState(false),
|
|
5404
|
+
_useState46 = _slicedToArray(_useState45, 2),
|
|
5405
|
+
modalSearched = _useState46[0],
|
|
5406
|
+
setModalSearched = _useState46[1];
|
|
4363
5407
|
var setSelectDataSource = function setSelectDataSource(list, total) {
|
|
4364
5408
|
setItems(list);
|
|
4365
5409
|
setItemsTotal(total);
|
|
@@ -4443,96 +5487,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4443
5487
|
});
|
|
4444
5488
|
}
|
|
4445
5489
|
// 数组对象处理,对带有特殊标记的name进行处理
|
|
4446
|
-
|
|
4447
|
-
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4448
|
-
var element = params[key];
|
|
4449
|
-
if (element && key.indexOf('*number*') >= 0) {
|
|
4450
|
-
var dataParams = key.split('*number*');
|
|
4451
|
-
dataParams.forEach(function (value, index) {
|
|
4452
|
-
params[value] = element[index];
|
|
4453
|
-
});
|
|
4454
|
-
delete params[key];
|
|
4455
|
-
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4456
|
-
var _dataParams = key.split('*address*');
|
|
4457
|
-
_dataParams.forEach(function (value, index) {
|
|
4458
|
-
params[value] = element.PCDCode[index];
|
|
4459
|
-
});
|
|
4460
|
-
delete params[key];
|
|
4461
|
-
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4462
|
-
var _dataParams2 = key.split('*costType*');
|
|
4463
|
-
// eslint-disable-next-line prefer-destructuring
|
|
4464
|
-
params[_dataParams2[0]] = element[1];
|
|
4465
|
-
delete params[key];
|
|
4466
|
-
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4467
|
-
var _dataParams3 = key.split('*fullDate*');
|
|
4468
|
-
_dataParams3.forEach(function (value, index) {
|
|
4469
|
-
if (index === 0) {
|
|
4470
|
-
params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4471
|
-
} else {
|
|
4472
|
-
params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4473
|
-
}
|
|
4474
|
-
});
|
|
4475
|
-
delete params[key];
|
|
4476
|
-
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4477
|
-
var _dataParams4 = key.split('*checkBox*');
|
|
4478
|
-
if (element) {
|
|
4479
|
-
params[_dataParams4[0]] = 0;
|
|
4480
|
-
}
|
|
4481
|
-
delete params[key];
|
|
4482
|
-
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4483
|
-
var _dataParams5 = key.split('*cascader*');
|
|
4484
|
-
params[_dataParams5[0]] = element[element.length - 1];
|
|
4485
|
-
delete params[key];
|
|
4486
|
-
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4487
|
-
var _dataParams6 = key.split('*date*');
|
|
4488
|
-
_dataParams6.forEach(function (value, index) {
|
|
4489
|
-
if (index === 0) {
|
|
4490
|
-
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4491
|
-
} else {
|
|
4492
|
-
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4493
|
-
}
|
|
4494
|
-
});
|
|
4495
|
-
delete params[key];
|
|
4496
|
-
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4497
|
-
var name = '',
|
|
4498
|
-
_value = element['value'];
|
|
4499
|
-
if (_value.indexOf(',') >= 0) {
|
|
4500
|
-
name = "qp-".concat(element['name'], "-in");
|
|
4501
|
-
} else {
|
|
4502
|
-
name = "qp-".concat(element['name'], "-like");
|
|
4503
|
-
}
|
|
4504
|
-
params[name] = _value;
|
|
4505
|
-
delete params[key];
|
|
4506
|
-
} else if (element && key.indexOf('*') >= 0) {
|
|
4507
|
-
var _dataParams7 = key.split('*');
|
|
4508
|
-
_dataParams7.forEach(function (value, index) {
|
|
4509
|
-
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4510
|
-
});
|
|
4511
|
-
delete params[key];
|
|
4512
|
-
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4513
|
-
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4514
|
-
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4515
|
-
if (params[key][0] === 'range') {
|
|
4516
|
-
if (params[key][1][0]) {
|
|
4517
|
-
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4518
|
-
}
|
|
4519
|
-
if (params[key][1][1]) {
|
|
4520
|
-
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4521
|
-
}
|
|
4522
|
-
} else {
|
|
4523
|
-
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4524
|
-
}
|
|
4525
|
-
delete params[key];
|
|
4526
|
-
} else if (Array.isArray(element)) {
|
|
4527
|
-
params[key] = element.join(',');
|
|
4528
|
-
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4529
|
-
delete params[key];
|
|
4530
|
-
}
|
|
4531
|
-
}
|
|
4532
|
-
};
|
|
4533
|
-
for (var key in params) {
|
|
4534
|
-
_loop();
|
|
4535
|
-
}
|
|
5490
|
+
handleParams(params);
|
|
4536
5491
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
4537
5492
|
pageSize: pageSize,
|
|
4538
5493
|
currentPage: currentPage
|
|
@@ -4540,9 +5495,17 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4540
5495
|
if (_.isNil(queryParams[selectParamsKey])) {
|
|
4541
5496
|
queryParams[selectParamsKey] = searchValue;
|
|
4542
5497
|
}
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
5498
|
+
var getRequest;
|
|
5499
|
+
var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
|
|
5500
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
5501
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
5502
|
+
} else {
|
|
5503
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
5504
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
5505
|
+
});
|
|
5506
|
+
}
|
|
5507
|
+
if (!url || !getRequest) return;
|
|
5508
|
+
getRequest.then(function (result) {
|
|
4546
5509
|
setFetching(false);
|
|
4547
5510
|
result = result.data;
|
|
4548
5511
|
if (judgeIsRequestError(result)) {
|
|
@@ -4550,66 +5513,14 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4550
5513
|
return;
|
|
4551
5514
|
}
|
|
4552
5515
|
var res = result.data;
|
|
4553
|
-
var source =
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
} else {
|
|
4562
|
-
var keys = res.list ? 'list' : 'items';
|
|
4563
|
-
source = res ? res[keys] ? res[keys].map(function (item, index) {
|
|
4564
|
-
var _item$children;
|
|
4565
|
-
var textShowText = item[mappingTextField];
|
|
4566
|
-
if (mappingTextShowTextField) {
|
|
4567
|
-
textShowText = [];
|
|
4568
|
-
if (Array.isArray(mappingTextShowTextField)) {
|
|
4569
|
-
mappingTextShowTextField.forEach(function (r) {
|
|
4570
|
-
textShowText.push(item[r]);
|
|
4571
|
-
});
|
|
4572
|
-
} else {
|
|
4573
|
-
textShowText = item[mappingTextShowTextField];
|
|
4574
|
-
}
|
|
4575
|
-
}
|
|
4576
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
4577
|
-
item === null || item === void 0 ? true : delete item.children;
|
|
4578
|
-
}
|
|
4579
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4580
|
-
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4581
|
-
textShowText: textShowText,
|
|
4582
|
-
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4583
|
-
value: item[mappingValueField],
|
|
4584
|
-
keyIndex: index + 1
|
|
4585
|
-
});
|
|
4586
|
-
}) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
|
|
4587
|
-
var _item$children2;
|
|
4588
|
-
var textShowText = item[mappingTextField];
|
|
4589
|
-
if (mappingTextShowTextField) {
|
|
4590
|
-
textShowText = [];
|
|
4591
|
-
if (Array.isArray(mappingTextShowTextField)) {
|
|
4592
|
-
mappingTextShowTextField.forEach(function (r) {
|
|
4593
|
-
textShowText.push(item[r]);
|
|
4594
|
-
});
|
|
4595
|
-
} else {
|
|
4596
|
-
textShowText = item[mappingTextShowTextField];
|
|
4597
|
-
}
|
|
4598
|
-
}
|
|
4599
|
-
if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
|
|
4600
|
-
item === null || item === void 0 ? true : delete item.children;
|
|
4601
|
-
}
|
|
4602
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4603
|
-
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4604
|
-
textShowText: textShowText,
|
|
4605
|
-
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4606
|
-
value: item[mappingValueField],
|
|
4607
|
-
keyIndex: index + 1
|
|
4608
|
-
});
|
|
4609
|
-
})) : [];
|
|
4610
|
-
}
|
|
4611
|
-
// 数据源 不可以有重复key
|
|
4612
|
-
source = Array.isArray(source) ? ___default['default'].uniqBy(source, 'value') : [];
|
|
5516
|
+
var source = convertResData(requestConfig, res, {
|
|
5517
|
+
selectMode: selectMode,
|
|
5518
|
+
labelInValue: labelInValue,
|
|
5519
|
+
value: value,
|
|
5520
|
+
type: type,
|
|
5521
|
+
items: items,
|
|
5522
|
+
queryParams: queryParams
|
|
5523
|
+
});
|
|
4613
5524
|
if (callback) {
|
|
4614
5525
|
callback(source);
|
|
4615
5526
|
} else {
|
|
@@ -4684,7 +5595,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4684
5595
|
}
|
|
4685
5596
|
}, [value]);
|
|
4686
5597
|
React$1.useEffect(function () {
|
|
4687
|
-
makeUniqueValue();
|
|
5598
|
+
setUniqueValue(makeUniqueValue());
|
|
4688
5599
|
}, [resultSourceKey]);
|
|
4689
5600
|
React$1.useEffect(function () {
|
|
4690
5601
|
if (init) {
|
|
@@ -4851,12 +5762,11 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4851
5762
|
};
|
|
4852
5763
|
var onSearchTable = function onSearchTable() {
|
|
4853
5764
|
var params = form.getFieldsValue();
|
|
4854
|
-
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4855
5765
|
setModalSearched(true);
|
|
4856
5766
|
setTableFormParams(params);
|
|
4857
5767
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4858
5768
|
pageSize: tableInitPageSize
|
|
4859
|
-
}), 2);
|
|
5769
|
+
}), 2, null);
|
|
4860
5770
|
};
|
|
4861
5771
|
var onResetTable = function onResetTable() {
|
|
4862
5772
|
form.resetFields();
|
|
@@ -4875,28 +5785,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4875
5785
|
currentPage: pagination.current
|
|
4876
5786
|
}), 2);
|
|
4877
5787
|
};
|
|
4878
|
-
var LightHeightOption = function LightHeightOption(props) {
|
|
4879
|
-
var filterTxt = props.filterTxt,
|
|
4880
|
-
text = props.text;
|
|
4881
|
-
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
4882
|
-
if (heightTxt === '') {
|
|
4883
|
-
return text;
|
|
4884
|
-
}
|
|
4885
|
-
var searchString = _.escapeRegExp(heightTxt);
|
|
4886
|
-
// 前面filterOption 不区分大小写,这里用i
|
|
4887
|
-
var regexp = new RegExp(searchString, 'gi');
|
|
4888
|
-
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
4889
|
-
};
|
|
4890
|
-
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
4891
|
-
title: text
|
|
4892
|
-
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4893
|
-
ref: function ref(nodeElement) {
|
|
4894
|
-
if (nodeElement) {
|
|
4895
|
-
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
4896
|
-
}
|
|
4897
|
-
}
|
|
4898
|
-
}));
|
|
4899
|
-
};
|
|
4900
5788
|
var onChangeSelectedKeys = function onChangeSelectedKeys(selectKeys, selectRows) {
|
|
4901
5789
|
var sksResult = (selectRows === null || selectRows === void 0 ? void 0 : selectRows.map(function (i) {
|
|
4902
5790
|
return i.value;
|
|
@@ -4912,12 +5800,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4912
5800
|
setIndeterminate(!!selectRows.length && selectRows.length < (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
4913
5801
|
setCheckedAll(selectRows.length === (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
4914
5802
|
};
|
|
4915
|
-
// 生成唯一值
|
|
4916
|
-
var makeUniqueValue = function makeUniqueValue() {
|
|
4917
|
-
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4918
|
-
setUniqueValue(generateUnitKey);
|
|
4919
|
-
return generateUnitKey;
|
|
4920
|
-
};
|
|
4921
5803
|
var rowSelection = {
|
|
4922
5804
|
type: selectMode ? 'checkbox' : 'radio',
|
|
4923
5805
|
selectedRowKeys: selectedRowKeys,
|
|
@@ -4983,7 +5865,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4983
5865
|
};
|
|
4984
5866
|
})) || [];
|
|
4985
5867
|
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) {
|
|
4986
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
|
|
5868
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
|
|
4987
5869
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
4988
5870
|
span: ColSpan,
|
|
4989
5871
|
key: i
|
|
@@ -5058,6 +5940,30 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5058
5940
|
}
|
|
5059
5941
|
})));
|
|
5060
5942
|
}
|
|
5943
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5944
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5945
|
+
span: ColSpan,
|
|
5946
|
+
key: i.name
|
|
5947
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
5948
|
+
name: i.name,
|
|
5949
|
+
label: i.label,
|
|
5950
|
+
key: i.name
|
|
5951
|
+
}, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
|
|
5952
|
+
}
|
|
5953
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
|
|
5954
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5955
|
+
span: ColSpan,
|
|
5956
|
+
key: i.name
|
|
5957
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
5958
|
+
name: i.name,
|
|
5959
|
+
label: i.label,
|
|
5960
|
+
key: i.name
|
|
5961
|
+
}, /*#__PURE__*/React__default['default'].createElement(QueryMutipleSearchSelect, _objectSpread2(_objectSpread2({}, i.field.props), {}, {
|
|
5962
|
+
onValueChange: function onValueChange(value) {
|
|
5963
|
+
form.setFieldsValue(_defineProperty({}, i.name, value));
|
|
5964
|
+
}
|
|
5965
|
+
}))));
|
|
5966
|
+
}
|
|
5061
5967
|
// 默认type是input
|
|
5062
5968
|
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5063
5969
|
span: ColSpan,
|
|
@@ -5073,7 +5979,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5073
5979
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5074
5980
|
allowClear: true,
|
|
5075
5981
|
maxLength: 100
|
|
5076
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5982
|
+
}, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
|
|
5077
5983
|
disabled: setDisabled(i.name)
|
|
5078
5984
|
}))));
|
|
5079
5985
|
});
|
|
@@ -5085,13 +5991,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5085
5991
|
var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
|
|
5086
5992
|
return collapsed ? formItem(list === null || list === void 0 ? void 0 : list.slice(0, viCount)) : formItem(list);
|
|
5087
5993
|
};
|
|
5088
|
-
// const queryFieldsDom = <SearchItemTable
|
|
5089
|
-
// ref={searchTableRef}
|
|
5090
|
-
// setShowSearchFields={setShowSearchFields||[]}
|
|
5091
|
-
// showSearchFields={showSearchFields||[]}
|
|
5092
|
-
// datasource={modalTableProps?.tableSearchForm || []}
|
|
5093
|
-
// bsTableCode={bsTableCode}
|
|
5094
|
-
// />
|
|
5095
5994
|
var renderShowTable = function renderShowTable(tableList, type) {
|
|
5096
5995
|
var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
|
|
5097
5996
|
var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - 82px)"); // 分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
|
|
@@ -5106,7 +6005,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5106
6005
|
columns: tableShowColumns,
|
|
5107
6006
|
dataSource: tableList
|
|
5108
6007
|
}, type == 'noPage' ? {
|
|
5109
|
-
pagination: initPagination,
|
|
6008
|
+
pagination: _objectSpread2(_objectSpread2({}, initPagination), {}, {
|
|
6009
|
+
showSizeChanger: false
|
|
6010
|
+
}),
|
|
5110
6011
|
locale: {
|
|
5111
6012
|
emptyText: '暂无已选结果'
|
|
5112
6013
|
}
|
|
@@ -5151,9 +6052,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5151
6052
|
})) || [], 'noPage')
|
|
5152
6053
|
}];
|
|
5153
6054
|
var resetSelectDataSource = function resetSelectDataSource() {
|
|
6055
|
+
var isClear = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
5154
6056
|
setSearchValue('');
|
|
5155
6057
|
// 有关联值 不需要清空下拉框数据 也不需要重新去请求了
|
|
5156
|
-
if (isHaveDependency) return;
|
|
6058
|
+
if (!isClear && isHaveDependency) return; // 清空时需要放开:级联首次回之后,清空数据需要重新查询下拉框的值
|
|
5157
6059
|
clearSelectDataSource();
|
|
5158
6060
|
init && run('init');
|
|
5159
6061
|
};
|
|
@@ -5165,14 +6067,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5165
6067
|
formaData([], items);
|
|
5166
6068
|
onChangeSelectedKeys([], []);
|
|
5167
6069
|
// 重置下拉框数据源
|
|
5168
|
-
resetSelectDataSource();
|
|
6070
|
+
resetSelectDataSource(true);
|
|
5169
6071
|
};
|
|
5170
6072
|
var onDeselect = function onDeselect() {
|
|
5171
|
-
var oldSelect = (value
|
|
5172
|
-
return {
|
|
5173
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5174
|
-
};
|
|
5175
|
-
})) || [];
|
|
6073
|
+
var oldSelect = formatSelectedValue(value);
|
|
5176
6074
|
var deRecord = arguments.length <= 1 ? undefined : arguments[1];
|
|
5177
6075
|
var srs = oldSelect.filter(function (s) {
|
|
5178
6076
|
return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
|
|
@@ -5185,13 +6083,20 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5185
6083
|
nr && setSelectOpen(false);
|
|
5186
6084
|
};
|
|
5187
6085
|
var onDropdownVisibleChange = function onDropdownVisibleChange(visible) {
|
|
6086
|
+
// 阻止maxTagPlaceholder点击事件触发下拉框展示事件
|
|
6087
|
+
if (isMaxTagsOpen && !selectOpen) return;
|
|
5188
6088
|
setSelectOpen(visible);
|
|
5189
6089
|
// 关闭下拉框 如果首次本身就不展示数据的 没有选中数据-需要清空查询数据源; 首次展示的默认展示
|
|
5190
6090
|
if (!visible && !(value === null || value === void 0 ? void 0 : value.length)) {
|
|
5191
|
-
|
|
6091
|
+
setTimeout(function () {
|
|
6092
|
+
// 延时 是为了避免 执行时候出现下拉框弹两次的问题-可以看到数据源从展示到显示空数据框的问题
|
|
6093
|
+
resetSelectDataSource();
|
|
6094
|
+
}, 200);
|
|
5192
6095
|
}
|
|
5193
6096
|
};
|
|
5194
6097
|
var renderTable = function renderTable(dataSource) {
|
|
6098
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
6099
|
+
var renderSource = getRenderSource(currentSRKs, items);
|
|
5195
6100
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5196
6101
|
className: "search_select_dropdown_table ".concat(!selectMode ? 'search_select_dropdown_table1' : '')
|
|
5197
6102
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
|
|
@@ -5201,16 +6106,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5201
6106
|
rowSelection: {
|
|
5202
6107
|
type: 'checkbox',
|
|
5203
6108
|
columnWidth: '24px',
|
|
5204
|
-
selectedRowKeys:
|
|
5205
|
-
return (s === null || s === void 0 ? void 0 : s.value) || s;
|
|
5206
|
-
}) : value,
|
|
6109
|
+
selectedRowKeys: currentSRKs,
|
|
5207
6110
|
preserveSelectedRowKeys: true,
|
|
5208
6111
|
onChange: function onChange(sks, srs) {
|
|
5209
|
-
var oldSelect = (value
|
|
5210
|
-
return {
|
|
5211
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5212
|
-
};
|
|
5213
|
-
})) || [];
|
|
6112
|
+
var oldSelect = formatSelectedValue(value);
|
|
5214
6113
|
var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
|
|
5215
6114
|
return item != undefined;
|
|
5216
6115
|
});
|
|
@@ -5229,11 +6128,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5229
6128
|
onClick: function onClick(event) {
|
|
5230
6129
|
event.stopPropagation();
|
|
5231
6130
|
event.nativeEvent.stopImmediatePropagation();
|
|
5232
|
-
var oldSelect = (value
|
|
5233
|
-
return {
|
|
5234
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5235
|
-
};
|
|
5236
|
-
})) || [];
|
|
6131
|
+
var oldSelect = formatSelectedValue(value);
|
|
5237
6132
|
var newSelect = [JSON.parse(JSON.stringify(record))];
|
|
5238
6133
|
var srs = getRealStr(oldSelect, newSelect, record);
|
|
5239
6134
|
onSelectClick(srs, dataSource, false);
|
|
@@ -5244,7 +6139,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5244
6139
|
rowSelection: {
|
|
5245
6140
|
type: 'radio',
|
|
5246
6141
|
columnWidth: 0,
|
|
5247
|
-
selectedRowKeys:
|
|
6142
|
+
selectedRowKeys: currentSRKs
|
|
5248
6143
|
},
|
|
5249
6144
|
onRow: function onRow(record, rowKey) {
|
|
5250
6145
|
return {
|
|
@@ -5256,7 +6151,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5256
6151
|
}
|
|
5257
6152
|
}), {}, {
|
|
5258
6153
|
columns: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.renderTableColumns) || [],
|
|
5259
|
-
dataSource:
|
|
6154
|
+
dataSource: renderSource,
|
|
5260
6155
|
size: "middle",
|
|
5261
6156
|
pagination: false,
|
|
5262
6157
|
rowKey: mappingValueField,
|
|
@@ -5266,41 +6161,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5266
6161
|
}
|
|
5267
6162
|
})));
|
|
5268
6163
|
};
|
|
5269
|
-
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues) {
|
|
5270
|
-
var _onClose = function onClose(e, item) {
|
|
5271
|
-
e.preventDefault();
|
|
5272
|
-
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
5273
|
-
return i.value !== item.value;
|
|
5274
|
-
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
5275
|
-
return i !== item.value;
|
|
5276
|
-
});
|
|
5277
|
-
onChange(newValue);
|
|
5278
|
-
};
|
|
5279
|
-
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
5280
|
-
title: selectedValues.map(function (i) {
|
|
5281
|
-
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
5282
|
-
closable: true,
|
|
5283
|
-
onClose: function onClose(e) {
|
|
5284
|
-
return _onClose(e, i);
|
|
5285
|
-
},
|
|
5286
|
-
style: {
|
|
5287
|
-
marginRight: 3,
|
|
5288
|
-
background: '#f5f5f5',
|
|
5289
|
-
height: '24px',
|
|
5290
|
-
border: '1px solid #f0f0f0'
|
|
5291
|
-
}
|
|
5292
|
-
}, i.label);
|
|
5293
|
-
})
|
|
5294
|
-
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
5295
|
-
};
|
|
5296
|
-
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
5297
|
-
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
5298
|
-
if (noNeedSplit) {
|
|
5299
|
-
return item.text;
|
|
5300
|
-
} else {
|
|
5301
|
-
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
5302
|
-
}
|
|
5303
|
-
};
|
|
5304
6164
|
var getShowLabelTextStr = function getShowLabelTextStr(kongValue) {
|
|
5305
6165
|
if (selectMode) {
|
|
5306
6166
|
var _value$map;
|
|
@@ -5354,7 +6214,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5354
6214
|
},
|
|
5355
6215
|
className: 'search_select_show'
|
|
5356
6216
|
}, getShowStr())) : /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5357
|
-
className: "search_select_show",
|
|
6217
|
+
className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
|
|
5358
6218
|
id: "search_select_div_".concat(uniqueValue)
|
|
5359
6219
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
5360
6220
|
labelInValue: labelInValue,
|
|
@@ -5385,7 +6245,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5385
6245
|
width: 'calc(100%)'
|
|
5386
6246
|
},
|
|
5387
6247
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
5388
|
-
maxTagPlaceholder: maxTagPlaceholder
|
|
6248
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
6249
|
+
return maxTagPlaceholder(v, {
|
|
6250
|
+
selectProps: {
|
|
6251
|
+
labelInValue: labelInValue
|
|
6252
|
+
},
|
|
6253
|
+
onChange: onChange,
|
|
6254
|
+
value: value,
|
|
6255
|
+
setIsMaxTagsOpen: setIsMaxTagsOpen
|
|
6256
|
+
});
|
|
6257
|
+
},
|
|
5389
6258
|
onSearch: function onSearch(v) {
|
|
5390
6259
|
return onSearchChange(v);
|
|
5391
6260
|
}
|
|
@@ -5396,7 +6265,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5396
6265
|
}, /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null))
|
|
5397
6266
|
} : {}), currentSelectProps), {}, {
|
|
5398
6267
|
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
5399
|
-
return
|
|
6268
|
+
return highestPopContainer && highestPopContainer(triggerNode) || triggerNode.parentElement;
|
|
5400
6269
|
}
|
|
5401
6270
|
}), items.map(function (item) {
|
|
5402
6271
|
return /*#__PURE__*/React__default['default'].createElement(Option$1, {
|
|
@@ -5481,8 +6350,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5481
6350
|
})) : null)))));
|
|
5482
6351
|
});
|
|
5483
6352
|
|
|
5484
|
-
var css_248z$
|
|
5485
|
-
styleInject(css_248z$
|
|
6353
|
+
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";
|
|
6354
|
+
styleInject(css_248z$8);
|
|
5486
6355
|
|
|
5487
6356
|
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";
|
|
5488
6357
|
|
|
@@ -5498,10 +6367,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5498
6367
|
|
|
5499
6368
|
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";
|
|
5500
6369
|
|
|
5501
|
-
var css_248z$
|
|
5502
|
-
styleInject(css_248z$
|
|
6370
|
+
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";
|
|
6371
|
+
styleInject(css_248z$9);
|
|
5503
6372
|
|
|
5504
|
-
var _excluded$
|
|
6373
|
+
var _excluded$4 = ["className", "style"];
|
|
5505
6374
|
var Search = antd.Input.Search;
|
|
5506
6375
|
var DragHandle = reactSortableHoc.SortableHandle(function () {
|
|
5507
6376
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -5853,7 +6722,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5853
6722
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5854
6723
|
var className = _ref2.className,
|
|
5855
6724
|
style = _ref2.style,
|
|
5856
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6725
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5857
6726
|
var sortDataSource = _this.state.sortDataSource;
|
|
5858
6727
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5859
6728
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6272,7 +7141,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6272
7141
|
});
|
|
6273
7142
|
};
|
|
6274
7143
|
|
|
6275
|
-
var _excluded$
|
|
7144
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6276
7145
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6277
7146
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6278
7147
|
return new Promise(function (resolve, reject) {
|
|
@@ -6292,7 +7161,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6292
7161
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6293
7162
|
var onResize = props.onResize,
|
|
6294
7163
|
width = props.width,
|
|
6295
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7164
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6296
7165
|
if (!width) {
|
|
6297
7166
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
6298
7167
|
}
|
|
@@ -7521,10 +8390,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7521
8390
|
}))))));
|
|
7522
8391
|
};
|
|
7523
8392
|
|
|
7524
|
-
var css_248z$
|
|
7525
|
-
styleInject(css_248z$
|
|
8393
|
+
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";
|
|
8394
|
+
styleInject(css_248z$a);
|
|
7526
8395
|
|
|
7527
|
-
var _excluded$
|
|
8396
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7528
8397
|
var _this = undefined;
|
|
7529
8398
|
var InputElement = function InputElement(_ref) {
|
|
7530
8399
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8022,7 +8891,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8022
8891
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8023
8892
|
var onResize = props.onResize,
|
|
8024
8893
|
width = props.width,
|
|
8025
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8894
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8026
8895
|
if (!width) {
|
|
8027
8896
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
8028
8897
|
}
|
|
@@ -8665,6 +9534,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8665
9534
|
hiddenFields = _ref$hiddenFields === void 0 ? [] : _ref$hiddenFields;
|
|
8666
9535
|
// 默认type === 'supplier' 供应商选择器
|
|
8667
9536
|
var requestConfig = _objectSpread2({
|
|
9537
|
+
init: true,
|
|
8668
9538
|
url: "".concat(prefixUrl.selectPrefix, "/supplier"),
|
|
8669
9539
|
filter: 'qp-name,code-orGroup,like',
|
|
8670
9540
|
otherParams: _objectSpread2({
|
|
@@ -8958,7 +9828,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8958
9828
|
// 商品选择器sku
|
|
8959
9829
|
if (type === 'skuCommodity') {
|
|
8960
9830
|
requestConfig = _objectSpread2({
|
|
8961
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9831
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9832
|
+
method: 'post',
|
|
8962
9833
|
filter: 'skuCodeAndSkuName',
|
|
8963
9834
|
searchStartLength: 4,
|
|
8964
9835
|
mappingTextField: 'name',
|
|
@@ -8982,13 +9853,43 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8982
9853
|
tableSearchForm = [{
|
|
8983
9854
|
name: 'qp-skuCode-in',
|
|
8984
9855
|
label: 'SKU编码',
|
|
8985
|
-
|
|
9856
|
+
field: {
|
|
9857
|
+
type: 'multipleQuerySearchSelect',
|
|
9858
|
+
props: {
|
|
9859
|
+
selectProps: {
|
|
9860
|
+
mode: "multiple"
|
|
9861
|
+
},
|
|
9862
|
+
requestConfig: {
|
|
9863
|
+
url: '/items/sku//listNoPage/Simple',
|
|
9864
|
+
filter: 'qp-name-like',
|
|
9865
|
+
// filter: 'qp-itemCode,name-orGroup,like',
|
|
9866
|
+
mappingTextField: 'name',
|
|
9867
|
+
mappingValueField: 'skuCode',
|
|
9868
|
+
sourceName: 'qp-skuCode-in',
|
|
9869
|
+
specialBracket: true
|
|
9870
|
+
}
|
|
9871
|
+
}
|
|
9872
|
+
}
|
|
8986
9873
|
}, {
|
|
8987
9874
|
name: 'qp-skuName-like',
|
|
8988
9875
|
label: 'SKU名称'
|
|
8989
9876
|
}, {
|
|
8990
|
-
name: 'qp-itemCode-
|
|
8991
|
-
label: '
|
|
9877
|
+
name: 'qp-itemCode-in',
|
|
9878
|
+
label: 'SPU编码',
|
|
9879
|
+
field: {
|
|
9880
|
+
type: 'multipleQuerySearchSelect',
|
|
9881
|
+
props: {
|
|
9882
|
+
requestConfig: {
|
|
9883
|
+
url: '/items/item/listNoPage/Simple',
|
|
9884
|
+
filter: 'qp-name-like',
|
|
9885
|
+
// filter: 'qp-skuCode,name-orGroup,like',
|
|
9886
|
+
mappingTextField: 'name',
|
|
9887
|
+
mappingValueField: 'itemCode',
|
|
9888
|
+
sourceName: 'qp-itemCode-in',
|
|
9889
|
+
specialBracket: true
|
|
9890
|
+
}
|
|
9891
|
+
}
|
|
9892
|
+
}
|
|
8992
9893
|
}, {
|
|
8993
9894
|
name: 'qp-eancode-in',
|
|
8994
9895
|
label: '商品条码',
|
|
@@ -9041,6 +9942,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9041
9942
|
}
|
|
9042
9943
|
}
|
|
9043
9944
|
}
|
|
9945
|
+
}, {
|
|
9946
|
+
name: 'UNIQUE_SPEC',
|
|
9947
|
+
label: '属性',
|
|
9948
|
+
field: {
|
|
9949
|
+
type: 'proppertySelector'
|
|
9950
|
+
}
|
|
9044
9951
|
}];
|
|
9045
9952
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9046
9953
|
pageSize: 5000,
|
|
@@ -9447,6 +10354,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9447
10354
|
}]
|
|
9448
10355
|
}, selectConfigProps);
|
|
9449
10356
|
requestConfig = _objectSpread2({
|
|
10357
|
+
init: true,
|
|
9450
10358
|
url: "".concat(prefixUrl.selectPrefix, "/skuPropertyValue/list"),
|
|
9451
10359
|
filter: 'qp-value-like',
|
|
9452
10360
|
mappingTextField: 'value',
|
|
@@ -10369,6 +11277,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10369
11277
|
}]
|
|
10370
11278
|
}, selectConfigProps);
|
|
10371
11279
|
requestConfig = _objectSpread2({
|
|
11280
|
+
init: true,
|
|
10372
11281
|
url: "".concat(prefixUrl.selectPrefix, "/inventoryOrg"),
|
|
10373
11282
|
filter: 'qp-name,code-orGroup,like',
|
|
10374
11283
|
mappingTextField: 'name',
|
|
@@ -10394,6 +11303,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10394
11303
|
}]
|
|
10395
11304
|
}, selectConfigProps);
|
|
10396
11305
|
requestConfig = _objectSpread2({
|
|
11306
|
+
init: true,
|
|
10397
11307
|
url: "".concat(prefixUrl.selectPrefix, "/company"),
|
|
10398
11308
|
filter: 'qp-name,code-orGroup,like',
|
|
10399
11309
|
mappingTextField: 'name',
|
|
@@ -10419,6 +11329,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10419
11329
|
}]
|
|
10420
11330
|
}, selectConfigProps);
|
|
10421
11331
|
requestConfig = _objectSpread2({
|
|
11332
|
+
init: true,
|
|
10422
11333
|
url: "".concat(prefixUrl.selectPrefix, "/platCompany"),
|
|
10423
11334
|
filter: 'qp-name,socialCreditCode-orGroup,like',
|
|
10424
11335
|
mappingTextField: 'name',
|
|
@@ -10444,6 +11355,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10444
11355
|
}]
|
|
10445
11356
|
}, selectConfigProps);
|
|
10446
11357
|
requestConfig = _objectSpread2({
|
|
11358
|
+
init: true,
|
|
10447
11359
|
url: "".concat(prefixUrl.selectPrefix, "/employee/v2"),
|
|
10448
11360
|
filter: 'qp-employeeNumber,name-orGroup,like',
|
|
10449
11361
|
mappingTextField: 'name',
|
|
@@ -10537,6 +11449,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10537
11449
|
}]
|
|
10538
11450
|
}, selectConfigProps);
|
|
10539
11451
|
requestConfig = _objectSpread2({
|
|
11452
|
+
init: true,
|
|
10540
11453
|
url: "".concat(prefixUrl.selectPrefix, "/employee/pageList/v2"),
|
|
10541
11454
|
filter: 'qp-username,name-orGroup,like',
|
|
10542
11455
|
mappingTextField: 'name',
|
|
@@ -10679,6 +11592,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10679
11592
|
});
|
|
10680
11593
|
var logisCompanyCodeSingleSearchName = isLogisCompanyCodeSingleSearch ? 'qp-logisCompanyCode-eq' : 'qp-logisCompanyCode-in';
|
|
10681
11594
|
requestConfig = _objectSpread2({
|
|
11595
|
+
init: true,
|
|
10682
11596
|
url: "".concat(prefixUrl.selectPrefix, "/deliveryMode"),
|
|
10683
11597
|
filter: 'qp-name,code-orGroup,like',
|
|
10684
11598
|
mappingTextField: 'name',
|
|
@@ -10815,6 +11729,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10815
11729
|
}]
|
|
10816
11730
|
}, selectConfigProps);
|
|
10817
11731
|
requestConfig = _objectSpread2({
|
|
11732
|
+
init: true,
|
|
10818
11733
|
url: "".concat(prefixUrl.selectPrefix, "/ruleTemplate"),
|
|
10819
11734
|
filter: 'qp-name,code-orGroup,like',
|
|
10820
11735
|
mappingTextField: 'name',
|
|
@@ -10886,6 +11801,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10886
11801
|
}]
|
|
10887
11802
|
}, selectConfigProps);
|
|
10888
11803
|
requestConfig = _objectSpread2({
|
|
11804
|
+
init: true,
|
|
10889
11805
|
url: "".concat(prefixUrl.selectPrefix, "/role"),
|
|
10890
11806
|
filter: 'qp-name,code-orGroup,like',
|
|
10891
11807
|
mappingTextField: 'name',
|
|
@@ -10982,6 +11898,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10982
11898
|
}]
|
|
10983
11899
|
}, selectConfigProps);
|
|
10984
11900
|
requestConfig = _objectSpread2({
|
|
11901
|
+
init: true,
|
|
10985
11902
|
url: "".concat(prefixUrl.selectPrefix, "/channelInfo"),
|
|
10986
11903
|
filter: 'qp-name,code-orGroup,like',
|
|
10987
11904
|
mappingTextField: 'name',
|
|
@@ -11069,6 +11986,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11069
11986
|
}]
|
|
11070
11987
|
}, selectConfigProps);
|
|
11071
11988
|
requestConfig = _objectSpread2({
|
|
11989
|
+
init: true,
|
|
11072
11990
|
url: "".concat(prefixUrl.selectPrefix, "/orgViewNode/common/pageList"),
|
|
11073
11991
|
filter: 'qp-name-like',
|
|
11074
11992
|
mappingTextField: 'name',
|
|
@@ -11197,6 +12115,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11197
12115
|
}]
|
|
11198
12116
|
}, selectConfigProps);
|
|
11199
12117
|
requestConfig = _objectSpread2({
|
|
12118
|
+
init: true,
|
|
11200
12119
|
url: "".concat(prefixUrl.selectPrefix, "/person"),
|
|
11201
12120
|
filter: 'qp-code,name-orGroup,like',
|
|
11202
12121
|
mappingTextField: 'name',
|
|
@@ -11332,6 +12251,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11332
12251
|
}]
|
|
11333
12252
|
}, selectConfigProps);
|
|
11334
12253
|
requestConfig = _objectSpread2({
|
|
12254
|
+
init: true,
|
|
11335
12255
|
url: "".concat(prefixUrl.selectPrefix, "/priceType"),
|
|
11336
12256
|
filter: 'qp-code,name-orGroup,like',
|
|
11337
12257
|
mappingTextField: 'name',
|
|
@@ -11520,6 +12440,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11520
12440
|
|
|
11521
12441
|
var MemoSearchSelect = /*#__PURE__*/React__default['default'].memo(SearchSelect);
|
|
11522
12442
|
var BusinessSearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
12443
|
+
var _props$requestConfig;
|
|
11523
12444
|
var businessType = (props === null || props === void 0 ? void 0 : props.selectBusinessType) || 'supplier';
|
|
11524
12445
|
var prefixUrl = (props === null || props === void 0 ? void 0 : props.prefixUrl) || {
|
|
11525
12446
|
selectPrefix: handleDefaultPrefixUrl(businessType),
|
|
@@ -11538,7 +12459,7 @@ var BusinessSearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref)
|
|
|
11538
12459
|
needModalTable: needModalTable,
|
|
11539
12460
|
modalTableProps: modalTableProps
|
|
11540
12461
|
});
|
|
11541
|
-
}, [props === null || props === void 0 ? void 0 : props.value, props.disabled, props.selectBusinessType]);
|
|
12462
|
+
}, [props === null || props === void 0 ? void 0 : props.value, props.disabled, props.selectBusinessType, (_props$requestConfig = props.requestConfig) === null || _props$requestConfig === void 0 ? void 0 : _props$requestConfig.noOperate]);
|
|
11542
12463
|
React$1.useImperativeHandle(ref, function () {
|
|
11543
12464
|
return {
|
|
11544
12465
|
getRef: function getRef() {
|
|
@@ -11563,6 +12484,9 @@ var BusinessSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Busines
|
|
|
11563
12484
|
if (props && props.selectBusinessType !== nextProps.selectBusinessType) {
|
|
11564
12485
|
return false;
|
|
11565
12486
|
}
|
|
12487
|
+
if (props && props.requestConfig && typeof props.requestConfig.noOperate === 'boolean' && props.requestConfig.noOperate !== nextProps.requestConfig.noOperate) {
|
|
12488
|
+
return false;
|
|
12489
|
+
}
|
|
11566
12490
|
return true;
|
|
11567
12491
|
});
|
|
11568
12492
|
|
|
@@ -12830,7 +13754,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12830
13754
|
return "";
|
|
12831
13755
|
}
|
|
12832
13756
|
|
|
12833
|
-
var _excluded$
|
|
13757
|
+
var _excluded$7 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
12834
13758
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12835
13759
|
var _useState = React$1.useState([]),
|
|
12836
13760
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12872,7 +13796,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12872
13796
|
} : _props$style,
|
|
12873
13797
|
getTreeData = props.getTreeData,
|
|
12874
13798
|
disabled = props.disabled,
|
|
12875
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13799
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12876
13800
|
var url = remoteSource.url,
|
|
12877
13801
|
headers = remoteSource.headers,
|
|
12878
13802
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13257,8 +14181,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
|
|
|
13257
14181
|
return true;
|
|
13258
14182
|
});
|
|
13259
14183
|
|
|
13260
|
-
var css_248z$
|
|
13261
|
-
styleInject(css_248z$
|
|
14184
|
+
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";
|
|
14185
|
+
styleInject(css_248z$b);
|
|
13262
14186
|
|
|
13263
14187
|
var index$2 = (function (props) {
|
|
13264
14188
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13295,10 +14219,10 @@ var index$2 = (function (props) {
|
|
|
13295
14219
|
}));
|
|
13296
14220
|
});
|
|
13297
14221
|
|
|
13298
|
-
var css_248z$
|
|
13299
|
-
styleInject(css_248z$
|
|
14222
|
+
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";
|
|
14223
|
+
styleInject(css_248z$c);
|
|
13300
14224
|
|
|
13301
|
-
var _excluded$
|
|
14225
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13302
14226
|
_excluded2$3 = ["children"];
|
|
13303
14227
|
var Field = function Field(_ref) {
|
|
13304
14228
|
var children = _ref.children,
|
|
@@ -13306,7 +14230,7 @@ var Field = function Field(_ref) {
|
|
|
13306
14230
|
title = _ref.title,
|
|
13307
14231
|
extra = _ref.extra,
|
|
13308
14232
|
bordered = _ref.bordered,
|
|
13309
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
14233
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13310
14234
|
var _React$useState = React__default['default'].useState(true),
|
|
13311
14235
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13312
14236
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13430,10 +14354,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13430
14354
|
})));
|
|
13431
14355
|
};
|
|
13432
14356
|
|
|
13433
|
-
var css_248z$
|
|
13434
|
-
styleInject(css_248z$
|
|
14357
|
+
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";
|
|
14358
|
+
styleInject(css_248z$d);
|
|
13435
14359
|
|
|
13436
|
-
var _excluded$
|
|
14360
|
+
var _excluded$9 = ["className", "style"];
|
|
13437
14361
|
var Search$1 = antd.Input.Search;
|
|
13438
14362
|
var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
|
|
13439
14363
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -13851,7 +14775,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13851
14775
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13852
14776
|
var className = _ref2.className,
|
|
13853
14777
|
style = _ref2.style,
|
|
13854
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14778
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13855
14779
|
var sortDataSource = _this.state.sortDataSource;
|
|
13856
14780
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13857
14781
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14011,8 +14935,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14011
14935
|
visible = _this$state3.visible,
|
|
14012
14936
|
onSearchSort = _this$state3.onSearchSort;
|
|
14013
14937
|
var seatchDataSource = dataSource.filter(function (item) {
|
|
14014
|
-
var
|
|
14015
|
-
return (item === null || item === void 0 ? void 0 :
|
|
14938
|
+
var _renderToString;
|
|
14939
|
+
return ((_renderToString = renderToString(item === null || item === void 0 ? void 0 : item.title)) === null || _renderToString === void 0 ? void 0 : _renderToString.indexOf(searchDataSource || '')) > -1;
|
|
14016
14940
|
});
|
|
14017
14941
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14018
14942
|
className: 'sort_table_wrapper'
|
|
@@ -14095,8 +15019,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14095
15019
|
}
|
|
14096
15020
|
}, item.title);
|
|
14097
15021
|
}) : dataSource.filter(function (item) {
|
|
14098
|
-
var _item$
|
|
14099
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15022
|
+
var _item$title, _item$title2;
|
|
15023
|
+
return (item === null || item === void 0 ? void 0 : (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.indexOf('人')) === -1 && (item === null || item === void 0 ? void 0 : (_item$title2 = item.title) === null || _item$title2 === void 0 ? void 0 : _item$title2.indexOf('日期')) === -1;
|
|
14100
15024
|
}).map(function (item) {
|
|
14101
15025
|
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
14102
15026
|
checked: !item.hidden,
|
|
@@ -14115,8 +15039,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14115
15039
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14116
15040
|
className: 'sort_table_column_all'
|
|
14117
15041
|
}, _toConsumableArray(dataSource).filter(function (item) {
|
|
14118
|
-
var _item$
|
|
14119
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15042
|
+
var _item$title3, _item$title4;
|
|
15043
|
+
return (item === null || item === void 0 ? void 0 : (_item$title3 = item.title) === null || _item$title3 === void 0 ? void 0 : _item$title3.indexOf('人')) > -1 || (item === null || item === void 0 ? void 0 : (_item$title4 = item.title) === null || _item$title4 === void 0 ? void 0 : _item$title4.indexOf('日期')) > -1;
|
|
14120
15044
|
}).map(function (item) {
|
|
14121
15045
|
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
14122
15046
|
checked: !item.hidden,
|
|
@@ -14152,8 +15076,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14152
15076
|
pagination: false,
|
|
14153
15077
|
showHeader: false,
|
|
14154
15078
|
dataSource: (onSearchSort ? sortDataSource.filter(function (item) {
|
|
14155
|
-
var _item$
|
|
14156
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15079
|
+
var _item$title5;
|
|
15080
|
+
return (item === null || item === void 0 ? void 0 : (_item$title5 = item.title) === null || _item$title5 === void 0 ? void 0 : _item$title5.indexOf(onSearchSort)) > -1;
|
|
14157
15081
|
}) : sortDataSource).map(function (item) {
|
|
14158
15082
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
14159
15083
|
key: item.key || item.dataIndex
|
|
@@ -14183,7 +15107,29 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14183
15107
|
}]);
|
|
14184
15108
|
}(React__default['default'].Component);
|
|
14185
15109
|
|
|
14186
|
-
var
|
|
15110
|
+
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";
|
|
15111
|
+
styleInject(css_248z$e);
|
|
15112
|
+
|
|
15113
|
+
//表格底部 金额总计
|
|
15114
|
+
var TableSumComponent = (function (_ref) {
|
|
15115
|
+
var summary = _ref.summary;
|
|
15116
|
+
var Text = antd.Typography.Text;
|
|
15117
|
+
return /*#__PURE__*/React__default['default'].createElement(React$1.Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15118
|
+
className: "table_sum_wrapper"
|
|
15119
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15120
|
+
className: 'table-bssula-summary'
|
|
15121
|
+
}, summary.map(function (item) {
|
|
15122
|
+
return /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
15123
|
+
type: 'danger'
|
|
15124
|
+
}, item.label, ": ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15125
|
+
className: 'table-bssula-summary-count'
|
|
15126
|
+
}, item.count || 0));
|
|
15127
|
+
}))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15128
|
+
className: "sum_right_line"
|
|
15129
|
+
}));
|
|
15130
|
+
});
|
|
15131
|
+
|
|
15132
|
+
var _excluded$a = ["onResize", "width"],
|
|
14187
15133
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14188
15134
|
var Text = antd.Typography.Text;
|
|
14189
15135
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14287,7 +15233,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14287
15233
|
_this.ResizeableTitle = function (props) {
|
|
14288
15234
|
var onResize = props.onResize,
|
|
14289
15235
|
width = props.width,
|
|
14290
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15236
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14291
15237
|
var _useState = React$1.useState(width),
|
|
14292
15238
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14293
15239
|
innerWidth = _useState2[0],
|
|
@@ -14521,37 +15467,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14521
15467
|
cell: this.ResizeableTitle
|
|
14522
15468
|
}
|
|
14523
15469
|
}
|
|
14524
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
right: '20%',
|
|
14528
|
-
bottom: 0,
|
|
14529
|
-
whiteSpace: 'nowrap',
|
|
14530
|
-
overflowX: 'auto'
|
|
14531
|
-
}
|
|
14532
|
-
}, summary.map(function (item) {
|
|
14533
|
-
return /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
14534
|
-
type: 'danger'
|
|
14535
|
-
}, item.label, ": ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
14536
|
-
className: 'table-bssula-summary-count'
|
|
14537
|
-
}, item.count || 0));
|
|
14538
|
-
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14539
|
-
style: {
|
|
14540
|
-
width: '16px',
|
|
14541
|
-
height: '26px',
|
|
14542
|
-
opacity: 0.32,
|
|
14543
|
-
transform: 'scaleX(-1)',
|
|
14544
|
-
backgroundImage: 'linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%)',
|
|
14545
|
-
right: '20%',
|
|
14546
|
-
position: 'absolute',
|
|
14547
|
-
bottom: 0
|
|
14548
|
-
}
|
|
14549
|
-
}))));
|
|
15470
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
15471
|
+
summary: summary
|
|
15472
|
+
})));
|
|
14550
15473
|
}
|
|
14551
15474
|
}]);
|
|
14552
15475
|
}(React__default['default'].Component);
|
|
14553
15476
|
|
|
14554
|
-
var _excluded$
|
|
15477
|
+
var _excluded$b = ["onResize", "width"],
|
|
14555
15478
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14556
15479
|
var Text$1 = antd.Typography.Text;
|
|
14557
15480
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14661,7 +15584,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14661
15584
|
_this.ResizeableTitle = function (props) {
|
|
14662
15585
|
var onResize = props.onResize,
|
|
14663
15586
|
width = props.width,
|
|
14664
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15587
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14665
15588
|
if (!width) {
|
|
14666
15589
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
14667
15590
|
}
|
|
@@ -14790,32 +15713,9 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14790
15713
|
cell: this.ResizeableTitle
|
|
14791
15714
|
}
|
|
14792
15715
|
}
|
|
14793
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
-
right: '20%',
|
|
14797
|
-
bottom: 0,
|
|
14798
|
-
whiteSpace: 'nowrap',
|
|
14799
|
-
overflowX: 'auto'
|
|
14800
|
-
}
|
|
14801
|
-
}, summary.map(function (item) {
|
|
14802
|
-
return /*#__PURE__*/React__default['default'].createElement(Text$1, {
|
|
14803
|
-
type: 'danger'
|
|
14804
|
-
}, item.label, ": ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
14805
|
-
className: 'table-bssula-summary-count'
|
|
14806
|
-
}, item.count || 0));
|
|
14807
|
-
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14808
|
-
style: {
|
|
14809
|
-
width: '16px',
|
|
14810
|
-
height: '26px',
|
|
14811
|
-
opacity: 0.32,
|
|
14812
|
-
transform: 'scaleX(-1)',
|
|
14813
|
-
backgroundImage: 'linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%)',
|
|
14814
|
-
right: '20%',
|
|
14815
|
-
position: 'absolute',
|
|
14816
|
-
bottom: 0
|
|
14817
|
-
}
|
|
14818
|
-
}))));
|
|
15716
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
15717
|
+
summary: summary
|
|
15718
|
+
})));
|
|
14819
15719
|
}
|
|
14820
15720
|
}]);
|
|
14821
15721
|
}(React__default['default'].Component);
|
|
@@ -14947,8 +15847,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
14947
15847
|
return undefined;
|
|
14948
15848
|
};
|
|
14949
15849
|
|
|
14950
|
-
var css_248z$
|
|
14951
|
-
styleInject(css_248z$
|
|
15850
|
+
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";
|
|
15851
|
+
styleInject(css_248z$f);
|
|
14952
15852
|
|
|
14953
15853
|
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";
|
|
14954
15854
|
|
|
@@ -14962,15 +15862,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
14962
15862
|
|
|
14963
15863
|
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";
|
|
14964
15864
|
|
|
14965
|
-
var css_248z$
|
|
14966
|
-
styleInject(css_248z$
|
|
15865
|
+
var css_248z$g = "";
|
|
15866
|
+
styleInject(css_248z$g);
|
|
14967
15867
|
|
|
14968
|
-
var _excluded$
|
|
15868
|
+
var _excluded$c = ["message", "type"];
|
|
14969
15869
|
var CommonAlert = (function (props) {
|
|
14970
15870
|
var message = props.message,
|
|
14971
15871
|
_props$type = props.type,
|
|
14972
15872
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
14973
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15873
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
14974
15874
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14975
15875
|
style: {
|
|
14976
15876
|
width: '100%',
|
|
@@ -14991,7 +15891,7 @@ var CommonAlert = (function (props) {
|
|
|
14991
15891
|
}, reset)));
|
|
14992
15892
|
});
|
|
14993
15893
|
|
|
14994
|
-
var _excluded$
|
|
15894
|
+
var _excluded$d = ["children"];
|
|
14995
15895
|
var iconMap = {
|
|
14996
15896
|
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
14997
15897
|
src: editIcon
|
|
@@ -15013,7 +15913,7 @@ var index$3 = (function (props) {
|
|
|
15013
15913
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15014
15914
|
id = _useState2[0];
|
|
15015
15915
|
var children = props.children,
|
|
15016
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15916
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15017
15917
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15018
15918
|
id: id,
|
|
15019
15919
|
className: 'detail_page_wrapper'
|
|
@@ -15236,10 +16136,10 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15236
16136
|
return true;
|
|
15237
16137
|
});
|
|
15238
16138
|
|
|
15239
|
-
var css_248z$
|
|
15240
|
-
styleInject(css_248z$
|
|
16139
|
+
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";
|
|
16140
|
+
styleInject(css_248z$h);
|
|
15241
16141
|
|
|
15242
|
-
var _excluded$
|
|
16142
|
+
var _excluded$e = ["children"];
|
|
15243
16143
|
var index$4 = (function (props) {
|
|
15244
16144
|
var _useLocation = umi.useLocation(),
|
|
15245
16145
|
pathname = _useLocation.pathname;
|
|
@@ -15247,7 +16147,7 @@ var index$4 = (function (props) {
|
|
|
15247
16147
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15248
16148
|
id = _useState2[0];
|
|
15249
16149
|
var children = props.children,
|
|
15250
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16150
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15251
16151
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15252
16152
|
id: id,
|
|
15253
16153
|
className: 'home_page_wrapper'
|
|
@@ -15321,10 +16221,10 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15321
16221
|
return true;
|
|
15322
16222
|
});
|
|
15323
16223
|
|
|
15324
|
-
var css_248z$
|
|
15325
|
-
styleInject(css_248z$
|
|
16224
|
+
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";
|
|
16225
|
+
styleInject(css_248z$i);
|
|
15326
16226
|
|
|
15327
|
-
var _excluded$
|
|
16227
|
+
var _excluded$f = ["className", "style"];
|
|
15328
16228
|
var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
|
|
15329
16229
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15330
16230
|
width: 25,
|
|
@@ -15762,7 +16662,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15762
16662
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15763
16663
|
var className = _ref2.className,
|
|
15764
16664
|
style = _ref2.style,
|
|
15765
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16665
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15766
16666
|
var sortDataSource = _this.state.sortDataSource;
|
|
15767
16667
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15768
16668
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16132,7 +17032,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16132
17032
|
}]);
|
|
16133
17033
|
}(React__default['default'].Component);
|
|
16134
17034
|
|
|
16135
|
-
var _excluded$
|
|
17035
|
+
var _excluded$g = ["className", "style"];
|
|
16136
17036
|
var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
|
|
16137
17037
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16138
17038
|
width: 25,
|
|
@@ -16385,7 +17285,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16385
17285
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16386
17286
|
var className = _ref2.className,
|
|
16387
17287
|
style = _ref2.style,
|
|
16388
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17288
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16389
17289
|
var sortDataSource = _this.state.sortDataSource;
|
|
16390
17290
|
var index = sortDataSource.findIndex(function (x) {
|
|
16391
17291
|
return x.name === restProps['data-row-key'];
|
|
@@ -16681,16 +17581,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16681
17581
|
}]);
|
|
16682
17582
|
}(React__default['default'].Component);
|
|
16683
17583
|
|
|
16684
|
-
var css_248z$
|
|
16685
|
-
styleInject(css_248z$
|
|
17584
|
+
var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17585
|
+
styleInject(css_248z$j);
|
|
16686
17586
|
|
|
16687
|
-
var _excluded$
|
|
17587
|
+
var _excluded$h = ["onResize", "width"];
|
|
16688
17588
|
var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
|
|
16689
17589
|
var Text$2 = antd.Typography.Text;
|
|
16690
17590
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16691
17591
|
var onResize = props.onResize,
|
|
16692
17592
|
width = props.width,
|
|
16693
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17593
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16694
17594
|
var _useState = React$1.useState(width),
|
|
16695
17595
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16696
17596
|
innerWidth = _useState2[0],
|
|
@@ -17408,8 +18308,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17408
18308
|
})));
|
|
17409
18309
|
});
|
|
17410
18310
|
|
|
17411
|
-
var css_248z$
|
|
17412
|
-
styleInject(css_248z$
|
|
18311
|
+
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";
|
|
18312
|
+
styleInject(css_248z$k);
|
|
17413
18313
|
|
|
17414
18314
|
var cache = {};
|
|
17415
18315
|
var cacheLimit = 10000;
|
|
@@ -17665,8 +18565,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17665
18565
|
})))));
|
|
17666
18566
|
};
|
|
17667
18567
|
|
|
17668
|
-
var css_248z$
|
|
17669
|
-
styleInject(css_248z$
|
|
18568
|
+
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";
|
|
18569
|
+
styleInject(css_248z$l);
|
|
17670
18570
|
|
|
17671
18571
|
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";
|
|
17672
18572
|
|
|
@@ -17874,8 +18774,8 @@ var i18n = {
|
|
|
17874
18774
|
}
|
|
17875
18775
|
};
|
|
17876
18776
|
|
|
17877
|
-
var css_248z$
|
|
17878
|
-
styleInject(css_248z$
|
|
18777
|
+
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";
|
|
18778
|
+
styleInject(css_248z$m);
|
|
17879
18779
|
|
|
17880
18780
|
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";
|
|
17881
18781
|
|
|
@@ -18405,8 +19305,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18405
19305
|
}))))));
|
|
18406
19306
|
};
|
|
18407
19307
|
|
|
18408
|
-
var css_248z$
|
|
18409
|
-
styleInject(css_248z$
|
|
19308
|
+
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";
|
|
19309
|
+
styleInject(css_248z$n);
|
|
18410
19310
|
|
|
18411
19311
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18412
19312
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18562,8 +19462,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18562
19462
|
|
|
18563
19463
|
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";
|
|
18564
19464
|
|
|
18565
|
-
var css_248z$
|
|
18566
|
-
styleInject(css_248z$
|
|
19465
|
+
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";
|
|
19466
|
+
styleInject(css_248z$o);
|
|
18567
19467
|
|
|
18568
19468
|
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";
|
|
18569
19469
|
|
|
@@ -19190,8 +20090,8 @@ var MenuSetting = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19190
20090
|
}));
|
|
19191
20091
|
});
|
|
19192
20092
|
|
|
19193
|
-
var css_248z$
|
|
19194
|
-
styleInject(css_248z$
|
|
20093
|
+
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";
|
|
20094
|
+
styleInject(css_248z$p);
|
|
19195
20095
|
|
|
19196
20096
|
var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
19197
20097
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19327,8 +20227,8 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19327
20227
|
})));
|
|
19328
20228
|
});
|
|
19329
20229
|
|
|
19330
|
-
var css_248z$
|
|
19331
|
-
styleInject(css_248z$
|
|
20230
|
+
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";
|
|
20231
|
+
styleInject(css_248z$q);
|
|
19332
20232
|
|
|
19333
20233
|
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=";
|
|
19334
20234
|
|
|
@@ -19743,8 +20643,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19743
20643
|
})));
|
|
19744
20644
|
};
|
|
19745
20645
|
|
|
19746
|
-
var css_248z$
|
|
19747
|
-
styleInject(css_248z$
|
|
20646
|
+
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";
|
|
20647
|
+
styleInject(css_248z$r);
|
|
19748
20648
|
|
|
19749
20649
|
/*
|
|
19750
20650
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19767,7 +20667,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19767
20667
|
}));
|
|
19768
20668
|
};
|
|
19769
20669
|
|
|
19770
|
-
var _excluded$
|
|
20670
|
+
var _excluded$i = ["route"];
|
|
19771
20671
|
var TabPane = antd.Tabs.TabPane;
|
|
19772
20672
|
var getId = function getId(str) {
|
|
19773
20673
|
// 找到最后一个 / 的位置
|
|
@@ -20708,7 +21608,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20708
21608
|
}); // 添加数据大屏
|
|
20709
21609
|
var _this$props3 = this.props,
|
|
20710
21610
|
route = _this$props3.route,
|
|
20711
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21611
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20712
21612
|
var exist = route.routes.find(function (route) {
|
|
20713
21613
|
return route.path === '/homePage/data-show';
|
|
20714
21614
|
});
|
|
@@ -21268,8 +22168,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21268
22168
|
};
|
|
21269
22169
|
};
|
|
21270
22170
|
|
|
21271
|
-
var css_248z$
|
|
21272
|
-
styleInject(css_248z$
|
|
22171
|
+
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";
|
|
22172
|
+
styleInject(css_248z$s);
|
|
21273
22173
|
|
|
21274
22174
|
var useSticky = function useSticky(sticky) {
|
|
21275
22175
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21681,10 +22581,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
21681
22581
|
}))))));
|
|
21682
22582
|
});
|
|
21683
22583
|
|
|
21684
|
-
var _excluded$
|
|
22584
|
+
var _excluded$j = ["children"];
|
|
21685
22585
|
var Drawer = (function (props) {
|
|
21686
22586
|
var children = props.children,
|
|
21687
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22587
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21688
22588
|
return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
|
|
21689
22589
|
mask: true,
|
|
21690
22590
|
closable: false,
|
|
@@ -27504,8 +28404,8 @@ var nameRender = (function (data) {
|
|
|
27504
28404
|
}, " ");
|
|
27505
28405
|
});
|
|
27506
28406
|
|
|
27507
|
-
var css_248z$
|
|
27508
|
-
styleInject(css_248z$
|
|
28407
|
+
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";
|
|
28408
|
+
styleInject(css_248z$t);
|
|
27509
28409
|
|
|
27510
28410
|
function parseData(data) {
|
|
27511
28411
|
var res;
|
|
@@ -27716,8 +28616,8 @@ function registerSuggestions(monaco) {
|
|
|
27716
28616
|
});
|
|
27717
28617
|
}
|
|
27718
28618
|
|
|
27719
|
-
var css_248z$
|
|
27720
|
-
styleInject(css_248z$
|
|
28619
|
+
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";
|
|
28620
|
+
styleInject(css_248z$u);
|
|
27721
28621
|
|
|
27722
28622
|
var Title = antd.Typography.Title;
|
|
27723
28623
|
var STRTEMP = 'const config = ';
|
|
@@ -27911,7 +28811,7 @@ var Editor = (function (props) {
|
|
|
27911
28811
|
}, [shallowHeight]);
|
|
27912
28812
|
var hasConfigTree = type !== 'editor';
|
|
27913
28813
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27914
|
-
className: isFull ? css_248z$
|
|
28814
|
+
className: isFull ? css_248z$u.editorWrapper : ''
|
|
27915
28815
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27916
28816
|
style: {
|
|
27917
28817
|
overflow: 'hidden'
|
|
@@ -27979,7 +28879,7 @@ var Editor = (function (props) {
|
|
|
27979
28879
|
})), hasConfigTree && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
27980
28880
|
span: 8
|
|
27981
28881
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27982
|
-
className: css_248z$
|
|
28882
|
+
className: css_248z$u.title
|
|
27983
28883
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React__default['default'].createElement(ConfigTree, {
|
|
27984
28884
|
style: {
|
|
27985
28885
|
height: 'calc(100vh - 300px)',
|
|
@@ -29860,8 +30760,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29860
30760
|
})), fieldsModify.visible && /*#__PURE__*/React__default['default'].createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29861
30761
|
});
|
|
29862
30762
|
|
|
29863
|
-
var css_248z$
|
|
29864
|
-
styleInject(css_248z$
|
|
30763
|
+
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";
|
|
30764
|
+
styleInject(css_248z$v);
|
|
29865
30765
|
|
|
29866
30766
|
function iterFileds(fields) {
|
|
29867
30767
|
var filedsValue = [];
|
|
@@ -30463,7 +31363,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30463
31363
|
});
|
|
30464
31364
|
};
|
|
30465
31365
|
|
|
30466
|
-
var _excluded$
|
|
31366
|
+
var _excluded$k = ["sorter"];
|
|
30467
31367
|
/**
|
|
30468
31368
|
* 删掉查询条件的qp- 和 -eq等
|
|
30469
31369
|
* @param {object} data
|
|
@@ -30546,7 +31446,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30546
31446
|
var _requestConfig$method;
|
|
30547
31447
|
var params = _ref.params;
|
|
30548
31448
|
var sorter = params.sorter,
|
|
30549
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31449
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30550
31450
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), ___default['default'].omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
|
|
30551
31451
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30552
31452
|
});
|
|
@@ -31401,8 +32301,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31401
32301
|
});
|
|
31402
32302
|
};
|
|
31403
32303
|
|
|
31404
|
-
var css_248z$
|
|
31405
|
-
styleInject(css_248z$
|
|
32304
|
+
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";
|
|
32305
|
+
styleInject(css_248z$w);
|
|
31406
32306
|
|
|
31407
32307
|
// 查询规则对象属性thresholdList
|
|
31408
32308
|
function getRegularThresholdRange(_x) {
|
|
@@ -31837,7 +32737,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31837
32737
|
}
|
|
31838
32738
|
callback(values, valueNames);
|
|
31839
32739
|
},
|
|
31840
|
-
|
|
32740
|
+
highestPopContainer: function highestPopContainer() {
|
|
31841
32741
|
return document.body;
|
|
31842
32742
|
}
|
|
31843
32743
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -31870,27 +32770,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31870
32770
|
}
|
|
31871
32771
|
callback(values, valueNames);
|
|
31872
32772
|
},
|
|
31873
|
-
|
|
32773
|
+
highestPopContainer: function highestPopContainer() {
|
|
31874
32774
|
return document.body;
|
|
31875
32775
|
}
|
|
31876
32776
|
}));
|
|
31877
32777
|
} else {
|
|
31878
32778
|
var _values;
|
|
31879
|
-
var currentValue = dataInputBusinessType === 12 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
|
|
32779
|
+
var currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
|
|
31880
32780
|
return {
|
|
31881
32781
|
key: s,
|
|
31882
|
-
label: valueNames[vIndex]
|
|
32782
|
+
label: valueNames[vIndex],
|
|
32783
|
+
value: s
|
|
31883
32784
|
};
|
|
31884
32785
|
})) || [] : values[0] && {
|
|
31885
32786
|
key: values[0],
|
|
31886
|
-
label: valueNames[0]
|
|
32787
|
+
label: valueNames[0],
|
|
32788
|
+
value: values[0]
|
|
31887
32789
|
} || {};
|
|
31888
32790
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
31889
32791
|
selectBusinessType: "physicalWarehouse",
|
|
31890
32792
|
selectProps: _objectSpread2({
|
|
31891
32793
|
style: styleCommon,
|
|
31892
32794
|
placeholder: '请选择物理仓'
|
|
31893
|
-
}, dataInputBusinessType === 12 ? {
|
|
32795
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
31894
32796
|
mode: 'multiple',
|
|
31895
32797
|
maxTagCount: 1
|
|
31896
32798
|
} : {}),
|
|
@@ -31902,7 +32804,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31902
32804
|
filterInit: 'qp-physicalWarehouseCode-in'
|
|
31903
32805
|
},
|
|
31904
32806
|
onChange: function onChange(value) {
|
|
31905
|
-
if (dataInputBusinessType === 12) {
|
|
32807
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
31906
32808
|
values = value.map(function (i) {
|
|
31907
32809
|
return i.key;
|
|
31908
32810
|
}) || [];
|
|
@@ -31915,7 +32817,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31915
32817
|
}
|
|
31916
32818
|
callback(values, valueNames);
|
|
31917
32819
|
},
|
|
31918
|
-
|
|
32820
|
+
highestPopContainer: function highestPopContainer() {
|
|
31919
32821
|
return document.body;
|
|
31920
32822
|
}
|
|
31921
32823
|
});
|
|
@@ -31954,7 +32856,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31954
32856
|
}
|
|
31955
32857
|
callback(values, valueNames);
|
|
31956
32858
|
},
|
|
31957
|
-
|
|
32859
|
+
highestPopContainer: function highestPopContainer() {
|
|
31958
32860
|
return document.body;
|
|
31959
32861
|
}
|
|
31960
32862
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -31987,27 +32889,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31987
32889
|
}
|
|
31988
32890
|
callback(values, valueNames);
|
|
31989
32891
|
},
|
|
31990
|
-
|
|
32892
|
+
highestPopContainer: function highestPopContainer() {
|
|
31991
32893
|
return document.body;
|
|
31992
32894
|
}
|
|
31993
32895
|
}));
|
|
31994
32896
|
} else {
|
|
31995
32897
|
var _values2;
|
|
31996
|
-
var _currentValue = dataInputBusinessType === 12 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
|
|
32898
|
+
var _currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
|
|
31997
32899
|
return {
|
|
31998
32900
|
key: s,
|
|
31999
|
-
label: valueNames[vIndex]
|
|
32901
|
+
label: valueNames[vIndex],
|
|
32902
|
+
value: s
|
|
32000
32903
|
};
|
|
32001
32904
|
})) || [] : values[0] && {
|
|
32002
32905
|
key: values[0],
|
|
32003
|
-
label: valueNames[0]
|
|
32906
|
+
label: valueNames[0],
|
|
32907
|
+
value: values[0]
|
|
32004
32908
|
} || {};
|
|
32005
32909
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32006
32910
|
selectBusinessType: "realWarehouse",
|
|
32007
32911
|
selectProps: _objectSpread2({
|
|
32008
32912
|
style: styleCommon,
|
|
32009
32913
|
placeholder: '请选择逻辑仓'
|
|
32010
|
-
}, dataInputBusinessType === 12 ? {
|
|
32914
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32011
32915
|
mode: 'multiple',
|
|
32012
32916
|
maxTagCount: 1
|
|
32013
32917
|
} : {}),
|
|
@@ -32019,7 +32923,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32019
32923
|
filterInit: 'qp-realWarehouseCode-in'
|
|
32020
32924
|
},
|
|
32021
32925
|
onChange: function onChange(value) {
|
|
32022
|
-
if (dataInputBusinessType === 12) {
|
|
32926
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32023
32927
|
values = value.map(function (i) {
|
|
32024
32928
|
return i.key;
|
|
32025
32929
|
}) || [];
|
|
@@ -32032,7 +32936,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32032
32936
|
}
|
|
32033
32937
|
callback(values, valueNames);
|
|
32034
32938
|
},
|
|
32035
|
-
|
|
32939
|
+
highestPopContainer: function highestPopContainer() {
|
|
32036
32940
|
return document.body;
|
|
32037
32941
|
}
|
|
32038
32942
|
});
|
|
@@ -32071,7 +32975,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32071
32975
|
}
|
|
32072
32976
|
callback(values, valueNames);
|
|
32073
32977
|
},
|
|
32074
|
-
|
|
32978
|
+
highestPopContainer: function highestPopContainer() {
|
|
32075
32979
|
return document.body;
|
|
32076
32980
|
}
|
|
32077
32981
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -32104,27 +33008,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32104
33008
|
}
|
|
32105
33009
|
callback(values, valueNames);
|
|
32106
33010
|
},
|
|
32107
|
-
|
|
33011
|
+
highestPopContainer: function highestPopContainer() {
|
|
32108
33012
|
return document.body;
|
|
32109
33013
|
}
|
|
32110
33014
|
}));
|
|
32111
33015
|
} else {
|
|
32112
33016
|
var _values3;
|
|
32113
|
-
var _currentValue2 = dataInputBusinessType === 12 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
|
|
33017
|
+
var _currentValue2 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
|
|
32114
33018
|
return {
|
|
32115
33019
|
key: s,
|
|
32116
|
-
label: valueNames[vIndex]
|
|
33020
|
+
label: valueNames[vIndex],
|
|
33021
|
+
value: s
|
|
32117
33022
|
};
|
|
32118
33023
|
})) || [] : values[0] && {
|
|
32119
33024
|
key: values[0],
|
|
32120
|
-
label: valueNames[0]
|
|
33025
|
+
label: valueNames[0],
|
|
33026
|
+
value: values[0]
|
|
32121
33027
|
} || {};
|
|
32122
33028
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32123
33029
|
selectBusinessType: "virtualWarehouse",
|
|
32124
33030
|
selectProps: _objectSpread2({
|
|
32125
33031
|
style: styleCommon,
|
|
32126
33032
|
placeholder: '请选择虚拟仓'
|
|
32127
|
-
}, dataInputBusinessType === 12 ? {
|
|
33033
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32128
33034
|
mode: 'multiple',
|
|
32129
33035
|
maxTagCount: 1
|
|
32130
33036
|
} : {}),
|
|
@@ -32136,7 +33042,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32136
33042
|
filterInit: 'qp-virtualWarehouseCode-in'
|
|
32137
33043
|
},
|
|
32138
33044
|
onChange: function onChange(value) {
|
|
32139
|
-
if (dataInputBusinessType === 12) {
|
|
33045
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32140
33046
|
values = value.map(function (i) {
|
|
32141
33047
|
return i.key;
|
|
32142
33048
|
}) || [];
|
|
@@ -32149,7 +33055,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32149
33055
|
}
|
|
32150
33056
|
callback(values, valueNames);
|
|
32151
33057
|
},
|
|
32152
|
-
|
|
33058
|
+
highestPopContainer: function highestPopContainer() {
|
|
32153
33059
|
return document.body;
|
|
32154
33060
|
}
|
|
32155
33061
|
});
|
|
@@ -32221,27 +33127,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32221
33127
|
}
|
|
32222
33128
|
callback(values, valueNames);
|
|
32223
33129
|
},
|
|
32224
|
-
|
|
33130
|
+
highestPopContainer: function highestPopContainer() {
|
|
32225
33131
|
return document.body;
|
|
32226
33132
|
}
|
|
32227
33133
|
}));
|
|
32228
33134
|
} else {
|
|
32229
33135
|
var _values4;
|
|
32230
|
-
var _currentValue3 = dataInputBusinessType === 12 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
|
|
33136
|
+
var _currentValue3 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
|
|
32231
33137
|
return {
|
|
32232
33138
|
key: s,
|
|
32233
|
-
label: valueNames[vIndex]
|
|
33139
|
+
label: valueNames[vIndex],
|
|
33140
|
+
value: s
|
|
32234
33141
|
};
|
|
32235
33142
|
})) || [] : values[0] && {
|
|
32236
33143
|
key: values[0],
|
|
32237
|
-
label: valueNames[0]
|
|
33144
|
+
label: valueNames[0],
|
|
33145
|
+
value: values[0]
|
|
32238
33146
|
} || {};
|
|
32239
33147
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32240
33148
|
selectBusinessType: "channelWarehouse",
|
|
32241
33149
|
selectProps: _objectSpread2({
|
|
32242
33150
|
style: styleCommon,
|
|
32243
33151
|
placeholder: '请选择渠道仓'
|
|
32244
|
-
}, dataInputBusinessType === 12 ? {
|
|
33152
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32245
33153
|
mode: 'multiple',
|
|
32246
33154
|
maxTagCount: 1
|
|
32247
33155
|
} : {}),
|
|
@@ -32253,7 +33161,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32253
33161
|
filterInit: 'qp-channelWarehouseCode-in'
|
|
32254
33162
|
},
|
|
32255
33163
|
onChange: function onChange(value) {
|
|
32256
|
-
if (dataInputBusinessType === 12) {
|
|
33164
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32257
33165
|
values = value.map(function (i) {
|
|
32258
33166
|
return i.key;
|
|
32259
33167
|
}) || [];
|
|
@@ -32266,7 +33174,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32266
33174
|
}
|
|
32267
33175
|
callback(values, valueNames);
|
|
32268
33176
|
},
|
|
32269
|
-
|
|
33177
|
+
highestPopContainer: function highestPopContainer() {
|
|
32270
33178
|
return document.body;
|
|
32271
33179
|
}
|
|
32272
33180
|
});
|
|
@@ -32304,7 +33212,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32304
33212
|
}
|
|
32305
33213
|
callback(values, valueNames);
|
|
32306
33214
|
},
|
|
32307
|
-
|
|
33215
|
+
highestPopContainer: function highestPopContainer() {
|
|
32308
33216
|
return document.body;
|
|
32309
33217
|
}
|
|
32310
33218
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -32336,27 +33244,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32336
33244
|
}
|
|
32337
33245
|
callback(values, valueNames);
|
|
32338
33246
|
},
|
|
32339
|
-
|
|
33247
|
+
highestPopContainer: function highestPopContainer() {
|
|
32340
33248
|
return document.body;
|
|
32341
33249
|
}
|
|
32342
33250
|
}));
|
|
32343
33251
|
} else {
|
|
32344
33252
|
var _values5;
|
|
32345
|
-
var _currentValue4 = dataInputBusinessType === 12 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
|
|
33253
|
+
var _currentValue4 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
|
|
32346
33254
|
return {
|
|
32347
33255
|
key: s,
|
|
32348
|
-
label: valueNames[vIndex]
|
|
33256
|
+
label: valueNames[vIndex],
|
|
33257
|
+
value: s
|
|
32349
33258
|
};
|
|
32350
33259
|
})) || [] : values[0] && {
|
|
32351
33260
|
key: values[0],
|
|
32352
|
-
label: valueNames[0]
|
|
33261
|
+
label: valueNames[0],
|
|
33262
|
+
value: values[0]
|
|
32353
33263
|
} || {};
|
|
32354
33264
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32355
33265
|
selectBusinessType: "spuCommodity",
|
|
32356
33266
|
selectProps: _objectSpread2({
|
|
32357
33267
|
style: styleCommon,
|
|
32358
33268
|
placeholder: '请选择SPU'
|
|
32359
|
-
}, dataInputBusinessType === 12 ? {
|
|
33269
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32360
33270
|
mode: 'multiple',
|
|
32361
33271
|
maxTagCount: 1
|
|
32362
33272
|
} : {}),
|
|
@@ -32367,7 +33277,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32367
33277
|
filterInit: 'qp-itemCode-in'
|
|
32368
33278
|
},
|
|
32369
33279
|
onChange: function onChange(value) {
|
|
32370
|
-
if (dataInputBusinessType === 12) {
|
|
33280
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32371
33281
|
values = value.map(function (i) {
|
|
32372
33282
|
return i.key;
|
|
32373
33283
|
}) || [];
|
|
@@ -32380,7 +33290,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32380
33290
|
}
|
|
32381
33291
|
callback(values, valueNames);
|
|
32382
33292
|
},
|
|
32383
|
-
|
|
33293
|
+
highestPopContainer: function highestPopContainer() {
|
|
32384
33294
|
return document.body;
|
|
32385
33295
|
}
|
|
32386
33296
|
});
|
|
@@ -32456,21 +33366,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32456
33366
|
}));
|
|
32457
33367
|
} else {
|
|
32458
33368
|
var _values6;
|
|
32459
|
-
var _currentValue5 = dataInputBusinessType === 12 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
|
|
33369
|
+
var _currentValue5 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
|
|
32460
33370
|
return {
|
|
32461
33371
|
key: s,
|
|
32462
|
-
label: valueNames[vIndex]
|
|
33372
|
+
label: valueNames[vIndex],
|
|
33373
|
+
value: s
|
|
32463
33374
|
};
|
|
32464
33375
|
})) || [] : values[0] && {
|
|
32465
33376
|
key: values[0],
|
|
32466
|
-
label: valueNames[0]
|
|
33377
|
+
label: valueNames[0],
|
|
33378
|
+
value: values[0]
|
|
32467
33379
|
} || {};
|
|
32468
33380
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32469
33381
|
selectBusinessType: "skuCommodity",
|
|
32470
33382
|
selectProps: _objectSpread2({
|
|
32471
33383
|
style: styleCommon,
|
|
32472
33384
|
placeholder: '请选择商品'
|
|
32473
|
-
}, dataInputBusinessType === 12 ? {
|
|
33385
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32474
33386
|
mode: 'multiple',
|
|
32475
33387
|
maxTagCount: 1
|
|
32476
33388
|
} : {}),
|
|
@@ -32481,7 +33393,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32481
33393
|
filterInit: 'qp-skuCode-in'
|
|
32482
33394
|
},
|
|
32483
33395
|
onChange: function onChange(value) {
|
|
32484
|
-
if (dataInputBusinessType === 12) {
|
|
33396
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32485
33397
|
values = value.map(function (i) {
|
|
32486
33398
|
return i.key;
|
|
32487
33399
|
}) || [];
|
|
@@ -32494,7 +33406,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32494
33406
|
}
|
|
32495
33407
|
callback(values, valueNames);
|
|
32496
33408
|
},
|
|
32497
|
-
|
|
33409
|
+
highestPopContainer: function highestPopContainer() {
|
|
32498
33410
|
return document.body;
|
|
32499
33411
|
}
|
|
32500
33412
|
});
|
|
@@ -32935,7 +33847,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32935
33847
|
}
|
|
32936
33848
|
callback(values, valueNames);
|
|
32937
33849
|
},
|
|
32938
|
-
|
|
33850
|
+
highestPopContainer: function highestPopContainer() {
|
|
32939
33851
|
return document.body;
|
|
32940
33852
|
}
|
|
32941
33853
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -32967,27 +33879,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32967
33879
|
}
|
|
32968
33880
|
callback(values, valueNames);
|
|
32969
33881
|
},
|
|
32970
|
-
|
|
33882
|
+
highestPopContainer: function highestPopContainer() {
|
|
32971
33883
|
return document.body;
|
|
32972
33884
|
}
|
|
32973
33885
|
}));
|
|
32974
33886
|
} else {
|
|
32975
33887
|
var _values7;
|
|
32976
|
-
var _currentValue6 = dataInputBusinessType === 12 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
|
|
33888
|
+
var _currentValue6 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
|
|
32977
33889
|
return {
|
|
32978
33890
|
key: s,
|
|
32979
|
-
label: valueNames[vIndex]
|
|
33891
|
+
label: valueNames[vIndex],
|
|
33892
|
+
value: s
|
|
32980
33893
|
};
|
|
32981
33894
|
})) || [] : values[0] && {
|
|
32982
33895
|
key: values[0],
|
|
32983
|
-
label: valueNames[0]
|
|
33896
|
+
label: valueNames[0],
|
|
33897
|
+
value: values[0]
|
|
32984
33898
|
} || {};
|
|
32985
33899
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32986
33900
|
selectBusinessType: "supplier2",
|
|
32987
33901
|
selectProps: _objectSpread2({
|
|
32988
33902
|
style: styleCommon,
|
|
32989
33903
|
placeholder: '请选择供应商'
|
|
32990
|
-
}, dataInputBusinessType === 12 ? {
|
|
33904
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32991
33905
|
mode: 'multiple',
|
|
32992
33906
|
maxTagCount: 1
|
|
32993
33907
|
} : {}),
|
|
@@ -32998,7 +33912,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32998
33912
|
filterInit: 'qp-code-in'
|
|
32999
33913
|
},
|
|
33000
33914
|
onChange: function onChange(value) {
|
|
33001
|
-
if (dataInputBusinessType === 12) {
|
|
33915
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33002
33916
|
values = value.map(function (i) {
|
|
33003
33917
|
return i.key;
|
|
33004
33918
|
}) || [];
|
|
@@ -33011,7 +33925,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33011
33925
|
}
|
|
33012
33926
|
callback(values, valueNames);
|
|
33013
33927
|
},
|
|
33014
|
-
|
|
33928
|
+
highestPopContainer: function highestPopContainer() {
|
|
33015
33929
|
return document.body;
|
|
33016
33930
|
}
|
|
33017
33931
|
});
|
|
@@ -33087,21 +34001,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33087
34001
|
}));
|
|
33088
34002
|
} else {
|
|
33089
34003
|
var _values8;
|
|
33090
|
-
var _currentValue7 = dataInputBusinessType === 12 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
|
|
34004
|
+
var _currentValue7 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
|
|
33091
34005
|
return {
|
|
33092
34006
|
key: s,
|
|
33093
|
-
label: valueNames[vIndex]
|
|
34007
|
+
label: valueNames[vIndex],
|
|
34008
|
+
value: s
|
|
33094
34009
|
};
|
|
33095
34010
|
})) || [] : values[0] && {
|
|
33096
34011
|
key: values[0],
|
|
33097
|
-
label: valueNames[0]
|
|
34012
|
+
label: valueNames[0],
|
|
34013
|
+
value: values[0]
|
|
33098
34014
|
} || {};
|
|
33099
34015
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33100
34016
|
selectBusinessType: "customer2",
|
|
33101
34017
|
selectProps: _objectSpread2({
|
|
33102
34018
|
style: styleCommon,
|
|
33103
34019
|
placeholder: '请选择客户'
|
|
33104
|
-
}, dataInputBusinessType === 12 ? {
|
|
34020
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33105
34021
|
mode: 'multiple',
|
|
33106
34022
|
maxTagCount: 1
|
|
33107
34023
|
} : {}),
|
|
@@ -33112,7 +34028,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33112
34028
|
filterInit: 'qp-code-in'
|
|
33113
34029
|
},
|
|
33114
34030
|
onChange: function onChange(value) {
|
|
33115
|
-
if (dataInputBusinessType === 12) {
|
|
34031
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33116
34032
|
values = value.map(function (i) {
|
|
33117
34033
|
return i.key;
|
|
33118
34034
|
}) || [];
|
|
@@ -33125,7 +34041,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33125
34041
|
}
|
|
33126
34042
|
callback(values, valueNames);
|
|
33127
34043
|
},
|
|
33128
|
-
|
|
34044
|
+
highestPopContainer: function highestPopContainer() {
|
|
33129
34045
|
return document.body;
|
|
33130
34046
|
}
|
|
33131
34047
|
});
|
|
@@ -33201,21 +34117,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33201
34117
|
}));
|
|
33202
34118
|
} else {
|
|
33203
34119
|
var _values9;
|
|
33204
|
-
var _currentValue8 = dataInputBusinessType === 12 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
|
|
34120
|
+
var _currentValue8 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
|
|
33205
34121
|
return {
|
|
33206
34122
|
key: s,
|
|
33207
|
-
label: valueNames[vIndex]
|
|
34123
|
+
label: valueNames[vIndex],
|
|
34124
|
+
value: s
|
|
33208
34125
|
};
|
|
33209
34126
|
})) || [] : values[0] && {
|
|
33210
34127
|
key: values[0],
|
|
33211
|
-
label: valueNames[0]
|
|
34128
|
+
label: valueNames[0],
|
|
34129
|
+
value: values[0]
|
|
33212
34130
|
} || {};
|
|
33213
34131
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33214
34132
|
selectBusinessType: "shopFile2",
|
|
33215
34133
|
selectProps: _objectSpread2({
|
|
33216
34134
|
style: styleCommon,
|
|
33217
34135
|
placeholder: '请选择店铺'
|
|
33218
|
-
}, dataInputBusinessType === 12 ? {
|
|
34136
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33219
34137
|
mode: 'multiple',
|
|
33220
34138
|
maxTagCount: 1
|
|
33221
34139
|
} : {}),
|
|
@@ -33226,7 +34144,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33226
34144
|
filterInit: 'qp-code-in'
|
|
33227
34145
|
},
|
|
33228
34146
|
onChange: function onChange(value) {
|
|
33229
|
-
if (dataInputBusinessType === 12) {
|
|
34147
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33230
34148
|
values = value.map(function (i) {
|
|
33231
34149
|
return i.key;
|
|
33232
34150
|
}) || [];
|
|
@@ -33239,7 +34157,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33239
34157
|
}
|
|
33240
34158
|
callback(values, valueNames);
|
|
33241
34159
|
},
|
|
33242
|
-
|
|
34160
|
+
highestPopContainer: function highestPopContainer() {
|
|
33243
34161
|
return document.body;
|
|
33244
34162
|
}
|
|
33245
34163
|
});
|
|
@@ -33315,21 +34233,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33315
34233
|
}));
|
|
33316
34234
|
} else {
|
|
33317
34235
|
var _values10;
|
|
33318
|
-
var _currentValue9 = dataInputBusinessType === 12 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
34236
|
+
var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
33319
34237
|
return {
|
|
33320
34238
|
key: s,
|
|
33321
|
-
label: valueNames[vIndex]
|
|
34239
|
+
label: valueNames[vIndex],
|
|
34240
|
+
value: s
|
|
33322
34241
|
};
|
|
33323
34242
|
})) || [] : values[0] && {
|
|
33324
34243
|
key: values[0],
|
|
33325
|
-
label: valueNames[0]
|
|
34244
|
+
label: valueNames[0],
|
|
34245
|
+
value: values[0]
|
|
33326
34246
|
} || {};
|
|
33327
34247
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33328
34248
|
selectBusinessType: "employee2",
|
|
33329
34249
|
selectProps: _objectSpread2({
|
|
33330
34250
|
style: styleCommon,
|
|
33331
34251
|
placeholder: '请选择员工'
|
|
33332
|
-
}, dataInputBusinessType === 12 ? {
|
|
34252
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33333
34253
|
mode: 'multiple',
|
|
33334
34254
|
maxTagCount: 1
|
|
33335
34255
|
} : {}),
|
|
@@ -33340,7 +34260,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33340
34260
|
filterInit: 'qp-id-in'
|
|
33341
34261
|
},
|
|
33342
34262
|
onChange: function onChange(value) {
|
|
33343
|
-
if (dataInputBusinessType === 12) {
|
|
34263
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33344
34264
|
values = value.map(function (i) {
|
|
33345
34265
|
return i.key;
|
|
33346
34266
|
}) || [];
|
|
@@ -33353,7 +34273,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33353
34273
|
}
|
|
33354
34274
|
callback(values, valueNames);
|
|
33355
34275
|
},
|
|
33356
|
-
|
|
34276
|
+
highestPopContainer: function highestPopContainer() {
|
|
33357
34277
|
return document.body;
|
|
33358
34278
|
}
|
|
33359
34279
|
});
|
|
@@ -33592,21 +34512,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33592
34512
|
}));
|
|
33593
34513
|
} else {
|
|
33594
34514
|
var _values11;
|
|
33595
|
-
var _currentValue10 = dataInputBusinessType === 12 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
34515
|
+
var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
33596
34516
|
return {
|
|
33597
34517
|
key: s,
|
|
33598
|
-
label: valueNames[vIndex]
|
|
34518
|
+
label: valueNames[vIndex],
|
|
34519
|
+
value: s
|
|
33599
34520
|
};
|
|
33600
34521
|
})) || [] : values[0] && {
|
|
33601
34522
|
key: values[0],
|
|
33602
|
-
label: valueNames[0]
|
|
34523
|
+
label: valueNames[0],
|
|
34524
|
+
value: values[0]
|
|
33603
34525
|
} || {};
|
|
33604
34526
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33605
34527
|
selectBusinessType: "deliveryMode",
|
|
33606
34528
|
selectProps: _objectSpread2({
|
|
33607
34529
|
style: styleCommon,
|
|
33608
34530
|
placeholder: '请选择配送方式'
|
|
33609
|
-
}, dataInputBusinessType === 12 ? {
|
|
34531
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33610
34532
|
mode: 'multiple',
|
|
33611
34533
|
maxTagCount: 1
|
|
33612
34534
|
} : {}),
|
|
@@ -33617,7 +34539,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33617
34539
|
filterInit: 'qp-code-in'
|
|
33618
34540
|
},
|
|
33619
34541
|
onChange: function onChange(value) {
|
|
33620
|
-
if (dataInputBusinessType === 12) {
|
|
34542
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33621
34543
|
values = value.map(function (i) {
|
|
33622
34544
|
return i.key;
|
|
33623
34545
|
}) || [];
|
|
@@ -33630,7 +34552,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33630
34552
|
}
|
|
33631
34553
|
callback(values, valueNames);
|
|
33632
34554
|
},
|
|
33633
|
-
|
|
34555
|
+
highestPopContainer: function highestPopContainer() {
|
|
33634
34556
|
return document.body;
|
|
33635
34557
|
}
|
|
33636
34558
|
});
|
|
@@ -33668,7 +34590,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33668
34590
|
}
|
|
33669
34591
|
callback(values, valueNames);
|
|
33670
34592
|
},
|
|
33671
|
-
|
|
34593
|
+
highestPopContainer: function highestPopContainer() {
|
|
33672
34594
|
return document.body;
|
|
33673
34595
|
}
|
|
33674
34596
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -33700,27 +34622,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33700
34622
|
}
|
|
33701
34623
|
callback(values, valueNames);
|
|
33702
34624
|
},
|
|
33703
|
-
|
|
34625
|
+
highestPopContainer: function highestPopContainer() {
|
|
33704
34626
|
return document.body;
|
|
33705
34627
|
}
|
|
33706
34628
|
}));
|
|
33707
34629
|
} else {
|
|
33708
34630
|
var _values12;
|
|
33709
|
-
var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
34631
|
+
var _currentValue11 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
33710
34632
|
return {
|
|
33711
34633
|
key: s,
|
|
33712
|
-
label: valueNames[vIndex]
|
|
34634
|
+
label: valueNames[vIndex],
|
|
34635
|
+
value: s
|
|
33713
34636
|
};
|
|
33714
34637
|
})) || [] : values[0] && {
|
|
33715
34638
|
key: values[0],
|
|
33716
|
-
label: valueNames[0]
|
|
34639
|
+
label: valueNames[0],
|
|
34640
|
+
value: values[0]
|
|
33717
34641
|
} || {};
|
|
33718
34642
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33719
34643
|
selectBusinessType: "role",
|
|
33720
34644
|
selectProps: _objectSpread2({
|
|
33721
34645
|
style: styleCommon,
|
|
33722
34646
|
placeholder: '请选择角色'
|
|
33723
|
-
}, dataInputBusinessType === 12 ? {
|
|
34647
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33724
34648
|
mode: 'multiple',
|
|
33725
34649
|
maxTagCount: 1
|
|
33726
34650
|
} : {}),
|
|
@@ -33731,7 +34655,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33731
34655
|
filterInit: 'qp-code-in'
|
|
33732
34656
|
},
|
|
33733
34657
|
onChange: function onChange(value) {
|
|
33734
|
-
if (dataInputBusinessType === 12) {
|
|
34658
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33735
34659
|
values = value.map(function (i) {
|
|
33736
34660
|
return i.key;
|
|
33737
34661
|
}) || [];
|
|
@@ -33744,7 +34668,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33744
34668
|
}
|
|
33745
34669
|
callback(values, valueNames);
|
|
33746
34670
|
},
|
|
33747
|
-
|
|
34671
|
+
highestPopContainer: function highestPopContainer() {
|
|
33748
34672
|
return document.body;
|
|
33749
34673
|
}
|
|
33750
34674
|
});
|
|
@@ -33782,7 +34706,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33782
34706
|
}
|
|
33783
34707
|
callback(values, valueNames);
|
|
33784
34708
|
},
|
|
33785
|
-
|
|
34709
|
+
highestPopContainer: function highestPopContainer() {
|
|
33786
34710
|
return document.body;
|
|
33787
34711
|
}
|
|
33788
34712
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -33814,27 +34738,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33814
34738
|
}
|
|
33815
34739
|
callback(values, valueNames);
|
|
33816
34740
|
},
|
|
33817
|
-
|
|
34741
|
+
highestPopContainer: function highestPopContainer() {
|
|
33818
34742
|
return document.body;
|
|
33819
34743
|
}
|
|
33820
34744
|
}));
|
|
33821
34745
|
} else {
|
|
33822
34746
|
var _values13;
|
|
33823
|
-
var _currentValue12 = dataInputBusinessType === 12 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
|
|
34747
|
+
var _currentValue12 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
|
|
33824
34748
|
return {
|
|
33825
34749
|
key: s,
|
|
33826
|
-
label: valueNames[vIndex]
|
|
34750
|
+
label: valueNames[vIndex],
|
|
34751
|
+
value: s
|
|
33827
34752
|
};
|
|
33828
34753
|
})) || [] : values[0] && {
|
|
33829
34754
|
key: values[0],
|
|
33830
|
-
label: valueNames[0]
|
|
34755
|
+
label: valueNames[0],
|
|
34756
|
+
value: values[0]
|
|
33831
34757
|
} || {};
|
|
33832
34758
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33833
34759
|
selectBusinessType: "brand",
|
|
33834
34760
|
selectProps: _objectSpread2({
|
|
33835
34761
|
style: styleCommon,
|
|
33836
34762
|
placeholder: '请选择品牌'
|
|
33837
|
-
}, dataInputBusinessType === 12 ? {
|
|
34763
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33838
34764
|
mode: 'multiple',
|
|
33839
34765
|
maxTagCount: 1
|
|
33840
34766
|
} : {}),
|
|
@@ -33845,7 +34771,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33845
34771
|
filterInit: 'qp-brandCode-in'
|
|
33846
34772
|
},
|
|
33847
34773
|
onChange: function onChange(value) {
|
|
33848
|
-
if (dataInputBusinessType === 12) {
|
|
34774
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33849
34775
|
values = value.map(function (i) {
|
|
33850
34776
|
return i.key;
|
|
33851
34777
|
}) || [];
|
|
@@ -33858,7 +34784,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33858
34784
|
}
|
|
33859
34785
|
callback(values, valueNames);
|
|
33860
34786
|
},
|
|
33861
|
-
|
|
34787
|
+
highestPopContainer: function highestPopContainer() {
|
|
33862
34788
|
return document.body;
|
|
33863
34789
|
}
|
|
33864
34790
|
});
|
|
@@ -34307,7 +35233,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34307
35233
|
style: {
|
|
34308
35234
|
marginLeft: '10px'
|
|
34309
35235
|
},
|
|
34310
|
-
className: css_248z$
|
|
35236
|
+
className: css_248z$w.rule_field_style
|
|
34311
35237
|
}, this.renderConditionField());
|
|
34312
35238
|
}
|
|
34313
35239
|
}]);
|
|
@@ -34748,7 +35674,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34748
35674
|
disabled = _this$props.disabled;
|
|
34749
35675
|
return /*#__PURE__*/React__default['default'].createElement("div", null, ruleTypeData.map(function (i) {
|
|
34750
35676
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34751
|
-
className: css_248z$
|
|
35677
|
+
className: css_248z$w.action_list_item
|
|
34752
35678
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34753
35679
|
onClick: function onClick() {
|
|
34754
35680
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -36695,8 +37621,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36695
37621
|
}]);
|
|
36696
37622
|
}(React$1.Component);
|
|
36697
37623
|
|
|
36698
|
-
var css_248z$
|
|
36699
|
-
styleInject(css_248z$
|
|
37624
|
+
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";
|
|
37625
|
+
styleInject(css_248z$x);
|
|
36700
37626
|
|
|
36701
37627
|
var formatOperationList = function formatOperationList(data) {
|
|
36702
37628
|
var _result$find;
|
|
@@ -37429,13 +38355,13 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37429
38355
|
return /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
37430
38356
|
spinning: loading
|
|
37431
38357
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37432
|
-
className: css_248z$
|
|
38358
|
+
className: css_248z$x.base_rule
|
|
37433
38359
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37434
|
-
className: css_248z$
|
|
38360
|
+
className: css_248z$x.base_rule_content
|
|
37435
38361
|
}, /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37436
|
-
className: css_248z$
|
|
38362
|
+
className: css_248z$x.base_rule_line_title
|
|
37437
38363
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
37438
|
-
className: css_248z$
|
|
38364
|
+
className: css_248z$x.rule_title
|
|
37439
38365
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37440
38366
|
style: {
|
|
37441
38367
|
float: 'right'
|
|
@@ -37685,17 +38611,17 @@ var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37685
38611
|
})));
|
|
37686
38612
|
});
|
|
37687
38613
|
|
|
37688
|
-
var css_248z$
|
|
37689
|
-
styleInject(css_248z$
|
|
38614
|
+
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";
|
|
38615
|
+
styleInject(css_248z$y);
|
|
37690
38616
|
|
|
37691
|
-
var _excluded$
|
|
38617
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37692
38618
|
var Panel = antd.Collapse.Panel;
|
|
37693
38619
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37694
38620
|
var titleExtra = _ref.titleExtra,
|
|
37695
38621
|
header = _ref.header,
|
|
37696
38622
|
_ref$showArrow = _ref.showArrow,
|
|
37697
38623
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37698
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38624
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37699
38625
|
var renderHeader = function renderHeader() {
|
|
37700
38626
|
return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
|
|
37701
38627
|
align: "center"
|
|
@@ -37719,11 +38645,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37719
38645
|
}), props.children);
|
|
37720
38646
|
};
|
|
37721
38647
|
|
|
37722
|
-
var _excluded$
|
|
38648
|
+
var _excluded$m = ["children", "bordered"];
|
|
37723
38649
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37724
38650
|
var children = props.children,
|
|
37725
38651
|
bordered = props.bordered,
|
|
37726
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38652
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37727
38653
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37728
38654
|
className: classNames__default['default']({
|
|
37729
38655
|
'bs-collapse-wrap': true,
|
|
@@ -37737,9 +38663,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37737
38663
|
Board: ExtendedPanel
|
|
37738
38664
|
});
|
|
37739
38665
|
|
|
37740
|
-
var css_248z$
|
|
38666
|
+
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";
|
|
37741
38667
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37742
|
-
styleInject(css_248z$
|
|
38668
|
+
styleInject(css_248z$z);
|
|
37743
38669
|
|
|
37744
38670
|
var Paragraph = antd.Typography.Paragraph;
|
|
37745
38671
|
var Section = function Section(_ref) {
|
|
@@ -37861,7 +38787,9 @@ exports.HomePageWrapper = index$4;
|
|
|
37861
38787
|
exports.JsonQueryTable = JsonQueryTable;
|
|
37862
38788
|
exports.MoreTreeTable = index$6;
|
|
37863
38789
|
exports.ParagraphCopier = ParagraphCopier;
|
|
38790
|
+
exports.PropertySelector = PropertySelector;
|
|
37864
38791
|
exports.QueryMutipleInput = QueryMutipleInput;
|
|
38792
|
+
exports.QueryMutipleSearchSelect = QueryMutipleSearchSelect;
|
|
37865
38793
|
exports.RuleComponent = RuleObjectComponent;
|
|
37866
38794
|
exports.RuleSetter = index$7;
|
|
37867
38795
|
exports.SearchSelect = SearchSelect;
|