@kmkf-fe-packages/kmkf-work-order-service-component 2.2.44-beta.62 → 2.2.44-beta.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.
@@ -32,7 +32,7 @@ var columns = [{
32
32
  width: '550px'
33
33
  }];
34
34
  var Header = function Header(props) {
35
- var _NODE_TYPE$tag, _NODE_TYPE$tag2, _data$data, _nodeDetail$data, _nodeDetail$data$flow;
35
+ var _NODE_TYPE$tag, _NODE_TYPE$tag2, _data$data, _nodeDetail$data, _nodeDetail$data$flow, _nodeDetail$data2, _nodeDetail$data2$nod, _nodeDetail$data2$nod2, _nodeDetail$data3, _nodeDetail$data3$nod;
36
36
  var tag = props.tag,
37
37
  nodeName = props.nodeName,
38
38
  showLook = props.showLook,
@@ -80,11 +80,8 @@ var Header = function Header(props) {
80
80
  interval: 300,
81
81
  // 可选,默认 300ms
82
82
  onDoubleClick: function onDoubleClick(event) {
83
- if (tag === 'judge') return;
84
83
  toggleNodeInfoVisible();
85
- if (tag === 'auto') {
86
- requestNodeDetail();
87
- }
84
+ requestNodeDetail();
88
85
  },
89
86
  onClick: function onClick(event) {
90
87
  console.log('单击事件', event);
@@ -222,6 +219,6 @@ var Header = function Header(props) {
222
219
  footer: null
223
220
  }, /*#__PURE__*/React.createElement(Spin, {
224
221
  spinning: queryNodeDetailLoading
225
- }, /*#__PURE__*/React.createElement("p", null, "\u6D41\u7A0B\u5DE5\u5355ID: ", flowWorkOrderId), tag === 'artificial' && /*#__PURE__*/React.createElement("p", null, "\u6D41\u7A0B\u6A21\u677FID: ", flowTemplateId), /*#__PURE__*/React.createElement("p", null, "\u6D41\u7A0B\u6A21\u677FKey: ", flowTemplateKey), /*#__PURE__*/React.createElement("p", null, "\u8282\u70B9ID: ", nodeId), tag === 'auto' && /*#__PURE__*/React.createElement("p", null, "\u81EA\u52A8\u5316\u4EFB\u52A1ID: ", nodeDetail === null || nodeDetail === void 0 ? void 0 : (_nodeDetail$data = nodeDetail.data) === null || _nodeDetail$data === void 0 ? void 0 : (_nodeDetail$data$flow = _nodeDetail$data.flowEventData) === null || _nodeDetail$data$flow === void 0 ? void 0 : _nodeDetail$data$flow.uniqueKey)))));
222
+ }, /*#__PURE__*/React.createElement("p", null, "\u6D41\u7A0B\u5DE5\u5355ID: ", flowWorkOrderId), /*#__PURE__*/React.createElement("p", null, "\u6D41\u7A0B\u6A21\u677FID: ", flowTemplateId), /*#__PURE__*/React.createElement("p", null, "\u6D41\u7A0B\u6A21\u677FKey: ", flowTemplateKey), /*#__PURE__*/React.createElement("p", null, "\u8282\u70B9ID: ", nodeId), tag === 'auto' && /*#__PURE__*/React.createElement("p", null, "\u81EA\u52A8\u5316\u4EFB\u52A1ID: ", nodeDetail === null || nodeDetail === void 0 ? void 0 : (_nodeDetail$data = nodeDetail.data) === null || _nodeDetail$data === void 0 ? void 0 : (_nodeDetail$data$flow = _nodeDetail$data.flowEventData) === null || _nodeDetail$data$flow === void 0 ? void 0 : _nodeDetail$data$flow.uniqueKey), /*#__PURE__*/React.createElement("p", null, "\u8282\u70B9\u7C7B\u578B:", (nodeDetail === null || nodeDetail === void 0 ? void 0 : (_nodeDetail$data2 = nodeDetail.data) === null || _nodeDetail$data2 === void 0 ? void 0 : (_nodeDetail$data2$nod = _nodeDetail$data2.nodeInfo) === null || _nodeDetail$data2$nod === void 0 ? void 0 : (_nodeDetail$data2$nod2 = _nodeDetail$data2$nod.relationEvent) === null || _nodeDetail$data2$nod2 === void 0 ? void 0 : _nodeDetail$data2$nod2.eventType) || (nodeDetail === null || nodeDetail === void 0 ? void 0 : (_nodeDetail$data3 = nodeDetail.data) === null || _nodeDetail$data3 === void 0 ? void 0 : (_nodeDetail$data3$nod = _nodeDetail$data3.nodeInfo) === null || _nodeDetail$data3$nod === void 0 ? void 0 : _nodeDetail$data3$nod.nodeType))))));
226
223
  };
227
224
  export default Header;
@@ -236,6 +236,7 @@ export declare const selectCurrentNodeDetail: (state: FlowTemplateDetailState) =
236
236
  }[];
237
237
  } | undefined;
238
238
  } | undefined;
239
+ uniqueKey: string;
239
240
  } | undefined;
240
241
  } | undefined;
241
242
  export declare const selectTid: (state: FlowTemplateDetailState) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.2.44-beta.62",
3
+ "version": "2.2.44-beta.64",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -75,7 +75,7 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "fa2d48b769bb3ce236cd9daee4c4f6581e7eac6c",
78
+ "gitHead": "274b7d64668797ac8ab7414c14efac9e7b5e9117",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }