checkStatistic.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <div class="form-wrap">
  3. <div class="tableBox">
  4. <CheckStatisticInTicketCount v-show="activeName==='CheckStatisticInTicketCount'"></CheckStatisticInTicketCount>
  5. <!-- <el-tabs v-model="activeName">
  6. <el-tab-pane
  7. label="按票数统计"
  8. name="CheckStatisticInTicketCount">
  9. <span slot="label">
  10. 按票数统计
  11. <Tip msg="仅包含所有门票检票统计,计算规则按张统计,多人票及多次票计算为1次"></Tip>
  12. </span>
  13. <CheckStatisticInTicketCount v-show="activeName==='CheckStatisticInTicketCount'"></CheckStatisticInTicketCount>
  14. </el-tab-pane>
  15. <el-tab-pane
  16. label="按次数统计"
  17. name="CheckStatistic">
  18. <span slot="label">
  19. 按次数统计
  20. <Tip msg="仅包含所有门票检票统计,计算规则按次统计,多人票及多次票计算为多次"></Tip>
  21. </span>
  22. <CheckStatistic v-show="activeName==='CheckStatistic'"></CheckStatistic>
  23. </el-tab-pane>
  24. </el-tabs> -->
  25. </div>
  26. </div>
  27. </template>
  28. <script>
  29. // import CheckStatistic from './checkStatistic/CheckStatistic'
  30. import CheckStatisticInTicketCount from './checkStatistic/CheckStatisticInTicketCount'
  31. // import Tip from '@/components/Tip'
  32. export default {
  33. name: 'checkStatistic',
  34. components: {
  35. // Tip,
  36. // CheckStatistic,
  37. CheckStatisticInTicketCount
  38. },
  39. data () {
  40. return {
  41. activeName: 'CheckStatisticInTicketCount'
  42. }
  43. },
  44. watch: {
  45. activeName (val) {
  46. console.log(val)
  47. }
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. .tableBox{
  53. border: 0;
  54. ::v-deep .el-tabs__nav-wrap{
  55. padding: 0 24px;
  56. }
  57. }
  58. </style>