Parcourir la source

数字水利 事件来源,类型统计

wangzhe il y a 2 ans
Parent
commit
39e3efff44

+ 1 - 0
src/views/bigdata/chart-deviceReportingEvents.vue

@@ -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()

+ 2 - 1
src/views/bigdata/chart-event.vue

@@ -19,7 +19,8 @@ export default {
   name: 'event',
   data() {
     return {
-      year: 2022,
+      // year: 2022,
+      year: new Date().getFullYear(),
       optionData: [],
       option2Data: []
     }

+ 1 - 1
src/views/leader.vue

@@ -229,7 +229,7 @@ export default {
         that.zxrs = res.data.visuForestCloudRyZxBO.zxrs
         this.personnelChart()
       })
-      //获取巡计划
+      //获取巡查监测点计划
       getPlanList().then(res => {
         this.xunLinListOne = res.data
       })