ddy-process-h5 1.0.1-rc.2.91 → 1.0.1-rc.2.95

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.
@@ -13276,7 +13276,7 @@ function Cm(e) {
13276
13276
  "YYYY-MM-DD HH:mm"
13277
13277
  )}</span><br>`), a && a.length > 0) {
13278
13278
  let d, { type: A, fullMessage: b } = a.find((x) => x.action == "AddComment") || {};
13279
- A == "assigneeComment" && (d = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + b, l.class = "nodeWarn"), A == "dispatchComment" && (d = "\u8C03\u5EA6\uFF1A" + b, l.class = "nodeWarn"), A == "transferComment" && (d = "\u8F6C\u529E\uFF1A" + b, l.class = "nodeWarn"), A == "delegateComment" && (d = "\u59D4\u6258\uFF1A" + b, l.class = "nodeWarn"), A == "rollbackComment" && (d = "\u9A73\u56DE\uFF1A" + b, l.class = "nodeError"), A == "terminateComment" && (d = "\u7EC8\u6B62\uFF1A" + b, l.class = "nodeError"), A == "addMultiInstanceComment" && (d = "\u52A0\u7B7E\uFF1A" + b, l.class = "nodeWarn"), A == "deleteMultiInstanceComment" && (d = "\u51CF\u7B7E\uFF1A" + b, l.class = "nodeError"), A == "withdrawComment" && (d = "\u64A4\u9500\uFF1A" + b, l.class = "nodeWarn"), A == "deleteProcessComment" && (d = "\u5220\u9664\u6D41\u7A0B\uFF1A" + b, l.class = "nodeError"), A == "cancelProcessComment" && (d = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + b, l.class = "nodeError"), A == "comment" && (d = "\u5BA1\u6279\uFF1A" + b, l.class = "nodeSuccess"), d && (m += `<span title='${d}'>${d}</span>`);
13279
+ A == "assigneeComment" && (d = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + b, l.class = "nodeWarn"), A == "dispatchComment" && (d = "\u8C03\u5EA6\uFF1A" + b, l.class = "nodeWarn"), A == "transferComment" && (d = "\u8F6C\u529E\uFF1A" + b, l.class = "nodeWarn"), A == "delegateComment" && (d = "\u59D4\u6258\uFF1A" + b, l.class = "nodeWarn"), A == "rollbackComment" && (d = "\u6307\u5B9A\u56DE\u9000\uFF1A" + b, l.class = "nodeError"), A == "terminateComment" && (d = "\u7EC8\u6B62\uFF1A" + b, l.class = "nodeError"), A == "addMultiInstanceComment" && (d = "\u52A0\u7B7E\uFF1A" + b, l.class = "nodeWarn"), A == "deleteMultiInstanceComment" && (d = "\u51CF\u7B7E\uFF1A" + b, l.class = "nodeError"), A == "withdrawComment" && (d = "\u64A4\u9500\uFF1A" + b, l.class = "nodeWarn"), A == "deleteProcessComment" && (d = "\u5220\u9664\u6D41\u7A0B\uFF1A" + b, l.class = "nodeError"), A == "cancelProcessComment" && (d = "\u62D2\u7EDD\uFF1A" + b, l.class = "nodeError"), A == "comment" && (d = "\u5BA1\u6279\uFF1A" + b, l.class = "nodeSuccess"), d && (m += `<span title='${d}'>${d}</span>`);
13280
13280
  }
13281
13281
  l.tooltip = m;
13282
13282
  }
@@ -14879,14 +14879,18 @@ const Za = /* @__PURE__ */ Ce(ny, [["render", fy], ["__scopeId", "data-v-7ee61f3
14879
14879
  this.$refs.TopDownSelect.handleExpand();
14880
14880
  },
14881
14881
  async handleOption() {
14882
- this.checkedItem = {}, this.firstPerson = [], this.personList = [], !(this.selfList && this.selfList.length) && (this.handleTips("", !0, "loading"), await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", {
14882
+ if (this.checkedItem = {}, this.firstPerson = [], this.personList = [], this.selfList && this.selfList.length)
14883
+ return;
14884
+ this.handleTips("", !0, "loading");
14885
+ let e = {
14883
14886
  businessCode: this.businessType,
14884
14887
  appId: this.appId,
14885
14888
  processGroupName: this.processNameData,
14886
14889
  ...this.extraParams
14887
- }).then((e) => {
14888
- e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || e.data.length == 1) && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id))) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []), this.businessDeptIdData || this.getNodeUserDept());
14889
- }));
14890
+ };
14891
+ this.processNameData && delete e.processGroupName, await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", e).then((t) => {
14892
+ t.code == 200 && (this.option = t.data, t.data && t.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || t.data.length == 1) && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id))) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []), this.businessDeptIdData || this.getNodeUserDept());
14893
+ });
14890
14894
  },
14891
14895
  async getProcessInstance() {
14892
14896
  },
@@ -20337,7 +20341,7 @@ function I1(e, t, i, s, n, r) {
20337
20341
  }, 8, ["titleText", "visible"])
20338
20342
  ]);
20339
20343
  }
20340
- const j1 = /* @__PURE__ */ Ce(o1, [["render", I1], ["__scopeId", "data-v-773f6eab"]]), E1 = "ddy-process-h5", x1 = "1.0.1-rc.2.91", N1 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", S1 = "./ddy-process-h5.umd.cjs", P1 = "./style.css", D1 = "module", M1 = {
20344
+ const j1 = /* @__PURE__ */ Ce(o1, [["render", I1], ["__scopeId", "data-v-773f6eab"]]), E1 = "ddy-process-h5", x1 = "1.0.1-rc.2.95", N1 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", S1 = "./ddy-process-h5.umd.cjs", P1 = "./style.css", D1 = "module", M1 = {
20341
20345
  ".": {
20342
20346
  import: "./ddy-process-h5.js",
20343
20347
  require: "./ddy-process-h5.umd.cjs"