ddy-process-h5 1.0.1-rc.2.41 → 1.0.1-rc.2.43

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddy-process-h5",
3
- "version": "1.0.1-rc.2.41",
3
+ "version": "1.0.1-rc.2.43",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ddy-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -21140,8 +21140,10 @@ const iC = {
21140
21140
  Array.isArray(e[o]) && (e[o] = e[o].filter((l) => l)), (!e[o] || Array.isArray(e[o]) && e[o].length <= 0) && delete e[o];
21141
21141
  });
21142
21142
  let s = t && t.nodeType != "endEvent" && (!t.branches || t.branches.length <= 0), n = t && t.nodeType != "endEvent" && t.branches && t.branches.length == 1 && t.branches[0].nodeInfoDTO && t.branches[0].nodeInfoDTO.nodeType != "endEvent", r = t && t.nodeType != "endEvent" && t.branches && t.branches.length == 1 && !t.branches[0].nodeInfoDTO && t.branches[0].nodeType != "endEvent";
21143
- if ((s || n || r) && !Object.keys(e).length)
21144
- return this.handleTips("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9", !0, "error"), !1;
21143
+ if ((s || n || r) && !Object.keys(e).length) {
21144
+ let l = {};
21145
+ return s ? l = t : n ? l = t.branches[0].nodeInfoDTO : r && (l = t.branches[0]), this.handleTips(l.nodeType ? "\u8BF7\u9009\u62E9[" + l.name + "]\u5BA1\u6279\u4EBA!" : "\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA", !0, "error"), !1;
21146
+ }
21145
21147
  Date.now() && console.log("\u63D0\u4EA4\u6570\u636E", {
21146
21148
  pass: !0,
21147
21149
  assignees: i,
@@ -21229,8 +21231,10 @@ const iC = {
21229
21231
  Array.isArray(i[l]) && (i[l] = i[l].filter((p) => p)), (!i[l] || Array.isArray(i[l]) && i[l].length <= 0) && delete i[l];
21230
21232
  });
21231
21233
  let n = s && s.nodeType != "endEvent" && (!s.branches || s.branches.length <= 0), r = s && s.nodeType != "endEvent" && s.branches && s.branches.length == 1 && s.branches[0].nodeInfoDTO && s.branches[0].nodeInfoDTO.nodeType != "endEvent", a = s && s.nodeType != "endEvent" && s.branches && s.branches.length == 1 && !s.branches[0].nodeInfoDTO && s.branches[0].nodeType != "endEvent";
21232
- if ((n || r || a) && !Object.keys(i).length)
21233
- return this.handleTips("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9", !0, "error"), !1;
21234
+ if ((n || r || a) && !Object.keys(i).length) {
21235
+ let p = {};
21236
+ return n ? p = s : r ? p = s.branches[0].nodeInfoDTO : a && (p = s.branches[0]), this.handleTips(p.nodeType ? "\u8BF7\u9009\u62E9[" + p.name + "]\u5BA1\u6279\u4EBA!" : "\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA", !0, "error"), !1;
21237
+ }
21234
21238
  await this.param.request.post("/bladex/blade-workflow/tis/complete", {
21235
21239
  pass: !0,
21236
21240
  assignees: t,
@@ -21322,7 +21326,7 @@ var sC = /* @__PURE__ */ ge(
21322
21326
  tC,
21323
21327
  !1,
21324
21328
  nC,
21325
- "631c6834",
21329
+ "d95fd998",
21326
21330
  null,
21327
21331
  null
21328
21332
  );