ddy-process-pc-vue3 1.0.1-rc.2.93 → 1.0.1-rc.3.21

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.93", 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.21", 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"
@@ -161,7 +161,7 @@ const si = "/aws", Ai = "/bladex/blade-workflow", pD = "/auth", et = {
161
161
  return Ze(i);
162
162
  },
163
163
  addMultiInstance(e) {
164
- let i = { url: Ai + "/tis/addMultiInstance", param: e, type: "post" };
164
+ let i = { url: Ai + "/tis/addSignTask", param: e, type: "post" };
165
165
  return Ze(i);
166
166
  },
167
167
  reject(e, i) {
@@ -4805,10 +4805,10 @@ const Tj = {
4805
4805
  return Gv.warning("\u8BF7\u586B\u5199\u52A0\u7B7E\u539F\u56E0"), !1;
4806
4806
  if (this.reason.length > 200)
4807
4807
  return Gv.warning("\u52A0\u7B7E\u539F\u56E0\u4E0D\u80FD\u8D85\u8FC7200\u4E2A\u5B57"), !1;
4808
- let r = this.targetUser.join(",") || "";
4808
+ let r = this.targetUser || [];
4809
4809
  e && e(), i(), et.tis.addMultiInstance({
4810
4810
  taskId: this.param.taskInstId,
4811
- assignee: r,
4811
+ signPersoneds: r,
4812
4812
  comment: this.reason
4813
4813
  }).then((a) => {
4814
4814
  a.code == Et.success ? this.$emit("success") : this.$emit("fail", a.msg);
@@ -4822,7 +4822,7 @@ var Nj = /* @__PURE__ */ Bi(
4822
4822
  Oj,
4823
4823
  !1,
4824
4824
  Mj,
4825
- "72ff885e",
4825
+ "79bc4843",
4826
4826
  null,
4827
4827
  null
4828
4828
  );
@@ -22214,7 +22214,7 @@ var DV = function() {
22214
22214
  style: {
22215
22215
  width: e.mainWidth + "px"
22216
22216
  }
22217
- }, [(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", {
22218
22218
  attrs: {
22219
22219
  placement: "top-start",
22220
22220
  trigger: "click"
@@ -23169,7 +23169,7 @@ const BV = {
23169
23169
  this.handleCirculate(this.getButton("wf_cctask").name);
23170
23170
  }, e.push(a);
23171
23171
  }
23172
- if (i.status == "todo" && this.userId == (i.variables || {}).applyUserId) {
23172
+ if (i.isReturnable && i.isOwner) {
23173
23173
  let a = {};
23174
23174
  a.name = "\u50AC\u529E", a.key = "self", a.click = () => {
23175
23175
  this.handleReminders();
@@ -23287,7 +23287,7 @@ var OV = /* @__PURE__ */ Bi(
23287
23287
  IV,
23288
23288
  !1,
23289
23289
  TV,
23290
- "f30fb9b4",
23290
+ "1a78cc24",
23291
23291
  null,
23292
23292
  null
23293
23293
  );