@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.56 → 2.2.13-beta.58

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.
@@ -67,7 +67,6 @@ export var currentUserHasOperatorAuth = function currentUserHasOperatorAuth(_ref
67
67
  assistantList = _ref.assistantList,
68
68
  _ref$userGroupList = _ref.userGroupList,
69
69
  userGroupList = _ref$userGroupList === void 0 ? [] : _ref$userGroupList;
70
- console.log('currentUserHasOperatorAuth', currentUserKey, staffIds, operateDataPermission, handlerList, isAllStaff, assistantList, userGroupList);
71
70
  // handlerList为空数组是没有处理人,都可以处理
72
71
  if (Array.isArray(handlerList) && (handlerList === null || handlerList === void 0 ? void 0 : handlerList.length) === 0) {
73
72
  return true;
@@ -511,7 +511,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
511
511
  };
512
512
  var onDealWorkOrderSuccess = function onDealWorkOrderSuccess(type) {
513
513
  dispatch(setWorkOrderProcessStatus(type));
514
- if (['submit', 'forward', 'close', 'rejected', 'updateShopId'].includes(type)) {
514
+ if (['submit', 'forward', 'close', 'rejected'].includes(type) || type === 'updateShopId' && platform !== PlatForm.WEB) {
515
515
  dispatch(setFormModalVisible(false));
516
516
  }
517
517
  //除了 暂停和启动外,都需要更新列表数据
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.13-beta.56",
3
+ "version": "2.2.13-beta.58",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@ant-design/icons": "^4.7.0",
35
- "@kmkf-fe-packages/basic-components": "2.2.13-beta.56",
35
+ "@kmkf-fe-packages/basic-components": "2.2.13-beta.58",
36
36
  "@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.54",
37
- "@kmkf-fe-packages/services-components": "2.2.13-beta.56",
37
+ "@kmkf-fe-packages/services-components": "2.2.13-beta.58",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -74,7 +74,7 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "1cf6b9d47aca124958462954e3157b6cf147060f",
77
+ "gitHead": "8a590860d90c68553454c8072fe7a7b826ad5932",
78
78
  "gitHooks": {
79
79
  "pre-commit": "lint-staged"
80
80
  }