Min 1 jaar geleden
bovenliggende
commit
d2fd6e7298

+ 4 - 4
fhKeeper/formulahousekeeper/timesheet/src/views/projectApproval/projectApproval.vue

@@ -666,7 +666,7 @@ methods: {
             if (res.code == "ok") {
                 theData=res.data
             }
-            var list = item.participationApprovalList;
+            var list = theData.participationApprovalList;
             if (item.isPublic == 1) {
                 list = this.users;
             }
@@ -674,9 +674,9 @@ methods: {
             var names=""
             let namesLiss = [] // 企业微信用到的参与者
             for(var j in list) {
-                arr.push(list[j].id)
-                names += list[j].name+',';
-                namesLiss.push(list[j].name)
+                arr.push(list[j].userId)
+                names += list[j].userName+',';
+                namesLiss.push(list[j].userName)
             }
             if (names.length > 0) {
                 names = names.substring(0, names.length -1);