ddy-process-h5 1.0.1-rc.3.103 → 1.0.1-rc.3.105

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-h5",
3
- "version": "1.0.1-rc.3.103",
3
+ "version": "1.0.1-rc.3.105",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ddy-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -17780,13 +17780,7 @@ const cx = {
17780
17780
  },
17781
17781
  methods: {
17782
17782
  my(e) {
17783
- let t = "->", i = "\u2192", s = e.comments[0].fullMessage;
17784
- if (s.includes(t))
17785
- return s.split(t)[1];
17786
- if (s.includes(i)) {
17787
- let n = s.split(i)[1];
17788
- return n = n.split("\uFF1A")[0], n;
17789
- }
17783
+ return e.comments[e.comments.length - 1].userId || "";
17790
17784
  },
17791
17785
  handleClick() {
17792
17786
  this.isFlag = !this.isFlag, this.toggleText = this.isFlag ? "\u6536\u8D77" : "\u5C55\u5F00";
@@ -17799,7 +17793,7 @@ var ux = /* @__PURE__ */ ve(
17799
17793
  lx,
17800
17794
  !1,
17801
17795
  px,
17802
- "75a69229",
17796
+ "28dcbfa2",
17803
17797
  null,
17804
17798
  null
17805
17799
  );
@@ -24475,11 +24469,7 @@ const uT = /* @__PURE__ */ function() {
24475
24469
  ...i.data
24476
24470
  };
24477
24471
  let n = (this.ProcessInsObj.flow || []).filter((l) => ["userTask"].includes(l.historyActivityType) && l.createTime), r = n[n.length - 1].assigneeName;
24478
- if (console.error(r, "user1"), !r) {
24479
- let l = n[n.length - 1], p = "->", h = "\u2192", d = l.comments[0].fullMessage;
24480
- d.includes(p) ? r = d.split(p)[1] : d.includes(h) && (r = d.split(h)[1].split("\uFF1A")[0]);
24481
- }
24482
- console.error(r, "user2"), this.userAudit = r, this.taskObj.buttons = this.ProcessInsObj.button || [], this.trackList = (((s = i.data) == null ? void 0 : s.flow) || []).filter((l) => ["userTask", "candidate"].includes(l.historyActivityType));
24472
+ console.error(r, "user1"), r || (r = n[n.length - 1].comments[item.comments.length - 1].userId || ""), console.error(r, "user2"), this.userAudit = r, this.taskObj.buttons = this.ProcessInsObj.button || [], this.trackList = (((s = i.data) == null ? void 0 : s.flow) || []).filter((l) => ["userTask", "candidate"].includes(l.historyActivityType));
24483
24473
  const a = ((this.ProcessInsObj.process || {}).variables || {}).deptId;
24484
24474
  this.deptId = a;
24485
24475
  const o = (this.ProcessInsObj.process || {}).taskId;
@@ -25268,7 +25258,7 @@ function mT(e) {
25268
25258
  }
25269
25259
  const ST = /* @__PURE__ */ function() {
25270
25260
  return fT.exports;
25271
- }(), gT = "ddy-process-h5", yT = "1.0.1-rc.3.103", vT = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", AT = "./ddy-process-h5.umd.cjs", bT = "./style.css", CT = "module", wT = {
25261
+ }(), gT = "ddy-process-h5", yT = "1.0.1-rc.3.105", vT = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", AT = "./ddy-process-h5.umd.cjs", bT = "./style.css", CT = "module", wT = {
25272
25262
  ".": {
25273
25263
  import: "./ddy-process-h5.js",
25274
25264
  require: "./ddy-process-h5.umd.cjs"