resetSoundv2.vue 818 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <div>
  3. <soundSetCore ref="soundSetCore" />
  4. <div class="btnWrap"
  5. v-if="lookType!=='look'"
  6. style="margin-top:30px">
  7. <div class="closeBtn"
  8. @click="getSound">取消</div>
  9. <div class="okBtn"
  10. v-permission="{child: 'musicGroup/updateSubjectInfo', parent: '/resetTeaming/resetSound'}"
  11. @click="saveInfo">保存</div>
  12. </div>
  13. </div>
  14. </template>
  15. <script>
  16. import soundSetCore from '@/views/teamBuild/components/soundSetComponents/soundSetCore'
  17. export default {
  18. components: { soundSetCore },
  19. data () {
  20. return {
  21. lookType: ''
  22. }
  23. },
  24. methods: {
  25. saveInfo () {
  26. this.$refs.soundSetCore.submitInfo()
  27. },
  28. getSound () {
  29. this.$refs.soundSetCore.init()
  30. },
  31. }
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. </style>