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