@zgfe/modules-dm 1.0.57-zhongyuan.63 → 1.0.57-zhongyuan.65
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/es/modules/clearRule/addRule.js +2 -2
- package/es/modules/dataManage/collectionAttributeList.js +2 -1
- package/es/modules/dataManage/collectionEventList.js +18 -10
- package/es/modules/dataManage/components/tablePlus.js +4 -3
- package/es/modules/dataMap/component/leftTree.js +0 -1
- package/package.json +2 -2
|
@@ -472,14 +472,14 @@ var AddRule = function AddRule(_ref) {
|
|
|
472
472
|
viewDisabled: ruleRowView,
|
|
473
473
|
id: o.uniqueId,
|
|
474
474
|
editStatus: currentRuleDetail ? true : false
|
|
475
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
475
|
+
}), !ruleRowView && (/*#__PURE__*/React.createElement("div", {
|
|
476
476
|
style: {
|
|
477
477
|
cursor: 'pointer'
|
|
478
478
|
},
|
|
479
479
|
onClick: function onClick() {
|
|
480
480
|
return handleRuleDel(o.uniqueId);
|
|
481
481
|
}
|
|
482
|
-
}, "X"));
|
|
482
|
+
}, "X")));
|
|
483
483
|
}))), /*#__PURE__*/React.createElement(Space, null, !ruleRowView && options.map(function (item, index) {
|
|
484
484
|
return /*#__PURE__*/React.createElement(Button, {
|
|
485
485
|
key: index,
|
|
@@ -136,10 +136,11 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
136
136
|
if (source == 'user') {
|
|
137
137
|
queryUserPropMeta();
|
|
138
138
|
} else {
|
|
139
|
+
var ownerEventName = (eventAttrsData === null || eventAttrsData === void 0 ? void 0 : eventAttrsData.event_name) || '';
|
|
139
140
|
var _temp = eventAttrsData === null || eventAttrsData === void 0 ? void 0 : eventAttrsData.event_attrs.map(function (item) {
|
|
140
141
|
item.name = item.attr_name;
|
|
141
142
|
item.type = item.prop_type;
|
|
142
|
-
if (ownerWhiteListDataList.includes(item === null || item === void 0 ? void 0 : item.attr_name)) {
|
|
143
|
+
if (eventWhiteList.includes(ownerEventName) && ownerWhiteListDataList.includes(item === null || item === void 0 ? void 0 : item.attr_name)) {
|
|
143
144
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
144
145
|
newOwner: 'zg_abp'
|
|
145
146
|
});
|
|
@@ -585,18 +585,22 @@ var CollectionEventList = function CollectionEventList(props) {
|
|
|
585
585
|
notification.success({
|
|
586
586
|
message: '生成测试报告成功!'
|
|
587
587
|
});
|
|
588
|
+
// 清空需求id
|
|
589
|
+
formReport.setFieldsValue({
|
|
590
|
+
demandId: ''
|
|
591
|
+
});
|
|
588
592
|
setIsTextReport(false);
|
|
589
|
-
_context.next =
|
|
593
|
+
_context.next = 13;
|
|
590
594
|
break;
|
|
591
|
-
case
|
|
592
|
-
_context.prev =
|
|
595
|
+
case 10:
|
|
596
|
+
_context.prev = 10;
|
|
593
597
|
_context.t0 = _context["catch"](0);
|
|
594
598
|
console.log(_context.t0, '测试报告验证失败');
|
|
595
|
-
case
|
|
599
|
+
case 13:
|
|
596
600
|
case "end":
|
|
597
601
|
return _context.stop();
|
|
598
602
|
}
|
|
599
|
-
}, _callee, null, [[0,
|
|
603
|
+
}, _callee, null, [[0, 10]]);
|
|
600
604
|
}));
|
|
601
605
|
return function submitReport() {
|
|
602
606
|
return _ref.apply(this, arguments);
|
|
@@ -629,17 +633,21 @@ var CollectionEventList = function CollectionEventList(props) {
|
|
|
629
633
|
message: '生成数据包成功!'
|
|
630
634
|
});
|
|
631
635
|
setIsExportData(false);
|
|
632
|
-
|
|
636
|
+
// 清空需求id
|
|
637
|
+
formExport.setFieldsValue({
|
|
638
|
+
demandId: ''
|
|
639
|
+
});
|
|
640
|
+
_context2.next = 13;
|
|
633
641
|
break;
|
|
634
|
-
case
|
|
635
|
-
_context2.prev =
|
|
642
|
+
case 10:
|
|
643
|
+
_context2.prev = 10;
|
|
636
644
|
_context2.t0 = _context2["catch"](0);
|
|
637
645
|
console.log(_context2.t0, '测试数据包失败');
|
|
638
|
-
case
|
|
646
|
+
case 13:
|
|
639
647
|
case "end":
|
|
640
648
|
return _context2.stop();
|
|
641
649
|
}
|
|
642
|
-
}, _callee2, null, [[0,
|
|
650
|
+
}, _callee2, null, [[0, 10]]);
|
|
643
651
|
}));
|
|
644
652
|
return function submitExport() {
|
|
645
653
|
return _ref2.apply(this, arguments);
|
|
@@ -793,7 +793,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
793
793
|
render: function render(_, record) {
|
|
794
794
|
return /*#__PURE__*/React.createElement("div", {
|
|
795
795
|
className: "alias_name"
|
|
796
|
-
},
|
|
796
|
+
}, record.businessLabel ? /*#__PURE__*/React.createElement(Tag, {
|
|
797
797
|
color: "blue"
|
|
798
798
|
}, record.businessLabel.labelName) : '', /*#__PURE__*/React.createElement(IconFont, {
|
|
799
799
|
className: "edit-alias-name",
|
|
@@ -1025,7 +1025,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
1025
1025
|
setPanelShow(true);
|
|
1026
1026
|
setCurrentRow(record);
|
|
1027
1027
|
}
|
|
1028
|
-
},
|
|
1028
|
+
}, panelCount || 0);
|
|
1029
1029
|
}
|
|
1030
1030
|
}, {
|
|
1031
1031
|
title: '创建时间',
|
|
@@ -1051,7 +1051,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
1051
1051
|
ellipsis: {
|
|
1052
1052
|
tooltip: text
|
|
1053
1053
|
}
|
|
1054
|
-
}, text), record.groupId && (/*#__PURE__*/React.createElement(IconFont, {
|
|
1054
|
+
}, text), record.groupId === undefined && (/*#__PURE__*/React.createElement(IconFont, {
|
|
1055
1055
|
type: "bianji1",
|
|
1056
1056
|
onClick: function onClick() {
|
|
1057
1057
|
if (!authority[1000003]) {
|
|
@@ -1293,6 +1293,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
1293
1293
|
state.updateEventMetas && state.updateEventMetas(); // 更新store
|
|
1294
1294
|
});
|
|
1295
1295
|
}
|
|
1296
|
+
setBizTagShow(false);
|
|
1296
1297
|
},
|
|
1297
1298
|
onCancel: function onCancel() {
|
|
1298
1299
|
setBizTagShow(false);
|
|
@@ -241,7 +241,6 @@ var LeftTree = function LeftTree(props) {
|
|
|
241
241
|
}),
|
|
242
242
|
autoExpandParent: true,
|
|
243
243
|
selectedKeys: [(currentTree === null || currentTree === void 0 ? void 0 : currentTree.key) || ''],
|
|
244
|
-
expandedKeys: [(currentTree === null || currentTree === void 0 ? void 0 : currentTree.key) || ''],
|
|
245
244
|
defaultExpandedKeys: [(currentTree === null || currentTree === void 0 ? void 0 : currentTree.key) || ''],
|
|
246
245
|
onSelect: onSelect,
|
|
247
246
|
fieldNames: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan.
|
|
3
|
+
"version": "1.0.57-zhongyuan.65",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"umi-request": "^1.4.0",
|
|
58
58
|
"yorkie": "^2.0.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "dd0f9305428fbb1d2391e1ed4ca733ef420e5853",
|
|
61
61
|
"gitHooks": {
|
|
62
62
|
"pre-commit": "lint-staged"
|
|
63
63
|
}
|