农经大屏
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

76 Zeilen
1.7 KiB

  1. import Header from '@/components/header/index.vue';
  2. import Tabs from '@/components/tabs/index.vue';
  3. import Left11 from './comps/left/top/1/index.vue';
  4. import Left21 from './comps/left/middle/1/index.vue';
  5. import Left31 from './comps/left/bottom/1/index.vue';
  6. import Right11 from './comps/right/top/1/index.vue';
  7. import Right21 from './comps/right/middle/1/index.vue';
  8. import Right31 from './comps/right/bottom/1/index.vue';
  9. import Left12 from './comps/left/top/2/index.vue';
  10. import Left22 from './comps/left/middle/2/index.vue';
  11. import Left32 from './comps/left/bottom/2/index.vue';
  12. import Right12 from './comps/right/top/2/index.vue';
  13. import Right22 from './comps/right/middle/2/index.vue';
  14. import Right32 from './comps/right/bottom/2/index.vue';
  15. import Bottom2 from './comps/buttom/2/index.vue';
  16. import Bottom1 from './comps/buttom/1/index.vue';
  17. import { comps } from './data.js'
  18. import GisMap from '@/components/gis-map/index.vue';
  19. export default {
  20. components: {
  21. GisMap,
  22. Header,
  23. Tabs,
  24. Left11,
  25. Left21,
  26. Left31,
  27. Right11,
  28. Right21,
  29. Right31,
  30. Left12,
  31. Left22,
  32. Left32,
  33. Right12,
  34. Right22,
  35. Right32,
  36. Bottom2,
  37. Bottom1
  38. },
  39. data () {
  40. return {
  41. tabData: [
  42. {
  43. id: '1',
  44. name: '统计分析'
  45. },
  46. {
  47. id: '2',
  48. name: '预警分析'
  49. }
  50. ],
  51. yellowIcon: require('./icon/yellow.png'),
  52. tab: '1',
  53. comps
  54. };
  55. },
  56. computed: {
  57. currentComp: function () {
  58. return this.comps[this.tab]
  59. }
  60. },
  61. created () {
  62. },
  63. mounted () {
  64. },
  65. methods: {
  66. tabChange (info) {
  67. this.tab = info.id;
  68. }
  69. }
  70. };