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