hrsass-components 1.7.68 → 1.7.70

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.
@@ -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 = "1.7.68";
68
+ var version = "1.7.70";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -966,7 +966,7 @@ var HrConstantCode = {
966
966
  var code = _this.code,
967
967
  filterCode = _this.filterCode;
968
968
  return new Promise(function (resolve) {
969
- _this.$axios.get("/platform/code/getSubCodeSelectorDataDTO.search?typeCode=".concat(code, "&filterCode=").concat(filterCode), {
969
+ _this.$axios.post("/platform/code/getSubCodeSelectorDataDTO.search?typeCode=".concat(code, "&filterCode=").concat(filterCode), {
970
970
  filterStr: val
971
971
  }).then(function (res) {
972
972
  _this.dataset = _this.dataset.concat(res.codeList || []);
@@ -1110,7 +1110,7 @@ var HrConstantCode = {
1110
1110
  filterCode = this.filterCode;
1111
1111
  return new Promise(function (resolve) {
1112
1112
  var _id = treeNode.dataRef._id;
1113
- _this3.$axios.post("/platform/code/getSubCodeSelectorDataDTO.search?typeCode=".concat(code, "&filterCode=").concat(filterCode, "&parentId=").concat(_id)).then(function (res) {
1113
+ _this3.$axios.get("/platform/code/getSubCodeSelectorDataDTO.search?typeCode=".concat(code, "&filterCode=").concat(filterCode, "&parentId=").concat(_id)).then(function (res) {
1114
1114
  _this3.dataset = _this3.dataset.concat(res.codeList || []);
1115
1115
  resolve();
1116
1116
  });
@@ -8235,7 +8235,7 @@ var index = {
8235
8235
  }).length;
8236
8236
  if (action.fixed) lockLen++;
8237
8237
  if (lockLen > 0) {
8238
- var paddingWidth = dataSource.length > 0 ? 17 : 0;
8238
+ var paddingWidth = dataSource.length > 0 && action.fixed ? 17 : 0;
8239
8239
  var columns = columnList.filter(function (o) {
8240
8240
  return o.checked != false && o.display;
8241
8241
  });
@@ -8249,7 +8249,7 @@ var index = {
8249
8249
  return o.width + paddingWidth;
8250
8250
  }).reduce(function (prev, curr) {
8251
8251
  return prev + curr;
8252
- });
8252
+ }, 0);
8253
8253
  var selectionWidth = selection ? 62 : 0;
8254
8254
  var actionWidth = 100;
8255
8255
  if ($scopedSlots.action) {