@zgfe/modules-dm 1.0.57-zhongyuan.64 → 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.
@@ -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,
@@ -633,17 +633,21 @@ var CollectionEventList = function CollectionEventList(props) {
633
633
  message: '生成数据包成功!'
634
634
  });
635
635
  setIsExportData(false);
636
- _context2.next = 12;
636
+ // 清空需求id
637
+ formExport.setFieldsValue({
638
+ demandId: ''
639
+ });
640
+ _context2.next = 13;
637
641
  break;
638
- case 9:
639
- _context2.prev = 9;
642
+ case 10:
643
+ _context2.prev = 10;
640
644
  _context2.t0 = _context2["catch"](0);
641
645
  console.log(_context2.t0, '测试数据包失败');
642
- case 12:
646
+ case 13:
643
647
  case "end":
644
648
  return _context2.stop();
645
649
  }
646
- }, _callee2, null, [[0, 9]]);
650
+ }, _callee2, null, [[0, 10]]);
647
651
  }));
648
652
  return function submitExport() {
649
653
  return _ref2.apply(this, arguments);
@@ -1025,7 +1025,7 @@ var TablePlus = function TablePlus(props) {
1025
1025
  setPanelShow(true);
1026
1026
  setCurrentRow(record);
1027
1027
  }
1028
- }, ' ', panelCount || 0, ' ');
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]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.57-zhongyuan.64",
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": "fdf0720153c00cd11ce0af8b6a6d73efb57c114b",
60
+ "gitHead": "dd0f9305428fbb1d2391e1ed4ca733ef420e5853",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }