@bit-sun/business-component 4.0.12-alpha.9 → 4.0.13-alpha.11
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 +18 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1635 -635
- package/dist/index.js +1632 -630
- package/package.json +4 -3
- package/src/components/Business/BsSulaQueryTable/setting.tsx +3 -3
- package/src/components/Business/BsSulaQueryTable/utils.tsx +6 -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 +60 -3
- package/src/components/Business/SearchSelect/index.md +4 -5
- 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/DataValidation/index.tsx +1 -0
- package/src/components/Functional/QueryMutipleSelect/index.less +117 -0
- package/src/components/Functional/QueryMutipleSelect/index.md +40 -0
- package/src/components/Functional/QueryMutipleSelect/index.tsx +242 -0
- package/src/components/Functional/SearchSelect/index.less +45 -7
- package/src/components/Functional/SearchSelect/index.tsx +85 -303
- package/src/components/Functional/SearchSelect/utils.tsx +439 -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
|
@@ -11,6 +11,7 @@ var memoizeOne = require('memoize-one');
|
|
|
11
11
|
var umi = require('umi');
|
|
12
12
|
var isEqual = require('lodash/isEqual');
|
|
13
13
|
var React$1 = require('react');
|
|
14
|
+
var ReactDOMServer = require('react-dom/server');
|
|
14
15
|
var moment$1 = require('moment');
|
|
15
16
|
var icons = require('@ant-design/icons');
|
|
16
17
|
var bssula = require('bssula');
|
|
@@ -1210,10 +1211,8 @@ var authFn = function authFn(code) {
|
|
|
1210
1211
|
};
|
|
1211
1212
|
// 可以将普通字符串 或者tsx 转换成字符串
|
|
1212
1213
|
var renderToString = function renderToString(render) {
|
|
1213
|
-
return render;
|
|
1214
|
-
|
|
1215
|
-
// ? render
|
|
1216
|
-
// : ReactDOMServer.renderToString(render);
|
|
1214
|
+
// return render;
|
|
1215
|
+
return typeof render === 'string' ? render : ReactDOMServer.renderToString(render);
|
|
1217
1216
|
};
|
|
1218
1217
|
|
|
1219
1218
|
function downloadExcel(data, fileName, isResUrl) {
|
|
@@ -3265,7 +3264,11 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
3265
3264
|
placement: "bottomLeft"
|
|
3266
3265
|
}, /*#__PURE__*/React__default['default'].createElement("a", null, /*#__PURE__*/React__default['default'].createElement(icons.ProfileTwoTone, null))), /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
3267
3266
|
title: /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
|
|
3268
|
-
}, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))
|
|
3267
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null)), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
3268
|
+
style: {
|
|
3269
|
+
color: 'red'
|
|
3270
|
+
}
|
|
3271
|
+
}, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && (/*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
|
|
3269
3272
|
trigger: ['click'],
|
|
3270
3273
|
overlay: this.menuList,
|
|
3271
3274
|
placement: "bottomRight"
|
|
@@ -4098,7 +4101,7 @@ function ToCDB(str) {
|
|
|
4098
4101
|
return tmp;
|
|
4099
4102
|
}
|
|
4100
4103
|
|
|
4101
|
-
var css_248z$5 = ".
|
|
4104
|
+
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
4105
|
styleInject(css_248z$5);
|
|
4103
4106
|
|
|
4104
4107
|
var columnsPerRow = 4; // 每行的列数
|
|
@@ -4106,6 +4109,12 @@ var ColSpan = 6; // 查询条件 每行col = 24 /columnsPerRow
|
|
|
4106
4109
|
var handleSourceName = function handleSourceName(sName) {
|
|
4107
4110
|
return sName;
|
|
4108
4111
|
};
|
|
4112
|
+
// 生成唯一值
|
|
4113
|
+
var makeUniqueValue = function makeUniqueValue() {
|
|
4114
|
+
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4115
|
+
return generateUnitKey;
|
|
4116
|
+
};
|
|
4117
|
+
// ------------------------------------------处理样式相关--开始----------------------------------------
|
|
4109
4118
|
var getFormRowInfo = function getFormRowInfo(list) {
|
|
4110
4119
|
var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
|
|
4111
4120
|
var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
|
|
@@ -4134,6 +4143,22 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
|
|
|
4134
4143
|
var visibleFieldsCount = getVisibleFieldsCount(modalTableProps);
|
|
4135
4144
|
return visibleFieldsCount < (tableSearchForm === null || tableSearchForm === void 0 ? void 0 : tableSearchForm.length);
|
|
4136
4145
|
};
|
|
4146
|
+
var getTableHeigth = function getTableHeigth(list) {
|
|
4147
|
+
var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
|
|
4148
|
+
if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
|
|
4149
|
+
return 411 - totalRows * 10;
|
|
4150
|
+
};
|
|
4151
|
+
// ------------------------------------------处理样式相关--结束----------------------------------------
|
|
4152
|
+
// ------------------------------------------处理数据相关--开始----------------------------------------
|
|
4153
|
+
var formatSelectedValue = function formatSelectedValue(value) {
|
|
4154
|
+
return (value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
4155
|
+
return {
|
|
4156
|
+
value: (s === null || s === void 0 ? void 0 : s.value) || s,
|
|
4157
|
+
key: (s === null || s === void 0 ? void 0 : s.key) || (s === null || s === void 0 ? void 0 : s.value) || s,
|
|
4158
|
+
label: (s === null || s === void 0 ? void 0 : s.label) || ''
|
|
4159
|
+
};
|
|
4160
|
+
})) || [];
|
|
4161
|
+
};
|
|
4137
4162
|
var getRealStr = function getRealStr(oldSelect, newSelect, record) {
|
|
4138
4163
|
return (oldSelect === null || oldSelect === void 0 ? void 0 : oldSelect.length) ? oldSelect.some(function (o) {
|
|
4139
4164
|
return o.value == (record === null || record === void 0 ? void 0 : record.value);
|
|
@@ -4141,17 +4166,1097 @@ var getRealStr = function getRealStr(oldSelect, newSelect, record) {
|
|
|
4141
4166
|
return s.value != (record === null || record === void 0 ? void 0 : record.value);
|
|
4142
4167
|
}) : [].concat(_toConsumableArray(oldSelect), _toConsumableArray(newSelect)) : newSelect;
|
|
4143
4168
|
};
|
|
4144
|
-
var
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4169
|
+
var getCurrentSRKs = function getCurrentSRKs(selectMode, labelInValue, value) {
|
|
4170
|
+
return selectMode ? labelInValue ? value === null || value === void 0 ? void 0 : value.map(function (s) {
|
|
4171
|
+
return (s === null || s === void 0 ? void 0 : s.value) || s;
|
|
4172
|
+
}) : value : labelInValue ? (value === null || value === void 0 ? void 0 : value.value) && [value === null || value === void 0 ? void 0 : value.value] || [] : value && [value] || [];
|
|
4173
|
+
};
|
|
4174
|
+
var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
4175
|
+
// 判空处理
|
|
4176
|
+
if (!(currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length)) return items || [];
|
|
4177
|
+
// 创建映射对象 用于记录原始选中顺序
|
|
4178
|
+
var orderMap = new Map();
|
|
4179
|
+
currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.forEach(function (value, index) {
|
|
4180
|
+
orderMap.set(value, index);
|
|
4181
|
+
});
|
|
4182
|
+
// 被选中数据集合,获取之后排序
|
|
4183
|
+
var selectedOption = (items === null || items === void 0 ? void 0 : items.filter(function (option) {
|
|
4184
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4185
|
+
})) || [];
|
|
4186
|
+
var selectedOptionSort = (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.sort(function (a, b) {
|
|
4187
|
+
var _orderMap$get, _orderMap$get2;
|
|
4188
|
+
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);
|
|
4189
|
+
})) || [];
|
|
4190
|
+
// 未选中数据集合
|
|
4191
|
+
var otherOptions = (items === null || items === void 0 ? void 0 : items.filter(function (option) {
|
|
4192
|
+
return !(currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value));
|
|
4193
|
+
})) || [];
|
|
4194
|
+
return [].concat(_toConsumableArray(selectedOptionSort), _toConsumableArray(otherOptions));
|
|
4195
|
+
};
|
|
4196
|
+
// ------------------------------------------处理数据相关--结束----------------------------------------
|
|
4197
|
+
// ------------------------------------------查询 & 数据源 相关处理--开始----------------------------------------
|
|
4198
|
+
var handleParams = function handleParams(params) {
|
|
4199
|
+
var _loop = function _loop() {
|
|
4200
|
+
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4201
|
+
var element = params[key];
|
|
4202
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
4203
|
+
var dataParams = key.split('*number*');
|
|
4204
|
+
dataParams.forEach(function (value, index) {
|
|
4205
|
+
params[value] = element[index];
|
|
4206
|
+
});
|
|
4207
|
+
delete params[key];
|
|
4208
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4209
|
+
var _dataParams = key.split('*address*');
|
|
4210
|
+
_dataParams.forEach(function (value, index) {
|
|
4211
|
+
params[value] = element.PCDCode[index];
|
|
4212
|
+
});
|
|
4213
|
+
delete params[key];
|
|
4214
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4215
|
+
var _dataParams2 = key.split('*costType*');
|
|
4216
|
+
// eslint-disable-next-line prefer-destructuring
|
|
4217
|
+
params[_dataParams2[0]] = element[1];
|
|
4218
|
+
delete params[key];
|
|
4219
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4220
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
4221
|
+
_dataParams3.forEach(function (value, index) {
|
|
4222
|
+
if (index === 0) {
|
|
4223
|
+
params[value] = moment__default['default'](element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4224
|
+
} else {
|
|
4225
|
+
params[value] = moment__default['default'](element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4226
|
+
}
|
|
4227
|
+
});
|
|
4228
|
+
delete params[key];
|
|
4229
|
+
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4230
|
+
var _dataParams4 = key.split('*checkBox*');
|
|
4231
|
+
if (element) {
|
|
4232
|
+
params[_dataParams4[0]] = 0;
|
|
4233
|
+
}
|
|
4234
|
+
delete params[key];
|
|
4235
|
+
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4236
|
+
var _dataParams5 = key.split('*cascader*');
|
|
4237
|
+
params[_dataParams5[0]] = element[element.length - 1];
|
|
4238
|
+
delete params[key];
|
|
4239
|
+
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4240
|
+
var _dataParams6 = key.split('*date*');
|
|
4241
|
+
_dataParams6.forEach(function (value, index) {
|
|
4242
|
+
if (index === 0) {
|
|
4243
|
+
params[value] = moment__default['default'](element[index]).format('YYYY-MM-DD');
|
|
4244
|
+
} else {
|
|
4245
|
+
params[value] = moment__default['default'](element[index]).format('YYYY-MM-DD');
|
|
4246
|
+
}
|
|
4247
|
+
});
|
|
4248
|
+
delete params[key];
|
|
4249
|
+
} else if (element && key.indexOf('*multiInput') >= 0) {
|
|
4250
|
+
var name = '',
|
|
4251
|
+
value = element['value'];
|
|
4252
|
+
if (value.indexOf(',') >= 0) {
|
|
4253
|
+
name = "qp-".concat(element['name'], "-in");
|
|
4254
|
+
} else {
|
|
4255
|
+
name = "qp-".concat(element['name'], "-like");
|
|
4256
|
+
}
|
|
4257
|
+
params[name] = value;
|
|
4258
|
+
delete params[key];
|
|
4259
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
4260
|
+
var _dataParams7 = key.split('*');
|
|
4261
|
+
_dataParams7.forEach(function (value, index) {
|
|
4262
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4263
|
+
});
|
|
4264
|
+
delete params[key];
|
|
4265
|
+
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4266
|
+
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4267
|
+
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4268
|
+
if (params[key][0] === 'range') {
|
|
4269
|
+
if (params[key][1][0]) {
|
|
4270
|
+
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4271
|
+
}
|
|
4272
|
+
if (params[key][1][1]) {
|
|
4273
|
+
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4274
|
+
}
|
|
4275
|
+
} else {
|
|
4276
|
+
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4277
|
+
}
|
|
4278
|
+
delete params[key];
|
|
4279
|
+
} else if (Array.isArray(element)) {
|
|
4280
|
+
params[key] = element.join(',');
|
|
4281
|
+
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4282
|
+
delete params[key];
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
};
|
|
4286
|
+
for (var key in params) {
|
|
4287
|
+
_loop();
|
|
4288
|
+
}
|
|
4289
|
+
};
|
|
4290
|
+
//处理单据编号查询 如果是查询单条数据 就是模糊查询 两条以上就是精准查询
|
|
4291
|
+
var convertOrderNo = function convertOrderNo(params) {
|
|
4292
|
+
//需要处理得编号字段名
|
|
4293
|
+
var arr = ['qp-skuCode-in', 'qp-eancode-in', 'qp-itemCode-in'];
|
|
4294
|
+
for (var i = 0; i < arr.length; i++) {
|
|
4295
|
+
if (params[arr[i]]) {
|
|
4296
|
+
if (!params[arr[i]].includes(',')) {
|
|
4297
|
+
params[arr[i].replace(/(.*)in/, '$1like')] = params[arr[i]];
|
|
4298
|
+
delete params[arr[i]];
|
|
4299
|
+
}
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
return params;
|
|
4303
|
+
};
|
|
4304
|
+
var convertQueryParams = function convertQueryParams(params) {
|
|
4305
|
+
var result = convertOrderNo(params);
|
|
4306
|
+
return _.omit(result, ['UNIQUE_SPEC']); // 处理sku选择器属性参数
|
|
4307
|
+
};
|
|
4308
|
+
var convertUrlQueryParams = function convertUrlQueryParams(params) {
|
|
4309
|
+
// 非query请求:默认参数拼接URL,设置属性noUrlQueryParams可不拼接
|
|
4310
|
+
return (params === null || params === void 0 ? void 0 : params.noUrlQueryParams) ? '' : "?".concat(querystring.stringify(convertQueryParams(params)));
|
|
4311
|
+
};
|
|
4312
|
+
var convertBodyParams = function convertBodyParams(params) {
|
|
4313
|
+
// 处理sku选择器属性参数
|
|
4314
|
+
var unique_params = null;
|
|
4315
|
+
if (params['UNIQUE_SPEC']) {
|
|
4316
|
+
var _params$UNIQUE_SPEC;
|
|
4317
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
4318
|
+
}
|
|
4319
|
+
// body参数来源:sku选择器固定参数 > 调用所传bodyParams > 默认参数-无
|
|
4320
|
+
return unique_params || (params === null || params === void 0 ? void 0 : params.bodyParams) || null;
|
|
4321
|
+
};
|
|
4322
|
+
var convertRes = function convertRes(data, otherParams) {
|
|
4323
|
+
var mappingTextField = otherParams.mappingTextField,
|
|
4324
|
+
mappingTextShowTextField = otherParams.mappingTextShowTextField,
|
|
4325
|
+
mappingTextShowKeyField = otherParams.mappingTextShowKeyField,
|
|
4326
|
+
mappingValueField = otherParams.mappingValueField,
|
|
4327
|
+
specialBracket = otherParams.specialBracket,
|
|
4328
|
+
type = otherParams.type,
|
|
4329
|
+
queryParams = otherParams.queryParams;
|
|
4330
|
+
return data.map(function (item, index) {
|
|
4331
|
+
var _item$children;
|
|
4332
|
+
var textShowText = item[mappingTextField];
|
|
4333
|
+
if (mappingTextShowTextField) {
|
|
4334
|
+
textShowText = [];
|
|
4335
|
+
if (Array.isArray(mappingTextShowTextField)) {
|
|
4336
|
+
mappingTextShowTextField.forEach(function (r) {
|
|
4337
|
+
textShowText.push(item[r]);
|
|
4338
|
+
});
|
|
4339
|
+
} else {
|
|
4340
|
+
textShowText = item[mappingTextShowTextField];
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
|
|
4344
|
+
item === null || item === void 0 ? true : delete item.children;
|
|
4345
|
+
}
|
|
4346
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
4347
|
+
text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
|
|
4348
|
+
textShowText: textShowText,
|
|
4349
|
+
textShowKey: item[mappingTextShowKeyField || mappingValueField],
|
|
4350
|
+
value: item[mappingValueField]
|
|
4351
|
+
}, (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) ? {
|
|
4352
|
+
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
|
|
4353
|
+
} : {});
|
|
4354
|
+
});
|
|
4355
|
+
};
|
|
4356
|
+
var convertResData = function convertResData(requestConfig, res, selectProps) {
|
|
4357
|
+
var isMap = requestConfig.isMap,
|
|
4358
|
+
mappingTextField = requestConfig.mappingTextField,
|
|
4359
|
+
mappingTextShowTextField = requestConfig.mappingTextShowTextField,
|
|
4360
|
+
specialBracket = requestConfig.specialBracket,
|
|
4361
|
+
mappingValueField = requestConfig.mappingValueField,
|
|
4362
|
+
mappingTextShowKeyField = requestConfig.mappingTextShowKeyField;
|
|
4363
|
+
var selectMode = selectProps.selectMode,
|
|
4364
|
+
labelInValue = selectProps.labelInValue,
|
|
4365
|
+
value = selectProps.value,
|
|
4366
|
+
type = selectProps.type,
|
|
4367
|
+
items = selectProps.items,
|
|
4368
|
+
queryParams = selectProps.queryParams,
|
|
4369
|
+
_selectProps$needTopS = selectProps.needTopSelectedSource,
|
|
4370
|
+
needTopSelectedSource = _selectProps$needTopS === void 0 ? true : _selectProps$needTopS;
|
|
4371
|
+
var otherParams = {
|
|
4372
|
+
mappingTextField: mappingTextField,
|
|
4373
|
+
mappingTextShowTextField: mappingTextShowTextField,
|
|
4374
|
+
mappingTextShowKeyField: mappingTextShowKeyField,
|
|
4375
|
+
mappingValueField: mappingValueField,
|
|
4376
|
+
specialBracket: specialBracket,
|
|
4377
|
+
type: type,
|
|
4378
|
+
queryParams: queryParams
|
|
4379
|
+
};
|
|
4380
|
+
var source = [];
|
|
4381
|
+
if (isMap) {
|
|
4382
|
+
source = Object.keys(res).map(function (d, i) {
|
|
4383
|
+
return {
|
|
4384
|
+
text: Object.values(res)[i],
|
|
4385
|
+
value: d
|
|
4386
|
+
};
|
|
4387
|
+
});
|
|
4388
|
+
} else {
|
|
4389
|
+
var keys = res.list ? 'list' : 'items';
|
|
4390
|
+
source = res ? res[keys] ? convertRes(res[keys], otherParams) : Array.isArray(res) && convertRes(res, otherParams) : [];
|
|
4391
|
+
}
|
|
4392
|
+
// 补充搜索项--选中的数据添加到数据源中去
|
|
4393
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
4394
|
+
if (needTopSelectedSource && type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
|
|
4395
|
+
var _source;
|
|
4396
|
+
return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
|
|
4397
|
+
return r.value == s;
|
|
4398
|
+
}));
|
|
4399
|
+
}))) {
|
|
4400
|
+
var selectedOption = items.filter(function (option) {
|
|
4401
|
+
return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
|
|
4402
|
+
}) || [];
|
|
4403
|
+
source = (source || []).concat(selectedOption);
|
|
4404
|
+
}
|
|
4405
|
+
// 数据源 不可以有重复key
|
|
4406
|
+
source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
|
|
4407
|
+
return source;
|
|
4408
|
+
};
|
|
4409
|
+
// ------------------------------------------查询 & 数据源 相关处理--结束----------------------------------------
|
|
4410
|
+
// ------------------------------------------ 数据源展示 相关处理--开始----------------------------------------
|
|
4411
|
+
var handleSelectOptionsShowValue = function handleSelectOptionsShowValue(specialBracket, noNeedSplit, item) {
|
|
4412
|
+
var showText = Array.isArray(item.textShowText) && item.textShowText.join(' ') || item.textShowText;
|
|
4413
|
+
if (noNeedSplit) {
|
|
4414
|
+
return item.text;
|
|
4415
|
+
} else {
|
|
4416
|
+
return specialBracket ? "\u3010".concat(item.textShowKey || '', "\u3011").concat(showText) : "".concat(item.textShowKey || '', " ").concat(showText);
|
|
4417
|
+
}
|
|
4418
|
+
};
|
|
4419
|
+
var LightHeightOption = function LightHeightOption(props) {
|
|
4420
|
+
var filterTxt = props.filterTxt,
|
|
4421
|
+
text = props.text,
|
|
4422
|
+
_props$needToolTips = props.needToolTips,
|
|
4423
|
+
needToolTips = _props$needToolTips === void 0 ? true : _props$needToolTips;
|
|
4424
|
+
var heightLightTxt = function heightLightTxt(text, heightTxt) {
|
|
4425
|
+
if (heightTxt === '') {
|
|
4426
|
+
return text;
|
|
4427
|
+
}
|
|
4428
|
+
var searchString = _.escapeRegExp(heightTxt);
|
|
4429
|
+
// 前面filterOption 不区分大小写,这里用i
|
|
4430
|
+
var regexp = new RegExp(searchString, 'gi');
|
|
4431
|
+
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
4432
|
+
};
|
|
4433
|
+
var renderContent = /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4434
|
+
ref: function ref(nodeElement) {
|
|
4435
|
+
if (nodeElement) {
|
|
4436
|
+
nodeElement.innerHTML = heightLightTxt(text, filterTxt);
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4439
|
+
});
|
|
4440
|
+
if (!needToolTips) return renderContent;
|
|
4441
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
4442
|
+
title: text
|
|
4443
|
+
}, renderContent);
|
|
4444
|
+
};
|
|
4445
|
+
var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
|
|
4446
|
+
var selectProps = _ref3.selectProps,
|
|
4447
|
+
onChange = _ref3.onChange,
|
|
4448
|
+
value = _ref3.value,
|
|
4449
|
+
setIsMaxTagsOpen = _ref3.setIsMaxTagsOpen;
|
|
4450
|
+
var labelInValue = selectProps.labelInValue;
|
|
4451
|
+
var _onClose = function onClose(e, item) {
|
|
4452
|
+
e.preventDefault();
|
|
4453
|
+
var newValue = labelInValue ? JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4454
|
+
return i.value !== item.value;
|
|
4455
|
+
}) : JSON.parse(JSON.stringify(value)).filter(function (i) {
|
|
4456
|
+
return i !== item.value;
|
|
4457
|
+
});
|
|
4458
|
+
onChange(newValue);
|
|
4459
|
+
};
|
|
4460
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
4461
|
+
overlayClassName: 'searchSelectMaxTagToolTip',
|
|
4462
|
+
destroyTooltipOnHide: true,
|
|
4463
|
+
placement: "topRight",
|
|
4464
|
+
autoAdjustOverflow: false,
|
|
4465
|
+
title: (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
4466
|
+
style: {
|
|
4467
|
+
margin: '6px 8px 0px'
|
|
4468
|
+
},
|
|
4469
|
+
onMouseEnter: function onMouseEnter() {
|
|
4470
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(true);
|
|
4471
|
+
},
|
|
4472
|
+
onMouseLeave: function onMouseLeave() {
|
|
4473
|
+
setIsMaxTagsOpen === null || setIsMaxTagsOpen === void 0 ? void 0 : setIsMaxTagsOpen(false);
|
|
4474
|
+
}
|
|
4475
|
+
}, selectedValues.map(function (i) {
|
|
4476
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
4477
|
+
closable: true,
|
|
4478
|
+
onClose: function onClose(e) {
|
|
4479
|
+
return _onClose(e, i);
|
|
4480
|
+
},
|
|
4481
|
+
style: {
|
|
4482
|
+
margin: '0px 3px 3px 0px',
|
|
4483
|
+
background: '#f5f5f5',
|
|
4484
|
+
height: '24px',
|
|
4485
|
+
border: '1px solid #f0f0f0'
|
|
4486
|
+
}
|
|
4487
|
+
}, i.label);
|
|
4488
|
+
})))
|
|
4489
|
+
}, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
|
|
4490
|
+
};
|
|
4491
|
+
// 弹窗数据表头处理
|
|
4492
|
+
var handleTableColumns = function handleTableColumns(tableColumns) {
|
|
4493
|
+
// 按照默认设置排序 > 没有排序字段的展示所有列表头 > 没有表头列不展示
|
|
4494
|
+
var showTableColumns = (tableColumns === null || tableColumns === void 0 ? void 0 : tableColumns.filter(function (s) {
|
|
4495
|
+
return typeof s.defaultSort == 'number';
|
|
4496
|
+
})) || tableColumns || [];
|
|
4497
|
+
return (showTableColumns === null || showTableColumns === void 0 ? void 0 : showTableColumns.sort(function (a, b) {
|
|
4498
|
+
return a.defaultSort - b.defaultSort;
|
|
4499
|
+
})) || [];
|
|
4500
|
+
};
|
|
4501
|
+
// ------------------------------------------ 数据源展示 相关处理--结束----------------------------------------
|
|
4502
|
+
// ------------------------------------------ 选中数据展示 相关处理--开始----------------------------------------
|
|
4503
|
+
var getShowLabelTextStr = function getShowLabelTextStr(_ref4) {
|
|
4504
|
+
var kongValue = _ref4.kongValue,
|
|
4505
|
+
selectMode = _ref4.selectMode,
|
|
4506
|
+
value = _ref4.value,
|
|
4507
|
+
items = _ref4.items;
|
|
4508
|
+
if (selectMode) {
|
|
4509
|
+
var _value$map;
|
|
4510
|
+
return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
|
|
4511
|
+
return item.label || item.text || '';
|
|
4512
|
+
})) === null || _value$map === void 0 ? void 0 : _value$map.join(',')) || kongValue;
|
|
4513
|
+
}
|
|
4514
|
+
return (value === null || value === void 0 ? void 0 : value.label) || (value === null || value === void 0 ? void 0 : value.text) || kongValue;
|
|
4515
|
+
};
|
|
4516
|
+
var getSelectValueText = function getSelectValueText(v, items) {
|
|
4517
|
+
var _filter, _filter$;
|
|
4518
|
+
return ((_filter = (items || []).filter(function (item) {
|
|
4519
|
+
return item.value === v;
|
|
4520
|
+
})) === null || _filter === void 0 ? void 0 : (_filter$ = _filter[0]) === null || _filter$ === void 0 ? void 0 : _filter$.text) || v || '';
|
|
4521
|
+
};
|
|
4522
|
+
var getShowValueStr = function getShowValueStr(_ref5) {
|
|
4523
|
+
var kongValue = _ref5.kongValue,
|
|
4524
|
+
selectMode = _ref5.selectMode,
|
|
4525
|
+
value = _ref5.value,
|
|
4526
|
+
items = _ref5.items;
|
|
4527
|
+
if (selectMode) {
|
|
4528
|
+
var _value$map2;
|
|
4529
|
+
return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
|
|
4530
|
+
return getSelectValueText(item, items);
|
|
4531
|
+
})) === null || _value$map2 === void 0 ? void 0 : _value$map2.join(',')) || kongValue;
|
|
4532
|
+
}
|
|
4533
|
+
return getSelectValueText(value, items) || kongValue;
|
|
4534
|
+
};
|
|
4535
|
+
var getShowStr = function getShowStr(_ref6) {
|
|
4536
|
+
var viewShowValueStr = _ref6.viewShowValueStr,
|
|
4537
|
+
labelInValue = _ref6.labelInValue,
|
|
4538
|
+
selectMode = _ref6.selectMode,
|
|
4539
|
+
value = _ref6.value,
|
|
4540
|
+
items = _ref6.items;
|
|
4541
|
+
// 优先使用业务使用传入的展示
|
|
4542
|
+
if (viewShowValueStr) return viewShowValueStr;
|
|
4543
|
+
var kongValue = '无';
|
|
4544
|
+
// 先判断labelInValue与否,labelInValue可以直接去value中获取字段名称,否则去下拉框数据里面去拿;
|
|
4545
|
+
// 再判断是单选还是多选,数据类型不同取值方式也不同
|
|
4546
|
+
if (labelInValue) {
|
|
4547
|
+
return getShowLabelTextStr({
|
|
4548
|
+
kongValue: kongValue,
|
|
4549
|
+
selectMode: selectMode,
|
|
4550
|
+
value: value,
|
|
4551
|
+
items: items
|
|
4552
|
+
});
|
|
4553
|
+
}
|
|
4554
|
+
return getShowValueStr({
|
|
4555
|
+
kongValue: kongValue,
|
|
4556
|
+
selectMode: selectMode,
|
|
4557
|
+
value: value,
|
|
4558
|
+
items: items
|
|
4559
|
+
});
|
|
4148
4560
|
};
|
|
4561
|
+
// ------------------------------------------ 选中数据展示 相关处理--结束---------------------------------------
|
|
4562
|
+
|
|
4563
|
+
var getValue = function getValue(value, selectMode) {
|
|
4564
|
+
var _value$split;
|
|
4565
|
+
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;
|
|
4566
|
+
};
|
|
4567
|
+
var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
4568
|
+
var onValueChange = _ref.onValueChange,
|
|
4569
|
+
_ref$requestConfig = _ref.requestConfig,
|
|
4570
|
+
requestConfig = _ref$requestConfig === void 0 ? {} : _ref$requestConfig,
|
|
4571
|
+
_ref$selectProps = _ref.selectProps,
|
|
4572
|
+
selectProps = _ref$selectProps === void 0 ? {} : _ref$selectProps,
|
|
4573
|
+
ctx = _ref.ctx;
|
|
4574
|
+
var filter = requestConfig.filter,
|
|
4575
|
+
_requestConfig$method = requestConfig.method,
|
|
4576
|
+
method = _requestConfig$method === void 0 ? 'get' : _requestConfig$method,
|
|
4577
|
+
url = requestConfig.url,
|
|
4578
|
+
_requestConfig$extral = requestConfig.extralHeaders,
|
|
4579
|
+
extralHeaders = _requestConfig$extral === void 0 ? {} : _requestConfig$extral,
|
|
4580
|
+
_requestConfig$otherP = requestConfig.otherParams,
|
|
4581
|
+
otherParams = _requestConfig$otherP === void 0 ? {} : _requestConfig$otherP,
|
|
4582
|
+
_requestConfig$specia = requestConfig.specialBracket,
|
|
4583
|
+
specialBracket = _requestConfig$specia === void 0 ? false : _requestConfig$specia,
|
|
4584
|
+
_requestConfig$noNeed = requestConfig.noNeedSplit,
|
|
4585
|
+
noNeedSplit = _requestConfig$noNeed === void 0 ? false : _requestConfig$noNeed;
|
|
4586
|
+
var selectParamsKey = filter || 'qp-codeAndName-like';
|
|
4587
|
+
var resultSourceKey = handleSourceName((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'skuCode');
|
|
4588
|
+
var currentSelectProps = _objectSpread2({
|
|
4589
|
+
showArrow: true,
|
|
4590
|
+
showSearch: true,
|
|
4591
|
+
filterOption: false,
|
|
4592
|
+
allowClear: true,
|
|
4593
|
+
listHeight: 160,
|
|
4594
|
+
labelInValue: false,
|
|
4595
|
+
maxTagCount: 4
|
|
4596
|
+
}, selectProps);
|
|
4597
|
+
var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
|
|
4598
|
+
var _useState = React$1.useState(false),
|
|
4599
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4600
|
+
isModalVisible = _useState2[0],
|
|
4601
|
+
setIsModalVisible = _useState2[1];
|
|
4602
|
+
var _useState3 = React$1.useState(false),
|
|
4603
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4604
|
+
open = _useState4[0],
|
|
4605
|
+
setOpen = _useState4[1];
|
|
4606
|
+
var _useState5 = React$1.useState(),
|
|
4607
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4608
|
+
value = _useState6[0],
|
|
4609
|
+
setValue = _useState6[1];
|
|
4610
|
+
var _useState7 = React$1.useState(),
|
|
4611
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4612
|
+
popvalue = _useState8[0],
|
|
4613
|
+
setPopValue = _useState8[1];
|
|
4614
|
+
var _useState9 = React$1.useState([]),
|
|
4615
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4616
|
+
source = _useState10[0],
|
|
4617
|
+
setSource = _useState10[1];
|
|
4618
|
+
var _useDebounceFn = ahooks.useDebounceFn(function () {
|
|
4619
|
+
getData();
|
|
4620
|
+
}, {
|
|
4621
|
+
wait: 1000
|
|
4622
|
+
}),
|
|
4623
|
+
run = _useDebounceFn.run;
|
|
4624
|
+
var _useState11 = React$1.useState(false),
|
|
4625
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4626
|
+
fetching = _useState12[0],
|
|
4627
|
+
setFetching = _useState12[1];
|
|
4628
|
+
var _useState13 = React$1.useState(''),
|
|
4629
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4630
|
+
searchValue = _useState14[0],
|
|
4631
|
+
setSearchValue = _useState14[1];
|
|
4632
|
+
var _useState15 = React$1.useState(resultSourceKey),
|
|
4633
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4634
|
+
uniqueValue = _useState16[0],
|
|
4635
|
+
setUniqueValue = _useState16[1];
|
|
4636
|
+
React$1.useEffect(function () {
|
|
4637
|
+
setPopValue(value);
|
|
4638
|
+
onValueChange(value);
|
|
4639
|
+
}, [value]);
|
|
4640
|
+
React$1.useEffect(function () {
|
|
4641
|
+
setUniqueValue(makeUniqueValue());
|
|
4642
|
+
}, [resultSourceKey]);
|
|
4643
|
+
var showModal = function showModal() {
|
|
4644
|
+
setIsModalVisible(true);
|
|
4645
|
+
//弹窗打开时 默认搜索内容换行显示
|
|
4646
|
+
setPopValue(function (data) {
|
|
4647
|
+
return data === null || data === void 0 ? void 0 : data.replace(/,/g, '\n');
|
|
4648
|
+
});
|
|
4649
|
+
};
|
|
4650
|
+
var handleOk = function handleOk() {
|
|
4651
|
+
formaData(popvalue);
|
|
4652
|
+
setIsModalVisible(false);
|
|
4653
|
+
};
|
|
4654
|
+
var formaData = function formaData(v) {
|
|
4655
|
+
var _ToCDB, _ToCDB$split, _ToCDB$split$filter;
|
|
4656
|
+
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) {
|
|
4657
|
+
return item;
|
|
4658
|
+
})) === null || _ToCDB$split$filter === void 0 ? void 0 : _ToCDB$split$filter.join(',');
|
|
4659
|
+
setValue(formatValue);
|
|
4660
|
+
};
|
|
4661
|
+
var handleCancel = function handleCancel() {
|
|
4662
|
+
setIsModalVisible(false);
|
|
4663
|
+
};
|
|
4664
|
+
var outerChange = function outerChange(v) {
|
|
4665
|
+
formaData(v);
|
|
4666
|
+
};
|
|
4667
|
+
var onChange = function onChange(e) {
|
|
4668
|
+
var v = e.target.value;
|
|
4669
|
+
setPopValue(v);
|
|
4670
|
+
};
|
|
4671
|
+
// 获取下拉框数据源-不分页
|
|
4672
|
+
var getData = function getData() {
|
|
4673
|
+
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4674
|
+
var callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
4675
|
+
if (!requestConfig) return;
|
|
4676
|
+
if (!url) return;
|
|
4677
|
+
setFetching(true);
|
|
4678
|
+
var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
|
|
4679
|
+
if (_.isNil(queryParams[selectParamsKey])) {
|
|
4680
|
+
queryParams[selectParamsKey] = searchValue;
|
|
4681
|
+
}
|
|
4682
|
+
var getRequest;
|
|
4683
|
+
var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
|
|
4684
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
4685
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
4686
|
+
} else {
|
|
4687
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
4688
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
4689
|
+
});
|
|
4690
|
+
}
|
|
4691
|
+
if (!getRequest) return;
|
|
4692
|
+
getRequest.then(function (result) {
|
|
4693
|
+
setFetching(false);
|
|
4694
|
+
result = result.data;
|
|
4695
|
+
if (judgeIsRequestError(result)) {
|
|
4696
|
+
antd.message.error(result.msg);
|
|
4697
|
+
return;
|
|
4698
|
+
}
|
|
4699
|
+
var res = result.data;
|
|
4700
|
+
var dSource = convertResData(requestConfig, res, {
|
|
4701
|
+
selectMode: selectMode,
|
|
4702
|
+
labelInValue: currentSelectProps === null || currentSelectProps === void 0 ? void 0 : currentSelectProps.labelInValue,
|
|
4703
|
+
value: value,
|
|
4704
|
+
type: 1,
|
|
4705
|
+
items: source,
|
|
4706
|
+
needTopSelectedSource: false
|
|
4707
|
+
});
|
|
4708
|
+
if (callback) {
|
|
4709
|
+
callback(source);
|
|
4710
|
+
} else {
|
|
4711
|
+
setSource(dSource);
|
|
4712
|
+
}
|
|
4713
|
+
}).catch(function (err) {
|
|
4714
|
+
setFetching(false);
|
|
4715
|
+
});
|
|
4716
|
+
};
|
|
4717
|
+
var onSearchChange = function onSearchChange(v) {
|
|
4718
|
+
setSearchValue(v);
|
|
4719
|
+
run();
|
|
4720
|
+
};
|
|
4721
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4722
|
+
className: 'query_select'
|
|
4723
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4724
|
+
className: "query_select_show",
|
|
4725
|
+
id: "query_multiple_select_div_".concat(uniqueValue)
|
|
4726
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2({
|
|
4727
|
+
value: getValue(value, selectMode),
|
|
4728
|
+
onChange: outerChange,
|
|
4729
|
+
open: open,
|
|
4730
|
+
onBlur: function onBlur(v) {
|
|
4731
|
+
onSearchChange(v);
|
|
4732
|
+
setOpen(false);
|
|
4733
|
+
},
|
|
4734
|
+
onClick: function onClick() {
|
|
4735
|
+
return setOpen(true);
|
|
4736
|
+
},
|
|
4737
|
+
onPaste: function onPaste(e) {
|
|
4738
|
+
formaData(e.clipboardData.getData('text'));
|
|
4739
|
+
e.preventDefault();
|
|
4740
|
+
},
|
|
4741
|
+
onSearch: function onSearch(v) {
|
|
4742
|
+
return onSearchChange(v);
|
|
4743
|
+
},
|
|
4744
|
+
onSelect: function onSelect() {
|
|
4745
|
+
if (selectMode) return;
|
|
4746
|
+
setTimeout(function () {
|
|
4747
|
+
setOpen(false);
|
|
4748
|
+
}, 0);
|
|
4749
|
+
},
|
|
4750
|
+
style: {
|
|
4751
|
+
width: 'calc(100%)'
|
|
4752
|
+
},
|
|
4753
|
+
suffixIcon: /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4754
|
+
className: "query_select_expand_button",
|
|
4755
|
+
onClick: showModal
|
|
4756
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.DashOutlined, null)),
|
|
4757
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
4758
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
4759
|
+
return maxTagPlaceholder(v, {
|
|
4760
|
+
selectProps: currentSelectProps,
|
|
4761
|
+
onChange: outerChange,
|
|
4762
|
+
value: getValue(value, selectMode),
|
|
4763
|
+
setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
|
|
4764
|
+
});
|
|
4765
|
+
},
|
|
4766
|
+
notFoundContent: fetching ? (/*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
4767
|
+
size: "small",
|
|
4768
|
+
className: 'searchSelectSpin'
|
|
4769
|
+
})) : (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
4770
|
+
style: {
|
|
4771
|
+
textAlign: 'center'
|
|
4772
|
+
}
|
|
4773
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : (selectProps === null || selectProps === void 0 ? void 0 : selectProps.notFoundText) || "\u8BF7\u5F55\u5165\u7F16\u7801/\u540D\u79F0\u6A21\u7CCA\u67E5\u8BE2"))),
|
|
4774
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
4775
|
+
return triggerNode.parentElement;
|
|
4776
|
+
}
|
|
4777
|
+
}, currentSelectProps), source.map(function (item) {
|
|
4778
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
|
|
4779
|
+
key: item.value,
|
|
4780
|
+
label: item.text
|
|
4781
|
+
}, LightHeightOption({
|
|
4782
|
+
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
4783
|
+
filterTxt: searchValue,
|
|
4784
|
+
needToolTips: false
|
|
4785
|
+
}));
|
|
4786
|
+
}))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
4787
|
+
width: 600,
|
|
4788
|
+
title: "\u591A\u503C\u5F55\u5165",
|
|
4789
|
+
visible: isModalVisible,
|
|
4790
|
+
onOk: handleOk,
|
|
4791
|
+
onCancel: handleCancel,
|
|
4792
|
+
className: 'multiInput_modal',
|
|
4793
|
+
bodyStyle: {
|
|
4794
|
+
padding: '10px 16px'
|
|
4795
|
+
},
|
|
4796
|
+
footer: [/*#__PURE__*/React__default['default'].createElement(antd.ConfigProvider, {
|
|
4797
|
+
autoInsertSpaceInButton: false
|
|
4798
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
4799
|
+
key: "back",
|
|
4800
|
+
onClick: handleCancel
|
|
4801
|
+
}, "\u53D6\u6D88")), /*#__PURE__*/React__default['default'].createElement(antd.ConfigProvider, {
|
|
4802
|
+
autoInsertSpaceInButton: false
|
|
4803
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
4804
|
+
key: "submit",
|
|
4805
|
+
type: "primary",
|
|
4806
|
+
onClick: handleOk
|
|
4807
|
+
}, "\u5F55\u5165"))]
|
|
4808
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4809
|
+
className: 'query_select_wrapper'
|
|
4810
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4811
|
+
className: 'query_select_wrapper_top'
|
|
4812
|
+
}, "\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", {
|
|
4813
|
+
className: 'query_select_textArea'
|
|
4814
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Input.TextArea, {
|
|
4815
|
+
placeholder: "\u5728\u6B64\u5F55\u5165...",
|
|
4816
|
+
value: popvalue,
|
|
4817
|
+
onChange: onChange,
|
|
4818
|
+
rows: 12,
|
|
4819
|
+
showCount: false
|
|
4820
|
+
})))));
|
|
4821
|
+
};
|
|
4822
|
+
function ToCDB$1(selectStr) {
|
|
4823
|
+
var tmp = '';
|
|
4824
|
+
if (!(selectStr === null || selectStr === void 0 ? void 0 : selectStr.length)) return '';
|
|
4825
|
+
var str = Array.isArray(selectStr) ? selectStr.join(',') : selectStr;
|
|
4826
|
+
for (var i = 0; i < (str === null || str === void 0 ? void 0 : str.length); i++) {
|
|
4827
|
+
var _str$charCodeAt, _str$charCodeAt2;
|
|
4828
|
+
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) {
|
|
4829
|
+
tmp += String.fromCharCode((str === null || str === void 0 ? void 0 : str.charCodeAt(i)) - 65248);
|
|
4830
|
+
} else {
|
|
4831
|
+
tmp += String.fromCharCode(str.charCodeAt(i));
|
|
4832
|
+
}
|
|
4833
|
+
}
|
|
4834
|
+
return tmp;
|
|
4835
|
+
}
|
|
4836
|
+
|
|
4837
|
+
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.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 visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\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 .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\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";
|
|
4838
|
+
styleInject(css_248z$6);
|
|
4149
4839
|
|
|
4150
4840
|
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
4841
|
|
|
4842
|
+
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";
|
|
4843
|
+
styleInject(css_248z$7);
|
|
4844
|
+
|
|
4845
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4846
|
+
var propertyData = props.propertyData,
|
|
4847
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4848
|
+
modalVisilbe = props.modalVisilbe,
|
|
4849
|
+
itemValue = props.itemValue;
|
|
4850
|
+
var _useState = React$1.useState([]),
|
|
4851
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4852
|
+
commonUseProperty = _useState2[0],
|
|
4853
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4854
|
+
var _useState3 = React$1.useState([]),
|
|
4855
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4856
|
+
notCommonUseProperty = _useState4[0],
|
|
4857
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4858
|
+
var _useState5 = React$1.useState(false),
|
|
4859
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4860
|
+
indeterminate = _useState6[0],
|
|
4861
|
+
setIndeterminate = _useState6[1];
|
|
4862
|
+
var _useState7 = React$1.useState(false),
|
|
4863
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4864
|
+
showNotCommon = _useState8[0],
|
|
4865
|
+
setShowNotCommon = _useState8[1];
|
|
4866
|
+
React$1.useEffect(function () {
|
|
4867
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4868
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4869
|
+
});
|
|
4870
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4871
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4872
|
+
proDetailList.forEach(function (item) {
|
|
4873
|
+
if (checkedList.some(function (checkItem) {
|
|
4874
|
+
return checkItem.value === item.value;
|
|
4875
|
+
})) {
|
|
4876
|
+
item.isChecked = true;
|
|
4877
|
+
}
|
|
4878
|
+
});
|
|
4879
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4880
|
+
return item.isCommonUse;
|
|
4881
|
+
});
|
|
4882
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4883
|
+
return !item.isCommonUse;
|
|
4884
|
+
});
|
|
4885
|
+
if (checkedList.some(function (item) {
|
|
4886
|
+
return !item.isCommonUse;
|
|
4887
|
+
})) {
|
|
4888
|
+
setShowNotCommon(true);
|
|
4889
|
+
}
|
|
4890
|
+
setCommonUseProperty(commonUseProperty);
|
|
4891
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4892
|
+
}, [modalVisilbe]);
|
|
4893
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4894
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4895
|
+
return item.isChecked;
|
|
4896
|
+
});
|
|
4897
|
+
if (showNotCommon) {
|
|
4898
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4899
|
+
return item.isChecked;
|
|
4900
|
+
})));
|
|
4901
|
+
}
|
|
4902
|
+
handleProperyItemChange({
|
|
4903
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4904
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4905
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4906
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4907
|
+
detailList: choosedPropertyList
|
|
4908
|
+
});
|
|
4909
|
+
};
|
|
4910
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4911
|
+
if (showNotCommon) {
|
|
4912
|
+
notCommonUseProperty.map(function (item) {
|
|
4913
|
+
return item.isChecked = e.target.checked;
|
|
4914
|
+
});
|
|
4915
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4916
|
+
}
|
|
4917
|
+
commonUseProperty.map(function (item) {
|
|
4918
|
+
return item.isChecked = e.target.checked;
|
|
4919
|
+
});
|
|
4920
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4921
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4922
|
+
setIndeterminate(false);
|
|
4923
|
+
};
|
|
4924
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4925
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4926
|
+
if (showNotCommon) {
|
|
4927
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4928
|
+
}
|
|
4929
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4930
|
+
return item.isChecked;
|
|
4931
|
+
}).length && checkList.filter(function (item) {
|
|
4932
|
+
return item.isChecked;
|
|
4933
|
+
}).length !== checkList.length;
|
|
4934
|
+
setIndeterminate(indeterminate);
|
|
4935
|
+
};
|
|
4936
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4937
|
+
if (type === 1) {
|
|
4938
|
+
// 常用属性
|
|
4939
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4940
|
+
if (info.value === item.value) {
|
|
4941
|
+
info.isChecked = e.target.checked;
|
|
4942
|
+
}
|
|
4943
|
+
});
|
|
4944
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4945
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4946
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4947
|
+
}
|
|
4948
|
+
if (type === 2) {
|
|
4949
|
+
// 非常用属性
|
|
4950
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4951
|
+
if (info.value === item.value) {
|
|
4952
|
+
info.isChecked = e.target.checked;
|
|
4953
|
+
}
|
|
4954
|
+
});
|
|
4955
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4956
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4957
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4958
|
+
}
|
|
4959
|
+
};
|
|
4960
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4961
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4962
|
+
return checkData.length && checkData.every(function (item) {
|
|
4963
|
+
return item.isChecked;
|
|
4964
|
+
}) ? true : false;
|
|
4965
|
+
};
|
|
4966
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4967
|
+
className: 'propertyGroup_container'
|
|
4968
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4969
|
+
className: 'propertyGroup_container_left'
|
|
4970
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4971
|
+
checked: checkAllChecked(),
|
|
4972
|
+
indeterminate: indeterminate,
|
|
4973
|
+
onChange: handleChangeAll
|
|
4974
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4975
|
+
title: propertyData.name,
|
|
4976
|
+
className: "propertyGroup_checkbox_container"
|
|
4977
|
+
}, propertyData.propertyName))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4978
|
+
className: 'propertyGroup_container_right'
|
|
4979
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4980
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4981
|
+
checked: item.isChecked,
|
|
4982
|
+
key: item.value,
|
|
4983
|
+
onChange: function onChange(e) {
|
|
4984
|
+
handleItemChecked(e, item, 1);
|
|
4985
|
+
}
|
|
4986
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4987
|
+
title: item.name,
|
|
4988
|
+
className: "propertyGroup_checkbox_container"
|
|
4989
|
+
}, item.name));
|
|
4990
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4991
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4992
|
+
checked: item.isChecked,
|
|
4993
|
+
key: item.value,
|
|
4994
|
+
onChange: function onChange(e) {
|
|
4995
|
+
handleItemChecked(e, item, 2);
|
|
4996
|
+
}
|
|
4997
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4998
|
+
title: item.name,
|
|
4999
|
+
className: "propertyGroup_checkbox_container"
|
|
5000
|
+
}, item.name));
|
|
5001
|
+
}), !!notCommonUseProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
5002
|
+
style: {
|
|
5003
|
+
width: '50px',
|
|
5004
|
+
cursor: 'pointer',
|
|
5005
|
+
color: '#005cff',
|
|
5006
|
+
fontSize: '10px',
|
|
5007
|
+
display: 'flex',
|
|
5008
|
+
alignItems: 'center'
|
|
5009
|
+
},
|
|
5010
|
+
onClick: function onClick() {
|
|
5011
|
+
setShowNotCommon(!showNotCommon);
|
|
5012
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
5013
|
+
}
|
|
5014
|
+
}, 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"))))));
|
|
5015
|
+
};
|
|
5016
|
+
var PropertyGroup$1 = /*#__PURE__*/React__default['default'].memo(PropertyGroup, function (props, nextProps) {
|
|
5017
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
5018
|
+
return true;
|
|
5019
|
+
});
|
|
5020
|
+
|
|
5021
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
5022
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
5023
|
+
var value = _ref.value,
|
|
5024
|
+
onChange = _ref.onChange,
|
|
5025
|
+
width = _ref.width,
|
|
5026
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
5027
|
+
var settingValue = React$1.useRef({
|
|
5028
|
+
classifyCode: '',
|
|
5029
|
+
classifyName: '',
|
|
5030
|
+
propertyList: []
|
|
5031
|
+
});
|
|
5032
|
+
var _useState = React$1.useState([]),
|
|
5033
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
5034
|
+
choosedValues = _useState2[0],
|
|
5035
|
+
setChoosedValues = _useState2[1];
|
|
5036
|
+
var _useState3 = React$1.useState(''),
|
|
5037
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
5038
|
+
choosedClassify = _useState4[0],
|
|
5039
|
+
setChoosedClassify = _useState4[1];
|
|
5040
|
+
var _useState5 = React$1.useState([]),
|
|
5041
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
5042
|
+
commonProperty = _useState6[0],
|
|
5043
|
+
setCommonUseProperty = _useState6[1];
|
|
5044
|
+
var _useState7 = React$1.useState([]),
|
|
5045
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
5046
|
+
notCommonProperty = _useState8[0],
|
|
5047
|
+
setNotCommonProperty = _useState8[1];
|
|
5048
|
+
var _useState9 = React$1.useState(false),
|
|
5049
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
5050
|
+
visible = _useState10[0],
|
|
5051
|
+
setVisible = _useState10[1];
|
|
5052
|
+
var _useState11 = React$1.useState(false),
|
|
5053
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
5054
|
+
showNotCommon = _useState12[0],
|
|
5055
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
5056
|
+
var _useState13 = React$1.useState([]),
|
|
5057
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
5058
|
+
classifyOptionList = _useState14[0],
|
|
5059
|
+
setClassifyOptionList = _useState14[1];
|
|
5060
|
+
var _useState15 = React$1.useState('1'),
|
|
5061
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
5062
|
+
listKey = _useState16[0],
|
|
5063
|
+
setListKey = _useState16[1];
|
|
5064
|
+
React$1.useEffect(function () {
|
|
5065
|
+
requestUtil({
|
|
5066
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
5067
|
+
method: 'GET'
|
|
5068
|
+
}).then(function (_ref2) {
|
|
5069
|
+
var _data$data;
|
|
5070
|
+
var data = _ref2.data;
|
|
5071
|
+
if (judgeIsRequestError(data)) {
|
|
5072
|
+
return;
|
|
5073
|
+
}
|
|
5074
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
5075
|
+
setClassifyOptionList(items.map(function (item) {
|
|
5076
|
+
return {
|
|
5077
|
+
label: item.name,
|
|
5078
|
+
value: item.id
|
|
5079
|
+
};
|
|
5080
|
+
}));
|
|
5081
|
+
});
|
|
5082
|
+
}, []);
|
|
5083
|
+
React$1.useEffect(function () {
|
|
5084
|
+
if (!choosedClassify) return;
|
|
5085
|
+
requestUtil({
|
|
5086
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
5087
|
+
method: 'GET'
|
|
5088
|
+
}).then(function (_ref3) {
|
|
5089
|
+
var data = _ref3.data;
|
|
5090
|
+
if (judgeIsRequestError(data)) {
|
|
5091
|
+
return;
|
|
5092
|
+
}
|
|
5093
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
5094
|
+
var _item$property, _item$property2, _item$property3, _item$property4;
|
|
5095
|
+
return {
|
|
5096
|
+
propertyCode: (_item$property = item.property) === null || _item$property === void 0 ? void 0 : _item$property.propertyCode,
|
|
5097
|
+
propertyName: (_item$property2 = item.property) === null || _item$property2 === void 0 ? void 0 : _item$property2.name,
|
|
5098
|
+
propertyId: (_item$property3 = item.property) === null || _item$property3 === void 0 ? void 0 : _item$property3.id,
|
|
5099
|
+
isCommonUse: ((_item$property4 = item.property) === null || _item$property4 === void 0 ? void 0 : _item$property4.isCommonUse) === 'commonUse',
|
|
5100
|
+
detailList: (item.propertyValueList || []).map(function (detail) {
|
|
5101
|
+
return {
|
|
5102
|
+
name: detail.value,
|
|
5103
|
+
value: detail.value,
|
|
5104
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
5105
|
+
};
|
|
5106
|
+
})
|
|
5107
|
+
};
|
|
5108
|
+
});
|
|
5109
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
5110
|
+
return item.isCommonUse;
|
|
5111
|
+
}));
|
|
5112
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
5113
|
+
return !item.isCommonUse;
|
|
5114
|
+
}));
|
|
5115
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
5116
|
+
});
|
|
5117
|
+
}, [choosedClassify]);
|
|
5118
|
+
React$1.useEffect(function () {
|
|
5119
|
+
var _classifyOptionList$2;
|
|
5120
|
+
if (visible) {
|
|
5121
|
+
var _classifyOptionList$;
|
|
5122
|
+
// 获取选中品类信息
|
|
5123
|
+
setChoosedClassify((value === null || value === void 0 ? void 0 : value.classifyCode) || ((_classifyOptionList$ = classifyOptionList[0]) === null || _classifyOptionList$ === void 0 ? void 0 : _classifyOptionList$.value));
|
|
5124
|
+
}
|
|
5125
|
+
// 获取选中属性值展示
|
|
5126
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
5127
|
+
return (item.detailList || []).map(function (detail) {
|
|
5128
|
+
return detail.name;
|
|
5129
|
+
});
|
|
5130
|
+
}).flat();
|
|
5131
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
5132
|
+
return !item.isCommonUse;
|
|
5133
|
+
})) {
|
|
5134
|
+
setShowNotCommon(true);
|
|
5135
|
+
}
|
|
5136
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
5137
|
+
classifyCode: (value === null || value === void 0 ? void 0 : value.classifyCode) || ((_classifyOptionList$2 = classifyOptionList[0]) === null || _classifyOptionList$2 === void 0 ? void 0 : _classifyOptionList$2.value)
|
|
5138
|
+
});
|
|
5139
|
+
setChoosedValues(choosedPropertyList);
|
|
5140
|
+
}, [value, visible]);
|
|
5141
|
+
// 关闭弹窗回传组件值
|
|
5142
|
+
var handleConfirm = function handleConfirm() {
|
|
5143
|
+
setVisible(false);
|
|
5144
|
+
onChange(settingValue.current);
|
|
5145
|
+
};
|
|
5146
|
+
var onCancel = function onCancel() {
|
|
5147
|
+
setVisible(false);
|
|
5148
|
+
};
|
|
5149
|
+
// 获取选中属性值信息
|
|
5150
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
5151
|
+
var _settingValue$current;
|
|
5152
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
5153
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
5154
|
+
return item.propertyCode === value.propertyCode;
|
|
5155
|
+
});
|
|
5156
|
+
if (itemIndex !== -1) {
|
|
5157
|
+
newDetailList[itemIndex] = value;
|
|
5158
|
+
} else {
|
|
5159
|
+
newDetailList.push(value);
|
|
5160
|
+
}
|
|
5161
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
5162
|
+
propertyList: newDetailList.filter(function (item) {
|
|
5163
|
+
return item.detailList && item.detailList.length;
|
|
5164
|
+
})
|
|
5165
|
+
});
|
|
5166
|
+
};
|
|
5167
|
+
//修改品类值
|
|
5168
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
5169
|
+
setChoosedClassify(value);
|
|
5170
|
+
settingValue.current = {
|
|
5171
|
+
classifyCode: value,
|
|
5172
|
+
classifyName: option.children,
|
|
5173
|
+
propertyList: []
|
|
5174
|
+
};
|
|
5175
|
+
};
|
|
5176
|
+
var tagRender = function tagRender(props) {
|
|
5177
|
+
var label = props.label,
|
|
5178
|
+
value = props.value,
|
|
5179
|
+
closable = props.closable,
|
|
5180
|
+
onClose = props.onClose;
|
|
5181
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
5182
|
+
closable: false,
|
|
5183
|
+
style: {
|
|
5184
|
+
marginRight: 3,
|
|
5185
|
+
height: '20px',
|
|
5186
|
+
fontSize: '12px'
|
|
5187
|
+
}
|
|
5188
|
+
}, label);
|
|
5189
|
+
};
|
|
5190
|
+
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
5191
|
+
maxTagCount: 1,
|
|
5192
|
+
tagRender: tagRender
|
|
5193
|
+
}, restProps), {}, {
|
|
5194
|
+
mode: "multiple",
|
|
5195
|
+
value: choosedValues,
|
|
5196
|
+
onClick: function onClick() {
|
|
5197
|
+
setVisible(true);
|
|
5198
|
+
},
|
|
5199
|
+
style: {
|
|
5200
|
+
width: width || '100%'
|
|
5201
|
+
},
|
|
5202
|
+
open: false
|
|
5203
|
+
})), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
5204
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
5205
|
+
width: 700,
|
|
5206
|
+
open: visible,
|
|
5207
|
+
onOk: handleConfirm,
|
|
5208
|
+
destroyOnClose: true,
|
|
5209
|
+
onCancel: onCancel,
|
|
5210
|
+
cancelText: '取消',
|
|
5211
|
+
okText: '确定'
|
|
5212
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5213
|
+
className: 'property_classify_content'
|
|
5214
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
5215
|
+
style: {
|
|
5216
|
+
marginRight: '10px'
|
|
5217
|
+
}
|
|
5218
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
5219
|
+
style: {
|
|
5220
|
+
width: '200px'
|
|
5221
|
+
},
|
|
5222
|
+
value: choosedClassify,
|
|
5223
|
+
options: classifyOptionList,
|
|
5224
|
+
onChange: function onChange(value, option) {
|
|
5225
|
+
onClassifyChange(value, option);
|
|
5226
|
+
}
|
|
5227
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5228
|
+
className: 'property_classify_content1',
|
|
5229
|
+
key: listKey
|
|
5230
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, commonProperty.map(function (item) {
|
|
5231
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
5232
|
+
modalVisilbe: visible,
|
|
5233
|
+
itemValue: settingValue.current,
|
|
5234
|
+
propertyData: item,
|
|
5235
|
+
handleProperyItemChange: handleProperyItemChange
|
|
5236
|
+
});
|
|
5237
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
5238
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
5239
|
+
modalVisilbe: visible,
|
|
5240
|
+
itemValue: settingValue.current,
|
|
5241
|
+
propertyData: item,
|
|
5242
|
+
handleProperyItemChange: handleProperyItemChange
|
|
5243
|
+
});
|
|
5244
|
+
}))), !!notCommonProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5245
|
+
style: {
|
|
5246
|
+
width: '50px',
|
|
5247
|
+
cursor: 'pointer',
|
|
5248
|
+
color: '#005cff',
|
|
5249
|
+
fontSize: '10px'
|
|
5250
|
+
},
|
|
5251
|
+
onClick: function onClick() {
|
|
5252
|
+
return setShowNotCommon(!showNotCommon);
|
|
5253
|
+
}
|
|
5254
|
+
}, 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"))))))));
|
|
5255
|
+
};
|
|
5256
|
+
|
|
4152
5257
|
var Option$1 = antd.Select.Option;
|
|
4153
5258
|
var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
4154
|
-
var
|
|
5259
|
+
var _pathname$match;
|
|
4155
5260
|
var value = props.value,
|
|
4156
5261
|
onChangeTemp = props.onChange,
|
|
4157
5262
|
_props$selectProps = props.selectProps,
|
|
@@ -4160,19 +5265,23 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4160
5265
|
modalTableProps = _props$modalTableProp === void 0 ? {} : _props$modalTableProp,
|
|
4161
5266
|
_props$labelInValue = props.labelInValue,
|
|
4162
5267
|
labelInValue = _props$labelInValue === void 0 ? false : _props$labelInValue,
|
|
4163
|
-
|
|
5268
|
+
needTopSelectedSource = props.needTopSelectedSource,
|
|
5269
|
+
rCTemp = props.requestConfig,
|
|
4164
5270
|
ctx = props.ctx,
|
|
4165
5271
|
_props$onlyShowStr = props.onlyShowStr,
|
|
4166
5272
|
sourceName = props.sourceName,
|
|
4167
5273
|
_props$needModalTable = props.needModalTable,
|
|
4168
5274
|
needModalTable = _props$needModalTable === void 0 ? true : _props$needModalTable,
|
|
4169
5275
|
_props$getPopupContai = props.getPopupContainer,
|
|
4170
|
-
|
|
5276
|
+
_props$highestPopCont = props.highestPopContainer,
|
|
5277
|
+
highestPopContainer = _props$highestPopCont === void 0 ? undefined : _props$highestPopCont,
|
|
4171
5278
|
fieldComponent = props.fieldComponent,
|
|
4172
5279
|
onSaveCallback = props.onSaveCallback,
|
|
4173
5280
|
selectBusinessType = props.selectBusinessType;
|
|
4174
|
-
var _ref =
|
|
5281
|
+
var _ref = rCTemp || {},
|
|
4175
5282
|
url = _ref.url,
|
|
5283
|
+
_ref$method = _ref.method,
|
|
5284
|
+
method = _ref$method === void 0 ? 'get' : _ref$method,
|
|
4176
5285
|
otherParams = _ref.otherParams,
|
|
4177
5286
|
isMap = _ref.isMap,
|
|
4178
5287
|
fixedparameter = _ref.fixedparameter,
|
|
@@ -4196,6 +5305,26 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4196
5305
|
noOperate = _ref.noOperate,
|
|
4197
5306
|
viewShowValueStr = _ref.viewShowValueStr,
|
|
4198
5307
|
searchStartLength = _ref.searchStartLength;
|
|
5308
|
+
var requestConfig = _objectSpread2({
|
|
5309
|
+
url: url,
|
|
5310
|
+
method: method,
|
|
5311
|
+
otherParams: otherParams,
|
|
5312
|
+
isMap: isMap,
|
|
5313
|
+
fixedparameter: fixedparameter,
|
|
5314
|
+
fieldValToParam: fieldValToParam,
|
|
5315
|
+
fixedparamsDisabled: fixedparamsDisabled,
|
|
5316
|
+
mappingTextField: mappingTextField,
|
|
5317
|
+
mappingTextShowKeyField: mappingTextShowKeyField,
|
|
5318
|
+
mappingValueField: mappingValueField,
|
|
5319
|
+
mappingTextShowTextField: mappingTextShowTextField,
|
|
5320
|
+
init: init,
|
|
5321
|
+
extralHeaders: extralHeaders,
|
|
5322
|
+
specialBracket: specialBracket,
|
|
5323
|
+
noNeedSplit: noNeedSplit,
|
|
5324
|
+
noOperate: noOperate,
|
|
5325
|
+
viewShowValueStr: viewShowValueStr,
|
|
5326
|
+
searchStartLength: searchStartLength
|
|
5327
|
+
}, rCTemp);
|
|
4199
5328
|
var resultSourceKey = handleSourceName(sourceName || (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'supplierCode');
|
|
4200
5329
|
var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
|
|
4201
5330
|
var initVal = value || (selectMode ? [] : null);
|
|
@@ -4213,11 +5342,14 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4213
5342
|
listHeight: 160,
|
|
4214
5343
|
optionLabelProp: "label",
|
|
4215
5344
|
autoClearSearchValue: false,
|
|
4216
|
-
placement: '
|
|
5345
|
+
placement: 'bottomRight'
|
|
4217
5346
|
});
|
|
5347
|
+
var pathname = window.location.href;
|
|
5348
|
+
var pattern = /(action|create|edit|view)/;
|
|
5349
|
+
var isFormPage = ((_pathname$match = pathname.match(pattern)) === null || _pathname$match === void 0 ? void 0 : _pathname$match.length) > 0;
|
|
4218
5350
|
var initPagination = {
|
|
4219
5351
|
showQuickJumper: true,
|
|
4220
|
-
showSizeChanger:
|
|
5352
|
+
showSizeChanger: true,
|
|
4221
5353
|
showTotal: function showTotal(total) {
|
|
4222
5354
|
return "\u5171 ".concat(total, " \u6761");
|
|
4223
5355
|
},
|
|
@@ -4227,7 +5359,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4227
5359
|
total: 0,
|
|
4228
5360
|
current: 1
|
|
4229
5361
|
});
|
|
4230
|
-
var disabled = noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
|
|
5362
|
+
var disabled = !!noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
|
|
4231
5363
|
var isHaveDependency = fixedparameter && fieldValToParam && ctx;
|
|
4232
5364
|
var isHaveDValue = function isHaveDValue() {
|
|
4233
5365
|
var formValueList = [];
|
|
@@ -4248,34 +5380,38 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4248
5380
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
4249
5381
|
selectOpen = _useState4[0],
|
|
4250
5382
|
setSelectOpen = _useState4[1];
|
|
4251
|
-
var _useState5 = React$1.useState(
|
|
5383
|
+
var _useState5 = React$1.useState(false),
|
|
4252
5384
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
var _useState7 = React$1.useState(
|
|
5385
|
+
isMaxTagsOpen = _useState6[0],
|
|
5386
|
+
setIsMaxTagsOpen = _useState6[1];
|
|
5387
|
+
var _useState7 = React$1.useState(1),
|
|
4256
5388
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
var _useState9 = React$1.useState(
|
|
5389
|
+
scrollPage = _useState8[0],
|
|
5390
|
+
setScrollPage = _useState8[1];
|
|
5391
|
+
var _useState9 = React$1.useState(0),
|
|
4260
5392
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
var _useState11 = React$1.useState(
|
|
5393
|
+
itemsTotal = _useState10[0],
|
|
5394
|
+
setItemsTotal = _useState10[1];
|
|
5395
|
+
var _useState11 = React$1.useState(false),
|
|
4264
5396
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
var _useState13 = React$1.useState(
|
|
5397
|
+
fetching = _useState12[0],
|
|
5398
|
+
setFetching = _useState12[1];
|
|
5399
|
+
var _useState13 = React$1.useState(''),
|
|
4268
5400
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
var _useState15 = React$1.useState(
|
|
5401
|
+
searchValue = _useState14[0],
|
|
5402
|
+
setSearchValue = _useState14[1];
|
|
5403
|
+
var _useState15 = React$1.useState(false),
|
|
4272
5404
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
var _useState17 = React$1.useState(
|
|
5405
|
+
isModalVisible = _useState16[0],
|
|
5406
|
+
setIsModalVisible = _useState16[1];
|
|
5407
|
+
var _useState17 = React$1.useState(initVal),
|
|
4276
5408
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
4277
|
-
|
|
4278
|
-
|
|
5409
|
+
popvalue = _useState18[0],
|
|
5410
|
+
setPopValue = _useState18[1];
|
|
5411
|
+
var _useState19 = React$1.useState(resultSourceKey),
|
|
5412
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
5413
|
+
uniqueValue = _useState20[0],
|
|
5414
|
+
setUniqueValue = _useState20[1];
|
|
4279
5415
|
var _useDebounceFn = ahooks.useDebounceFn(function (v) {
|
|
4280
5416
|
// 优化搜索参数 支持传多个
|
|
4281
5417
|
var searchParams = {};
|
|
@@ -4304,62 +5440,58 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4304
5440
|
var _Form$useForm = antd.Form.useForm(),
|
|
4305
5441
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
4306
5442
|
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
5443
|
var _useState21 = React$1.useState(true),
|
|
4312
5444
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
var _useState23 = React$1.useState(
|
|
5445
|
+
collapsed = _useState22[0],
|
|
5446
|
+
setCollapsed = _useState22[1];
|
|
5447
|
+
var _useState23 = React$1.useState(true),
|
|
4316
5448
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
var _useState25 = React$1.useState(
|
|
5449
|
+
caretLeftFlag = _useState24[0],
|
|
5450
|
+
setCaretLeftFlag = _useState24[1];
|
|
5451
|
+
var _useState25 = React$1.useState([]),
|
|
4320
5452
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
var _useState27 = React$1.useState(
|
|
5453
|
+
tableData = _useState26[0],
|
|
5454
|
+
setTableData = _useState26[1];
|
|
5455
|
+
var _useState27 = React$1.useState(tableInitPagination),
|
|
4324
5456
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
4325
|
-
|
|
4326
|
-
|
|
5457
|
+
tablePagination = _useState28[0],
|
|
5458
|
+
setTablePagination = _useState28[1];
|
|
4327
5459
|
var _useState29 = React$1.useState([]),
|
|
4328
5460
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
var _useState31 = React$1.useState(
|
|
5461
|
+
selectedRowKeys = _useState30[0],
|
|
5462
|
+
setSelectedRowKeys = _useState30[1];
|
|
5463
|
+
var _useState31 = React$1.useState([]),
|
|
4332
5464
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
4333
|
-
|
|
4334
|
-
|
|
5465
|
+
selectedRows = _useState32[0],
|
|
5466
|
+
setSelectedRows = _useState32[1];
|
|
4335
5467
|
var _useState33 = React$1.useState(false),
|
|
4336
5468
|
_useState34 = _slicedToArray(_useState33, 2),
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
var _useState35 = React$1.useState(
|
|
5469
|
+
checkedAll = _useState34[0],
|
|
5470
|
+
setCheckedAll = _useState34[1];
|
|
5471
|
+
var _useState35 = React$1.useState(false),
|
|
4340
5472
|
_useState36 = _slicedToArray(_useState35, 2),
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
var _useState37 = React$1.useState(
|
|
5473
|
+
indeterminate = _useState36[0],
|
|
5474
|
+
setIndeterminate = _useState36[1];
|
|
5475
|
+
var _useState37 = React$1.useState({}),
|
|
4344
5476
|
_useState38 = _slicedToArray(_useState37, 2),
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
var _useState39 = React$1.useState(
|
|
4348
|
-
return typeof s.defaultSort == 'number';
|
|
4349
|
-
})) === null || _modalTableProps$tabl2 === void 0 ? void 0 : _modalTableProps$tabl2.sort(function (a, b) {
|
|
4350
|
-
return a.defaultSort - b.defaultSort;
|
|
4351
|
-
})) || []),
|
|
5477
|
+
tableFormParams = _useState38[0],
|
|
5478
|
+
setTableFormParams = _useState38[1];
|
|
5479
|
+
var _useState39 = React$1.useState(false),
|
|
4352
5480
|
_useState40 = _slicedToArray(_useState39, 2),
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
var _useState41 = React$1.useState(
|
|
5481
|
+
tooltipVisible = _useState40[0],
|
|
5482
|
+
setTooltipVisible = _useState40[1];
|
|
5483
|
+
var _useState41 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
|
|
4356
5484
|
_useState42 = _slicedToArray(_useState41, 2),
|
|
4357
|
-
|
|
4358
|
-
|
|
5485
|
+
tableShowColumns = _useState42[0],
|
|
5486
|
+
setTabletShowColumns = _useState42[1]; // 默认展示表头-modalTableProps?.tableColumns
|
|
4359
5487
|
var _useState43 = React$1.useState(false),
|
|
4360
5488
|
_useState44 = _slicedToArray(_useState43, 2),
|
|
4361
|
-
|
|
4362
|
-
|
|
5489
|
+
confirmLoading = _useState44[0],
|
|
5490
|
+
setConfirmLoading = _useState44[1];
|
|
5491
|
+
var _useState45 = React$1.useState(false),
|
|
5492
|
+
_useState46 = _slicedToArray(_useState45, 2),
|
|
5493
|
+
modalSearched = _useState46[0],
|
|
5494
|
+
setModalSearched = _useState46[1];
|
|
4363
5495
|
var setSelectDataSource = function setSelectDataSource(list, total) {
|
|
4364
5496
|
setItems(list);
|
|
4365
5497
|
setItemsTotal(total);
|
|
@@ -4409,6 +5541,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4409
5541
|
});
|
|
4410
5542
|
// 获取数据源 (type: 1下拉框 2/3弹框 不传值默认为下拉框)
|
|
4411
5543
|
var getData = function getData() {
|
|
5544
|
+
var _method$toLocaleLower;
|
|
4412
5545
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4413
5546
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
4414
5547
|
var callback = arguments.length > 2 ? arguments[2] : undefined;
|
|
@@ -4443,96 +5576,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4443
5576
|
});
|
|
4444
5577
|
}
|
|
4445
5578
|
// 数组对象处理,对带有特殊标记的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
|
-
}
|
|
5579
|
+
handleParams(params);
|
|
4536
5580
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
4537
5581
|
pageSize: pageSize,
|
|
4538
5582
|
currentPage: currentPage
|
|
@@ -4540,9 +5584,17 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4540
5584
|
if (_.isNil(queryParams[selectParamsKey])) {
|
|
4541
5585
|
queryParams[selectParamsKey] = searchValue;
|
|
4542
5586
|
}
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
5587
|
+
var getRequest;
|
|
5588
|
+
var methodName = method === null || method === void 0 ? void 0 : (_method$toLocaleLower = method.toLocaleLowerCase) === null || _method$toLocaleLower === void 0 ? void 0 : _method$toLocaleLower.call(method);
|
|
5589
|
+
if (['post', 'patch', 'put'].includes(methodName)) {
|
|
5590
|
+
getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
|
|
5591
|
+
} else {
|
|
5592
|
+
getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
|
|
5593
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
5594
|
+
});
|
|
5595
|
+
}
|
|
5596
|
+
if (!url || !getRequest) return;
|
|
5597
|
+
getRequest.then(function (result) {
|
|
4546
5598
|
setFetching(false);
|
|
4547
5599
|
result = result.data;
|
|
4548
5600
|
if (judgeIsRequestError(result)) {
|
|
@@ -4550,66 +5602,15 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4550
5602
|
return;
|
|
4551
5603
|
}
|
|
4552
5604
|
var res = result.data;
|
|
4553
|
-
var source =
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
}
|
|
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') : [];
|
|
5605
|
+
var source = convertResData(requestConfig, res, {
|
|
5606
|
+
selectMode: selectMode,
|
|
5607
|
+
labelInValue: labelInValue,
|
|
5608
|
+
value: value,
|
|
5609
|
+
type: type,
|
|
5610
|
+
items: items,
|
|
5611
|
+
queryParams: queryParams,
|
|
5612
|
+
needTopSelectedSource: needTopSelectedSource
|
|
5613
|
+
});
|
|
4613
5614
|
if (callback) {
|
|
4614
5615
|
callback(source);
|
|
4615
5616
|
} else {
|
|
@@ -4684,7 +5685,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4684
5685
|
}
|
|
4685
5686
|
}, [value]);
|
|
4686
5687
|
React$1.useEffect(function () {
|
|
4687
|
-
makeUniqueValue();
|
|
5688
|
+
setUniqueValue(makeUniqueValue());
|
|
5689
|
+
setTabletShowColumns(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns));
|
|
4688
5690
|
}, [resultSourceKey]);
|
|
4689
5691
|
React$1.useEffect(function () {
|
|
4690
5692
|
if (init) {
|
|
@@ -4851,12 +5853,11 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4851
5853
|
};
|
|
4852
5854
|
var onSearchTable = function onSearchTable() {
|
|
4853
5855
|
var params = form.getFieldsValue();
|
|
4854
|
-
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4855
5856
|
setModalSearched(true);
|
|
4856
5857
|
setTableFormParams(params);
|
|
4857
5858
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4858
5859
|
pageSize: tableInitPageSize
|
|
4859
|
-
}), 2);
|
|
5860
|
+
}), 2, null);
|
|
4860
5861
|
};
|
|
4861
5862
|
var onResetTable = function onResetTable() {
|
|
4862
5863
|
form.resetFields();
|
|
@@ -4875,28 +5876,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4875
5876
|
currentPage: pagination.current
|
|
4876
5877
|
}), 2);
|
|
4877
5878
|
};
|
|
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
5879
|
var onChangeSelectedKeys = function onChangeSelectedKeys(selectKeys, selectRows) {
|
|
4901
5880
|
var sksResult = (selectRows === null || selectRows === void 0 ? void 0 : selectRows.map(function (i) {
|
|
4902
5881
|
return i.value;
|
|
@@ -4912,12 +5891,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4912
5891
|
setIndeterminate(!!selectRows.length && selectRows.length < (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
4913
5892
|
setCheckedAll(selectRows.length === (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total));
|
|
4914
5893
|
};
|
|
4915
|
-
// 生成唯一值
|
|
4916
|
-
var makeUniqueValue = function makeUniqueValue() {
|
|
4917
|
-
var generateUnitKey = ((1 + Math.random()) * 0x10000 | 0).toString(16);
|
|
4918
|
-
setUniqueValue(generateUnitKey);
|
|
4919
|
-
return generateUnitKey;
|
|
4920
|
-
};
|
|
4921
5894
|
var rowSelection = {
|
|
4922
5895
|
type: selectMode ? 'checkbox' : 'radio',
|
|
4923
5896
|
selectedRowKeys: selectedRowKeys,
|
|
@@ -4983,7 +5956,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4983
5956
|
};
|
|
4984
5957
|
})) || [];
|
|
4985
5958
|
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;
|
|
5959
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
|
|
4987
5960
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
4988
5961
|
span: ColSpan,
|
|
4989
5962
|
key: i
|
|
@@ -5058,6 +6031,30 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5058
6031
|
}
|
|
5059
6032
|
})));
|
|
5060
6033
|
}
|
|
6034
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
6035
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
6036
|
+
span: ColSpan,
|
|
6037
|
+
key: i.name
|
|
6038
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
6039
|
+
name: i.name,
|
|
6040
|
+
label: i.label,
|
|
6041
|
+
key: i.name
|
|
6042
|
+
}, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
|
|
6043
|
+
}
|
|
6044
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
|
|
6045
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
6046
|
+
span: ColSpan,
|
|
6047
|
+
key: i.name
|
|
6048
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
6049
|
+
name: i.name,
|
|
6050
|
+
label: i.label,
|
|
6051
|
+
key: i.name
|
|
6052
|
+
}, /*#__PURE__*/React__default['default'].createElement(QueryMutipleSearchSelect, _objectSpread2(_objectSpread2({}, i.field.props), {}, {
|
|
6053
|
+
onValueChange: function onValueChange(value) {
|
|
6054
|
+
form.setFieldsValue(_defineProperty({}, i.name, value));
|
|
6055
|
+
}
|
|
6056
|
+
}))));
|
|
6057
|
+
}
|
|
5061
6058
|
// 默认type是input
|
|
5062
6059
|
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5063
6060
|
span: ColSpan,
|
|
@@ -5073,7 +6070,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5073
6070
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5074
6071
|
allowClear: true,
|
|
5075
6072
|
maxLength: 100
|
|
5076
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
6073
|
+
}, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
|
|
5077
6074
|
disabled: setDisabled(i.name)
|
|
5078
6075
|
}))));
|
|
5079
6076
|
});
|
|
@@ -5085,13 +6082,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5085
6082
|
var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
|
|
5086
6083
|
return collapsed ? formItem(list === null || list === void 0 ? void 0 : list.slice(0, viCount)) : formItem(list);
|
|
5087
6084
|
};
|
|
5088
|
-
// const queryFieldsDom = <SearchItemTable
|
|
5089
|
-
// ref={searchTableRef}
|
|
5090
|
-
// setShowSearchFields={setShowSearchFields||[]}
|
|
5091
|
-
// showSearchFields={showSearchFields||[]}
|
|
5092
|
-
// datasource={modalTableProps?.tableSearchForm || []}
|
|
5093
|
-
// bsTableCode={bsTableCode}
|
|
5094
|
-
// />
|
|
5095
6085
|
var renderShowTable = function renderShowTable(tableList, type) {
|
|
5096
6086
|
var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
|
|
5097
6087
|
var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - 82px)"); // 分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
|
|
@@ -5106,7 +6096,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5106
6096
|
columns: tableShowColumns,
|
|
5107
6097
|
dataSource: tableList
|
|
5108
6098
|
}, type == 'noPage' ? {
|
|
5109
|
-
pagination: initPagination,
|
|
6099
|
+
pagination: _objectSpread2(_objectSpread2({}, initPagination), {}, {
|
|
6100
|
+
showSizeChanger: false
|
|
6101
|
+
}),
|
|
5110
6102
|
locale: {
|
|
5111
6103
|
emptyText: '暂无已选结果'
|
|
5112
6104
|
}
|
|
@@ -5151,9 +6143,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5151
6143
|
})) || [], 'noPage')
|
|
5152
6144
|
}];
|
|
5153
6145
|
var resetSelectDataSource = function resetSelectDataSource() {
|
|
6146
|
+
var isClear = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
5154
6147
|
setSearchValue('');
|
|
5155
6148
|
// 有关联值 不需要清空下拉框数据 也不需要重新去请求了
|
|
5156
|
-
if (isHaveDependency) return;
|
|
6149
|
+
if (!isClear && isHaveDependency) return; // 清空时需要放开:级联首次回之后,清空数据需要重新查询下拉框的值
|
|
5157
6150
|
clearSelectDataSource();
|
|
5158
6151
|
init && run('init');
|
|
5159
6152
|
};
|
|
@@ -5165,14 +6158,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5165
6158
|
formaData([], items);
|
|
5166
6159
|
onChangeSelectedKeys([], []);
|
|
5167
6160
|
// 重置下拉框数据源
|
|
5168
|
-
resetSelectDataSource();
|
|
6161
|
+
resetSelectDataSource(true);
|
|
5169
6162
|
};
|
|
5170
6163
|
var onDeselect = function onDeselect() {
|
|
5171
|
-
var oldSelect = (value
|
|
5172
|
-
return {
|
|
5173
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5174
|
-
};
|
|
5175
|
-
})) || [];
|
|
6164
|
+
var oldSelect = formatSelectedValue(value);
|
|
5176
6165
|
var deRecord = arguments.length <= 1 ? undefined : arguments[1];
|
|
5177
6166
|
var srs = oldSelect.filter(function (s) {
|
|
5178
6167
|
return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
|
|
@@ -5185,13 +6174,20 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5185
6174
|
nr && setSelectOpen(false);
|
|
5186
6175
|
};
|
|
5187
6176
|
var onDropdownVisibleChange = function onDropdownVisibleChange(visible) {
|
|
6177
|
+
// 阻止maxTagPlaceholder点击事件触发下拉框展示事件
|
|
6178
|
+
if (isMaxTagsOpen && !selectOpen) return;
|
|
5188
6179
|
setSelectOpen(visible);
|
|
5189
6180
|
// 关闭下拉框 如果首次本身就不展示数据的 没有选中数据-需要清空查询数据源; 首次展示的默认展示
|
|
5190
6181
|
if (!visible && !(value === null || value === void 0 ? void 0 : value.length)) {
|
|
5191
|
-
|
|
6182
|
+
setTimeout(function () {
|
|
6183
|
+
// 延时 是为了避免 执行时候出现下拉框弹两次的问题-可以看到数据源从展示到显示空数据框的问题
|
|
6184
|
+
resetSelectDataSource();
|
|
6185
|
+
}, 200);
|
|
5192
6186
|
}
|
|
5193
6187
|
};
|
|
5194
6188
|
var renderTable = function renderTable(dataSource) {
|
|
6189
|
+
var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
|
|
6190
|
+
var renderSource = getRenderSource(currentSRKs, items);
|
|
5195
6191
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5196
6192
|
className: "search_select_dropdown_table ".concat(!selectMode ? 'search_select_dropdown_table1' : '')
|
|
5197
6193
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
|
|
@@ -5201,16 +6197,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5201
6197
|
rowSelection: {
|
|
5202
6198
|
type: 'checkbox',
|
|
5203
6199
|
columnWidth: '24px',
|
|
5204
|
-
selectedRowKeys:
|
|
5205
|
-
return (s === null || s === void 0 ? void 0 : s.value) || s;
|
|
5206
|
-
}) : value,
|
|
6200
|
+
selectedRowKeys: currentSRKs,
|
|
5207
6201
|
preserveSelectedRowKeys: true,
|
|
5208
6202
|
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
|
-
})) || [];
|
|
6203
|
+
var oldSelect = formatSelectedValue(value);
|
|
5214
6204
|
var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
|
|
5215
6205
|
return item != undefined;
|
|
5216
6206
|
});
|
|
@@ -5229,11 +6219,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5229
6219
|
onClick: function onClick(event) {
|
|
5230
6220
|
event.stopPropagation();
|
|
5231
6221
|
event.nativeEvent.stopImmediatePropagation();
|
|
5232
|
-
var oldSelect = (value
|
|
5233
|
-
return {
|
|
5234
|
-
value: (s === null || s === void 0 ? void 0 : s.value) || s
|
|
5235
|
-
};
|
|
5236
|
-
})) || [];
|
|
6222
|
+
var oldSelect = formatSelectedValue(value);
|
|
5237
6223
|
var newSelect = [JSON.parse(JSON.stringify(record))];
|
|
5238
6224
|
var srs = getRealStr(oldSelect, newSelect, record);
|
|
5239
6225
|
onSelectClick(srs, dataSource, false);
|
|
@@ -5244,7 +6230,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5244
6230
|
rowSelection: {
|
|
5245
6231
|
type: 'radio',
|
|
5246
6232
|
columnWidth: 0,
|
|
5247
|
-
selectedRowKeys:
|
|
6233
|
+
selectedRowKeys: currentSRKs
|
|
5248
6234
|
},
|
|
5249
6235
|
onRow: function onRow(record, rowKey) {
|
|
5250
6236
|
return {
|
|
@@ -5256,7 +6242,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5256
6242
|
}
|
|
5257
6243
|
}), {}, {
|
|
5258
6244
|
columns: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.renderTableColumns) || [],
|
|
5259
|
-
dataSource:
|
|
6245
|
+
dataSource: renderSource,
|
|
5260
6246
|
size: "middle",
|
|
5261
6247
|
pagination: false,
|
|
5262
6248
|
rowKey: mappingValueField,
|
|
@@ -5266,76 +6252,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5266
6252
|
}
|
|
5267
6253
|
})));
|
|
5268
6254
|
};
|
|
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
|
-
var getShowLabelTextStr = function getShowLabelTextStr(kongValue) {
|
|
5305
|
-
if (selectMode) {
|
|
5306
|
-
var _value$map;
|
|
5307
|
-
return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
|
|
5308
|
-
return item.label || item.text || '';
|
|
5309
|
-
})) === null || _value$map === void 0 ? void 0 : _value$map.join(',')) || kongValue;
|
|
5310
|
-
}
|
|
5311
|
-
return (value === null || value === void 0 ? void 0 : value.label) || (value === null || value === void 0 ? void 0 : value.text) || kongValue;
|
|
5312
|
-
};
|
|
5313
|
-
var getSelectValueText = function getSelectValueText(v) {
|
|
5314
|
-
var _filter, _filter$;
|
|
5315
|
-
return ((_filter = (items || []).filter(function (item) {
|
|
5316
|
-
return item.value === v;
|
|
5317
|
-
})) === null || _filter === void 0 ? void 0 : (_filter$ = _filter[0]) === null || _filter$ === void 0 ? void 0 : _filter$.text) || v || '';
|
|
5318
|
-
};
|
|
5319
|
-
var getShowValueStr = function getShowValueStr(kongValue) {
|
|
5320
|
-
if (selectMode) {
|
|
5321
|
-
var _value$map2;
|
|
5322
|
-
return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
|
|
5323
|
-
return getSelectValueText(item);
|
|
5324
|
-
})) === null || _value$map2 === void 0 ? void 0 : _value$map2.join(',')) || kongValue;
|
|
5325
|
-
}
|
|
5326
|
-
return getSelectValueText(value) || kongValue;
|
|
5327
|
-
};
|
|
5328
|
-
var getShowStr = function getShowStr() {
|
|
5329
|
-
// 优先使用业务使用传入的展示
|
|
5330
|
-
if (viewShowValueStr) return viewShowValueStr;
|
|
5331
|
-
var kongValue = '无';
|
|
5332
|
-
// 先判断labelInValue与否,labelInValue可以直接去value中获取字段名称,否则去下拉框数据里面去拿;
|
|
5333
|
-
// 再判断是单选还是多选,数据类型不同取值方式也不同
|
|
5334
|
-
if (labelInValue) {
|
|
5335
|
-
return getShowLabelTextStr(kongValue);
|
|
5336
|
-
}
|
|
5337
|
-
return getShowValueStr(kongValue);
|
|
5338
|
-
};
|
|
5339
6255
|
var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
|
|
5340
6256
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5341
6257
|
className: 'search_select'
|
|
@@ -5346,15 +6262,27 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5346
6262
|
showModal();
|
|
5347
6263
|
}
|
|
5348
6264
|
}, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
5349
|
-
title: getShowStr(
|
|
6265
|
+
title: getShowStr({
|
|
6266
|
+
viewShowValueStr: viewShowValueStr,
|
|
6267
|
+
labelInValue: labelInValue,
|
|
6268
|
+
selectMode: selectMode,
|
|
6269
|
+
value: value,
|
|
6270
|
+
items: items
|
|
6271
|
+
}),
|
|
5350
6272
|
style: {
|
|
5351
6273
|
overflow: 'hidden',
|
|
5352
6274
|
textOverflow: 'ellipsis',
|
|
5353
6275
|
whiteSpace: 'nowrap'
|
|
5354
6276
|
},
|
|
5355
6277
|
className: 'search_select_show'
|
|
5356
|
-
}, getShowStr(
|
|
5357
|
-
|
|
6278
|
+
}, getShowStr({
|
|
6279
|
+
viewShowValueStr: viewShowValueStr,
|
|
6280
|
+
labelInValue: labelInValue,
|
|
6281
|
+
selectMode: selectMode,
|
|
6282
|
+
value: value,
|
|
6283
|
+
items: items
|
|
6284
|
+
}))) : /*#__PURE__*/React__default['default'].createElement("div", {
|
|
6285
|
+
className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
|
|
5358
6286
|
id: "search_select_div_".concat(uniqueValue)
|
|
5359
6287
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
5360
6288
|
labelInValue: labelInValue,
|
|
@@ -5385,7 +6313,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5385
6313
|
width: 'calc(100%)'
|
|
5386
6314
|
},
|
|
5387
6315
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
5388
|
-
maxTagPlaceholder: maxTagPlaceholder
|
|
6316
|
+
maxTagPlaceholder: function maxTagPlaceholder$1(v) {
|
|
6317
|
+
return maxTagPlaceholder(v, {
|
|
6318
|
+
selectProps: {
|
|
6319
|
+
labelInValue: labelInValue
|
|
6320
|
+
},
|
|
6321
|
+
onChange: onChange,
|
|
6322
|
+
value: value,
|
|
6323
|
+
setIsMaxTagsOpen: setIsMaxTagsOpen
|
|
6324
|
+
});
|
|
6325
|
+
},
|
|
5389
6326
|
onSearch: function onSearch(v) {
|
|
5390
6327
|
return onSearchChange(v);
|
|
5391
6328
|
}
|
|
@@ -5396,7 +6333,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5396
6333
|
}, /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null))
|
|
5397
6334
|
} : {}), currentSelectProps), {}, {
|
|
5398
6335
|
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
5399
|
-
return
|
|
6336
|
+
return highestPopContainer && highestPopContainer(triggerNode) || triggerNode.parentElement;
|
|
5400
6337
|
}
|
|
5401
6338
|
}), items.map(function (item) {
|
|
5402
6339
|
return /*#__PURE__*/React__default['default'].createElement(Option$1, {
|
|
@@ -5481,8 +6418,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5481
6418
|
})) : null)))));
|
|
5482
6419
|
});
|
|
5483
6420
|
|
|
5484
|
-
var css_248z$
|
|
5485
|
-
styleInject(css_248z$
|
|
6421
|
+
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";
|
|
6422
|
+
styleInject(css_248z$8);
|
|
5486
6423
|
|
|
5487
6424
|
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
6425
|
|
|
@@ -5498,10 +6435,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5498
6435
|
|
|
5499
6436
|
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
6437
|
|
|
5501
|
-
var css_248z$
|
|
5502
|
-
styleInject(css_248z$
|
|
6438
|
+
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";
|
|
6439
|
+
styleInject(css_248z$9);
|
|
5503
6440
|
|
|
5504
|
-
var _excluded$
|
|
6441
|
+
var _excluded$4 = ["className", "style"];
|
|
5505
6442
|
var Search = antd.Input.Search;
|
|
5506
6443
|
var DragHandle = reactSortableHoc.SortableHandle(function () {
|
|
5507
6444
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -5853,7 +6790,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5853
6790
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5854
6791
|
var className = _ref2.className,
|
|
5855
6792
|
style = _ref2.style,
|
|
5856
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6793
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5857
6794
|
var sortDataSource = _this.state.sortDataSource;
|
|
5858
6795
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5859
6796
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6272,7 +7209,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6272
7209
|
});
|
|
6273
7210
|
};
|
|
6274
7211
|
|
|
6275
|
-
var _excluded$
|
|
7212
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6276
7213
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6277
7214
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6278
7215
|
return new Promise(function (resolve, reject) {
|
|
@@ -6292,7 +7229,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6292
7229
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6293
7230
|
var onResize = props.onResize,
|
|
6294
7231
|
width = props.width,
|
|
6295
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7232
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6296
7233
|
if (!width) {
|
|
6297
7234
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
6298
7235
|
}
|
|
@@ -7521,10 +8458,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7521
8458
|
}))))));
|
|
7522
8459
|
};
|
|
7523
8460
|
|
|
7524
|
-
var css_248z$
|
|
7525
|
-
styleInject(css_248z$
|
|
8461
|
+
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";
|
|
8462
|
+
styleInject(css_248z$a);
|
|
7526
8463
|
|
|
7527
|
-
var _excluded$
|
|
8464
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7528
8465
|
var _this = undefined;
|
|
7529
8466
|
var InputElement = function InputElement(_ref) {
|
|
7530
8467
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8022,7 +8959,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8022
8959
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8023
8960
|
var onResize = props.onResize,
|
|
8024
8961
|
width = props.width,
|
|
8025
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8962
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8026
8963
|
if (!width) {
|
|
8027
8964
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
8028
8965
|
}
|
|
@@ -8665,6 +9602,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8665
9602
|
hiddenFields = _ref$hiddenFields === void 0 ? [] : _ref$hiddenFields;
|
|
8666
9603
|
// 默认type === 'supplier' 供应商选择器
|
|
8667
9604
|
var requestConfig = _objectSpread2({
|
|
9605
|
+
init: true,
|
|
8668
9606
|
url: "".concat(prefixUrl.selectPrefix, "/supplier"),
|
|
8669
9607
|
filter: 'qp-name,code-orGroup,like',
|
|
8670
9608
|
otherParams: _objectSpread2({
|
|
@@ -8958,7 +9896,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8958
9896
|
// 商品选择器sku
|
|
8959
9897
|
if (type === 'skuCommodity') {
|
|
8960
9898
|
requestConfig = _objectSpread2({
|
|
8961
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9899
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9900
|
+
method: 'post',
|
|
8962
9901
|
filter: 'skuCodeAndSkuName',
|
|
8963
9902
|
searchStartLength: 4,
|
|
8964
9903
|
mappingTextField: 'name',
|
|
@@ -8982,13 +9921,53 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8982
9921
|
tableSearchForm = [{
|
|
8983
9922
|
name: 'qp-skuCode-in',
|
|
8984
9923
|
label: 'SKU编码',
|
|
8985
|
-
|
|
9924
|
+
field: {
|
|
9925
|
+
type: 'multipleQuerySearchSelect',
|
|
9926
|
+
props: {
|
|
9927
|
+
selectProps: {
|
|
9928
|
+
mode: "multiple",
|
|
9929
|
+
placeholder: '请输入SKU编码查询'
|
|
9930
|
+
},
|
|
9931
|
+
requestConfig: {
|
|
9932
|
+
url: '/items/sku//listNoPage/Simple',
|
|
9933
|
+
filter: 'qp-skuCode,name-orGroup,like',
|
|
9934
|
+
mappingTextField: 'name',
|
|
9935
|
+
mappingValueField: 'skuCode',
|
|
9936
|
+
sourceName: 'qp-skuCode-in',
|
|
9937
|
+
specialBracket: true,
|
|
9938
|
+
otherParams: {
|
|
9939
|
+
'ownOrgSign': getCurrentTargetBgId(),
|
|
9940
|
+
'ctl-count': true
|
|
9941
|
+
} // 默认参数
|
|
9942
|
+
}
|
|
9943
|
+
}
|
|
9944
|
+
}
|
|
8986
9945
|
}, {
|
|
8987
9946
|
name: 'qp-skuName-like',
|
|
8988
9947
|
label: 'SKU名称'
|
|
8989
9948
|
}, {
|
|
8990
|
-
name: 'qp-itemCode-
|
|
8991
|
-
label: '
|
|
9949
|
+
name: 'qp-itemCode-in',
|
|
9950
|
+
label: 'SPU编码',
|
|
9951
|
+
field: {
|
|
9952
|
+
type: 'multipleQuerySearchSelect',
|
|
9953
|
+
props: {
|
|
9954
|
+
selectProps: {
|
|
9955
|
+
placeholder: '请输入SPU编码查询'
|
|
9956
|
+
},
|
|
9957
|
+
requestConfig: {
|
|
9958
|
+
url: '/items/item/listNoPage/Simple',
|
|
9959
|
+
filter: 'qp-itemCode,name-orGroup,like',
|
|
9960
|
+
mappingTextField: 'name',
|
|
9961
|
+
mappingValueField: 'itemCode',
|
|
9962
|
+
sourceName: 'qp-itemCode-in',
|
|
9963
|
+
specialBracket: true,
|
|
9964
|
+
otherParams: {
|
|
9965
|
+
'ownOrgSign': getCurrentTargetBgId(),
|
|
9966
|
+
'ctl-count': true
|
|
9967
|
+
} // 默认参数
|
|
9968
|
+
}
|
|
9969
|
+
}
|
|
9970
|
+
}
|
|
8992
9971
|
}, {
|
|
8993
9972
|
name: 'qp-eancode-in',
|
|
8994
9973
|
label: '商品条码',
|
|
@@ -9041,6 +10020,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9041
10020
|
}
|
|
9042
10021
|
}
|
|
9043
10022
|
}
|
|
10023
|
+
}, {
|
|
10024
|
+
name: 'UNIQUE_SPEC',
|
|
10025
|
+
label: '属性',
|
|
10026
|
+
field: {
|
|
10027
|
+
type: 'proppertySelector'
|
|
10028
|
+
}
|
|
9044
10029
|
}];
|
|
9045
10030
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9046
10031
|
pageSize: 5000,
|
|
@@ -9447,6 +10432,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9447
10432
|
}]
|
|
9448
10433
|
}, selectConfigProps);
|
|
9449
10434
|
requestConfig = _objectSpread2({
|
|
10435
|
+
init: true,
|
|
9450
10436
|
url: "".concat(prefixUrl.selectPrefix, "/skuPropertyValue/list"),
|
|
9451
10437
|
filter: 'qp-value-like',
|
|
9452
10438
|
mappingTextField: 'value',
|
|
@@ -10369,6 +11355,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10369
11355
|
}]
|
|
10370
11356
|
}, selectConfigProps);
|
|
10371
11357
|
requestConfig = _objectSpread2({
|
|
11358
|
+
init: true,
|
|
10372
11359
|
url: "".concat(prefixUrl.selectPrefix, "/inventoryOrg"),
|
|
10373
11360
|
filter: 'qp-name,code-orGroup,like',
|
|
10374
11361
|
mappingTextField: 'name',
|
|
@@ -10394,6 +11381,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10394
11381
|
}]
|
|
10395
11382
|
}, selectConfigProps);
|
|
10396
11383
|
requestConfig = _objectSpread2({
|
|
11384
|
+
init: true,
|
|
10397
11385
|
url: "".concat(prefixUrl.selectPrefix, "/company"),
|
|
10398
11386
|
filter: 'qp-name,code-orGroup,like',
|
|
10399
11387
|
mappingTextField: 'name',
|
|
@@ -10419,6 +11407,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10419
11407
|
}]
|
|
10420
11408
|
}, selectConfigProps);
|
|
10421
11409
|
requestConfig = _objectSpread2({
|
|
11410
|
+
init: true,
|
|
10422
11411
|
url: "".concat(prefixUrl.selectPrefix, "/platCompany"),
|
|
10423
11412
|
filter: 'qp-name,socialCreditCode-orGroup,like',
|
|
10424
11413
|
mappingTextField: 'name',
|
|
@@ -10444,6 +11433,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10444
11433
|
}]
|
|
10445
11434
|
}, selectConfigProps);
|
|
10446
11435
|
requestConfig = _objectSpread2({
|
|
11436
|
+
init: true,
|
|
10447
11437
|
url: "".concat(prefixUrl.selectPrefix, "/employee/v2"),
|
|
10448
11438
|
filter: 'qp-employeeNumber,name-orGroup,like',
|
|
10449
11439
|
mappingTextField: 'name',
|
|
@@ -10537,6 +11527,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10537
11527
|
}]
|
|
10538
11528
|
}, selectConfigProps);
|
|
10539
11529
|
requestConfig = _objectSpread2({
|
|
11530
|
+
init: true,
|
|
10540
11531
|
url: "".concat(prefixUrl.selectPrefix, "/employee/pageList/v2"),
|
|
10541
11532
|
filter: 'qp-username,name-orGroup,like',
|
|
10542
11533
|
mappingTextField: 'name',
|
|
@@ -10679,6 +11670,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10679
11670
|
});
|
|
10680
11671
|
var logisCompanyCodeSingleSearchName = isLogisCompanyCodeSingleSearch ? 'qp-logisCompanyCode-eq' : 'qp-logisCompanyCode-in';
|
|
10681
11672
|
requestConfig = _objectSpread2({
|
|
11673
|
+
init: true,
|
|
10682
11674
|
url: "".concat(prefixUrl.selectPrefix, "/deliveryMode"),
|
|
10683
11675
|
filter: 'qp-name,code-orGroup,like',
|
|
10684
11676
|
mappingTextField: 'name',
|
|
@@ -10815,6 +11807,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10815
11807
|
}]
|
|
10816
11808
|
}, selectConfigProps);
|
|
10817
11809
|
requestConfig = _objectSpread2({
|
|
11810
|
+
init: true,
|
|
10818
11811
|
url: "".concat(prefixUrl.selectPrefix, "/ruleTemplate"),
|
|
10819
11812
|
filter: 'qp-name,code-orGroup,like',
|
|
10820
11813
|
mappingTextField: 'name',
|
|
@@ -10886,6 +11879,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10886
11879
|
}]
|
|
10887
11880
|
}, selectConfigProps);
|
|
10888
11881
|
requestConfig = _objectSpread2({
|
|
11882
|
+
init: true,
|
|
10889
11883
|
url: "".concat(prefixUrl.selectPrefix, "/role"),
|
|
10890
11884
|
filter: 'qp-name,code-orGroup,like',
|
|
10891
11885
|
mappingTextField: 'name',
|
|
@@ -10982,6 +11976,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10982
11976
|
}]
|
|
10983
11977
|
}, selectConfigProps);
|
|
10984
11978
|
requestConfig = _objectSpread2({
|
|
11979
|
+
init: true,
|
|
10985
11980
|
url: "".concat(prefixUrl.selectPrefix, "/channelInfo"),
|
|
10986
11981
|
filter: 'qp-name,code-orGroup,like',
|
|
10987
11982
|
mappingTextField: 'name',
|
|
@@ -11069,6 +12064,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11069
12064
|
}]
|
|
11070
12065
|
}, selectConfigProps);
|
|
11071
12066
|
requestConfig = _objectSpread2({
|
|
12067
|
+
init: true,
|
|
11072
12068
|
url: "".concat(prefixUrl.selectPrefix, "/orgViewNode/common/pageList"),
|
|
11073
12069
|
filter: 'qp-name-like',
|
|
11074
12070
|
mappingTextField: 'name',
|
|
@@ -11197,6 +12193,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11197
12193
|
}]
|
|
11198
12194
|
}, selectConfigProps);
|
|
11199
12195
|
requestConfig = _objectSpread2({
|
|
12196
|
+
init: true,
|
|
11200
12197
|
url: "".concat(prefixUrl.selectPrefix, "/person"),
|
|
11201
12198
|
filter: 'qp-code,name-orGroup,like',
|
|
11202
12199
|
mappingTextField: 'name',
|
|
@@ -11332,6 +12329,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11332
12329
|
}]
|
|
11333
12330
|
}, selectConfigProps);
|
|
11334
12331
|
requestConfig = _objectSpread2({
|
|
12332
|
+
init: true,
|
|
11335
12333
|
url: "".concat(prefixUrl.selectPrefix, "/priceType"),
|
|
11336
12334
|
filter: 'qp-code,name-orGroup,like',
|
|
11337
12335
|
mappingTextField: 'name',
|
|
@@ -12834,7 +13832,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12834
13832
|
return "";
|
|
12835
13833
|
}
|
|
12836
13834
|
|
|
12837
|
-
var _excluded$
|
|
13835
|
+
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"];
|
|
12838
13836
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12839
13837
|
var _useState = React$1.useState([]),
|
|
12840
13838
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12876,7 +13874,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12876
13874
|
} : _props$style,
|
|
12877
13875
|
getTreeData = props.getTreeData,
|
|
12878
13876
|
disabled = props.disabled,
|
|
12879
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13877
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12880
13878
|
var url = remoteSource.url,
|
|
12881
13879
|
headers = remoteSource.headers,
|
|
12882
13880
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13261,8 +14259,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
|
|
|
13261
14259
|
return true;
|
|
13262
14260
|
});
|
|
13263
14261
|
|
|
13264
|
-
var css_248z$
|
|
13265
|
-
styleInject(css_248z$
|
|
14262
|
+
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";
|
|
14263
|
+
styleInject(css_248z$b);
|
|
13266
14264
|
|
|
13267
14265
|
var index$2 = (function (props) {
|
|
13268
14266
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13299,10 +14297,10 @@ var index$2 = (function (props) {
|
|
|
13299
14297
|
}));
|
|
13300
14298
|
});
|
|
13301
14299
|
|
|
13302
|
-
var css_248z$
|
|
13303
|
-
styleInject(css_248z$
|
|
14300
|
+
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";
|
|
14301
|
+
styleInject(css_248z$c);
|
|
13304
14302
|
|
|
13305
|
-
var _excluded$
|
|
14303
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13306
14304
|
_excluded2$3 = ["children"];
|
|
13307
14305
|
var Field = function Field(_ref) {
|
|
13308
14306
|
var children = _ref.children,
|
|
@@ -13310,7 +14308,7 @@ var Field = function Field(_ref) {
|
|
|
13310
14308
|
title = _ref.title,
|
|
13311
14309
|
extra = _ref.extra,
|
|
13312
14310
|
bordered = _ref.bordered,
|
|
13313
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
14311
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13314
14312
|
var _React$useState = React__default['default'].useState(true),
|
|
13315
14313
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13316
14314
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13434,10 +14432,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13434
14432
|
})));
|
|
13435
14433
|
};
|
|
13436
14434
|
|
|
13437
|
-
var css_248z$
|
|
13438
|
-
styleInject(css_248z$
|
|
14435
|
+
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";
|
|
14436
|
+
styleInject(css_248z$d);
|
|
13439
14437
|
|
|
13440
|
-
var _excluded$
|
|
14438
|
+
var _excluded$9 = ["className", "style"];
|
|
13441
14439
|
var Search$1 = antd.Input.Search;
|
|
13442
14440
|
var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
|
|
13443
14441
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -13855,7 +14853,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13855
14853
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13856
14854
|
var className = _ref2.className,
|
|
13857
14855
|
style = _ref2.style,
|
|
13858
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14856
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13859
14857
|
var sortDataSource = _this.state.sortDataSource;
|
|
13860
14858
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13861
14859
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14015,8 +15013,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14015
15013
|
visible = _this$state3.visible,
|
|
14016
15014
|
onSearchSort = _this$state3.onSearchSort;
|
|
14017
15015
|
var seatchDataSource = dataSource.filter(function (item) {
|
|
14018
|
-
var
|
|
14019
|
-
return (item === null || item === void 0 ? void 0 :
|
|
15016
|
+
var _renderToString;
|
|
15017
|
+
return ((_renderToString = renderToString(item === null || item === void 0 ? void 0 : item.title)) === null || _renderToString === void 0 ? void 0 : _renderToString.indexOf(searchDataSource || '')) > -1;
|
|
14020
15018
|
});
|
|
14021
15019
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14022
15020
|
className: 'sort_table_wrapper'
|
|
@@ -14099,8 +15097,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14099
15097
|
}
|
|
14100
15098
|
}, item.title);
|
|
14101
15099
|
}) : dataSource.filter(function (item) {
|
|
14102
|
-
var _item$
|
|
14103
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15100
|
+
var _item$title, _item$title2;
|
|
15101
|
+
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;
|
|
14104
15102
|
}).map(function (item) {
|
|
14105
15103
|
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
14106
15104
|
checked: !item.hidden,
|
|
@@ -14119,8 +15117,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14119
15117
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14120
15118
|
className: 'sort_table_column_all'
|
|
14121
15119
|
}, _toConsumableArray(dataSource).filter(function (item) {
|
|
14122
|
-
var _item$
|
|
14123
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15120
|
+
var _item$title3, _item$title4;
|
|
15121
|
+
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;
|
|
14124
15122
|
}).map(function (item) {
|
|
14125
15123
|
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
14126
15124
|
checked: !item.hidden,
|
|
@@ -14156,8 +15154,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14156
15154
|
pagination: false,
|
|
14157
15155
|
showHeader: false,
|
|
14158
15156
|
dataSource: (onSearchSort ? sortDataSource.filter(function (item) {
|
|
14159
|
-
var _item$
|
|
14160
|
-
return (item === null || item === void 0 ? void 0 : (_item$
|
|
15157
|
+
var _item$title5;
|
|
15158
|
+
return (item === null || item === void 0 ? void 0 : (_item$title5 = item.title) === null || _item$title5 === void 0 ? void 0 : _item$title5.indexOf(onSearchSort)) > -1;
|
|
14161
15159
|
}) : sortDataSource).map(function (item) {
|
|
14162
15160
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
14163
15161
|
key: item.key || item.dataIndex
|
|
@@ -14187,7 +15185,29 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14187
15185
|
}]);
|
|
14188
15186
|
}(React__default['default'].Component);
|
|
14189
15187
|
|
|
14190
|
-
var
|
|
15188
|
+
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";
|
|
15189
|
+
styleInject(css_248z$e);
|
|
15190
|
+
|
|
15191
|
+
//表格底部 金额总计
|
|
15192
|
+
var TableSumComponent = (function (_ref) {
|
|
15193
|
+
var summary = _ref.summary;
|
|
15194
|
+
var Text = antd.Typography.Text;
|
|
15195
|
+
return /*#__PURE__*/React__default['default'].createElement(React$1.Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15196
|
+
className: "table_sum_wrapper"
|
|
15197
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15198
|
+
className: 'table-bssula-summary'
|
|
15199
|
+
}, summary.map(function (item) {
|
|
15200
|
+
return /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
15201
|
+
type: 'danger'
|
|
15202
|
+
}, item.label, ": ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15203
|
+
className: 'table-bssula-summary-count'
|
|
15204
|
+
}, item.count || 0));
|
|
15205
|
+
}))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15206
|
+
className: "sum_right_line"
|
|
15207
|
+
}));
|
|
15208
|
+
});
|
|
15209
|
+
|
|
15210
|
+
var _excluded$a = ["onResize", "width"],
|
|
14191
15211
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14192
15212
|
var Text = antd.Typography.Text;
|
|
14193
15213
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14291,7 +15311,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14291
15311
|
_this.ResizeableTitle = function (props) {
|
|
14292
15312
|
var onResize = props.onResize,
|
|
14293
15313
|
width = props.width,
|
|
14294
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15314
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14295
15315
|
var _useState = React$1.useState(width),
|
|
14296
15316
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14297
15317
|
innerWidth = _useState2[0],
|
|
@@ -14525,37 +15545,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14525
15545
|
cell: this.ResizeableTitle
|
|
14526
15546
|
}
|
|
14527
15547
|
}
|
|
14528
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
right: '20%',
|
|
14532
|
-
bottom: 0,
|
|
14533
|
-
whiteSpace: 'nowrap',
|
|
14534
|
-
overflowX: 'auto'
|
|
14535
|
-
}
|
|
14536
|
-
}, summary.map(function (item) {
|
|
14537
|
-
return /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
14538
|
-
type: 'danger'
|
|
14539
|
-
}, item.label, ": ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
14540
|
-
className: 'table-bssula-summary-count'
|
|
14541
|
-
}, item.count || 0));
|
|
14542
|
-
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14543
|
-
style: {
|
|
14544
|
-
width: '16px',
|
|
14545
|
-
height: '26px',
|
|
14546
|
-
opacity: 0.32,
|
|
14547
|
-
transform: 'scaleX(-1)',
|
|
14548
|
-
backgroundImage: 'linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%)',
|
|
14549
|
-
right: '20%',
|
|
14550
|
-
position: 'absolute',
|
|
14551
|
-
bottom: 0
|
|
14552
|
-
}
|
|
14553
|
-
}))));
|
|
15548
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
15549
|
+
summary: summary
|
|
15550
|
+
})));
|
|
14554
15551
|
}
|
|
14555
15552
|
}]);
|
|
14556
15553
|
}(React__default['default'].Component);
|
|
14557
15554
|
|
|
14558
|
-
var _excluded$
|
|
15555
|
+
var _excluded$b = ["onResize", "width"],
|
|
14559
15556
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14560
15557
|
var Text$1 = antd.Typography.Text;
|
|
14561
15558
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14665,7 +15662,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14665
15662
|
_this.ResizeableTitle = function (props) {
|
|
14666
15663
|
var onResize = props.onResize,
|
|
14667
15664
|
width = props.width,
|
|
14668
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15665
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14669
15666
|
if (!width) {
|
|
14670
15667
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
14671
15668
|
}
|
|
@@ -14794,32 +15791,9 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14794
15791
|
cell: this.ResizeableTitle
|
|
14795
15792
|
}
|
|
14796
15793
|
}
|
|
14797
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(
|
|
14798
|
-
|
|
14799
|
-
|
|
14800
|
-
right: '20%',
|
|
14801
|
-
bottom: 0,
|
|
14802
|
-
whiteSpace: 'nowrap',
|
|
14803
|
-
overflowX: 'auto'
|
|
14804
|
-
}
|
|
14805
|
-
}, summary.map(function (item) {
|
|
14806
|
-
return /*#__PURE__*/React__default['default'].createElement(Text$1, {
|
|
14807
|
-
type: 'danger'
|
|
14808
|
-
}, item.label, ": ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
14809
|
-
className: 'table-bssula-summary-count'
|
|
14810
|
-
}, item.count || 0));
|
|
14811
|
-
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14812
|
-
style: {
|
|
14813
|
-
width: '16px',
|
|
14814
|
-
height: '26px',
|
|
14815
|
-
opacity: 0.32,
|
|
14816
|
-
transform: 'scaleX(-1)',
|
|
14817
|
-
backgroundImage: 'linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%)',
|
|
14818
|
-
right: '20%',
|
|
14819
|
-
position: 'absolute',
|
|
14820
|
-
bottom: 0
|
|
14821
|
-
}
|
|
14822
|
-
}))));
|
|
15794
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
15795
|
+
summary: summary
|
|
15796
|
+
})));
|
|
14823
15797
|
}
|
|
14824
15798
|
}]);
|
|
14825
15799
|
}(React__default['default'].Component);
|
|
@@ -14951,8 +15925,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
14951
15925
|
return undefined;
|
|
14952
15926
|
};
|
|
14953
15927
|
|
|
14954
|
-
var css_248z$
|
|
14955
|
-
styleInject(css_248z$
|
|
15928
|
+
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";
|
|
15929
|
+
styleInject(css_248z$f);
|
|
14956
15930
|
|
|
14957
15931
|
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";
|
|
14958
15932
|
|
|
@@ -14966,15 +15940,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
14966
15940
|
|
|
14967
15941
|
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";
|
|
14968
15942
|
|
|
14969
|
-
var css_248z$
|
|
14970
|
-
styleInject(css_248z$
|
|
15943
|
+
var css_248z$g = "";
|
|
15944
|
+
styleInject(css_248z$g);
|
|
14971
15945
|
|
|
14972
|
-
var _excluded$
|
|
15946
|
+
var _excluded$c = ["message", "type"];
|
|
14973
15947
|
var CommonAlert = (function (props) {
|
|
14974
15948
|
var message = props.message,
|
|
14975
15949
|
_props$type = props.type,
|
|
14976
15950
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
14977
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15951
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
14978
15952
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14979
15953
|
style: {
|
|
14980
15954
|
width: '100%',
|
|
@@ -14995,7 +15969,7 @@ var CommonAlert = (function (props) {
|
|
|
14995
15969
|
}, reset)));
|
|
14996
15970
|
});
|
|
14997
15971
|
|
|
14998
|
-
var _excluded$
|
|
15972
|
+
var _excluded$d = ["children"];
|
|
14999
15973
|
var iconMap = {
|
|
15000
15974
|
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15001
15975
|
src: editIcon
|
|
@@ -15017,7 +15991,7 @@ var index$3 = (function (props) {
|
|
|
15017
15991
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15018
15992
|
id = _useState2[0];
|
|
15019
15993
|
var children = props.children,
|
|
15020
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15994
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15021
15995
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15022
15996
|
id: id,
|
|
15023
15997
|
className: 'detail_page_wrapper'
|
|
@@ -15240,10 +16214,10 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15240
16214
|
return true;
|
|
15241
16215
|
});
|
|
15242
16216
|
|
|
15243
|
-
var css_248z$
|
|
15244
|
-
styleInject(css_248z$
|
|
16217
|
+
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";
|
|
16218
|
+
styleInject(css_248z$h);
|
|
15245
16219
|
|
|
15246
|
-
var _excluded$
|
|
16220
|
+
var _excluded$e = ["children"];
|
|
15247
16221
|
var index$4 = (function (props) {
|
|
15248
16222
|
var _useLocation = umi.useLocation(),
|
|
15249
16223
|
pathname = _useLocation.pathname;
|
|
@@ -15251,7 +16225,7 @@ var index$4 = (function (props) {
|
|
|
15251
16225
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15252
16226
|
id = _useState2[0];
|
|
15253
16227
|
var children = props.children,
|
|
15254
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16228
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15255
16229
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15256
16230
|
id: id,
|
|
15257
16231
|
className: 'home_page_wrapper'
|
|
@@ -15325,10 +16299,10 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15325
16299
|
return true;
|
|
15326
16300
|
});
|
|
15327
16301
|
|
|
15328
|
-
var css_248z$
|
|
15329
|
-
styleInject(css_248z$
|
|
16302
|
+
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";
|
|
16303
|
+
styleInject(css_248z$i);
|
|
15330
16304
|
|
|
15331
|
-
var _excluded$
|
|
16305
|
+
var _excluded$f = ["className", "style"];
|
|
15332
16306
|
var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
|
|
15333
16307
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15334
16308
|
width: 25,
|
|
@@ -15766,7 +16740,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15766
16740
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15767
16741
|
var className = _ref2.className,
|
|
15768
16742
|
style = _ref2.style,
|
|
15769
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16743
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15770
16744
|
var sortDataSource = _this.state.sortDataSource;
|
|
15771
16745
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15772
16746
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -15958,7 +16932,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15958
16932
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15959
16933
|
className: 'sort_table_wrapper'
|
|
15960
16934
|
}, visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
15961
|
-
title: "\
|
|
16935
|
+
title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
|
|
15962
16936
|
wrapClassName: 'sort_table_wrapper',
|
|
15963
16937
|
width: 810,
|
|
15964
16938
|
visible: visible,
|
|
@@ -15995,7 +16969,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15995
16969
|
className: 'sort_table_column_wrapper'
|
|
15996
16970
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15997
16971
|
className: 'sort_table_column_count'
|
|
15998
|
-
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u52FE\u9009\u4F60\u60F3\
|
|
16972
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u5C55\u793A\u7684\u8868\u683C\u5217")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15999
16973
|
className: 'sort_table_column'
|
|
16000
16974
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
16001
16975
|
prefix: /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, {
|
|
@@ -16090,7 +17064,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16090
17064
|
className: 'sort_table_content_wrapper'
|
|
16091
17065
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
16092
17066
|
className: 'sort_table_content_count'
|
|
16093
|
-
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u5DF2\u9009\u62E9\u7684\
|
|
17067
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u5C55\u793A\u5217\u6392\u5E8F")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16094
17068
|
className: 'sort_table_content'
|
|
16095
17069
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
16096
17070
|
style: {
|
|
@@ -16136,7 +17110,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16136
17110
|
}]);
|
|
16137
17111
|
}(React__default['default'].Component);
|
|
16138
17112
|
|
|
16139
|
-
var _excluded$
|
|
17113
|
+
var _excluded$g = ["className", "style"];
|
|
16140
17114
|
var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
|
|
16141
17115
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16142
17116
|
width: 25,
|
|
@@ -16389,7 +17363,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16389
17363
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16390
17364
|
var className = _ref2.className,
|
|
16391
17365
|
style = _ref2.style,
|
|
16392
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17366
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16393
17367
|
var sortDataSource = _this.state.sortDataSource;
|
|
16394
17368
|
var index = sortDataSource.findIndex(function (x) {
|
|
16395
17369
|
return x.name === restProps['data-row-key'];
|
|
@@ -16685,16 +17659,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16685
17659
|
}]);
|
|
16686
17660
|
}(React__default['default'].Component);
|
|
16687
17661
|
|
|
16688
|
-
var css_248z$
|
|
16689
|
-
styleInject(css_248z$
|
|
17662
|
+
var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17663
|
+
styleInject(css_248z$j);
|
|
16690
17664
|
|
|
16691
|
-
var _excluded$
|
|
17665
|
+
var _excluded$h = ["onResize", "width"];
|
|
16692
17666
|
var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
|
|
16693
17667
|
var Text$2 = antd.Typography.Text;
|
|
16694
17668
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16695
17669
|
var onResize = props.onResize,
|
|
16696
17670
|
width = props.width,
|
|
16697
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17671
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16698
17672
|
var _useState = React$1.useState(width),
|
|
16699
17673
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16700
17674
|
innerWidth = _useState2[0],
|
|
@@ -17412,8 +18386,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17412
18386
|
})));
|
|
17413
18387
|
});
|
|
17414
18388
|
|
|
17415
|
-
var css_248z$
|
|
17416
|
-
styleInject(css_248z$
|
|
18389
|
+
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";
|
|
18390
|
+
styleInject(css_248z$k);
|
|
17417
18391
|
|
|
17418
18392
|
var cache = {};
|
|
17419
18393
|
var cacheLimit = 10000;
|
|
@@ -17669,8 +18643,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17669
18643
|
})))));
|
|
17670
18644
|
};
|
|
17671
18645
|
|
|
17672
|
-
var css_248z$
|
|
17673
|
-
styleInject(css_248z$
|
|
18646
|
+
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";
|
|
18647
|
+
styleInject(css_248z$l);
|
|
17674
18648
|
|
|
17675
18649
|
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";
|
|
17676
18650
|
|
|
@@ -17878,8 +18852,8 @@ var i18n = {
|
|
|
17878
18852
|
}
|
|
17879
18853
|
};
|
|
17880
18854
|
|
|
17881
|
-
var css_248z$
|
|
17882
|
-
styleInject(css_248z$
|
|
18855
|
+
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";
|
|
18856
|
+
styleInject(css_248z$m);
|
|
17883
18857
|
|
|
17884
18858
|
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";
|
|
17885
18859
|
|
|
@@ -18409,8 +19383,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18409
19383
|
}))))));
|
|
18410
19384
|
};
|
|
18411
19385
|
|
|
18412
|
-
var css_248z$
|
|
18413
|
-
styleInject(css_248z$
|
|
19386
|
+
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";
|
|
19387
|
+
styleInject(css_248z$n);
|
|
18414
19388
|
|
|
18415
19389
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18416
19390
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18566,8 +19540,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18566
19540
|
|
|
18567
19541
|
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";
|
|
18568
19542
|
|
|
18569
|
-
var css_248z$
|
|
18570
|
-
styleInject(css_248z$
|
|
19543
|
+
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";
|
|
19544
|
+
styleInject(css_248z$o);
|
|
18571
19545
|
|
|
18572
19546
|
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";
|
|
18573
19547
|
|
|
@@ -19194,8 +20168,8 @@ var MenuSetting = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19194
20168
|
}));
|
|
19195
20169
|
});
|
|
19196
20170
|
|
|
19197
|
-
var css_248z$
|
|
19198
|
-
styleInject(css_248z$
|
|
20171
|
+
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";
|
|
20172
|
+
styleInject(css_248z$p);
|
|
19199
20173
|
|
|
19200
20174
|
var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
19201
20175
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19331,8 +20305,8 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19331
20305
|
})));
|
|
19332
20306
|
});
|
|
19333
20307
|
|
|
19334
|
-
var css_248z$
|
|
19335
|
-
styleInject(css_248z$
|
|
20308
|
+
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";
|
|
20309
|
+
styleInject(css_248z$q);
|
|
19336
20310
|
|
|
19337
20311
|
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=";
|
|
19338
20312
|
|
|
@@ -19747,8 +20721,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19747
20721
|
})));
|
|
19748
20722
|
};
|
|
19749
20723
|
|
|
19750
|
-
var css_248z$
|
|
19751
|
-
styleInject(css_248z$
|
|
20724
|
+
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";
|
|
20725
|
+
styleInject(css_248z$r);
|
|
19752
20726
|
|
|
19753
20727
|
/*
|
|
19754
20728
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19771,7 +20745,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19771
20745
|
}));
|
|
19772
20746
|
};
|
|
19773
20747
|
|
|
19774
|
-
var _excluded$
|
|
20748
|
+
var _excluded$i = ["route"];
|
|
19775
20749
|
var TabPane = antd.Tabs.TabPane;
|
|
19776
20750
|
var getId = function getId(str) {
|
|
19777
20751
|
// 找到最后一个 / 的位置
|
|
@@ -20712,7 +21686,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20712
21686
|
}); // 添加数据大屏
|
|
20713
21687
|
var _this$props3 = this.props,
|
|
20714
21688
|
route = _this$props3.route,
|
|
20715
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21689
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20716
21690
|
var exist = route.routes.find(function (route) {
|
|
20717
21691
|
return route.path === '/homePage/data-show';
|
|
20718
21692
|
});
|
|
@@ -21272,8 +22246,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21272
22246
|
};
|
|
21273
22247
|
};
|
|
21274
22248
|
|
|
21275
|
-
var css_248z$
|
|
21276
|
-
styleInject(css_248z$
|
|
22249
|
+
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";
|
|
22250
|
+
styleInject(css_248z$s);
|
|
21277
22251
|
|
|
21278
22252
|
var useSticky = function useSticky(sticky) {
|
|
21279
22253
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21685,10 +22659,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
21685
22659
|
}))))));
|
|
21686
22660
|
});
|
|
21687
22661
|
|
|
21688
|
-
var _excluded$
|
|
22662
|
+
var _excluded$j = ["children"];
|
|
21689
22663
|
var Drawer = (function (props) {
|
|
21690
22664
|
var children = props.children,
|
|
21691
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22665
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21692
22666
|
return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
|
|
21693
22667
|
mask: true,
|
|
21694
22668
|
closable: false,
|
|
@@ -27508,8 +28482,8 @@ var nameRender = (function (data) {
|
|
|
27508
28482
|
}, " ");
|
|
27509
28483
|
});
|
|
27510
28484
|
|
|
27511
|
-
var css_248z$
|
|
27512
|
-
styleInject(css_248z$
|
|
28485
|
+
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";
|
|
28486
|
+
styleInject(css_248z$t);
|
|
27513
28487
|
|
|
27514
28488
|
function parseData(data) {
|
|
27515
28489
|
var res;
|
|
@@ -27720,8 +28694,8 @@ function registerSuggestions(monaco) {
|
|
|
27720
28694
|
});
|
|
27721
28695
|
}
|
|
27722
28696
|
|
|
27723
|
-
var css_248z$
|
|
27724
|
-
styleInject(css_248z$
|
|
28697
|
+
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";
|
|
28698
|
+
styleInject(css_248z$u);
|
|
27725
28699
|
|
|
27726
28700
|
var Title = antd.Typography.Title;
|
|
27727
28701
|
var STRTEMP = 'const config = ';
|
|
@@ -27915,7 +28889,7 @@ var Editor = (function (props) {
|
|
|
27915
28889
|
}, [shallowHeight]);
|
|
27916
28890
|
var hasConfigTree = type !== 'editor';
|
|
27917
28891
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27918
|
-
className: isFull ? css_248z$
|
|
28892
|
+
className: isFull ? css_248z$u.editorWrapper : ''
|
|
27919
28893
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27920
28894
|
style: {
|
|
27921
28895
|
overflow: 'hidden'
|
|
@@ -27983,7 +28957,7 @@ var Editor = (function (props) {
|
|
|
27983
28957
|
})), hasConfigTree && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
27984
28958
|
span: 8
|
|
27985
28959
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27986
|
-
className: css_248z$
|
|
28960
|
+
className: css_248z$u.title
|
|
27987
28961
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React__default['default'].createElement(ConfigTree, {
|
|
27988
28962
|
style: {
|
|
27989
28963
|
height: 'calc(100vh - 300px)',
|
|
@@ -29864,8 +30838,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29864
30838
|
})), fieldsModify.visible && /*#__PURE__*/React__default['default'].createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29865
30839
|
});
|
|
29866
30840
|
|
|
29867
|
-
var css_248z$
|
|
29868
|
-
styleInject(css_248z$
|
|
30841
|
+
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";
|
|
30842
|
+
styleInject(css_248z$v);
|
|
29869
30843
|
|
|
29870
30844
|
function iterFileds(fields) {
|
|
29871
30845
|
var filedsValue = [];
|
|
@@ -30467,7 +31441,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30467
31441
|
});
|
|
30468
31442
|
};
|
|
30469
31443
|
|
|
30470
|
-
var _excluded$
|
|
31444
|
+
var _excluded$k = ["sorter"];
|
|
30471
31445
|
/**
|
|
30472
31446
|
* 删掉查询条件的qp- 和 -eq等
|
|
30473
31447
|
* @param {object} data
|
|
@@ -30550,7 +31524,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30550
31524
|
var _requestConfig$method;
|
|
30551
31525
|
var params = _ref.params;
|
|
30552
31526
|
var sorter = params.sorter,
|
|
30553
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31527
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30554
31528
|
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) || {}), {
|
|
30555
31529
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30556
31530
|
});
|
|
@@ -31405,8 +32379,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31405
32379
|
});
|
|
31406
32380
|
};
|
|
31407
32381
|
|
|
31408
|
-
var css_248z$
|
|
31409
|
-
styleInject(css_248z$
|
|
32382
|
+
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";
|
|
32383
|
+
styleInject(css_248z$w);
|
|
31410
32384
|
|
|
31411
32385
|
// 查询规则对象属性thresholdList
|
|
31412
32386
|
function getRegularThresholdRange(_x) {
|
|
@@ -31841,7 +32815,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31841
32815
|
}
|
|
31842
32816
|
callback(values, valueNames);
|
|
31843
32817
|
},
|
|
31844
|
-
|
|
32818
|
+
highestPopContainer: function highestPopContainer() {
|
|
31845
32819
|
return document.body;
|
|
31846
32820
|
}
|
|
31847
32821
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -31874,27 +32848,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31874
32848
|
}
|
|
31875
32849
|
callback(values, valueNames);
|
|
31876
32850
|
},
|
|
31877
|
-
|
|
32851
|
+
highestPopContainer: function highestPopContainer() {
|
|
31878
32852
|
return document.body;
|
|
31879
32853
|
}
|
|
31880
32854
|
}));
|
|
31881
32855
|
} else {
|
|
31882
32856
|
var _values;
|
|
31883
|
-
var currentValue = dataInputBusinessType === 12 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
|
|
32857
|
+
var currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
|
|
31884
32858
|
return {
|
|
31885
32859
|
key: s,
|
|
31886
|
-
label: valueNames[vIndex]
|
|
32860
|
+
label: valueNames[vIndex],
|
|
32861
|
+
value: s
|
|
31887
32862
|
};
|
|
31888
32863
|
})) || [] : values[0] && {
|
|
31889
32864
|
key: values[0],
|
|
31890
|
-
label: valueNames[0]
|
|
32865
|
+
label: valueNames[0],
|
|
32866
|
+
value: values[0]
|
|
31891
32867
|
} || {};
|
|
31892
32868
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
31893
32869
|
selectBusinessType: "physicalWarehouse",
|
|
31894
32870
|
selectProps: _objectSpread2({
|
|
31895
32871
|
style: styleCommon,
|
|
31896
32872
|
placeholder: '请选择物理仓'
|
|
31897
|
-
}, dataInputBusinessType === 12 ? {
|
|
32873
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
31898
32874
|
mode: 'multiple',
|
|
31899
32875
|
maxTagCount: 1
|
|
31900
32876
|
} : {}),
|
|
@@ -31906,7 +32882,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31906
32882
|
filterInit: 'qp-physicalWarehouseCode-in'
|
|
31907
32883
|
},
|
|
31908
32884
|
onChange: function onChange(value) {
|
|
31909
|
-
if (dataInputBusinessType === 12) {
|
|
32885
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
31910
32886
|
values = value.map(function (i) {
|
|
31911
32887
|
return i.key;
|
|
31912
32888
|
}) || [];
|
|
@@ -31919,7 +32895,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31919
32895
|
}
|
|
31920
32896
|
callback(values, valueNames);
|
|
31921
32897
|
},
|
|
31922
|
-
|
|
32898
|
+
highestPopContainer: function highestPopContainer() {
|
|
31923
32899
|
return document.body;
|
|
31924
32900
|
}
|
|
31925
32901
|
});
|
|
@@ -31958,7 +32934,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31958
32934
|
}
|
|
31959
32935
|
callback(values, valueNames);
|
|
31960
32936
|
},
|
|
31961
|
-
|
|
32937
|
+
highestPopContainer: function highestPopContainer() {
|
|
31962
32938
|
return document.body;
|
|
31963
32939
|
}
|
|
31964
32940
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -31991,27 +32967,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31991
32967
|
}
|
|
31992
32968
|
callback(values, valueNames);
|
|
31993
32969
|
},
|
|
31994
|
-
|
|
32970
|
+
highestPopContainer: function highestPopContainer() {
|
|
31995
32971
|
return document.body;
|
|
31996
32972
|
}
|
|
31997
32973
|
}));
|
|
31998
32974
|
} else {
|
|
31999
32975
|
var _values2;
|
|
32000
|
-
var _currentValue = dataInputBusinessType === 12 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
|
|
32976
|
+
var _currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
|
|
32001
32977
|
return {
|
|
32002
32978
|
key: s,
|
|
32003
|
-
label: valueNames[vIndex]
|
|
32979
|
+
label: valueNames[vIndex],
|
|
32980
|
+
value: s
|
|
32004
32981
|
};
|
|
32005
32982
|
})) || [] : values[0] && {
|
|
32006
32983
|
key: values[0],
|
|
32007
|
-
label: valueNames[0]
|
|
32984
|
+
label: valueNames[0],
|
|
32985
|
+
value: values[0]
|
|
32008
32986
|
} || {};
|
|
32009
32987
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32010
32988
|
selectBusinessType: "realWarehouse",
|
|
32011
32989
|
selectProps: _objectSpread2({
|
|
32012
32990
|
style: styleCommon,
|
|
32013
32991
|
placeholder: '请选择逻辑仓'
|
|
32014
|
-
}, dataInputBusinessType === 12 ? {
|
|
32992
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32015
32993
|
mode: 'multiple',
|
|
32016
32994
|
maxTagCount: 1
|
|
32017
32995
|
} : {}),
|
|
@@ -32023,7 +33001,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32023
33001
|
filterInit: 'qp-realWarehouseCode-in'
|
|
32024
33002
|
},
|
|
32025
33003
|
onChange: function onChange(value) {
|
|
32026
|
-
if (dataInputBusinessType === 12) {
|
|
33004
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32027
33005
|
values = value.map(function (i) {
|
|
32028
33006
|
return i.key;
|
|
32029
33007
|
}) || [];
|
|
@@ -32036,7 +33014,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32036
33014
|
}
|
|
32037
33015
|
callback(values, valueNames);
|
|
32038
33016
|
},
|
|
32039
|
-
|
|
33017
|
+
highestPopContainer: function highestPopContainer() {
|
|
32040
33018
|
return document.body;
|
|
32041
33019
|
}
|
|
32042
33020
|
});
|
|
@@ -32075,7 +33053,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32075
33053
|
}
|
|
32076
33054
|
callback(values, valueNames);
|
|
32077
33055
|
},
|
|
32078
|
-
|
|
33056
|
+
highestPopContainer: function highestPopContainer() {
|
|
32079
33057
|
return document.body;
|
|
32080
33058
|
}
|
|
32081
33059
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -32108,27 +33086,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32108
33086
|
}
|
|
32109
33087
|
callback(values, valueNames);
|
|
32110
33088
|
},
|
|
32111
|
-
|
|
33089
|
+
highestPopContainer: function highestPopContainer() {
|
|
32112
33090
|
return document.body;
|
|
32113
33091
|
}
|
|
32114
33092
|
}));
|
|
32115
33093
|
} else {
|
|
32116
33094
|
var _values3;
|
|
32117
|
-
var _currentValue2 = dataInputBusinessType === 12 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
|
|
33095
|
+
var _currentValue2 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
|
|
32118
33096
|
return {
|
|
32119
33097
|
key: s,
|
|
32120
|
-
label: valueNames[vIndex]
|
|
33098
|
+
label: valueNames[vIndex],
|
|
33099
|
+
value: s
|
|
32121
33100
|
};
|
|
32122
33101
|
})) || [] : values[0] && {
|
|
32123
33102
|
key: values[0],
|
|
32124
|
-
label: valueNames[0]
|
|
33103
|
+
label: valueNames[0],
|
|
33104
|
+
value: values[0]
|
|
32125
33105
|
} || {};
|
|
32126
33106
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32127
33107
|
selectBusinessType: "virtualWarehouse",
|
|
32128
33108
|
selectProps: _objectSpread2({
|
|
32129
33109
|
style: styleCommon,
|
|
32130
33110
|
placeholder: '请选择虚拟仓'
|
|
32131
|
-
}, dataInputBusinessType === 12 ? {
|
|
33111
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32132
33112
|
mode: 'multiple',
|
|
32133
33113
|
maxTagCount: 1
|
|
32134
33114
|
} : {}),
|
|
@@ -32140,7 +33120,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32140
33120
|
filterInit: 'qp-virtualWarehouseCode-in'
|
|
32141
33121
|
},
|
|
32142
33122
|
onChange: function onChange(value) {
|
|
32143
|
-
if (dataInputBusinessType === 12) {
|
|
33123
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32144
33124
|
values = value.map(function (i) {
|
|
32145
33125
|
return i.key;
|
|
32146
33126
|
}) || [];
|
|
@@ -32153,7 +33133,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32153
33133
|
}
|
|
32154
33134
|
callback(values, valueNames);
|
|
32155
33135
|
},
|
|
32156
|
-
|
|
33136
|
+
highestPopContainer: function highestPopContainer() {
|
|
32157
33137
|
return document.body;
|
|
32158
33138
|
}
|
|
32159
33139
|
});
|
|
@@ -32225,27 +33205,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32225
33205
|
}
|
|
32226
33206
|
callback(values, valueNames);
|
|
32227
33207
|
},
|
|
32228
|
-
|
|
33208
|
+
highestPopContainer: function highestPopContainer() {
|
|
32229
33209
|
return document.body;
|
|
32230
33210
|
}
|
|
32231
33211
|
}));
|
|
32232
33212
|
} else {
|
|
32233
33213
|
var _values4;
|
|
32234
|
-
var _currentValue3 = dataInputBusinessType === 12 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
|
|
33214
|
+
var _currentValue3 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
|
|
32235
33215
|
return {
|
|
32236
33216
|
key: s,
|
|
32237
|
-
label: valueNames[vIndex]
|
|
33217
|
+
label: valueNames[vIndex],
|
|
33218
|
+
value: s
|
|
32238
33219
|
};
|
|
32239
33220
|
})) || [] : values[0] && {
|
|
32240
33221
|
key: values[0],
|
|
32241
|
-
label: valueNames[0]
|
|
33222
|
+
label: valueNames[0],
|
|
33223
|
+
value: values[0]
|
|
32242
33224
|
} || {};
|
|
32243
33225
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32244
33226
|
selectBusinessType: "channelWarehouse",
|
|
32245
33227
|
selectProps: _objectSpread2({
|
|
32246
33228
|
style: styleCommon,
|
|
32247
33229
|
placeholder: '请选择渠道仓'
|
|
32248
|
-
}, dataInputBusinessType === 12 ? {
|
|
33230
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32249
33231
|
mode: 'multiple',
|
|
32250
33232
|
maxTagCount: 1
|
|
32251
33233
|
} : {}),
|
|
@@ -32257,7 +33239,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32257
33239
|
filterInit: 'qp-channelWarehouseCode-in'
|
|
32258
33240
|
},
|
|
32259
33241
|
onChange: function onChange(value) {
|
|
32260
|
-
if (dataInputBusinessType === 12) {
|
|
33242
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32261
33243
|
values = value.map(function (i) {
|
|
32262
33244
|
return i.key;
|
|
32263
33245
|
}) || [];
|
|
@@ -32270,7 +33252,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32270
33252
|
}
|
|
32271
33253
|
callback(values, valueNames);
|
|
32272
33254
|
},
|
|
32273
|
-
|
|
33255
|
+
highestPopContainer: function highestPopContainer() {
|
|
32274
33256
|
return document.body;
|
|
32275
33257
|
}
|
|
32276
33258
|
});
|
|
@@ -32308,7 +33290,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32308
33290
|
}
|
|
32309
33291
|
callback(values, valueNames);
|
|
32310
33292
|
},
|
|
32311
|
-
|
|
33293
|
+
highestPopContainer: function highestPopContainer() {
|
|
32312
33294
|
return document.body;
|
|
32313
33295
|
}
|
|
32314
33296
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -32340,27 +33322,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32340
33322
|
}
|
|
32341
33323
|
callback(values, valueNames);
|
|
32342
33324
|
},
|
|
32343
|
-
|
|
33325
|
+
highestPopContainer: function highestPopContainer() {
|
|
32344
33326
|
return document.body;
|
|
32345
33327
|
}
|
|
32346
33328
|
}));
|
|
32347
33329
|
} else {
|
|
32348
33330
|
var _values5;
|
|
32349
|
-
var _currentValue4 = dataInputBusinessType === 12 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
|
|
33331
|
+
var _currentValue4 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
|
|
32350
33332
|
return {
|
|
32351
33333
|
key: s,
|
|
32352
|
-
label: valueNames[vIndex]
|
|
33334
|
+
label: valueNames[vIndex],
|
|
33335
|
+
value: s
|
|
32353
33336
|
};
|
|
32354
33337
|
})) || [] : values[0] && {
|
|
32355
33338
|
key: values[0],
|
|
32356
|
-
label: valueNames[0]
|
|
33339
|
+
label: valueNames[0],
|
|
33340
|
+
value: values[0]
|
|
32357
33341
|
} || {};
|
|
32358
33342
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32359
33343
|
selectBusinessType: "spuCommodity",
|
|
32360
33344
|
selectProps: _objectSpread2({
|
|
32361
33345
|
style: styleCommon,
|
|
32362
33346
|
placeholder: '请选择SPU'
|
|
32363
|
-
}, dataInputBusinessType === 12 ? {
|
|
33347
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32364
33348
|
mode: 'multiple',
|
|
32365
33349
|
maxTagCount: 1
|
|
32366
33350
|
} : {}),
|
|
@@ -32371,7 +33355,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32371
33355
|
filterInit: 'qp-itemCode-in'
|
|
32372
33356
|
},
|
|
32373
33357
|
onChange: function onChange(value) {
|
|
32374
|
-
if (dataInputBusinessType === 12) {
|
|
33358
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32375
33359
|
values = value.map(function (i) {
|
|
32376
33360
|
return i.key;
|
|
32377
33361
|
}) || [];
|
|
@@ -32384,7 +33368,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32384
33368
|
}
|
|
32385
33369
|
callback(values, valueNames);
|
|
32386
33370
|
},
|
|
32387
|
-
|
|
33371
|
+
highestPopContainer: function highestPopContainer() {
|
|
32388
33372
|
return document.body;
|
|
32389
33373
|
}
|
|
32390
33374
|
});
|
|
@@ -32460,21 +33444,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32460
33444
|
}));
|
|
32461
33445
|
} else {
|
|
32462
33446
|
var _values6;
|
|
32463
|
-
var _currentValue5 = dataInputBusinessType === 12 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
|
|
33447
|
+
var _currentValue5 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
|
|
32464
33448
|
return {
|
|
32465
33449
|
key: s,
|
|
32466
|
-
label: valueNames[vIndex]
|
|
33450
|
+
label: valueNames[vIndex],
|
|
33451
|
+
value: s
|
|
32467
33452
|
};
|
|
32468
33453
|
})) || [] : values[0] && {
|
|
32469
33454
|
key: values[0],
|
|
32470
|
-
label: valueNames[0]
|
|
33455
|
+
label: valueNames[0],
|
|
33456
|
+
value: values[0]
|
|
32471
33457
|
} || {};
|
|
32472
33458
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32473
33459
|
selectBusinessType: "skuCommodity",
|
|
32474
33460
|
selectProps: _objectSpread2({
|
|
32475
33461
|
style: styleCommon,
|
|
32476
33462
|
placeholder: '请选择商品'
|
|
32477
|
-
}, dataInputBusinessType === 12 ? {
|
|
33463
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32478
33464
|
mode: 'multiple',
|
|
32479
33465
|
maxTagCount: 1
|
|
32480
33466
|
} : {}),
|
|
@@ -32485,7 +33471,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32485
33471
|
filterInit: 'qp-skuCode-in'
|
|
32486
33472
|
},
|
|
32487
33473
|
onChange: function onChange(value) {
|
|
32488
|
-
if (dataInputBusinessType === 12) {
|
|
33474
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
32489
33475
|
values = value.map(function (i) {
|
|
32490
33476
|
return i.key;
|
|
32491
33477
|
}) || [];
|
|
@@ -32498,7 +33484,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32498
33484
|
}
|
|
32499
33485
|
callback(values, valueNames);
|
|
32500
33486
|
},
|
|
32501
|
-
|
|
33487
|
+
highestPopContainer: function highestPopContainer() {
|
|
32502
33488
|
return document.body;
|
|
32503
33489
|
}
|
|
32504
33490
|
});
|
|
@@ -32939,7 +33925,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32939
33925
|
}
|
|
32940
33926
|
callback(values, valueNames);
|
|
32941
33927
|
},
|
|
32942
|
-
|
|
33928
|
+
highestPopContainer: function highestPopContainer() {
|
|
32943
33929
|
return document.body;
|
|
32944
33930
|
}
|
|
32945
33931
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -32971,27 +33957,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32971
33957
|
}
|
|
32972
33958
|
callback(values, valueNames);
|
|
32973
33959
|
},
|
|
32974
|
-
|
|
33960
|
+
highestPopContainer: function highestPopContainer() {
|
|
32975
33961
|
return document.body;
|
|
32976
33962
|
}
|
|
32977
33963
|
}));
|
|
32978
33964
|
} else {
|
|
32979
33965
|
var _values7;
|
|
32980
|
-
var _currentValue6 = dataInputBusinessType === 12 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
|
|
33966
|
+
var _currentValue6 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
|
|
32981
33967
|
return {
|
|
32982
33968
|
key: s,
|
|
32983
|
-
label: valueNames[vIndex]
|
|
33969
|
+
label: valueNames[vIndex],
|
|
33970
|
+
value: s
|
|
32984
33971
|
};
|
|
32985
33972
|
})) || [] : values[0] && {
|
|
32986
33973
|
key: values[0],
|
|
32987
|
-
label: valueNames[0]
|
|
33974
|
+
label: valueNames[0],
|
|
33975
|
+
value: values[0]
|
|
32988
33976
|
} || {};
|
|
32989
33977
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
32990
33978
|
selectBusinessType: "supplier2",
|
|
32991
33979
|
selectProps: _objectSpread2({
|
|
32992
33980
|
style: styleCommon,
|
|
32993
33981
|
placeholder: '请选择供应商'
|
|
32994
|
-
}, dataInputBusinessType === 12 ? {
|
|
33982
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
32995
33983
|
mode: 'multiple',
|
|
32996
33984
|
maxTagCount: 1
|
|
32997
33985
|
} : {}),
|
|
@@ -33002,7 +33990,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33002
33990
|
filterInit: 'qp-code-in'
|
|
33003
33991
|
},
|
|
33004
33992
|
onChange: function onChange(value) {
|
|
33005
|
-
if (dataInputBusinessType === 12) {
|
|
33993
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33006
33994
|
values = value.map(function (i) {
|
|
33007
33995
|
return i.key;
|
|
33008
33996
|
}) || [];
|
|
@@ -33015,7 +34003,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33015
34003
|
}
|
|
33016
34004
|
callback(values, valueNames);
|
|
33017
34005
|
},
|
|
33018
|
-
|
|
34006
|
+
highestPopContainer: function highestPopContainer() {
|
|
33019
34007
|
return document.body;
|
|
33020
34008
|
}
|
|
33021
34009
|
});
|
|
@@ -33091,21 +34079,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33091
34079
|
}));
|
|
33092
34080
|
} else {
|
|
33093
34081
|
var _values8;
|
|
33094
|
-
var _currentValue7 = dataInputBusinessType === 12 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
|
|
34082
|
+
var _currentValue7 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
|
|
33095
34083
|
return {
|
|
33096
34084
|
key: s,
|
|
33097
|
-
label: valueNames[vIndex]
|
|
34085
|
+
label: valueNames[vIndex],
|
|
34086
|
+
value: s
|
|
33098
34087
|
};
|
|
33099
34088
|
})) || [] : values[0] && {
|
|
33100
34089
|
key: values[0],
|
|
33101
|
-
label: valueNames[0]
|
|
34090
|
+
label: valueNames[0],
|
|
34091
|
+
value: values[0]
|
|
33102
34092
|
} || {};
|
|
33103
34093
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33104
34094
|
selectBusinessType: "customer2",
|
|
33105
34095
|
selectProps: _objectSpread2({
|
|
33106
34096
|
style: styleCommon,
|
|
33107
34097
|
placeholder: '请选择客户'
|
|
33108
|
-
}, dataInputBusinessType === 12 ? {
|
|
34098
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33109
34099
|
mode: 'multiple',
|
|
33110
34100
|
maxTagCount: 1
|
|
33111
34101
|
} : {}),
|
|
@@ -33116,7 +34106,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33116
34106
|
filterInit: 'qp-code-in'
|
|
33117
34107
|
},
|
|
33118
34108
|
onChange: function onChange(value) {
|
|
33119
|
-
if (dataInputBusinessType === 12) {
|
|
34109
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33120
34110
|
values = value.map(function (i) {
|
|
33121
34111
|
return i.key;
|
|
33122
34112
|
}) || [];
|
|
@@ -33129,7 +34119,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33129
34119
|
}
|
|
33130
34120
|
callback(values, valueNames);
|
|
33131
34121
|
},
|
|
33132
|
-
|
|
34122
|
+
highestPopContainer: function highestPopContainer() {
|
|
33133
34123
|
return document.body;
|
|
33134
34124
|
}
|
|
33135
34125
|
});
|
|
@@ -33205,21 +34195,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33205
34195
|
}));
|
|
33206
34196
|
} else {
|
|
33207
34197
|
var _values9;
|
|
33208
|
-
var _currentValue8 = dataInputBusinessType === 12 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
|
|
34198
|
+
var _currentValue8 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
|
|
33209
34199
|
return {
|
|
33210
34200
|
key: s,
|
|
33211
|
-
label: valueNames[vIndex]
|
|
34201
|
+
label: valueNames[vIndex],
|
|
34202
|
+
value: s
|
|
33212
34203
|
};
|
|
33213
34204
|
})) || [] : values[0] && {
|
|
33214
34205
|
key: values[0],
|
|
33215
|
-
label: valueNames[0]
|
|
34206
|
+
label: valueNames[0],
|
|
34207
|
+
value: values[0]
|
|
33216
34208
|
} || {};
|
|
33217
34209
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33218
34210
|
selectBusinessType: "shopFile2",
|
|
33219
34211
|
selectProps: _objectSpread2({
|
|
33220
34212
|
style: styleCommon,
|
|
33221
34213
|
placeholder: '请选择店铺'
|
|
33222
|
-
}, dataInputBusinessType === 12 ? {
|
|
34214
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33223
34215
|
mode: 'multiple',
|
|
33224
34216
|
maxTagCount: 1
|
|
33225
34217
|
} : {}),
|
|
@@ -33230,7 +34222,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33230
34222
|
filterInit: 'qp-code-in'
|
|
33231
34223
|
},
|
|
33232
34224
|
onChange: function onChange(value) {
|
|
33233
|
-
if (dataInputBusinessType === 12) {
|
|
34225
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33234
34226
|
values = value.map(function (i) {
|
|
33235
34227
|
return i.key;
|
|
33236
34228
|
}) || [];
|
|
@@ -33243,7 +34235,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33243
34235
|
}
|
|
33244
34236
|
callback(values, valueNames);
|
|
33245
34237
|
},
|
|
33246
|
-
|
|
34238
|
+
highestPopContainer: function highestPopContainer() {
|
|
33247
34239
|
return document.body;
|
|
33248
34240
|
}
|
|
33249
34241
|
});
|
|
@@ -33319,21 +34311,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33319
34311
|
}));
|
|
33320
34312
|
} else {
|
|
33321
34313
|
var _values10;
|
|
33322
|
-
var _currentValue9 = dataInputBusinessType === 12 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
34314
|
+
var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
33323
34315
|
return {
|
|
33324
34316
|
key: s,
|
|
33325
|
-
label: valueNames[vIndex]
|
|
34317
|
+
label: valueNames[vIndex],
|
|
34318
|
+
value: s
|
|
33326
34319
|
};
|
|
33327
34320
|
})) || [] : values[0] && {
|
|
33328
34321
|
key: values[0],
|
|
33329
|
-
label: valueNames[0]
|
|
34322
|
+
label: valueNames[0],
|
|
34323
|
+
value: values[0]
|
|
33330
34324
|
} || {};
|
|
33331
34325
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33332
34326
|
selectBusinessType: "employee2",
|
|
33333
34327
|
selectProps: _objectSpread2({
|
|
33334
34328
|
style: styleCommon,
|
|
33335
34329
|
placeholder: '请选择员工'
|
|
33336
|
-
}, dataInputBusinessType === 12 ? {
|
|
34330
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33337
34331
|
mode: 'multiple',
|
|
33338
34332
|
maxTagCount: 1
|
|
33339
34333
|
} : {}),
|
|
@@ -33344,7 +34338,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33344
34338
|
filterInit: 'qp-id-in'
|
|
33345
34339
|
},
|
|
33346
34340
|
onChange: function onChange(value) {
|
|
33347
|
-
if (dataInputBusinessType === 12) {
|
|
34341
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33348
34342
|
values = value.map(function (i) {
|
|
33349
34343
|
return i.key;
|
|
33350
34344
|
}) || [];
|
|
@@ -33357,7 +34351,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33357
34351
|
}
|
|
33358
34352
|
callback(values, valueNames);
|
|
33359
34353
|
},
|
|
33360
|
-
|
|
34354
|
+
highestPopContainer: function highestPopContainer() {
|
|
33361
34355
|
return document.body;
|
|
33362
34356
|
}
|
|
33363
34357
|
});
|
|
@@ -33596,21 +34590,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33596
34590
|
}));
|
|
33597
34591
|
} else {
|
|
33598
34592
|
var _values11;
|
|
33599
|
-
var _currentValue10 = dataInputBusinessType === 12 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
34593
|
+
var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
33600
34594
|
return {
|
|
33601
34595
|
key: s,
|
|
33602
|
-
label: valueNames[vIndex]
|
|
34596
|
+
label: valueNames[vIndex],
|
|
34597
|
+
value: s
|
|
33603
34598
|
};
|
|
33604
34599
|
})) || [] : values[0] && {
|
|
33605
34600
|
key: values[0],
|
|
33606
|
-
label: valueNames[0]
|
|
34601
|
+
label: valueNames[0],
|
|
34602
|
+
value: values[0]
|
|
33607
34603
|
} || {};
|
|
33608
34604
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33609
34605
|
selectBusinessType: "deliveryMode",
|
|
33610
34606
|
selectProps: _objectSpread2({
|
|
33611
34607
|
style: styleCommon,
|
|
33612
34608
|
placeholder: '请选择配送方式'
|
|
33613
|
-
}, dataInputBusinessType === 12 ? {
|
|
34609
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33614
34610
|
mode: 'multiple',
|
|
33615
34611
|
maxTagCount: 1
|
|
33616
34612
|
} : {}),
|
|
@@ -33621,7 +34617,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33621
34617
|
filterInit: 'qp-code-in'
|
|
33622
34618
|
},
|
|
33623
34619
|
onChange: function onChange(value) {
|
|
33624
|
-
if (dataInputBusinessType === 12) {
|
|
34620
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33625
34621
|
values = value.map(function (i) {
|
|
33626
34622
|
return i.key;
|
|
33627
34623
|
}) || [];
|
|
@@ -33634,7 +34630,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33634
34630
|
}
|
|
33635
34631
|
callback(values, valueNames);
|
|
33636
34632
|
},
|
|
33637
|
-
|
|
34633
|
+
highestPopContainer: function highestPopContainer() {
|
|
33638
34634
|
return document.body;
|
|
33639
34635
|
}
|
|
33640
34636
|
});
|
|
@@ -33672,7 +34668,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33672
34668
|
}
|
|
33673
34669
|
callback(values, valueNames);
|
|
33674
34670
|
},
|
|
33675
|
-
|
|
34671
|
+
highestPopContainer: function highestPopContainer() {
|
|
33676
34672
|
return document.body;
|
|
33677
34673
|
}
|
|
33678
34674
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -33704,27 +34700,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33704
34700
|
}
|
|
33705
34701
|
callback(values, valueNames);
|
|
33706
34702
|
},
|
|
33707
|
-
|
|
34703
|
+
highestPopContainer: function highestPopContainer() {
|
|
33708
34704
|
return document.body;
|
|
33709
34705
|
}
|
|
33710
34706
|
}));
|
|
33711
34707
|
} else {
|
|
33712
34708
|
var _values12;
|
|
33713
|
-
var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
34709
|
+
var _currentValue11 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
33714
34710
|
return {
|
|
33715
34711
|
key: s,
|
|
33716
|
-
label: valueNames[vIndex]
|
|
34712
|
+
label: valueNames[vIndex],
|
|
34713
|
+
value: s
|
|
33717
34714
|
};
|
|
33718
34715
|
})) || [] : values[0] && {
|
|
33719
34716
|
key: values[0],
|
|
33720
|
-
label: valueNames[0]
|
|
34717
|
+
label: valueNames[0],
|
|
34718
|
+
value: values[0]
|
|
33721
34719
|
} || {};
|
|
33722
34720
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33723
34721
|
selectBusinessType: "role",
|
|
33724
34722
|
selectProps: _objectSpread2({
|
|
33725
34723
|
style: styleCommon,
|
|
33726
34724
|
placeholder: '请选择角色'
|
|
33727
|
-
}, dataInputBusinessType === 12 ? {
|
|
34725
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33728
34726
|
mode: 'multiple',
|
|
33729
34727
|
maxTagCount: 1
|
|
33730
34728
|
} : {}),
|
|
@@ -33735,7 +34733,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33735
34733
|
filterInit: 'qp-code-in'
|
|
33736
34734
|
},
|
|
33737
34735
|
onChange: function onChange(value) {
|
|
33738
|
-
if (dataInputBusinessType === 12) {
|
|
34736
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33739
34737
|
values = value.map(function (i) {
|
|
33740
34738
|
return i.key;
|
|
33741
34739
|
}) || [];
|
|
@@ -33748,7 +34746,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33748
34746
|
}
|
|
33749
34747
|
callback(values, valueNames);
|
|
33750
34748
|
},
|
|
33751
|
-
|
|
34749
|
+
highestPopContainer: function highestPopContainer() {
|
|
33752
34750
|
return document.body;
|
|
33753
34751
|
}
|
|
33754
34752
|
});
|
|
@@ -33786,7 +34784,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33786
34784
|
}
|
|
33787
34785
|
callback(values, valueNames);
|
|
33788
34786
|
},
|
|
33789
|
-
|
|
34787
|
+
highestPopContainer: function highestPopContainer() {
|
|
33790
34788
|
return document.body;
|
|
33791
34789
|
}
|
|
33792
34790
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
@@ -33818,27 +34816,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33818
34816
|
}
|
|
33819
34817
|
callback(values, valueNames);
|
|
33820
34818
|
},
|
|
33821
|
-
|
|
34819
|
+
highestPopContainer: function highestPopContainer() {
|
|
33822
34820
|
return document.body;
|
|
33823
34821
|
}
|
|
33824
34822
|
}));
|
|
33825
34823
|
} else {
|
|
33826
34824
|
var _values13;
|
|
33827
|
-
var _currentValue12 = dataInputBusinessType === 12 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
|
|
34825
|
+
var _currentValue12 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
|
|
33828
34826
|
return {
|
|
33829
34827
|
key: s,
|
|
33830
|
-
label: valueNames[vIndex]
|
|
34828
|
+
label: valueNames[vIndex],
|
|
34829
|
+
value: s
|
|
33831
34830
|
};
|
|
33832
34831
|
})) || [] : values[0] && {
|
|
33833
34832
|
key: values[0],
|
|
33834
|
-
label: valueNames[0]
|
|
34833
|
+
label: valueNames[0],
|
|
34834
|
+
value: values[0]
|
|
33835
34835
|
} || {};
|
|
33836
34836
|
return /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
33837
34837
|
selectBusinessType: "brand",
|
|
33838
34838
|
selectProps: _objectSpread2({
|
|
33839
34839
|
style: styleCommon,
|
|
33840
34840
|
placeholder: '请选择品牌'
|
|
33841
|
-
}, dataInputBusinessType === 12 ? {
|
|
34841
|
+
}, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
|
|
33842
34842
|
mode: 'multiple',
|
|
33843
34843
|
maxTagCount: 1
|
|
33844
34844
|
} : {}),
|
|
@@ -33849,7 +34849,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33849
34849
|
filterInit: 'qp-brandCode-in'
|
|
33850
34850
|
},
|
|
33851
34851
|
onChange: function onChange(value) {
|
|
33852
|
-
if (dataInputBusinessType === 12) {
|
|
34852
|
+
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
33853
34853
|
values = value.map(function (i) {
|
|
33854
34854
|
return i.key;
|
|
33855
34855
|
}) || [];
|
|
@@ -33862,7 +34862,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33862
34862
|
}
|
|
33863
34863
|
callback(values, valueNames);
|
|
33864
34864
|
},
|
|
33865
|
-
|
|
34865
|
+
highestPopContainer: function highestPopContainer() {
|
|
33866
34866
|
return document.body;
|
|
33867
34867
|
}
|
|
33868
34868
|
});
|
|
@@ -34311,7 +35311,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34311
35311
|
style: {
|
|
34312
35312
|
marginLeft: '10px'
|
|
34313
35313
|
},
|
|
34314
|
-
className: css_248z$
|
|
35314
|
+
className: css_248z$w.rule_field_style
|
|
34315
35315
|
}, this.renderConditionField());
|
|
34316
35316
|
}
|
|
34317
35317
|
}]);
|
|
@@ -34752,7 +35752,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34752
35752
|
disabled = _this$props.disabled;
|
|
34753
35753
|
return /*#__PURE__*/React__default['default'].createElement("div", null, ruleTypeData.map(function (i) {
|
|
34754
35754
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34755
|
-
className: css_248z$
|
|
35755
|
+
className: css_248z$w.action_list_item
|
|
34756
35756
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34757
35757
|
onClick: function onClick() {
|
|
34758
35758
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -36699,8 +37699,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36699
37699
|
}]);
|
|
36700
37700
|
}(React$1.Component);
|
|
36701
37701
|
|
|
36702
|
-
var css_248z$
|
|
36703
|
-
styleInject(css_248z$
|
|
37702
|
+
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";
|
|
37703
|
+
styleInject(css_248z$x);
|
|
36704
37704
|
|
|
36705
37705
|
var formatOperationList = function formatOperationList(data) {
|
|
36706
37706
|
var _result$find;
|
|
@@ -37433,13 +38433,13 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37433
38433
|
return /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
37434
38434
|
spinning: loading
|
|
37435
38435
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37436
|
-
className: css_248z$
|
|
38436
|
+
className: css_248z$x.base_rule
|
|
37437
38437
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37438
|
-
className: css_248z$
|
|
38438
|
+
className: css_248z$x.base_rule_content
|
|
37439
38439
|
}, /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37440
|
-
className: css_248z$
|
|
38440
|
+
className: css_248z$x.base_rule_line_title
|
|
37441
38441
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
37442
|
-
className: css_248z$
|
|
38442
|
+
className: css_248z$x.rule_title
|
|
37443
38443
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37444
38444
|
style: {
|
|
37445
38445
|
float: 'right'
|
|
@@ -37689,17 +38689,17 @@ var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37689
38689
|
})));
|
|
37690
38690
|
});
|
|
37691
38691
|
|
|
37692
|
-
var css_248z$
|
|
37693
|
-
styleInject(css_248z$
|
|
38692
|
+
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";
|
|
38693
|
+
styleInject(css_248z$y);
|
|
37694
38694
|
|
|
37695
|
-
var _excluded$
|
|
38695
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37696
38696
|
var Panel = antd.Collapse.Panel;
|
|
37697
38697
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37698
38698
|
var titleExtra = _ref.titleExtra,
|
|
37699
38699
|
header = _ref.header,
|
|
37700
38700
|
_ref$showArrow = _ref.showArrow,
|
|
37701
38701
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37702
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38702
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37703
38703
|
var renderHeader = function renderHeader() {
|
|
37704
38704
|
return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
|
|
37705
38705
|
align: "center"
|
|
@@ -37723,11 +38723,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37723
38723
|
}), props.children);
|
|
37724
38724
|
};
|
|
37725
38725
|
|
|
37726
|
-
var _excluded$
|
|
38726
|
+
var _excluded$m = ["children", "bordered"];
|
|
37727
38727
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37728
38728
|
var children = props.children,
|
|
37729
38729
|
bordered = props.bordered,
|
|
37730
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38730
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37731
38731
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37732
38732
|
className: classNames__default['default']({
|
|
37733
38733
|
'bs-collapse-wrap': true,
|
|
@@ -37741,9 +38741,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37741
38741
|
Board: ExtendedPanel
|
|
37742
38742
|
});
|
|
37743
38743
|
|
|
37744
|
-
var css_248z$
|
|
38744
|
+
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";
|
|
37745
38745
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37746
|
-
styleInject(css_248z$
|
|
38746
|
+
styleInject(css_248z$z);
|
|
37747
38747
|
|
|
37748
38748
|
var Paragraph = antd.Typography.Paragraph;
|
|
37749
38749
|
var Section = function Section(_ref) {
|
|
@@ -37865,7 +38865,9 @@ exports.HomePageWrapper = index$4;
|
|
|
37865
38865
|
exports.JsonQueryTable = JsonQueryTable;
|
|
37866
38866
|
exports.MoreTreeTable = index$6;
|
|
37867
38867
|
exports.ParagraphCopier = ParagraphCopier;
|
|
38868
|
+
exports.PropertySelector = PropertySelector;
|
|
37868
38869
|
exports.QueryMutipleInput = QueryMutipleInput;
|
|
38870
|
+
exports.QueryMutipleSearchSelect = QueryMutipleSearchSelect;
|
|
37869
38871
|
exports.RuleComponent = RuleObjectComponent;
|
|
37870
38872
|
exports.RuleSetter = index$7;
|
|
37871
38873
|
exports.SearchSelect = SearchSelect;
|