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