_id.vue 713 B

1234567891011121314151617181920212223242526272829303132
  1. <!-- Page de détails d'un IBAN (Edit mode) -->
  2. <template>
  3. <main>
  4. <v-skeleton-loader
  5. v-if="fetchState.pending"
  6. type="text"
  7. />
  8. <FormOrganizationBankAccount :id="id" v-else></FormOrganizationBankAccount>
  9. </main>
  10. </template>
  11. <script lang="ts">
  12. import { defineComponent } from '@nuxtjs/composition-api'
  13. import {UseDataUtils} from "~/composables/data/useDataUtils";
  14. import {BankAccount} from "~/models/Core/BankAccount";
  15. export default defineComponent({
  16. name: 'EditBankAccount',
  17. setup () {
  18. const {getItemToEdit} = new UseDataUtils().invoke()
  19. const {id, fetchState} = getItemToEdit(BankAccount)
  20. return {
  21. id,
  22. fetchState
  23. }
  24. }
  25. })
  26. </script>
  27. <style>
  28. </style>