hrsass-components 2.3.2 → 2.3.3

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 = "2.3.2";
68
+ var version = "2.3.3";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -4687,7 +4687,8 @@ var HrDynamic = {
4687
4687
  attrs: _objectSpread$9(_objectSpread$9({
4688
4688
  code: code,
4689
4689
  value: value,
4690
- placeholder: placeHolderVal
4690
+ placeholder: placeHolderVal,
4691
+ multiple: multiple
4691
4692
  }, $attrs), {}, {
4692
4693
  queryData: queryData
4693
4694
  }),
@@ -4697,7 +4698,7 @@ var HrDynamic = {
4697
4698
  },
4698
4699
  on: {
4699
4700
  change: function change(val, data) {
4700
- _this.$emit("change", val, _this);
4701
+ _this.$emit("change", val, _this, data);
4701
4702
  }
4702
4703
  }
4703
4704
  }), name === "ICONSELECT" && h("IconSelect", {
@@ -4920,7 +4921,8 @@ var ToolbarProps = {
4920
4921
  defaultShowCount: VuePropTypes.number,
4921
4922
  showFilter: VuePropTypes.bool,
4922
4923
  schemeList: VuePropTypes.array,
4923
- selectedSchemeId: VuePropTypes.any
4924
+ selectedSchemeId: VuePropTypes.any,
4925
+ showSetting: VuePropTypes.bool
4924
4926
  };
4925
4927
  var ResultProps = {
4926
4928
  prefixCls: VuePropTypes.string,
@@ -4957,12 +4959,14 @@ var TableToolbar = {
4957
4959
  //查询条件
4958
4960
  selectedRows: [],
4959
4961
  //已选中的行
4960
- locale: {},
4962
+ locale: defaultLocale.HrTable,
4961
4963
  //多语言
4962
4964
  defaultShowCount: 6,
4963
4965
  //默认展示数
4964
4966
  showFilter: true,
4965
4967
  //显示侧边过滤
4968
+ showSetting: true,
4969
+ //显示设置
4966
4970
  schemeList: [],
4967
4971
  //筛选方案
4968
4972
  selectedSchemeId: undefined //选择的方案id
@@ -5010,6 +5014,9 @@ var TableToolbar = {
5010
5014
  return this.schemeList.length > 0;
5011
5015
  }
5012
5016
  },
5017
+ mounted: function mounted() {
5018
+ this.data && this.data.length && this._initResize();
5019
+ },
5013
5020
  beforeDestroy: function beforeDestroy() {
5014
5021
  if (this.timer) {
5015
5022
  clearTimeout(this.timer);
@@ -5297,7 +5304,8 @@ var TableToolbar = {
5297
5304
  var _getOptionProps2 = getOptionProps(this),
5298
5305
  showDownload = _getOptionProps2.showDownload,
5299
5306
  locale = _getOptionProps2.locale,
5300
- showFilter = _getOptionProps2.showFilter;
5307
+ showFilter = _getOptionProps2.showFilter,
5308
+ showSetting = _getOptionProps2.showSetting;
5301
5309
  return h("div", {
5302
5310
  "class": classNames(prefixCls, cls)
5303
5311
  }, [this.renderSearch(), ($slots["default"] || dataVal.length > 0) && h(antDesignVue.Row, {
@@ -5335,7 +5343,7 @@ var TableToolbar = {
5335
5343
  _this6.$emit("filterClick");
5336
5344
  }
5337
5345
  }
5338
- }), h(antDesignVue.Icon, {
5346
+ }), showSetting && h(antDesignVue.Icon, {
5339
5347
  attrs: {
5340
5348
  type: "setting",
5341
5349
  title: locale.setting
@@ -15125,6 +15133,7 @@ exports.HrSelectEmpsInput = HrSelectEmpsInput;
15125
15133
  exports.HrSetId = HrSetId;
15126
15134
  exports.HrTable = index;
15127
15135
  exports.HrTableBase = HrTableBase;
15136
+ exports.HrTableToolbar = TableToolbar;
15128
15137
  exports.HrTest = index$i;
15129
15138
  exports.HrToolbar = Toolbar;
15130
15139
  exports.HrTree = index$2;