You can actually shorten the code with a bit of logic:
return this.items.filter((item) => { if (item.id.indexOf(str) >= 0 || item.name.indexOf(str) >= 0 || item.position.indexOf(str) >= 0) { return true } return false })
Now it's 8 lines instead of 12, well actually 6 if you think the if
condition as 1 long line.