screenJxdxqk.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <div class="common-warp">
  3. <div class="left">
  4. <div class="c-w">
  5. <Jxdxqk></Jxdxqk>
  6. </div>
  7. </div>
  8. <div class="right">
  9. <div class="r-c-w">
  10. <Zydbsx :data="rightData"></Zydbsx>
  11. </div>
  12. </div>
  13. </div>
  14. </template>
  15. <script>
  16. import Jxdxqk from "@/views/dashboard-screen/jxdxqk/index.vue";
  17. import Zydbsx from "@/views/dashboard-screen/zydbsx/index.vue";
  18. export default {
  19. name: 'ScreenJxdxqk',
  20. data() {
  21. return {
  22. rightData: [
  23. {value: 4, name: '本月已完成站数'},
  24. {value: 3, name: '本月未完成站数'},
  25. {
  26. value: '', name: '未完成站名', children: [
  27. {name: '长春西牵引变电所'},
  28. {name: '英安河AT所'},
  29. {name: '珲春分区所'},
  30. ]
  31. },
  32. {value: 0, name: '下月计划完成站数'},
  33. {value: 0, name: '年度剩余站数'}
  34. ]
  35. }
  36. },
  37. components: {Zydbsx, Jxdxqk}
  38. }
  39. </script>
  40. <style scoped lang="scss">
  41. .common-warp {
  42. width: 100%;
  43. height: 100%;
  44. display: flex;
  45. .left, .right {
  46. flex: 1;
  47. flex-shrink: 0;
  48. height: 100%;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. }
  53. .left {
  54. .c-w {
  55. width: 30vw;
  56. height: 30vw;
  57. }
  58. }
  59. .right {
  60. .r-c-w {
  61. width: 30vw;
  62. height: 50vh;
  63. ::v-deep * {
  64. font-size: 1.6vw !important;
  65. }
  66. }
  67. }
  68. }
  69. </style>