【前端】智能库房综合管理系统前端项目
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.

124 lines
3.2 KiB

3 years ago
  1. <template>
  2. <div class="dashboard-container">
  3. <div class="dashboard-editor-container">
  4. <el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
  5. <heat-map />
  6. </el-row>
  7. <el-row :gutter="32">
  8. <el-col :xs="24" :sm="24" :lg="8">
  9. <div class="chart-wrapper">
  10. <radar-chart />
  11. </div>
  12. </el-col>
  13. <el-col :xs="24" :sm="24" :lg="8">
  14. <div class="chart-wrapper">
  15. <sunburst />
  16. </div>
  17. </el-col>
  18. <el-col :xs="24" :sm="24" :lg="8">
  19. <div class="chart-wrapper">
  20. <gauge />
  21. </div>
  22. </el-col>
  23. </el-row>
  24. <el-row :gutter="12">
  25. <el-col :span="12">
  26. <div class="chart-wrapper">
  27. <rich />
  28. </div>
  29. </el-col>
  30. <el-col :span="12">
  31. <div class="chart-wrapper">
  32. <theme-river />
  33. </div>
  34. </el-col>
  35. </el-row>
  36. <el-row :gutter="32">
  37. <el-col :xs="24" :sm="24" :lg="8">
  38. <div class="chart-wrapper">
  39. <graph />
  40. </div>
  41. </el-col>
  42. <el-col :xs="24" :sm="24" :lg="8">
  43. <div class="chart-wrapper">
  44. <sankey />
  45. </div>
  46. </el-col>
  47. <el-col :xs="24" :sm="24" :lg="8">
  48. <div class="chart-wrapper">
  49. <line3-d />
  50. </div>
  51. </el-col>
  52. </el-row>
  53. <el-row :gutter="12">
  54. <el-col :span="12">
  55. <div class="chart-wrapper">
  56. <scatter />
  57. </div>
  58. </el-col>
  59. <el-col :span="12">
  60. <div class="chart-wrapper">
  61. <point />
  62. </div>
  63. </el-col>
  64. </el-row>
  65. <el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
  66. <div class="chart-wrapper">
  67. <word-cloud />
  68. </div>
  69. </el-row>
  70. <el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
  71. <div class="chart-wrapper">
  72. <category />
  73. </div>
  74. </el-row>
  75. </div>
  76. </div>
  77. </template>
  78. <script>
  79. import RadarChart from '@/components/Echarts/RadarChart'
  80. import HeatMap from '@/components/Echarts/HeatMap'
  81. import Gauge from '@/components/Echarts/Gauge'
  82. import Rich from '@/components/Echarts/Rich'
  83. import ThemeRiver from '@/components/Echarts/ThemeRiver'
  84. import Sunburst from '@/components/Echarts/Sunburst'
  85. import Graph from '@/components/Echarts/Graph'
  86. import Sankey from '@/components/Echarts/Sankey'
  87. import Scatter from '@/components/Echarts/Scatter'
  88. import Line3D from '@/components/Echarts/Line3D'
  89. import Category from '@/components/Echarts/Category'
  90. import Point from '@/components/Echarts/Point'
  91. import WordCloud from '@/components/Echarts/WordCloud'
  92. export default {
  93. name: 'Echarts',
  94. components: {
  95. Point,
  96. Category,
  97. Graph,
  98. HeatMap,
  99. RadarChart,
  100. Sunburst,
  101. Gauge,
  102. Rich,
  103. ThemeRiver,
  104. Sankey,
  105. Line3D,
  106. Scatter,
  107. WordCloud
  108. }
  109. }
  110. </script>
  111. <style rel="stylesheet/scss" lang="scss" scoped>
  112. .dashboard-editor-container {
  113. padding: 18px 22px 22px 22px;
  114. background-color: rgb(240, 242, 245);
  115. .chart-wrapper {
  116. background: #fff;
  117. padding: 16px 16px 0;
  118. margin-bottom: 32px;
  119. }
  120. }
  121. </style>