diff --git a/src/views/ebiz/performance/Performance.vue b/src/views/ebiz/performance/Performance.vue index 9694dd2fe..2d254f918 100644 --- a/src/views/ebiz/performance/Performance.vue +++ b/src/views/ebiz/performance/Performance.vue @@ -431,7 +431,6 @@ export default { }) this.OrgLv3s.splice(0) this.OrgLv3s.push(...res.content) - console.log(this.OrgLv3s, 'OrgLv3s') }, // 筛选三级机构-部 async onOrgLv3ConditionConfirm(data, status) { @@ -457,14 +456,16 @@ export default { if (status != 'false') { this.getPerformanceDetailC() } - // 查询四级机构 - const res = await getMisBranchComList({ - bussinessType: 'normal', - manageCode: this.orgs[1].code, - manageLv: '07' - }) - this.OrgLv4s.splice(0) - this.OrgLv4s.push(...res.content) + if (data != '全部') { + // 查询四级机构 + const res = await getMisBranchComList({ + bussinessType: 'normal', + manageCode: this.orgs[1].code, + manageLv: '07' + }) + this.OrgLv4s.splice(0) + this.OrgLv4s.push(...res.content) + } }, // 筛选四级机构-组 async onOrgLv4ConditionConfirm(data, status) { @@ -488,15 +489,17 @@ export default { this.getPerformanceDetailC() } if (this.manageLv == '07' || this.manageLv == '08') { - // 查询五级机构--个人 - const res = await getMisBranchComList({ - bussinessType: 'normal', - manageCode: this.orgs[2].code, - inCode: this.orgs[2].inCode, - manageLv: '08' - }) - this.OrgLv5s.splice(0) - this.OrgLv5s.push(...res.content) + if (data != '全部') { + // 查询五级机构--个人 + const res = await getMisBranchComList({ + bussinessType: 'normal', + manageCode: this.orgs[2].code, + inCode: this.orgs[2].inCode, + manageLv: '08' + }) + this.OrgLv5s.splice(0) + this.OrgLv5s.push(...res.content) + } } }, // 筛选五级机构-个人