Переглянути джерело

工时管家——项目管理修改

ZhouRuiTing 5 роки тому
батько
коміт
738494043e

+ 2 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -313,14 +313,13 @@
                     for(var i in arr) {
                         array.push(parseInt(arr[i]))
                     }
-                    
                     this.insertForm = {
                         id: list.id,
                         name: list.name,
                         phone: list.phone,
                         role: list.role,
                         cost: list.cost,
-                        departmentId: array,
+                        departmentId: array.reverse(),
                     };
                     this.title = "编辑人员"
                 } else {
@@ -467,7 +466,7 @@
                     phone: list1.phone,
                     role: list1.role,
                     cost: list1.cost,
-                    departmentId: array1,
+                    departmentId: array1.reverse(),
                 };
                 this.dialogVisible1 = true;
             },