@zgfe/modules-dm 1.0.57-zhongyuan.62 → 1.0.57-zhongyuan.64

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.
@@ -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 = 12;
593
+ _context.next = 13;
590
594
  break;
591
- case 9:
592
- _context.prev = 9;
595
+ case 10:
596
+ _context.prev = 10;
593
597
  _context.t0 = _context["catch"](0);
594
598
  console.log(_context.t0, '测试报告验证失败');
595
- case 12:
599
+ case 13:
596
600
  case "end":
597
601
  return _context.stop();
598
602
  }
599
- }, _callee, null, [[0, 9]]);
603
+ }, _callee, null, [[0, 10]]);
600
604
  }));
601
605
  return function submitReport() {
602
606
  return _ref.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
- }, ' ', record.businessLabel ? /*#__PURE__*/React.createElement(Tag, {
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",
@@ -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);
@@ -36,7 +36,7 @@ export default function useColumns(handleQueryList) {
36
36
  request(apis.querySimpleDataset, {
37
37
  method: 'post',
38
38
  data: {
39
- projectId: currentProject === null || currentProject === void 0 ? void 0 : currentProject.projectId
39
+ projectId: currentProject === null || currentProject === void 0 ? void 0 : currentProject.defaultSubjectId
40
40
  }
41
41
  }).then(function (res) {
42
42
  if (!res) return;
@@ -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.62",
3
+ "version": "1.0.57-zhongyuan.64",
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": "b4dcdd7afa02e19c503b440dd7f34a73f84d2eba",
60
+ "gitHead": "fdf0720153c00cd11ce0af8b6a6d73efb57c114b",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }