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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddy-process-pc-vue3",
3
- "version": "1.0.1-rc.2.93",
3
+ "version": "1.0.1-rc.3.21",
4
4
  "description": "> pc端流程组件",
5
5
  "main": "./ddy-process-pc-vue3.umd.cjs",
6
6
  "style": "./style.css",
@@ -16,7 +16,7 @@ function iR(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.2.93", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
19
+ const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.3.21", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -161,7 +161,7 @@ const ai = "/aws", pi = "/bladex/blade-workflow", FD = "/auth", et = {
161
161
  return Ze(i);
162
162
  },
163
163
  addMultiInstance(e) {
164
- let i = { url: pi + "/tis/addMultiInstance", param: e, type: "post" };
164
+ let i = { url: pi + "/tis/addSignTask", param: e, type: "post" };
165
165
  return Ze(i);
166
166
  },
167
167
  reject(e, i) {
@@ -5549,10 +5549,10 @@ const WL = {
5549
5549
  return rb.warning("\u8BF7\u586B\u5199\u52A0\u7B7E\u539F\u56E0"), !1;
5550
5550
  if (this.reason.length > 200)
5551
5551
  return rb.warning("\u52A0\u7B7E\u539F\u56E0\u4E0D\u80FD\u8D85\u8FC7200\u4E2A\u5B57"), !1;
5552
- let r = this.targetUser.join(",") || "";
5552
+ let r = this.targetUser || [];
5553
5553
  e && e(), i(), et.tis.addMultiInstance({
5554
5554
  taskId: this.param.taskInstId,
5555
- assignee: r,
5555
+ signPersoneds: r,
5556
5556
  comment: this.reason
5557
5557
  }).then((a) => {
5558
5558
  a.code == wt.success ? this.$emit("success") : this.$emit("fail", a.msg);
@@ -5566,7 +5566,7 @@ var GL = /* @__PURE__ */ Di(
5566
5566
  VL,
5567
5567
  !1,
5568
5568
  JL,
5569
- "72ff885e",
5569
+ "79bc4843",
5570
5570
  null,
5571
5571
  null
5572
5572
  );
@@ -22958,7 +22958,7 @@ var HW = function() {
22958
22958
  style: {
22959
22959
  width: e.mainWidth + "px"
22960
22960
  }
22961
- }, [(e.processData.process.status == "todo" || e.customBtns.length > 0) && e.absoluteBtns.outside.length > 0 ? [e.absoluteBtns.inside.length > 0 ? r("el-dropdown", {
22961
+ }, [(e.processData.process.isReturnable || e.customBtns.length > 0) && e.absoluteBtns.outside.length > 0 ? [e.absoluteBtns.inside.length > 0 ? r("el-dropdown", {
22962
22962
  attrs: {
22963
22963
  placement: "top-start",
22964
22964
  trigger: "click"
@@ -23913,7 +23913,7 @@ const YW = {
23913
23913
  this.handleCirculate(this.getButton("wf_cctask").name);
23914
23914
  }, e.push(a);
23915
23915
  }
23916
- if (i.status == "todo" && this.userId == (i.variables || {}).applyUserId) {
23916
+ if (i.isReturnable && i.isOwner) {
23917
23917
  let a = {};
23918
23918
  a.name = "\u50AC\u529E", a.key = "self", a.click = () => {
23919
23919
  this.handleReminders();
@@ -24031,7 +24031,7 @@ var VW = /* @__PURE__ */ Di(
24031
24031
  UW,
24032
24032
  !1,
24033
24033
  WW,
24034
- "f30fb9b4",
24034
+ "1a78cc24",
24035
24035
  null,
24036
24036
  null
24037
24037
  );