y优化
This commit is contained in:
parent
f89d900ffb
commit
f75117ebf7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user