You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
593 B

  1. <template>
  2. <base-modal
  3. text="Upload"
  4. :is-create="true"
  5. >
  6. <template v-slot="slotProps">
  7. <document-upload-form
  8. :upload-document="uploadDocument"
  9. @close="slotProps.close"
  10. />
  11. </template>
  12. </base-modal>
  13. </template>
  14. <script>
  15. import { mapActions } from 'vuex'
  16. import BaseModal from '@/components/molecules/BaseModal'
  17. import DocumentUploadForm from '@/components/organisms/DocumentUploadForm'
  18. export default {
  19. components: {
  20. BaseModal,
  21. DocumentUploadForm
  22. },
  23. methods: {
  24. ...mapActions('documents', ['uploadDocument'])
  25. }
  26. }
  27. </script>