@kmkf-fe-packages/kmkf-work-order-service-component 2.0.79-beta.0 → 2.0.79-beta.1

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.
@@ -991,7 +991,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
991
991
  //催单
992
992
  var handleReminder = /*#__PURE__*/function () {
993
993
  var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(type) {
994
- var _currentNodeDetail$wo18, _currentNodeDetail$wo19, _currentNodeDetail$no9, _currentNodeDetail$wo20, _currentNodeDetail$wo21, _currentNodeDetail$wo22, _currentNodeDetail$wo23, _currentNodeDetail$no10, _currentNodeDetail$wo24, api, flowTags, newFlowTags, params, res;
994
+ var _currentNodeDetail$wo18, _currentNodeDetail$wo19, _currentNodeDetail$no9, _currentNodeDetail$wo20, _currentNodeDetail$wo21, _currentNodeDetail$wo22, _currentNodeDetail$wo23, _currentNodeDetail$no10, _currentNodeDetail$wo24, _res$data14, _res$data14$failList, api, flowTags, newFlowTags, params, res, _res$data15, _res$data15$failList, _res$data15$failList$;
995
995
  return _regeneratorRuntime().wrap(function _callee11$(_context11) {
996
996
  while (1) switch (_context11.prev = _context11.next) {
997
997
  case 0:
@@ -1033,7 +1033,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
1033
1033
  return api(params);
1034
1034
  case 8:
1035
1035
  res = _context11.sent;
1036
- if (res.success) {
1036
+ if (res.success && !(res !== null && res !== void 0 && (_res$data14 = res.data) !== null && _res$data14 !== void 0 && (_res$data14$failList = _res$data14.failList) !== null && _res$data14$failList !== void 0 && _res$data14$failList.length)) {
1037
1037
  handleSuccessCallBack(type);
1038
1038
  message.success(type === 'reminder' ? '催单成功' : '取消催单成功');
1039
1039
  batch(function () {
@@ -1044,7 +1044,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
1044
1044
  }));
1045
1045
  });
1046
1046
  } else {
1047
- message.error(res.message);
1047
+ message.error(res === null || res === void 0 ? void 0 : (_res$data15 = res.data) === null || _res$data15 === void 0 ? void 0 : (_res$data15$failList = _res$data15.failList) === null || _res$data15$failList === void 0 ? void 0 : (_res$data15$failList$ = _res$data15$failList[0]) === null || _res$data15$failList$ === void 0 ? void 0 : _res$data15$failList$.failReason);
1048
1048
  }
1049
1049
  _context11.next = 15;
1050
1050
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.0.79-beta.0",
3
+ "version": "2.0.79-beta.1",
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": "2d6e46a13fb42f6e686d1453c0dc1dce33a8e8fc",
76
+ "gitHead": "00e60b351e1793c58a5dbb1ffc0bbd24b85d3697",
77
77
  "gitHooks": {
78
78
  "pre-commit": "lint-staged"
79
79
  }