You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
629 B
23 lines
629 B
<template>
|
|
<el-row :gutter="20">
|
|
<el-col :span="8">
|
|
<el-card shadow="hover">
|
|
<ChartDeviceCount />
|
|
</el-card>
|
|
</el-col>
|
|
<el-col :span="16">
|
|
<ChartDeviceDetail />
|
|
</el-col>
|
|
</el-row>
|
|
<DeviceTable />
|
|
</template>
|
|
|
|
<script setup>
|
|
import ChartDeviceCount from 'components/overview/chart-device-count.vue';
|
|
import ChartDeviceDetail from 'components/overview/chart-device-detail.vue';
|
|
import DeviceTable from 'components/overview/device-table.vue';
|
|
import { useStore } from 'vuex';
|
|
|
|
const store = useStore();
|
|
store.dispatch('device/getDevicesCount'); // 获取设备数量信息
|
|
</script>
|
|
|