ui-process-h5 2.3.1 → 2.3.2

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.
@@ -4987,19 +4987,19 @@ const Sn = /* @__PURE__ */ function() {
4987
4987
  deptId: this.businessDeptIdData,
4988
4988
  taskPostIds: [i]
4989
4989
  }).then((a) => {
4990
- let n = [];
4991
- a.data.map((o) => {
4992
- o.posts.length > 0 && o.posts.map((c) => {
4993
- n.push(...c.users);
4990
+ let n = [], r = !1;
4991
+ a.data.map((c) => {
4992
+ c.posts.map((d) => {
4993
+ d.users.length == 1 ? n.push(...d.users) : r = !0;
4994
4994
  });
4995
- });
4996
- let r = [];
4997
- a.data[0].posts.map((o) => {
4998
- r.push({
4999
- ...o,
5000
- uid: o.users.map((c) => c.uid)
4995
+ }), r && (n = []);
4996
+ let o = [];
4997
+ a.data[0].posts.map((c) => {
4998
+ o.push({
4999
+ ...c,
5000
+ uid: c.users.map((d) => d.uid)
5001
5001
  });
5002
- }), n.length == 0 && (t.noPersonnel = !0), n.length == 1 && (this.personObjId = t.id, this.humanPerformerName = t.humanPerformerName, t.noPersonnel = !0, this.handleCallback(n)), n.length > 1 && (t.positionArray = r);
5002
+ }), n.length == 0 && this.$set(t, "noPersonnel", !0), n.length > 0 && (this.personObjId = t.id, this.humanPerformerName = t.humanPerformerName, this.$set(t, "noPersonnel", !0), this.handleCallback(n)), t.positionArray = o;
5003
5003
  });
5004
5004
  }
5005
5005
  }), this.firstPerson = s.data, this.getAfferentParticipantNodeList()) : (this.firstPerson = [], this.getAfferentParticipantNodeList());
@@ -5158,7 +5158,7 @@ const Sn = /* @__PURE__ */ function() {
5158
5158
  type: s.type,
5159
5159
  deptId: this.handleLastStr(s.ancestors, s.subjectId),
5160
5160
  subjectName: this.humanPerformerName === "\u56FA\u5B9A\u5355\u4F4D" ? s.ancestorNames.slice(0, s.ancestorNames.indexOf("/")) : ""
5161
- })), this.multiNodeParticipant[this.personObjId] = [], this.partNode[this.personObjId] = [], e.map((s, t) => {
5161
+ })), this.$set(this.multiNodeParticipant, this.personObjId, []), this.$set(this.partNode, this.personObjId, []), e.map((s, t) => {
5162
5162
  this.multiNodeParticipant[this.personObjId].push(s.uid), this.partNode[this.personObjId].push(s.name);
5163
5163
  }), this.visiblePerson = !1;
5164
5164
  },