ddy-process-pc-vue3 1.0.1-rc.2.81 → 1.0.1-rc.3.19

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.
@@ -16,7 +16,7 @@ function vP(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.2.81", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
19
+ const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.3.19", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -10916,7 +10916,7 @@ var _$ = function() {
10916
10916
  e.$emit("circulate", e.getButton("wf_cctask").name);
10917
10917
  }
10918
10918
  }
10919
- }, [r("span", [e._v(e._s(e.getButton("wf_cctask").name))])]) : e._e()] : e._e(), e.process.isOwner && e.process.isReturnable && !["recall", "reject"].includes(e.process.processIsFinished) ? r("el-button", {
10919
+ }, [r("span", [e._v(e._s(e.getButton("wf_cctask").name))])]) : e._e()] : e._e(), e.process.isOwner && e.process.isReturnable && !["deleted"].includes(e.process.processIsFinished) ? r("el-button", {
10920
10920
  attrs: {
10921
10921
  type: "warning",
10922
10922
  size: "default",
@@ -11003,7 +11003,7 @@ var w$ = /* @__PURE__ */ Bi(
11003
11003
  y$,
11004
11004
  !1,
11005
11005
  E$,
11006
- "2e8a6bfd",
11006
+ "1d36c4be",
11007
11007
  null,
11008
11008
  null
11009
11009
  );
@@ -11129,7 +11129,7 @@ const D$ = {
11129
11129
  dispatchComment: "\u8C03\u5EA6",
11130
11130
  transferComment: "\u8F6C\u529E",
11131
11131
  delegateComment: "\u59D4\u6258",
11132
- rollbackComment: "\u9A73\u56DE\u610F\u89C1",
11132
+ rollbackComment: "\u6307\u5B9A\u56DE\u9000\u6D41\u7A0B",
11133
11133
  terminateComment: "\u7EC8\u6B62\u610F\u89C1",
11134
11134
  addMultiInstanceComment: "\u52A0\u7B7E",
11135
11135
  deleteMultiInstanceComment: "\u51CF\u7B7E",
@@ -11137,6 +11137,7 @@ const D$ = {
11137
11137
  recallComment: "\u64A4\u56DE",
11138
11138
  deleteProcessComment: "\u5220\u9664\u6D41\u7A0B",
11139
11139
  skipComment: "\u8DF3\u8FC7",
11140
+ cancelProcessComment: "\u62D2\u7EDD",
11140
11141
  comment: "\u5BA1\u6279\u610F\u89C1"
11141
11142
  }
11142
11143
  };
@@ -21941,7 +21942,7 @@ function xV(e) {
21941
21942
  "YYYY-MM-DD HH:mm"
21942
21943
  )}</span><br>`), m && m.length > 0) {
21943
21944
  let I, { type: T, fullMessage: _ } = m.find((S) => S.action == "AddComment") || {};
21944
- T == "assigneeComment" && (I = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + _, g.class = "nodeWarn"), T == "dispatchComment" && (I = "\u8C03\u5EA6\uFF1A" + _, g.class = "nodeWarn"), T == "transferComment" && (I = "\u8F6C\u529E\uFF1A" + _, g.class = "nodeWarn"), T == "delegateComment" && (I = "\u59D4\u6258\uFF1A" + _, g.class = "nodeWarn"), T == "rollbackComment" && (I = "\u9A73\u56DE\uFF1A" + _, g.class = "nodeError"), T == "terminateComment" && (I = "\u7EC8\u6B62\uFF1A" + _, g.class = "nodeError"), T == "addMultiInstanceComment" && (I = "\u52A0\u7B7E\uFF1A" + _, g.class = "nodeWarn"), T == "deleteMultiInstanceComment" && (I = "\u51CF\u7B7E\uFF1A" + _, g.class = "nodeError"), T == "withdrawComment" && (I = "\u64A4\u9500\uFF1A" + _, g.class = "nodeWarn"), T == "deleteProcessComment" && (I = "\u5220\u9664\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "cancelProcessComment" && (I = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "comment" && (I = "\u5BA1\u6279\uFF1A" + _, g.class = "nodeSuccess"), I && (y += `<span title='${I}'>${I}</span>`);
21945
+ T == "assigneeComment" && (I = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + _, g.class = "nodeWarn"), T == "dispatchComment" && (I = "\u8C03\u5EA6\uFF1A" + _, g.class = "nodeWarn"), T == "transferComment" && (I = "\u8F6C\u529E\uFF1A" + _, g.class = "nodeWarn"), T == "delegateComment" && (I = "\u59D4\u6258\uFF1A" + _, g.class = "nodeWarn"), T == "rollbackComment" && (I = "\u6307\u5B9A\u56DE\u9000\uFF1A" + _, g.class = "nodeError"), T == "terminateComment" && (I = "\u7EC8\u6B62\uFF1A" + _, g.class = "nodeError"), T == "addMultiInstanceComment" && (I = "\u52A0\u7B7E\uFF1A" + _, g.class = "nodeWarn"), T == "deleteMultiInstanceComment" && (I = "\u51CF\u7B7E\uFF1A" + _, g.class = "nodeError"), T == "withdrawComment" && (I = "\u64A4\u9500\uFF1A" + _, g.class = "nodeWarn"), T == "deleteProcessComment" && (I = "\u5220\u9664\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "cancelProcessComment" && (I = "\u62D2\u7EDD\uFF1A" + _, g.class = "nodeError"), T == "comment" && (I = "\u5BA1\u6279\uFF1A" + _, g.class = "nodeSuccess"), I && (y += `<span title='${I}'>${I}</span>`);
21945
21946
  }
21946
21947
  g.tooltip = y;
21947
21948
  }
@@ -22213,7 +22214,7 @@ var DV = function() {
22213
22214
  style: {
22214
22215
  width: e.mainWidth + "px"
22215
22216
  }
22216
- }, [(e.processData.process.status == "todo" || e.customBtns.length > 0) && e.absoluteBtns.outside.length > 0 ? [e.absoluteBtns.inside.length > 0 ? r("el-dropdown", {
22217
+ }, [(e.processData.process.isReturnable || e.customBtns.length > 0) && e.absoluteBtns.outside.length > 0 ? [e.absoluteBtns.inside.length > 0 ? r("el-dropdown", {
22217
22218
  attrs: {
22218
22219
  placement: "top-start",
22219
22220
  trigger: "click"
@@ -23168,13 +23169,13 @@ const BV = {
23168
23169
  this.handleCirculate(this.getButton("wf_cctask").name);
23169
23170
  }, e.push(a);
23170
23171
  }
23171
- if (i.status == "todo" && this.userId == (i.variables || {}).applyUserId) {
23172
+ if (i.isReturnable && i.isOwner) {
23172
23173
  let a = {};
23173
23174
  a.name = "\u50AC\u529E", a.key = "self", a.click = () => {
23174
23175
  this.handleReminders();
23175
23176
  }, e.push(a);
23176
23177
  }
23177
- if (i.isOwner && i.isReturnable && !["recall", "reject"].includes(i.processIsFinished)) {
23178
+ if (i.isOwner && i.isReturnable && !["deleted"].includes(i.processIsFinished)) {
23178
23179
  let a = {};
23179
23180
  a.name = "\u64A4\u9500", a.btnProps = { type: "danger" }, a.key = "self", a.click = () => {
23180
23181
  this.handleWithdrawTask("\u64A4\u9500");
@@ -23286,7 +23287,7 @@ var OV = /* @__PURE__ */ Bi(
23286
23287
  IV,
23287
23288
  !1,
23288
23289
  TV,
23289
- "79a6162e",
23290
+ "1a78cc24",
23290
23291
  null,
23291
23292
  null
23292
23293
  );