From 9ebcab622a7b3ca2e8db7931768d4f55dba11432 Mon Sep 17 00:00:00 2001 From: liyuetong Date: Thu, 3 Jun 2021 10:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E5=89=8D=E4=BA=BA=E4=B8=BA=E5=8C=BA?= =?UTF-8?q?=E7=BB=8F=E7=90=86=E4=B8=9A=E7=BB=A9=E6=9F=A5=E8=AF=A2=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=AA=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/performance/Performance.vue | 39 ++++++++++++---------- 1 file changed, 21 insertions(+), 18 deletions(-) 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) + } } }, // 筛选五级机构-个人