|
|
@@ -387,18 +387,24 @@ export default { |
|
|
|
}, |
|
|
|
deptFindList() { |
|
|
|
// 获取团队 |
|
|
|
this.$api.api |
|
|
|
.deptFindList({ |
|
|
|
this.$api.http.overviewfindList({ |
|
|
|
houseId: this.houseId, |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
this.options = [ |
|
|
|
{ |
|
|
|
name: "全部", |
|
|
|
deptId: "", |
|
|
|
}, |
|
|
|
]; |
|
|
|
this.options.push(...res.data); |
|
|
|
let userinfo=JSON.parse(sessionStorage.getItem("zk-userInfo")) |
|
|
|
if(userinfo.content.deptType==1){ |
|
|
|
this.options.push(...res.data); |
|
|
|
this.deptId= this.options[0].deptId |
|
|
|
}else{ |
|
|
|
this.options = [ |
|
|
|
{ |
|
|
|
name: "全部", |
|
|
|
deptId: "", |
|
|
|
}, |
|
|
|
]; |
|
|
|
this.options.push(...res.data); |
|
|
|
this.deptId='' |
|
|
|
} |
|
|
|
this.receptionStatisticsAllAccount(); |
|
|
|
this.accountRank(); |
|
|
|
|
|
|
|