hrsass-components 1.7.58 → 1.7.60
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 +16 -10
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +119968 -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 = "1.7.
|
|
68
|
+
var version = "1.7.60";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -3912,12 +3912,15 @@ var HrSelectEmp = {
|
|
|
3912
3912
|
},
|
|
3913
3913
|
handleChange: function handleChange(searchValue) {
|
|
3914
3914
|
this.searchValue = searchValue || '';
|
|
3915
|
+
//修复全删,input框清除不了
|
|
3916
|
+
if (!searchValue || searchValue === '') {
|
|
3917
|
+
this.$emit('change', undefined);
|
|
3918
|
+
}
|
|
3915
3919
|
},
|
|
3916
3920
|
handleSelect: function handleSelect(value, vnode) {
|
|
3917
3921
|
if (value && value.indexOf('$$') > -1) {
|
|
3918
3922
|
value = value.substr(0, value.indexOf('$$'));
|
|
3919
3923
|
}
|
|
3920
|
-
console.log(value);
|
|
3921
3924
|
var val = value ? +value : undefined;
|
|
3922
3925
|
var allVal = vnode ? _.cloneDeep(vnode.data.attrs.data) : null;
|
|
3923
3926
|
this.$emit('change', val, allVal);
|
|
@@ -3929,7 +3932,7 @@ var HrSelectEmp = {
|
|
|
3929
3932
|
}
|
|
3930
3933
|
},
|
|
3931
3934
|
handleFocus: function handleFocus() {
|
|
3932
|
-
//
|
|
3935
|
+
//this.searchValue = '';
|
|
3933
3936
|
},
|
|
3934
3937
|
isValueExist: function isValueExist() {
|
|
3935
3938
|
var _this2 = this;
|
|
@@ -4118,6 +4121,12 @@ var HrRichText = {
|
|
|
4118
4121
|
require("tinymce/plugins/emoticons/js/emojis");
|
|
4119
4122
|
}
|
|
4120
4123
|
});
|
|
4124
|
+
},
|
|
4125
|
+
onchange: function onchange() {
|
|
4126
|
+
var props = _objectSpread$8(_objectSpread$8({}, this.$props), {}, {
|
|
4127
|
+
init: this.initReset
|
|
4128
|
+
});
|
|
4129
|
+
this.$emit('change', props.value);
|
|
4121
4130
|
}
|
|
4122
4131
|
},
|
|
4123
4132
|
mounted: function mounted() {},
|
|
@@ -4126,6 +4135,8 @@ var HrRichText = {
|
|
|
4126
4135
|
var props = _objectSpread$8(_objectSpread$8({}, this.$props), {}, {
|
|
4127
4136
|
init: this.initReset
|
|
4128
4137
|
});
|
|
4138
|
+
console.log('props', props);
|
|
4139
|
+
console.log('props-value', this.value);
|
|
4129
4140
|
if (this.readOnly) {
|
|
4130
4141
|
props.disabled = true;
|
|
4131
4142
|
}
|
|
@@ -4638,11 +4649,6 @@ var HrDynamic = {
|
|
|
4638
4649
|
value: value,
|
|
4639
4650
|
init: richInit,
|
|
4640
4651
|
disabled: disabled
|
|
4641
|
-
},
|
|
4642
|
-
on: {
|
|
4643
|
-
"change": function change(val) {
|
|
4644
|
-
_this.$emit("change", val);
|
|
4645
|
-
}
|
|
4646
4652
|
}
|
|
4647
4653
|
})]);
|
|
4648
4654
|
}
|
|
@@ -7276,8 +7282,8 @@ var HrTableBase = {
|
|
|
7276
7282
|
},
|
|
7277
7283
|
style: {
|
|
7278
7284
|
width: "".concat(item.width, "px"),
|
|
7279
|
-
color: item.
|
|
7280
|
-
}
|
|
7285
|
+
color: item.textColor
|
|
7286
|
+
} //扩展textColor自定义字体颜色功能
|
|
7281
7287
|
,
|
|
7282
7288
|
"class": cellClass
|
|
7283
7289
|
}, [text, item.encryption && !this._isEmpty(v) && h(antDesignVue.Icon, {
|