| | |
| | | |
| | | <el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;"> |
| | | <el-col :xs="24" :sm="12"> |
| | | <pie-chart /> |
| | | <el-card> |
| | | <pie-chart /> |
| | | </el-card> |
| | | </el-col> |
| | | |
| | | <el-col :xs="24" :sm="12"> |
| | | <line-chart :chart-data="lineChartData" /> |
| | | <el-card> |
| | | <line-chart :chart-data="lineChartData" /> |
| | | </el-card> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | |
| | |
| | | import PanelGroup from './dashboard/PanelGroup' |
| | | import LineChart from './dashboard/LineChart' |
| | | import PieChart from './dashboard/PieChart' |
| | | import pieChart from "@/views/dashboard/PieChart.vue"; |
| | | |
| | | const lineChartData = { |
| | | newVisitis: { |
| | |
| | | |
| | | export default { |
| | | name: 'Index', |
| | | computed: { |
| | | pieChart() { |
| | | return pieChart |
| | | } |
| | | }, |
| | | components: { |
| | | PanelGroup, |
| | | LineChart, |