Xxxu
2020-07-03 1ac6ef52a03f25f9def9f6a2594d2a8196aa77f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<template>
  <div style="margin-top:10px">
    <el-row :gutter="13">
      <el-col :span="7">
        <user-base-info style="margin-left:10px"></user-base-info>
        <charge-use-data style="margin-left:10px;margin-top:10px"></charge-use-data>
        <energy-save-gather style="margin-left:10px;margin-top:10px"></energy-save-gather>
      </el-col>
      <el-col :span="11">
        <single-data></single-data>
        <atmo-data style="margin-top:10px"></atmo-data>
      </el-col>
      <el-col :span="6">
        <wifi-info></wifi-info>
        <manhole-check style="margin-top:10px"></manhole-check>
        <splash style="margin-top:10px"></splash>
      </el-col>
    </el-row>
  </div>
</template>
 
<script>
import UserBaseInfo from './user-base-info'
import ChargeUseData from './charge-use-data'
import EnergySaveGather from './energy-save-gather'
import SingleData from './single-data'
import AtmoData from './atmo-data'
import WifiInfo from './wifi-info'
import ManholeCheck from './manhole-check'
import Splash from './splash'
export default {
  data () {
    return {}
  },
  components: {
    UserBaseInfo,
    ChargeUseData,
    EnergySaveGather,
    SingleData,
    AtmoData,
    WifiInfo,
    ManholeCheck,
    Splash
  },
  activated () {
    this.getStreetlightList()
  },
  methods: {
    getStreetlightList () {
      this.$http({
        url: this.$http.adornUrl('/pole/polestreetlight/getAll'),
        method: 'get'
      }).then(({data}) => {
        this.$store.commit('updateHomeStreetlightList', data.list)
      })
    }
  }
}
</script>