<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>
|