站点地图、单站监控-实时运行部分接口联调
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
<el-card shadow="always" class="common-card-container common-card-container-body-no-padding">
|
||||
<div slot="header">
|
||||
<span class="card-title">实时告警</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text" size="small">通讯状态:<span style="color:red">超时</span></el-button>
|
||||
<!-- <el-button style="float: right; padding: 3px 0" type="text" size="small">通讯状态:<span style="color:red">超时</span></el-button>-->
|
||||
</div>
|
||||
<div class="ssgj-container">
|
||||
<el-table
|
||||
@ -48,7 +48,7 @@
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<nllz-chart/>
|
||||
<nllz-chart ref="nllzChart"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -102,14 +102,10 @@ export default {
|
||||
item.value = (data[item.attr] || data[item.attr] == 0) ? data[item.attr] : '-'
|
||||
})
|
||||
this.tableData = data?.siteMonitorHomeAlarmVo || []
|
||||
this.$refs.nllzChart.setOption(data)
|
||||
})
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// console.log('当前页面路由参数',this.$route.query)
|
||||
// const {siteId} = this.$route.query;
|
||||
// this.getData(siteId)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user