From f75117ebf7f5e95c5814427696a12f4544e3d802 Mon Sep 17 00:00:00 2001 From: xiongchengqiang Date: Wed, 2 Dec 2020 09:51:39 +0800 Subject: [PATCH] =?UTF-8?q?y=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/assessment/performance/components/table.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/kpi/assessment/performance/components/table.vue b/src/views/kpi/assessment/performance/components/table.vue index 8d5d8bb..05dd103 100644 --- a/src/views/kpi/assessment/performance/components/table.vue +++ b/src/views/kpi/assessment/performance/components/table.vue @@ -265,7 +265,7 @@ export default { handleGetScorlList (list) { console.log('list: ', list) console.log('userInfo: ', this.userInfo.userId) - return list.filter(i => i.acquireScore !== null || i.approvalId === this.userInfo.userId) + return list.filter(i => i.acquireScore !== null || (i.approvalId === this.userInfo.userId && this.tableInfo.score)) }, handleScore (item) { return this.scoreList.filter(i => i.score === item).length > 0 ? this.scoreList.filter(i => i.score === item)[0].name : 0