Commit 891819dd authored by xiexingan's avatar xiexingan

fix

parent 6fbb9435
......@@ -174,7 +174,12 @@
methods: {
handleStation(id) {
console.log('站点id', id)
let currenLinetItem = this.stationList.filter(e => e.id === id)
localStorage.currenLineId = currenLinetItem[0].lineId
this.sId = id
localStorage.stationName = currenLinetItem[0].stationName
localStorage.stationId = id
localStorage.lineId = this.lineId
that.$http({
url: that.$http.adornUrl('/sys/menu/nav1'),
method: 'get',
......@@ -370,10 +375,10 @@
params: this.$http.adornParams(params)
}).then(data => {
if (data && data.code === 0) {
console.log('alarm', data)
// console.log('alarm', data)
this.alarmList = data.list
this.stationAlarmList = data.stationAlarmList
console.log('stationAlarmList:', this.stationAlarmList)
// console.log('stationAlarmList:', this.stationAlarmList)
isSuccess = true
this.oneCount = data.countList.oneCount
this.twoCount = data.countList.twoCount
......@@ -407,7 +412,7 @@
params: this.$http.adornParams(params)
}).then(data => {
if (data) {
console.log('stationList:', data.list[0])
// console.log('stationList:', data.list[0])
// 站点集合
this.stationList = data.list[0]
// 线路
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment