@kmkf-fe-packages/services-components 1.21.11-beta.3 → 1.22.0
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.
|
@@ -1289,7 +1289,6 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1289
1289
|
_ref14$options = _ref14.options,
|
|
1290
1290
|
options = _ref14$options === void 0 ? [] : _ref14$options;
|
|
1291
1291
|
var msgTypeCh = {
|
|
1292
|
-
pdd: '拼多多',
|
|
1293
1292
|
ding: '钉钉',
|
|
1294
1293
|
wechat: '微信',
|
|
1295
1294
|
qq: 'QQ',
|
|
@@ -1334,7 +1333,7 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1334
1333
|
var key = item.msgType || 'ding';
|
|
1335
1334
|
var formatMsgContent = /*#__PURE__*/React.createElement("span", {
|
|
1336
1335
|
key: index
|
|
1337
|
-
}, msgTypeCh[key]
|
|
1336
|
+
}, msgTypeCh[key], "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
|
|
1338
1337
|
return /*#__PURE__*/React.createElement("div", {
|
|
1339
1338
|
key: "wrap_".concat(index),
|
|
1340
1339
|
style: {
|
|
@@ -39,15 +39,10 @@ var typeMap = {
|
|
|
39
39
|
label: '等待执行',
|
|
40
40
|
color: '#e7780f'
|
|
41
41
|
}, {
|
|
42
|
-
oldValue: '
|
|
42
|
+
oldValue: '等待发送',
|
|
43
43
|
value: '不满足条件,无需执行',
|
|
44
44
|
label: '不满足条件,无需执行',
|
|
45
45
|
color: '#8A8A8A'
|
|
46
|
-
}, {
|
|
47
|
-
oldValue: '暂不满足条件,等待执行',
|
|
48
|
-
value: '暂不满足条件,等待执行',
|
|
49
|
-
label: '暂不满足条件,等待执行',
|
|
50
|
-
color: '#4D90F7'
|
|
51
46
|
}],
|
|
52
47
|
key: 'msgStatusValues',
|
|
53
48
|
code: 'msgStatus4Search',
|
|
@@ -60,7 +55,6 @@ var typeMap = {
|
|
|
60
55
|
}
|
|
61
56
|
};
|
|
62
57
|
var msgTypeCh = {
|
|
63
|
-
pdd: '拼多多',
|
|
64
58
|
ding: '钉钉',
|
|
65
59
|
wechat: '微信',
|
|
66
60
|
qq: 'QQ',
|
|
@@ -140,7 +134,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
140
134
|
return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
|
|
141
135
|
});
|
|
142
136
|
var key = item.msgType || 'ding';
|
|
143
|
-
return "".concat(msgTypeCh[key]
|
|
137
|
+
return "".concat(msgTypeCh[key], "-").concat(item.ruleName, ":").concat(currentOption ? (currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) || '' : (item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type15 = typeMap[_this.type]) === null || _typeMap$_this$type15 === void 0 ? void 0 : _typeMap$_this$type15.valueKey]) || '');
|
|
144
138
|
}).join(',');
|
|
145
139
|
});
|
|
146
140
|
_defineProperty(this, "editRender", function (p) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "1.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.22.0",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.22.0",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
28
28
|
"react-pdf-js": "^5.1.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "71df1a3bb82c29f2f459f69c5a61c14f1671ccff",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|