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.
@@ -21971,7 +21971,7 @@ const N0 = /* @__PURE__ */ function() {
21971
21971
  const i = this.ProcessInsObj.process, t = this.ProcessInsObj.button;
21972
21972
  if (!i || !t)
21973
21973
  return e;
21974
- if (this.getButton("wf_pass"), this.needResubmit && i.status == "todo" && this.userIdData && this.userIdData == (i.variables || {}).applyUserId && ["deleted"].includes(i.processIsFinished) && this.getButton("wf_pass")) {
21974
+ if (this.getButton("wf_pass"), this.needResubmit && i.status == "todo" && this.userIdData && i.isOwner && ["deleted"].includes(i.processIsFinished) && this.getButton("wf_pass")) {
21975
21975
  let n = {};
21976
21976
  n.name = "\u91CD\u65B0\u63D0\u4EA4", n.btnProps = { type: "default" }, e.push(n), n.click = (r) => {
21977
21977
  this.handlePass("\u91CD\u65B0\u63D0\u4EA4"), this.submitLoading = !0, this.handleActionClose();
@@ -22047,7 +22047,7 @@ const N0 = /* @__PURE__ */ function() {
22047
22047
  }), this.handleActionClose();
22048
22048
  }, e.push(n);
22049
22049
  }
22050
- if (this.userIdData == (i.variables || {}).applyUserId && this.processIntId) {
22050
+ if (i.pass == !1 && i.isOwner && this.processIntId) {
22051
22051
  let n = {};
22052
22052
  n.name = "\u50AC\u529E", n.btnProps = { type: "default" }, n.click = (r) => {
22053
22053
  this.handleReminders("\u50AC\u529E"), this.handleActionClose();
@@ -22059,7 +22059,7 @@ const N0 = /* @__PURE__ */ function() {
22059
22059
  this.handleWithdrawTask("\u64A4\u9500"), this.handleActionClose();
22060
22060
  }, e.push(n);
22061
22061
  }
22062
- return e;
22062
+ return console.error(e, "btnList"), e;
22063
22063
  },
22064
22064
  processCardHeight() {
22065
22065
  let e = this.topNum + this.bottomNum - 10;
@@ -22711,7 +22711,7 @@ function M0(e) {
22711
22711
  }
22712
22712
  const W0 = /* @__PURE__ */ function() {
22713
22713
  return D0.exports;
22714
- }(), O0 = "ddy-process-h5", B0 = "1.0.1-rc.3.1", R0 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", L0 = "./ddy-process-h5.umd.cjs", F0 = "./style.css", j0 = "module", V0 = {
22714
+ }(), O0 = "ddy-process-h5", B0 = "1.0.1-rc.3.9", R0 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", L0 = "./ddy-process-h5.umd.cjs", F0 = "./style.css", j0 = "module", V0 = {
22715
22715
  ".": {
22716
22716
  import: "./ddy-process-h5.js",
22717
22717
  require: "./ddy-process-h5.umd.cjs"