前端增加数据过滤条件
This commit is contained in:
parent
d439734ebd
commit
fac40cb2dc
|
@ -281,6 +281,7 @@ export default {
|
||||||
this.$message.success({ content: 'Loaded!', key, duration: 2 })
|
this.$message.success({ content: 'Loaded!', key, duration: 2 })
|
||||||
}
|
}
|
||||||
res.result.forEach((item) => {
|
res.result.forEach((item) => {
|
||||||
|
if (object.prototype.toString.call(item) == '[object Object]') {
|
||||||
arr.forEach((el) => {
|
arr.forEach((el) => {
|
||||||
if (
|
if (
|
||||||
parseInt(item.id) == el.stationId &&
|
parseInt(item.id) == el.stationId &&
|
||||||
|
@ -291,6 +292,7 @@ export default {
|
||||||
item.stationId = el.stationId
|
item.stationId = el.stationId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.orgStationList = res.result
|
this.orgStationList = res.result
|
||||||
let arrA = []
|
let arrA = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user