|
@@ -157,10 +157,11 @@ export default {
|
|
|
}
|
|
|
if (!!this.params.onj) {
|
|
|
let resList;
|
|
|
- if (this.params.index == 1) {
|
|
|
- resList = (this.params.onj.rosterUserDtos[0].currentUsers).split(',');
|
|
|
- }
|
|
|
+
|
|
|
this.params.onj.rosterUserDtos.map((item) => {
|
|
|
+ if (this.params.index == 1 || this.params.index == 2) {
|
|
|
+ resList = (item.currentUsers).split(',');
|
|
|
+ }
|
|
|
this.timePeriod.push({
|
|
|
partolName: item.partolName,
|
|
|
// partolUserId: item.patrolUserId,
|