hrsass-components 2.2.3 → 2.2.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 +7 -3
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +5240 -0
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.2.
|
|
68
|
+
var version = "2.2.5";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -8050,6 +8050,9 @@ var index = {
|
|
|
8050
8050
|
}).includes(item.id + '');
|
|
8051
8051
|
});
|
|
8052
8052
|
this.selectedUpdateRows = _selectedUpdateRows;
|
|
8053
|
+
this.selectedUpdateRows = this.selectedUpdateRows.find(function (item) {
|
|
8054
|
+
return item.t_0_hid === _selectedUpdateRows[0].t_0_hid || item.id === _selectedUpdateRows[0].id;
|
|
8055
|
+
}) ? this.selectedUpdateRows : this.selectedUpdateRows.concat(_selectedUpdateRows);
|
|
8053
8056
|
},
|
|
8054
8057
|
immediate: true
|
|
8055
8058
|
}
|
|
@@ -8231,14 +8234,15 @@ var index = {
|
|
|
8231
8234
|
sortList: sort,
|
|
8232
8235
|
conditionList: [].concat(_toConsumableArray(fitlerOtehrConditionListDeepClone), _toConsumableArray(fitlerConditionListDeepClone))
|
|
8233
8236
|
}).then(function (res) {
|
|
8237
|
+
var _this5$selectedRowsLi, _this5$selectedUpdate, _this5$dataSource;
|
|
8234
8238
|
//外部处理数据
|
|
8235
8239
|
if (lodash.isFunction(normalizeData)) {
|
|
8236
8240
|
res = normalizeData(res);
|
|
8237
8241
|
}
|
|
8238
8242
|
//处理props传入的已选中
|
|
8239
|
-
if (_this5.selectedRowsList.length > 0 && _this5.selectedUpdateRows.length == 0 && _this5.dataSource.length == 0) {
|
|
8243
|
+
if ((_this5 === null || _this5 === void 0 || (_this5$selectedRowsLi = _this5.selectedRowsList) === null || _this5$selectedRowsLi === void 0 ? void 0 : _this5$selectedRowsLi.length) > 0 && (_this5 === null || _this5 === void 0 || (_this5$selectedUpdate = _this5.selectedUpdateRows) === null || _this5$selectedUpdate === void 0 ? void 0 : _this5$selectedUpdate.length) == 0 && (_this5 === null || _this5 === void 0 || (_this5$dataSource = _this5.dataSource) === null || _this5$dataSource === void 0 ? void 0 : _this5$dataSource.length) == 0) {
|
|
8240
8244
|
_this5.selectedUpdateRows = res.dataList.filter(function (item) {
|
|
8241
|
-
return _this5.selectedRowsList.includes(item.t_0_hid) || _this5.selectedRowsList.map(function (id) {
|
|
8245
|
+
return _this5.selectedRowsList.includes(item.t_0_hid) || (_this5.selectedRowsList || []).map(function (id) {
|
|
8242
8246
|
return id + '';
|
|
8243
8247
|
}).includes(item.id + '');
|
|
8244
8248
|
});
|