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.
@@ -14933,7 +14933,7 @@ function gA(e) {
14933
14933
  "YYYY-MM-DD HH:mm"
14934
14934
  )}</span><br>`), o && o.length > 0) {
14935
14935
  let g, { type: C, fullMessage: k } = o.find((J) => J.action == "AddComment") || {};
14936
- C == "assigneeComment" && (g = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + k, l.class = "nodeWarn"), C == "dispatchComment" && (g = "\u8C03\u5EA6\uFF1A" + k, l.class = "nodeWarn"), C == "transferComment" && (g = "\u8F6C\u529E\uFF1A" + k, l.class = "nodeWarn"), C == "delegateComment" && (g = "\u59D4\u6258\uFF1A" + k, l.class = "nodeWarn"), C == "rollbackComment" && (g = "\u9A73\u56DE\uFF1A" + k, l.class = "nodeError"), C == "terminateComment" && (g = "\u7EC8\u6B62\uFF1A" + k, l.class = "nodeError"), C == "addMultiInstanceComment" && (g = "\u52A0\u7B7E\uFF1A" + k, l.class = "nodeWarn"), C == "deleteMultiInstanceComment" && (g = "\u51CF\u7B7E\uFF1A" + k, l.class = "nodeError"), C == "withdrawComment" && (g = "\u64A4\u9500\uFF1A" + k, l.class = "nodeWarn"), C == "deleteProcessComment" && (g = "\u5220\u9664\u6D41\u7A0B\uFF1A" + k, l.class = "nodeError"), C == "cancelProcessComment" && (g = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + k, l.class = "nodeError"), C == "comment" && (g = "\u5BA1\u6279\uFF1A" + k, l.class = "nodeSuccess"), g && (p += `<span title='${g}'>${g}</span>`);
14936
+ C == "assigneeComment" && (g = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + k, l.class = "nodeWarn"), C == "dispatchComment" && (g = "\u8C03\u5EA6\uFF1A" + k, l.class = "nodeWarn"), C == "transferComment" && (g = "\u8F6C\u529E\uFF1A" + k, l.class = "nodeWarn"), C == "delegateComment" && (g = "\u59D4\u6258\uFF1A" + k, l.class = "nodeWarn"), C == "rollbackComment" && (g = "\u6307\u5B9A\u56DE\u9000\uFF1A" + k, l.class = "nodeError"), C == "terminateComment" && (g = "\u7EC8\u6B62\uFF1A" + k, l.class = "nodeError"), C == "addMultiInstanceComment" && (g = "\u52A0\u7B7E\uFF1A" + k, l.class = "nodeWarn"), C == "deleteMultiInstanceComment" && (g = "\u51CF\u7B7E\uFF1A" + k, l.class = "nodeError"), C == "withdrawComment" && (g = "\u64A4\u9500\uFF1A" + k, l.class = "nodeWarn"), C == "deleteProcessComment" && (g = "\u5220\u9664\u6D41\u7A0B\uFF1A" + k, l.class = "nodeError"), C == "cancelProcessComment" && (g = "\u62D2\u7EDD\uFF1A" + k, l.class = "nodeError"), C == "comment" && (g = "\u5BA1\u6279\uFF1A" + k, l.class = "nodeSuccess"), g && (p += `<span title='${g}'>${g}</span>`);
14937
14937
  }
14938
14938
  l.tooltip = p;
14939
14939
  }
@@ -16654,14 +16654,18 @@ const Nu = /* @__PURE__ */ function() {
16654
16654
  this.$refs.TopDownSelect.handleExpand();
16655
16655
  },
16656
16656
  async handleOption() {
16657
- this.checkedItem = {}, this.firstPerson = [], this.personList = [], !(this.selfList && this.selfList.length) && (this.handleTips("", !0, "loading"), await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", {
16657
+ if (this.checkedItem = {}, this.firstPerson = [], this.personList = [], this.selfList && this.selfList.length)
16658
+ return;
16659
+ this.handleTips("", !0, "loading");
16660
+ let e = {
16658
16661
  businessCode: this.businessType,
16659
16662
  appId: this.appId,
16660
16663
  processGroupName: this.processNameData,
16661
16664
  ...this.extraParams
16662
- }).then((e) => {
16663
- 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());
16664
- }));
16665
+ };
16666
+ this.processNameData && delete e.processGroupName, await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", e).then((i) => {
16667
+ i.code == 200 && (this.option = i.data, i.data && i.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || i.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());
16668
+ });
16665
16669
  },
16666
16670
  async getProcessInstance() {
16667
16671
  },
@@ -22703,7 +22707,7 @@ function M0(e) {
22703
22707
  }
22704
22708
  const W0 = /* @__PURE__ */ function() {
22705
22709
  return D0.exports;
22706
- }(), O0 = "ddy-process-h5", B0 = "1.0.1-rc.2.91", R0 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", L0 = "./ddy-process-h5.umd.cjs", F0 = "./style.css", V0 = "module", j0 = {
22710
+ }(), O0 = "ddy-process-h5", B0 = "1.0.1-rc.2.95", R0 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", L0 = "./ddy-process-h5.umd.cjs", F0 = "./style.css", V0 = "module", j0 = {
22707
22711
  ".": {
22708
22712
  import: "./ddy-process-h5.js",
22709
22713
  require: "./ddy-process-h5.umd.cjs"