Hwt 2 年 前
コミット
7d7f249d18

+ 4 - 3
operationSupport/src/views/patrolManagement/popups/schedulingAdd.vue

@@ -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,