<template>
  <leave-apply-page ref="leaveForm" scene="paid" v-on="$listeners" />
</template>

<script>
import LeaveApplyPage from '../components/leave-apply-page'

export default {
  name: 'PaidLeaveApplyPage',
  components: { LeaveApplyPage },
  methods: {
    init(data) {
      this.$refs.leaveForm.init(data)
    },
    dataFormSubmit(eventType) {
      this.$refs.leaveForm.dataFormSubmit(eventType)
    }
  }
}
</script>
