createPayment.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div>
  3. <el-tabs v-model.trim="activeIndex"
  4. type="card"
  5. @tab-click="handleClick">
  6. <el-tab-pane label="学员缴费"
  7. v-if="permission('/resetTeaming/teamBaseInfo')"
  8. name="1">
  9. <resetPayList :isNewGropu="true"
  10. :baseInfo="baseInfo" />
  11. </el-tab-pane>
  12. <el-tab-pane label="学校缴费"
  13. v-if="permission('/resetTeaming/resetSound')"
  14. name="2">
  15. <resetPayListSchool :isNewGropu="true"
  16. :baseInfo="baseInfo"
  17. v-if="activeIndex == 2" />
  18. </el-tab-pane>
  19. </el-tabs>
  20. </div>
  21. </template>
  22. <script>
  23. import resetPayList from "@/views/resetTeaming/components/resetPayList";
  24. import resetPayListSchool from '@/views/resetTeaming/components/resetPayListSchool'
  25. // import teamPayInfo from "@/views/teamBuild/components/teamPayInfo";
  26. export default {
  27. name: 'createPayment',
  28. components: { resetPayList, resetPayListSchool },
  29. data () {
  30. return {
  31. activeIndex: '1',
  32. baseInfo: {}
  33. };
  34. },
  35. mounted() {
  36. // getTeamBaseInfo
  37. },
  38. methods: {
  39. handleClick (val) {
  40. this.activeIndex = val.name
  41. },
  42. }
  43. }
  44. </script>