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

125 lines
4.2 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <template>
  2. <div class="app-container" style="background-color: #031435;">
  3. <div>
  4. <el-row :gutter="20">
  5. <el-col :xs="24" :sm="24" :lg="8">
  6. <div class="top-row container-wrap" style="height:calc(25vh - 40px)">
  7. <span class="right-top-line" />
  8. <span class="left-bottom-line" />
  9. <h3 class="table-title">
  10. <p class="title-arrow">档案借阅</p>
  11. </h3>
  12. <div class="chart-wrapper" style="height: calc(100% - 40px);">
  13. <lend-across :lend-data="lendData" />
  14. </div>
  15. </div>
  16. </el-col>
  17. <el-col :xs="24" :sm="24" :lg="8">
  18. <div class="top-row container-wrap" style="height:calc(25vh - 40px)">
  19. <span class="right-top-line" />
  20. <span class="left-bottom-line" />
  21. <h3 class="table-title">
  22. <p class="title-arrow">档案类别</p>
  23. </h3>
  24. <div class="chart-wrapper" style="height: calc(100% - 40px);">
  25. <cate-pie :cate-data="cateData" />
  26. </div>
  27. </div>
  28. </el-col>
  29. <el-col :xs="24" :sm="24" :lg="8">
  30. <div class="top-row container-wrap" style="height:calc(25vh - 40px)">
  31. <span class="right-top-line" />
  32. <span class="left-bottom-line" />
  33. <h3 class="table-title">
  34. <p class="title-arrow">档案类型</p>
  35. </h3>
  36. <div class="chart-wrapper" style="height: calc(100% - 40px);">
  37. <type-pie :type-data="typeData" />
  38. </div>
  39. </div>
  40. </el-col>
  41. </el-row>
  42. <!-- 中间 -->
  43. <el-row class="center-box">
  44. <el-col class="center-chart" style="margin-right:20px">
  45. <div class="container-wrap" style="height:calc(25vh - 40px)">
  46. <span class="right-top-line" />
  47. <span class="left-bottom-line" />
  48. <h3 class="table-title">
  49. <p class="title-arrow">出入库管理情况</p>
  50. </h3>
  51. <div class="chart-wrapper" style="height: calc(100% - 40px);">
  52. <BarEcharts />
  53. </div>
  54. </div>
  55. </el-col>
  56. <el-col class="center-chart">
  57. <div class=" container-wrap" style="height:calc(25vh - 40px)">
  58. <span class="right-top-line" />
  59. <span class="left-bottom-line" />
  60. <h3 class="table-title">
  61. <p class="title-arrow">档案检索排名</p>
  62. </h3>
  63. <div class="chart-wrapper" style="height: calc(100% - 40px);">
  64. <AcrossBar />
  65. </div>
  66. </div>
  67. </el-col>
  68. </el-row>
  69. <!-- 底部 -->
  70. <el-row :gutter="20">
  71. <el-col :xs="24" :sm="24" :lg="25">
  72. <div class="container-wrap" style="height:calc(25vh - 40px)">
  73. <span class="right-top-line" />
  74. <span class="left-bottom-line" />
  75. <h3 class="table-title">
  76. <p class="title-arrow">档案实际情况</p>
  77. </h3>
  78. <div class="chart-wrapper" style="height: calc(100% - 40px);">
  79. <LineEchart />
  80. </div>
  81. </div>
  82. </el-col>
  83. </el-row>
  84. </div>
  85. </div>
  86. </template>
  87. <script>
  88. import lendAcross from '@/views/components/echarts/lendAcross.vue'
  89. import catePie from '@/views/components/echarts/catePie.vue'
  90. import typePie from '@/views/components/echarts/typePie.vue'
  91. import BarEcharts from './module/barEcharts.vue'
  92. import AcrossBar from './module/acrossBar.vue'
  93. import LineEchart from './module/lineEchart.vue'
  94. export default {
  95. components: { lendAcross, catePie, typePie, BarEcharts, AcrossBar, LineEchart },
  96. data() {
  97. return {
  98. lendData: [18203, 23489, 29034, 104970],
  99. cateData: [1000, 700],
  100. typeData: [1110, 2000, 800, 600, 900]
  101. }
  102. }
  103. }
  104. </script>
  105. <style lang="scss" scoped>
  106. @import '~@/assets/styles/lend-manage.scss';
  107. .container-wrap{
  108. min-height:calc(100vh - 636px) ;
  109. }
  110. .center-box{
  111. // width:100%;
  112. margin:20px 0;
  113. display: flex;
  114. justify-content: space-between;
  115. .center-chart{
  116. padding:0;
  117. height:100%;
  118. flex: 1;
  119. }
  120. }
  121. </style>