@@ -29,6 +29,7 @@
sjsbsbsl() {
let that = this
getSbsbsjsl().then(resp => {
+ console.log("设备上报事件数量", resp)
that.data_num = resp.data.num;
that.data_reportor = resp.data.reportor
that.myEcharts()
@@ -19,7 +19,8 @@ export default {
name: 'event',
data() {
return {
- year: 2022,
+ // year: 2022,
+ year: new Date().getFullYear(),
optionData: [],
option2Data: []
}
@@ -229,7 +229,7 @@ export default {
that.zxrs = res.data.visuForestCloudRyZxBO.zxrs
this.personnelChart()
})
- //获取巡林计划
+ //获取巡查监测点计划
getPlanList().then(res => {
this.xunLinListOne = res.data