Communes et collectivites : remplacer les appels à Nuxt3
Open
- Dominant language
- HTML
- Stars
- 10
- Forks
- 9
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 34
Description
Les remplacer par les API Django correspondantes et les faire évoluer au besoin.
Endpoint /api/geo/search/collectivites
populate=true renvoie les collectivités membres (à confirmer par la pratique).
const collectivites = await this.$nuxt3api(`/api/geo/search/collectivites?code=${this.$route.params.collectiviteId}&populate=true`)
-
/pages/ddt/_departement/collectivites/_collectiviteId/procedure/add.vue
const collectivites = await this.$nuxt3api(`/api/geo/search/collectivites?code=${this.$route.params.collectiviteId}&populate=true`)
-
/pages/ddt/_departement/procedures/choix-collectivite.vue
this.collectivites = await this.$nuxt3api(`/api/geo/search/collectivites?departementCode=${this.$route.params.departement}`)
Endpoint /api/geo/collectivites
const collectivites = await this.$nuxt3api(`/api/geo/collectivites?departementCode=${this.$route.params.departement}`)
- pages/ddt/_departement/collectivites/index.vue
const collectivites = await this.$nuxt3api(`/api/geo/collectivites?departementCode=${this.$route.params.departement}`)
- pages/ddt/_departement/collectivites/collectiviteId/epci.vue
const collectivites = await this.$nuxt3api(`/api/geo/collectivites?code=${this.$route.params.collectiviteId}`)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.