hrsass-components 2.3.4 → 2.3.5
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/lib/hrsass-components.js
CHANGED
|
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
|
|
|
65
65
|
var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
|
|
66
66
|
var saveSvgAsPng = require('save-svg-as-png');
|
|
67
67
|
|
|
68
|
-
var version = "2.3.
|
|
68
|
+
var version = "2.3.5";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -8235,9 +8235,9 @@ var index = {
|
|
|
8235
8235
|
});
|
|
8236
8236
|
}) ? _selectedUpdateRows : this.selectedUpdateRows.concat(_selectedUpdateRows);
|
|
8237
8237
|
if (this.keepSelected) {
|
|
8238
|
-
var notInCurrentPageRows =
|
|
8238
|
+
var notInCurrentPageRows = this.selectedRowsList.filter(function (item) {
|
|
8239
8239
|
return !_this2.selectedUpdateRows.some(function (selectedItem) {
|
|
8240
|
-
return
|
|
8240
|
+
return item.id === selectedItem.id;
|
|
8241
8241
|
});
|
|
8242
8242
|
});
|
|
8243
8243
|
this.selectedUpdateRows = this.selectedUpdateRows.concat(notInCurrentPageRows);
|
|
@@ -8424,6 +8424,8 @@ var index = {
|
|
|
8424
8424
|
conditionList: [].concat(_toConsumableArray(fitlerOtehrConditionListDeepClone), _toConsumableArray(fitlerConditionListDeepClone))
|
|
8425
8425
|
}).then(function (res) {
|
|
8426
8426
|
var _this6$selectedRowsLi, _this6$selectedRowsLi2;
|
|
8427
|
+
//res.dataList根据rowKey去重
|
|
8428
|
+
res.dataList = _.uniqBy(res.dataList, _this6.rowKey || 'id');
|
|
8427
8429
|
//外部处理数据
|
|
8428
8430
|
if (lodash.isFunction(normalizeData)) {
|
|
8429
8431
|
res = normalizeData(res);
|
|
@@ -8441,7 +8443,7 @@ var index = {
|
|
|
8441
8443
|
if (_this6.keepSelected) {
|
|
8442
8444
|
var notInCurrentPageRows = _this6.selectedRowsList.filter(function (item) {
|
|
8443
8445
|
return !_this6.selectedUpdateRows.some(function (selectedItem) {
|
|
8444
|
-
return
|
|
8446
|
+
return item.id === selectedItem.id;
|
|
8445
8447
|
});
|
|
8446
8448
|
});
|
|
8447
8449
|
_this6.selectedUpdateRows = _this6.selectedUpdateRows.concat(notInCurrentPageRows);
|