|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<div class="dashboard-editor-container">
|
|
|
- <github-corner class="github-corner" />
|
|
|
|
|
|
<panel-group @handleSetLineChartData="handleSetLineChartData" />
|
|
|
|
|
@@ -25,31 +24,15 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
- <el-row :gutter="8">
|
|
|
- <el-col :xs="{span: 24}" :sm="{span: 24}" :md="{span: 24}" :lg="{span: 12}" :xl="{span: 12}" style="padding-right:8px;margin-bottom:30px;">
|
|
|
- <transaction-table />
|
|
|
- </el-col>
|
|
|
- <el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
|
|
- <todo-list />
|
|
|
- </el-col>
|
|
|
- <el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
|
|
- <box-card />
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import GithubCorner from '@/components/GithubCorner'
|
|
|
import PanelGroup from './components/PanelGroup'
|
|
|
import LineChart from './components/LineChart'
|
|
|
import RaddarChart from './components/RaddarChart'
|
|
|
import PieChart from './components/PieChart'
|
|
|
import BarChart from './components/BarChart'
|
|
|
-import TransactionTable from './components/TransactionTable'
|
|
|
-import TodoList from './components/TodoList'
|
|
|
-import BoxCard from './components/BoxCard'
|
|
|
|
|
|
const lineChartData = {
|
|
|
newVisitis: {
|
|
@@ -73,15 +56,11 @@ const lineChartData = {
|
|
|
export default {
|
|
|
name: 'DashboardAdmin',
|
|
|
components: {
|
|
|
- GithubCorner,
|
|
|
PanelGroup,
|
|
|
LineChart,
|
|
|
RaddarChart,
|
|
|
PieChart,
|
|
|
- BarChart,
|
|
|
- TransactionTable,
|
|
|
- TodoList,
|
|
|
- BoxCard
|
|
|
+ BarChart
|
|
|
},
|
|
|
data() {
|
|
|
return {
|