fillTeamInfo.vue 877 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="default_page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='填写所在团队信息'></cus-header>
  4. <cus-team-info-fill @handleConfirm="handleConfirm" confirmText="确定"></cus-team-info-fill>
  5. </view>
  6. </template>
  7. <script>
  8. import CusTeamInfoFill from '@/components/CusTeamInfoFill/index.vue'
  9. export default {
  10. components:{ CusTeamInfoFill },
  11. data(){
  12. return {
  13. type:''
  14. }
  15. },
  16. onLoad(options) {
  17. this.type = options.type||''
  18. },
  19. methods:{
  20. handleConfirm(){
  21. if(!this.type){
  22. uni.navigateTo({
  23. url:'/pagesPublish/questionnaireFill'
  24. })
  25. }else{
  26. this.getOpenerEventChannel().emit('saveTeamInfo',111)
  27. uni.navigateBack()
  28. }
  29. }
  30. }
  31. }
  32. </script>
  33. <style scoped lang="scss">
  34. .default_page{
  35. box-sizing: border-box;
  36. }
  37. </style>