农经大屏
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.

38 lines
569 B

  1. import Pannel from '@/components/pannelNew/index.vue';
  2. import Pie from '@/components/charts/pie/index.vue';
  3. export default {
  4. components: {
  5. Pie,
  6. Pannel
  7. },
  8. props: {
  9. data: {
  10. type: Array,
  11. default: function () {
  12. return []
  13. }
  14. },
  15. countNum: {
  16. type: Number,
  17. default: 0
  18. }
  19. },
  20. data () {
  21. return {
  22. tabIndex: '1'
  23. };
  24. },
  25. created () {
  26. },
  27. mounted () {
  28. console.log(this.countNum)
  29. },
  30. methods: {
  31. tabChange (info) {
  32. //console.log(info);
  33. this.tabIndex = info.id
  34. }
  35. }
  36. };