ddy-process-h5 1.0.1-rc.3.101 → 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.101",
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
  );
@@ -24458,7 +24452,7 @@ const uT = /* @__PURE__ */ function() {
24458
24452
  TopPopup1: !1,
24459
24453
  cctaskTopPopup: !1,
24460
24454
  cctaskTopPopupTitle: "\u6284\u9001",
24461
- user: ""
24455
+ userAudit: ""
24462
24456
  };
24463
24457
  },
24464
24458
  watch: {
@@ -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 (!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
- this.user = 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;
@@ -25023,7 +25013,7 @@ var dT = function() {
25023
25013
  }
25024
25014
  }, [i("span", {
25025
25015
  staticClass: "process-mliv-jd"
25026
- }, [e._v(e._s(`${e.user}\u5BA1\u6279\u4E2D`))])])]) : e._e()]) : e._e(), i("div", {
25016
+ }, [e._v(e._s(`${e.userAudit}\u5BA1\u6279\u4E2D`))])])]) : e._e()]) : e._e(), i("div", {
25027
25017
  staticClass: "process-card",
25028
25018
  style: {
25029
25019
  height: e.processCardHeight
@@ -25258,7 +25248,7 @@ var fT = /* @__PURE__ */ ve(
25258
25248
  hT,
25259
25249
  !1,
25260
25250
  mT,
25261
- "24df7d3f",
25251
+ "e82bca6c",
25262
25252
  null,
25263
25253
  null
25264
25254
  );
@@ -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.101", 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"