风机列表:修改自动刷新时按筛选列表显示
This commit is contained in:
parent
1469d6cb0d
commit
f13ade2c36
@ -338,7 +338,18 @@ const getTableData = () => {
|
||||
console.log(data)
|
||||
|
||||
originTableData.value = data
|
||||
tableData.value = data
|
||||
if (airBlowerSelect.belongLine === '全部' && airBlowerSelect.iturbineoperationmode === 987654321) {
|
||||
tableData.value = data
|
||||
} else {
|
||||
const irn = tableData.value.map((item) => item.irn)
|
||||
const result: TableDataObjType[] = []
|
||||
data.forEach((item: TableDataObjType) => {
|
||||
if (irn.includes(item.irn)) {
|
||||
result.push(item)
|
||||
}
|
||||
})
|
||||
tableData.value = result
|
||||
}
|
||||
})
|
||||
.catch((err: any) => {
|
||||
console.log(err)
|
||||
|
Loading…
Reference in New Issue
Block a user