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.
@@ -2917,19 +2917,19 @@ const Us = /* @__PURE__ */ S(Oa, [["render", Fa], ["__scopeId", "data-v-01edd5c4
2917
2917
  deptId: this.businessDeptIdData,
2918
2918
  taskPostIds: [n]
2919
2919
  }).then((i) => {
2920
- let o = [];
2921
- i.data.map((h) => {
2922
- h.posts.length > 0 && h.posts.map((u) => {
2923
- o.push(...u.users);
2920
+ let o = [], p = !1;
2921
+ i.data.map((u) => {
2922
+ u.posts.map((m) => {
2923
+ m.users.length == 1 ? o.push(...m.users) : p = !0;
2924
2924
  });
2925
- });
2926
- let p = [];
2927
- i.data[0].posts.map((h) => {
2928
- p.push({
2929
- ...h,
2930
- uid: h.users.map((u) => u.uid)
2925
+ }), p && (o = []);
2926
+ let h = [];
2927
+ i.data[0].posts.map((u) => {
2928
+ h.push({
2929
+ ...u,
2930
+ uid: u.users.map((m) => m.uid)
2931
2931
  });
2932
- }), o.length == 0 && (s.noPersonnel = !0), o.length == 1 && (this.personObjId = s.id, this.humanPerformerName = s.humanPerformerName, s.noPersonnel = !0, this.handleCallback(o)), o.length > 1 && (s.positionArray = p);
2932
+ }), o.length == 0 && this.$set(s, "noPersonnel", !0), o.length > 0 && (this.personObjId = s.id, this.humanPerformerName = s.humanPerformerName, this.$set(s, "noPersonnel", !0), this.handleCallback(o)), s.positionArray = h;
2933
2933
  });
2934
2934
  }
2935
2935
  }), this.firstPerson = t.data, this.getAfferentParticipantNodeList()) : (this.firstPerson = [], this.getAfferentParticipantNodeList());
@@ -3088,7 +3088,7 @@ const Us = /* @__PURE__ */ S(Oa, [["render", Fa], ["__scopeId", "data-v-01edd5c4
3088
3088
  type: t.type,
3089
3089
  deptId: this.handleLastStr(t.ancestors, t.subjectId),
3090
3090
  subjectName: this.humanPerformerName === "\u56FA\u5B9A\u5355\u4F4D" ? t.ancestorNames.slice(0, t.ancestorNames.indexOf("/")) : ""
3091
- })), this.multiNodeParticipant[this.personObjId] = [], this.partNode[this.personObjId] = [], e.map((t, s) => {
3091
+ })), this.$set(this.multiNodeParticipant, this.personObjId, []), this.$set(this.partNode, this.personObjId, []), e.map((t, s) => {
3092
3092
  this.multiNodeParticipant[this.personObjId].push(t.uid), this.partNode[this.personObjId].push(t.name);
3093
3093
  }), this.visiblePerson = !1;
3094
3094
  },