Commit bf543cb7 authored by zhengke's avatar zhengke

修改

parent 2c7afce4
...@@ -896,9 +896,6 @@ ...@@ -896,9 +896,6 @@
// this.getDepartmentList(); // this.getDepartmentList();
// this.getEmployeeList('all'); // this.getEmployeeList('all');
// this.getPostList('all'); // this.getPostList('all');
this.getDepartmentList(0);
this.getPostList(0);
this.getEmployeeList(0);
this.EmployeeIDList=[]; this.EmployeeIDList=[];
this.addMsg.ID = dataList.ID; this.addMsg.ID = dataList.ID;
...@@ -917,12 +914,15 @@ ...@@ -917,12 +914,15 @@
switch(x.Type){ switch(x.Type){
case 1: case 1:
this.addMsg.BranchId = x.departmentId; this.addMsg.BranchId = x.departmentId;
this.getDepartmentList(x.departmentId);
break; break;
case 2: case 2:
this.addMsg.PostID = x.departmentId; this.addMsg.PostID = x.departmentId;
this.getEmployeeList(x.departmentId);
break; break;
case 3: case 3:
this.addMsg.DepartmentID = x.departmentId; this.addMsg.DepartmentID = x.departmentId;
this.getPostList(x.departmentId)
break; break;
case 4: case 4:
this.addMsg.EmployeeID = x.departmentId; this.addMsg.EmployeeID = x.departmentId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment