|
@@ -136,7 +136,7 @@
|
|
|
this.teamUserList.forEach(l=>{
|
|
this.teamUserList.forEach(l=>{
|
|
|
l.emailTM = this.$reg.desensitizeContent(l.email);
|
|
l.emailTM = this.$reg.desensitizeContent(l.email);
|
|
|
l.mobileTM = this.$reg.desensitizeContent(l.mobile,2);
|
|
l.mobileTM = this.$reg.desensitizeContent(l.mobile,2);
|
|
|
- l.categoryName = this.categoryData.find(c=>c.id==l.category)?.name;
|
|
|
|
|
|
|
+ l.categoryName = this.categoryData.find(c=>c.id==l.category)?this.categoryData.find(c=>c.id==l.category).name:'';
|
|
|
})
|
|
})
|
|
|
this.teamUserShow = true
|
|
this.teamUserShow = true
|
|
|
})
|
|
})
|
|
@@ -186,8 +186,8 @@
|
|
|
this.teamInfo.functionsName = res.data.functions.map(f=>f.functionName).join('、');
|
|
this.teamInfo.functionsName = res.data.functions.map(f=>f.functionName).join('、');
|
|
|
this.teamInfo.organizationsName = res.data.organizations.map(f=>f.orgName).join('、');
|
|
this.teamInfo.organizationsName = res.data.organizations.map(f=>f.orgName).join('、');
|
|
|
this.teamInfo.address = res.data.provinceName+res.data.cityName;
|
|
this.teamInfo.address = res.data.provinceName+res.data.cityName;
|
|
|
- this.teamInfo.scaleName = this.teamScaleData.find(d=>d.id==res.data.scale).name;
|
|
|
|
|
- this.teamInfo.hierarchyName = this.teamLevelData.find(d=>d.id==res.data.hierarchy).name;
|
|
|
|
|
|
|
+ this.teamInfo.scaleName = this.teamScaleData.find(d=>d.id==res.data.scale)?this.teamScaleData.find(d=>d.id==res.data.scale).name:'';
|
|
|
|
|
+ this.teamInfo.hierarchyName = this.teamLevelData.find(d=>d.id==res.data.hierarchy)?this.teamLevelData.find(d=>d.id==res.data.hierarchy).name:'';
|
|
|
this.teamInfoShow = true;
|
|
this.teamInfoShow = true;
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|