修改标题

dev
夜笙歌 1 year ago
parent f88f44271d
commit e8d410193c

@ -87,7 +87,6 @@ export default {
watch:{ watch:{
async $route(to,from){ async $route(to,from){
await this.getData() await this.getData()
console.log(123)
} }
}, },
data() { data() {

@ -149,7 +149,7 @@ export default {
await this.setAllNum(e) await this.setAllNum(e)
await this.setLimitSubMonitorUnit(e) await this.setLimitSubMonitorUnit(e)
await this.setAlarmCountGroupAlarmType(e) await this.setAlarmCountGroupAlarmType(e)
await this.setAlarmInfos() await this.setAlarmInfos(e)
}, },
async setAllNum(e) { async setAllNum(e) {
const {subSum, sum} = await sceneAllNums(e) const {subSum, sum} = await sceneAllNums(e)
@ -173,8 +173,8 @@ export default {
data = data.slice(0, 6) data = data.slice(0, 6)
this.alarmCountGroupAlarmType = data this.alarmCountGroupAlarmType = data
}, },
async setAlarmInfos() { async setAlarmInfos(e) {
const {rows: data} = await getAlarmInfos({"sceneId":this.sceneId}) const {rows: data} = await getAlarmInfos({"sceneId":e})
this.table1Data = data.map((e,i)=>{ this.table1Data = data.map((e,i)=>{
return { return {
data1: e.alarmInfoId, data1: e.alarmInfoId,

Loading…
Cancel
Save