@kmkf-fe-packages/services-components 0.6.3-alpha.5 → 0.6.3-alpha.7
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.
|
@@ -100,6 +100,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
100
100
|
this.id = options.id;
|
|
101
101
|
this.type = options.type;
|
|
102
102
|
this.componentConfig = options.componentConfig;
|
|
103
|
+
this.effects = options.effects;
|
|
103
104
|
this.rules = [];
|
|
104
105
|
this.isCombinationComponent = false;
|
|
105
106
|
this.children = [];
|
|
@@ -74,6 +74,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
74
74
|
this.id = "".concat(options.id, "_enterprisePaymentAlipayNick");
|
|
75
75
|
this.type = options.type;
|
|
76
76
|
this.componentConfig = options.componentConfig;
|
|
77
|
+
this.effects = options.effects;
|
|
77
78
|
this.rules = [];
|
|
78
79
|
this.align = 'left';
|
|
79
80
|
this.width = 200;
|
|
@@ -55,8 +55,8 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
55
55
|
style: {
|
|
56
56
|
display: 'inline-block'
|
|
57
57
|
}
|
|
58
|
-
}, get(record, "".concat(_this.id, "_flag"))
|
|
59
|
-
className: "dz-iconfont dz-beizhu_qizhi f-lt ft_12 mr_5 ".concat(_this.flagColors[get(record, "".concat(_this.id, "_flag"))])
|
|
58
|
+
}, !isNull(get(record, "".concat(_this.id, "_flag"))) ? /*#__PURE__*/React.createElement("i", {
|
|
59
|
+
className: "dz-iconfont dz-beizhu_qizhi f-lt ft_12 mr_5 ".concat(_this.flagColors[Number(get(record, "".concat(_this.id, "_flag")))])
|
|
60
60
|
}) : null, /*#__PURE__*/React.createElement("span", null, get(record, "".concat(_this.id, "_remark"))));
|
|
61
61
|
});
|
|
62
62
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
@@ -30,7 +30,10 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
30
30
|
message.success('复制成功');
|
|
31
31
|
});
|
|
32
32
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
33
|
-
var _record$repeatConfig
|
|
33
|
+
var _record$repeatConfig;
|
|
34
|
+
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
|
|
35
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
36
|
+
}
|
|
34
37
|
return /*#__PURE__*/React.createElement("span", null, (record === null || record === void 0 ? void 0 : (_record$repeatConfig = record.repeatConfig) === null || _record$repeatConfig === void 0 ? void 0 : _record$repeatConfig.show) && /*#__PURE__*/React.createElement("img", {
|
|
35
38
|
src: repeatPng,
|
|
36
39
|
style: {
|
|
@@ -41,7 +44,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
41
44
|
var _this$effects, _this$effects2;
|
|
42
45
|
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleOpenRepeatList) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleOpenRepeatList(record === null || record === void 0 ? void 0 : record.repeatConfig));
|
|
43
46
|
}
|
|
44
|
-
}),
|
|
47
|
+
}), /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
|
|
45
48
|
onClick: function onClick() {
|
|
46
49
|
return _this.copyHandle(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
|
|
47
50
|
}
|
|
@@ -53,8 +56,8 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
53
56
|
}, /*#__PURE__*/React.createElement(CopyOutlined, null)))));
|
|
54
57
|
});
|
|
55
58
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
56
|
-
var
|
|
57
|
-
return (
|
|
59
|
+
var _record;
|
|
60
|
+
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
|
|
58
61
|
});
|
|
59
62
|
_defineProperty(this, "render", function () {
|
|
60
63
|
return null;
|
|
@@ -92,6 +95,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
92
95
|
this.id = options.id;
|
|
93
96
|
this.type = options.type;
|
|
94
97
|
this.componentConfig = options.componentConfig;
|
|
98
|
+
this.effects = options.effects;
|
|
95
99
|
this.rules = [];
|
|
96
100
|
this.isCombinationComponent = false;
|
|
97
101
|
this.children = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.6.3-alpha.
|
|
3
|
+
"version": "0.6.3-alpha.7",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"gitHooks": {
|
|
36
36
|
"pre-commit": "lint-staged"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "c6d50184e5afc3958f23362d233cbddf3404bedb"
|
|
39
39
|
}
|