Commit 3d7eb5f7 authored by zhengke's avatar zhengke

修改

parent 9dd5a202
......@@ -566,7 +566,7 @@
this.data = res.Data.PageData;
this.pageCount = res.Data.PageCount;
let UserIds = [];
this.data .forEach(x=>{
this.data.forEach(x=>{
UserIds.push(x.EmAccountId);
x.PropertyNumber=0
})
......@@ -581,14 +581,15 @@
getEduEmployeeNumList({UserIds:UserIds}).then(res => {
this.loading = false;
let data = res.data.data
var mydata=JSON.parse(JSON.stringify(this.data));
data.forEach(x=>{
this.data.map(j=>{
mydata.forEach(j=>{
if(x.EmployeeId == j.EmAccountId){
j.PropertyNumber = x.PropertyNumber;
return
}
})
});
this.data=mydata;
}).catch(() => {
this.loading = false;
})
......
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