ui-process-h5 2.3.3 → 2.3.4

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": "ui-process-h5",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -5610,19 +5610,19 @@ const fr = /* @__PURE__ */ function() {
5610
5610
  deptId: this.businessDeptIdData,
5611
5611
  taskPostIds: [i]
5612
5612
  }).then((n) => {
5613
- let a = [], r = !1;
5614
- n.data.map((l) => {
5615
- l.posts.map((u) => {
5616
- u.users.length == 1 ? a.push(...u.users) : r = !0;
5613
+ let a = [], r = [], o = !1;
5614
+ n.data.map((u) => {
5615
+ u.posts.map((h) => {
5616
+ r.push(...h.users), h.users.length == 1 ? a.push(...h.users) : o = !0;
5617
5617
  });
5618
- }), r && (a = []);
5619
- let o = [];
5620
- n.data[0].posts.map((l) => {
5621
- o.push({
5622
- ...l,
5623
- uid: l.users.map((u) => u.uid)
5618
+ }), a.length > t.loopCardinality && t.loopCardinality > 0 && (o = !0), o && (a = []);
5619
+ let l = [];
5620
+ n.data[0].posts.map((u) => {
5621
+ l.push({
5622
+ ...u,
5623
+ uid: u.users.map((h) => h.uid)
5624
5624
  });
5625
- }), a.length == 0 && this.$set(t, "noPersonnel", !0), a.length > 0 && (this.personObjId = t.id, this.humanPerformerName = t.humanPerformerName, this.$set(t, "noPersonnel", !0), this.handleCallback(a)), t.positionArray = o;
5625
+ }), console.log("user========", a), r.length == 0 && this.$set(t, "noPersonnel", !0), a.length > 0 && (this.personObjId = t.id, this.humanPerformerName = t.humanPerformerName, this.$set(t, "noPersonnel", !0), this.handleCallback(a)), t.positionArray = l;
5626
5626
  });
5627
5627
  }
5628
5628
  }), this.firstPerson = s.data, this.getAfferentParticipantNodeList()) : (this.firstPerson = [], this.getAfferentParticipantNodeList());
@@ -5651,19 +5651,19 @@ const fr = /* @__PURE__ */ function() {
5651
5651
  deptId: this.businessDeptIdData,
5652
5652
  taskPostIds: [t]
5653
5653
  }).then((i) => {
5654
- let n = [];
5655
- i.data.map((r) => {
5656
- r.posts.length > 0 && r.posts.map((o) => {
5657
- n.push(...o.users);
5654
+ let n = [], a = [], r = !1;
5655
+ i.data.map((l) => {
5656
+ l.posts.map((u) => {
5657
+ a.push(...u.users), u.users.length == 1 ? n.push(...u.users) : r = !0;
5658
5658
  });
5659
- });
5660
- let a = [];
5661
- i.data[0].posts.map((r) => {
5662
- a.push({
5663
- ...r,
5664
- uid: r.users.map((o) => o.uid)
5659
+ }), n.length > s.loopCardinality && s.loopCardinality > 0 && (r = !0), r && (n = []), console.log("users1111======", s, n);
5660
+ let o = [];
5661
+ i.data[0].posts.map((l) => {
5662
+ o.push({
5663
+ ...l,
5664
+ uid: l.users.map((u) => u.uid)
5665
5665
  });
5666
- }), n.length == 0 && (s.noPersonnel = !0), n.length == 1 && (this.personObjId = s.id, this.humanPerformerName = s.humanPerformerName, s.noPersonnel = !0, this.handleCallback(n)), n.length > 1 && (s.positionArray = a);
5666
+ }), a.length == 0 && this.$set(s, "noPersonnel", !0), n.length > 0 && (this.personObjId = s.id, this.humanPerformerName = s.humanPerformerName, this.$set(s, "noPersonnel", !0), this.handleCallback(n)), s.positionArray = o;
5667
5667
  });
5668
5668
  }
5669
5669
  }), this.personList = e.data.filter(