@kmkf-fe-packages/kmkf-work-order-service-component 0.19.0-alpha.2 → 0.19.0-alpha.3

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.
@@ -199,7 +199,7 @@ var NodeItem = function NodeItem(props) {
199
199
  dispatch(setAction('withdraw'));
200
200
  };
201
201
  // 人工节点+打开状态+当前工单提交人是当前完成人+状态是待处理
202
- var showEdit = isArtificialNode && open && (data === null || data === void 0 ? void 0 : (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : (_data$data3$workOrder = _data$data3.workOrder) === null || _data$data3$workOrder === void 0 ? void 0 : _data$data3$workOrder.completedUserName) === plat.accountName && !readonly && flowStatus === FlowStatus.PROCESSING;
202
+ var showEdit = isArtificialNode && open && (data === null || data === void 0 ? void 0 : (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : (_data$data3$workOrder = _data$data3.workOrder) === null || _data$data3$workOrder === void 0 ? void 0 : _data$data3$workOrder.completedUserName) === plat.accountName && !readonly && [FlowStatus.PROCESSING, FlowStatus.COMPLETED].includes(flowStatus);
203
203
 
204
204
  // 是否是当前节点处理人
205
205
  var isCurrentNodeHandler = useMemo(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "0.19.0-alpha.2",
3
+ "version": "0.19.0-alpha.3",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -73,7 +73,7 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "09e91a9e1cbfab9cc43c38518521cb89658cd9a1",
76
+ "gitHead": "bb7b64cd441b72bdaf55a9ffe60da38814cd6277",
77
77
  "gitHooks": {
78
78
  "pre-commit": "lint-staged"
79
79
  }