ddy-process-h5 1.0.1-rc.3.1 → 1.0.1-rc.3.9

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.
@@ -19639,7 +19639,7 @@ const r1 = /* @__PURE__ */ Ce(jb, [["render", n1], ["__scopeId", "data-v-5024d10
19639
19639
  const t = this.ProcessInsObj.process, i = this.ProcessInsObj.button;
19640
19640
  if (!t || !i)
19641
19641
  return e;
19642
- if (this.getButton("wf_pass"), this.needResubmit && t.status == "todo" && this.userIdData && this.userIdData == (t.variables || {}).applyUserId && ["deleted"].includes(t.processIsFinished) && this.getButton("wf_pass")) {
19642
+ if (this.getButton("wf_pass"), this.needResubmit && t.status == "todo" && this.userIdData && t.isOwner && ["deleted"].includes(t.processIsFinished) && this.getButton("wf_pass")) {
19643
19643
  let n = {};
19644
19644
  n.name = "\u91CD\u65B0\u63D0\u4EA4", n.btnProps = { type: "default" }, e.push(n), n.click = (r) => {
19645
19645
  this.handlePass("\u91CD\u65B0\u63D0\u4EA4"), this.submitLoading = !0, this.handleActionClose();
@@ -19715,7 +19715,7 @@ const r1 = /* @__PURE__ */ Ce(jb, [["render", n1], ["__scopeId", "data-v-5024d10
19715
19715
  }), this.handleActionClose();
19716
19716
  }, e.push(n);
19717
19717
  }
19718
- if (this.userIdData == (t.variables || {}).applyUserId && this.processIntId) {
19718
+ if (t.pass == !1 && t.isOwner && this.processIntId) {
19719
19719
  let n = {};
19720
19720
  n.name = "\u50AC\u529E", n.btnProps = { type: "default" }, n.click = (r) => {
19721
19721
  this.handleReminders("\u50AC\u529E"), this.handleActionClose();
@@ -19727,7 +19727,7 @@ const r1 = /* @__PURE__ */ Ce(jb, [["render", n1], ["__scopeId", "data-v-5024d10
19727
19727
  this.handleWithdrawTask("\u64A4\u9500"), this.handleActionClose();
19728
19728
  }, e.push(n);
19729
19729
  }
19730
- return e;
19730
+ return console.error(e, "btnList"), e;
19731
19731
  },
19732
19732
  processCardHeight() {
19733
19733
  let e = this.topNum + this.bottomNum - 10;
@@ -20345,7 +20345,7 @@ function I1(e, t, i, s, n, r) {
20345
20345
  }, 8, ["titleText", "visible"])
20346
20346
  ]);
20347
20347
  }
20348
- const j1 = /* @__PURE__ */ Ce(o1, [["render", I1], ["__scopeId", "data-v-773f6eab"]]), E1 = "ddy-process-h5", x1 = "1.0.1-rc.3.1", N1 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", S1 = "./ddy-process-h5.umd.cjs", P1 = "./style.css", D1 = "module", M1 = {
20348
+ const j1 = /* @__PURE__ */ Ce(o1, [["render", I1], ["__scopeId", "data-v-773f6eab"]]), E1 = "ddy-process-h5", x1 = "1.0.1-rc.3.9", N1 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", S1 = "./ddy-process-h5.umd.cjs", P1 = "./style.css", D1 = "module", M1 = {
20349
20349
  ".": {
20350
20350
  import: "./ddy-process-h5.js",
20351
20351
  require: "./ddy-process-h5.umd.cjs"