Commit 2c7afce4 authored by zhengke's avatar zhengke

修改

parent 0a155f92
...@@ -638,7 +638,6 @@ ...@@ -638,7 +638,6 @@
}; };
getPostList(postMsg).then(res => { getPostList(postMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
console.log(res,'岗位');
this.PostList = res.Data; this.PostList = res.Data;
} }
}) })
...@@ -650,25 +649,11 @@ ...@@ -650,25 +649,11 @@
qMsg.Dept_Id=id; qMsg.Dept_Id=id;
queryEmployee(qMsg).then(res => { queryEmployee(qMsg).then(res => {
if(res.Code==1){ if(res.Code==1){
console.log(res,'员工');
this.EmployeeList = res.Data; this.EmployeeList = res.Data;
} }
}).catch(() => { }).catch(() => {
}) })
// if(this.addMsg.PostID==-1 && !all){
// this.addMsg.EmployeeID=-1;
// return
// }
// this.addMsg.EmployeeID = '';
// this.getEmployeeMsg.GroupId = all ? -1 : this.companyMsg.RB_Group_Id;
// this.getEmployeeMsg.BranchId = all ? -1 : this.addMsg.BranchId;
// this.getEmployeeMsg.DepartmentId = all ? -1 : this.addMsg.DepartmentID;
// this.getEmployeeMsg.PostId = all ? -1 : this.addMsg.PostID;
// this.apipost('admin_get_EmployeeGetList',this.getEmployeeMsg, res => {
// this.EmployeeList = res.data.data;
// }, err => {})
}, },
getCostTypeList(t,x){ getCostTypeList(t,x){
...@@ -792,7 +777,6 @@ ...@@ -792,7 +777,6 @@
let Type1 = false, let Type1 = false,
Type2 = false, Type2 = false,
Type3 = false; Type3 = false;
console.log(data,'data');
if (data.DepartList && data.DepartList.length>0){ if (data.DepartList && data.DepartList.length>0){
this.EmployeeIDList = []; this.EmployeeIDList = [];
data.DepartList.forEach(x =>{ data.DepartList.forEach(x =>{
......
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