hrsass-components 1.7.39 → 1.7.41
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 +19 -13
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +41440 -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.41";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -11075,7 +11075,7 @@ var OrganizationCard = {
|
|
|
11075
11075
|
});
|
|
11076
11076
|
}
|
|
11077
11077
|
var colorStyle = {
|
|
11078
|
-
fill: color,
|
|
11078
|
+
fill: color || '#4285f4',
|
|
11079
11079
|
height: "4px"
|
|
11080
11080
|
};
|
|
11081
11081
|
return h("g", {
|
|
@@ -11091,7 +11091,7 @@ var OrganizationCard = {
|
|
|
11091
11091
|
height: height
|
|
11092
11092
|
},
|
|
11093
11093
|
"class": "".concat(prefixCls, "-container"),
|
|
11094
|
-
style: "fill: #ffffff;stroke:
|
|
11094
|
+
style: "fill: #ffffff;stroke: rgb(217, 217, 217);stroke-width: 1px"
|
|
11095
11095
|
}), colorType === 1 && h("rect", {
|
|
11096
11096
|
attrs: {
|
|
11097
11097
|
x: "0",
|
|
@@ -11121,15 +11121,15 @@ var OrganizationCard = {
|
|
|
11121
11121
|
}
|
|
11122
11122
|
}, [kind == 1 ? h(OrgSvg, {
|
|
11123
11123
|
attrs: {
|
|
11124
|
-
color:
|
|
11124
|
+
color: colorStyle.fill
|
|
11125
11125
|
}
|
|
11126
11126
|
}) : kind == 2 ? h(DepartSvg, {
|
|
11127
11127
|
attrs: {
|
|
11128
|
-
color:
|
|
11128
|
+
color: colorStyle.fill
|
|
11129
11129
|
}
|
|
11130
11130
|
}) : h(VirtualSvg, {
|
|
11131
11131
|
attrs: {
|
|
11132
|
-
color:
|
|
11132
|
+
color: colorStyle.fill
|
|
11133
11133
|
}
|
|
11134
11134
|
})]), h("text", {
|
|
11135
11135
|
attrs: {
|
|
@@ -11253,7 +11253,7 @@ var OrganizationCard = {
|
|
|
11253
11253
|
width: 1,
|
|
11254
11254
|
height: lineHeight
|
|
11255
11255
|
},
|
|
11256
|
-
style: "fill:#fff;stroke:
|
|
11256
|
+
style: "fill:#fff;stroke: rgb(217, 217, 217);stroke-width: 1px"
|
|
11257
11257
|
}), data.children && data.children.length > 0 && data.property.open &&
|
|
11258
11258
|
// <line
|
|
11259
11259
|
// class={`${prefixCls}-line`}
|
|
@@ -11271,7 +11271,7 @@ var OrganizationCard = {
|
|
|
11271
11271
|
width: 1,
|
|
11272
11272
|
height: lineHeight
|
|
11273
11273
|
},
|
|
11274
|
-
style: "fill:#fff;stroke:
|
|
11274
|
+
style: "fill:#fff;stroke: rgb(217, 217, 217);stroke-width: 1px"
|
|
11275
11275
|
}), data.property.count && data.property.count > 0 && h(IconBase, {
|
|
11276
11276
|
"class": "".concat(prefixCls, "-action"),
|
|
11277
11277
|
attrs: {
|
|
@@ -14181,8 +14181,7 @@ var index$h = {
|
|
|
14181
14181
|
});
|
|
14182
14182
|
}
|
|
14183
14183
|
if (!size) {
|
|
14184
|
-
|
|
14185
|
-
_this2.isDetailDelFile && _this2.$message.info('文件大小0kb');
|
|
14184
|
+
result = false;
|
|
14186
14185
|
}
|
|
14187
14186
|
if (!result) {
|
|
14188
14187
|
// this.$message.error(
|
|
@@ -14271,6 +14270,9 @@ var index$h = {
|
|
|
14271
14270
|
if (response.fileId) {
|
|
14272
14271
|
var value = this.multiple ? [].concat(_toConsumableArray(this.val), [response.fileId]) : response.fileId;
|
|
14273
14272
|
this.emitChange(value);
|
|
14273
|
+
fileList = fileList.filter(function (file) {
|
|
14274
|
+
return file.size;
|
|
14275
|
+
});
|
|
14274
14276
|
this.isMainUploadFile && this.validatorFile(response.fileId);
|
|
14275
14277
|
//this.$message.success(`${file.name}${this.locale.successText}`);
|
|
14276
14278
|
//this.$message.success(`${file.name || file.response.fileName}${this.locale.successText}`);产品需求,批量上传不提示上传成功
|
|
@@ -14288,9 +14290,7 @@ var index$h = {
|
|
|
14288
14290
|
return file;
|
|
14289
14291
|
});
|
|
14290
14292
|
//附件详情页,上传空文件删除不了,故排除上传为空的文件
|
|
14291
|
-
this.fileList = fileList
|
|
14292
|
-
return file.size;
|
|
14293
|
-
});
|
|
14293
|
+
this.fileList = fileList;
|
|
14294
14294
|
console.log('fileList-components', this.fileList);
|
|
14295
14295
|
},
|
|
14296
14296
|
realRemove: function realRemove(file) {
|
|
@@ -14318,6 +14318,12 @@ var index$h = {
|
|
|
14318
14318
|
var fId = file.response && file.response.fileId || file.uid;
|
|
14319
14319
|
return fId !== fileId;
|
|
14320
14320
|
});
|
|
14321
|
+
if (_this5.isMainUploadFile) {
|
|
14322
|
+
_this5.dataSource = _this5.dataSource.filter(function (file) {
|
|
14323
|
+
var fId = file.response && file.response.fileId || file.uid;
|
|
14324
|
+
return fId !== fileId;
|
|
14325
|
+
});
|
|
14326
|
+
}
|
|
14321
14327
|
if (_this5.multiple) {
|
|
14322
14328
|
var _value2 = _this5.value.filter(function (item) {
|
|
14323
14329
|
return "".concat(item) !== "".concat(fileId);
|