Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions packages/frontend-usagers/src/pages/eig/liste.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,22 @@
<div
class="fr-fieldset__element fr-fieldset__element--inline fr-col-12 fr-col-md-3 fr-col-lg-2"
>
<RangeDatePicker
v-model="searchState.dateRange"
label="Date de l'eig"
/>
<div class="fr-input-group">
EIG entre le :
<DsfrInputGroup
v-model="searchState.dateRange.start"
type="date"
label="Date de début"
/>
</div>
<div class="fr-input-group">
et le :
<DsfrInputGroup
v-model="searchState.dateRange.end"
type="date"
label="Date de fin"
/>
</div>
</div>
</div>
</form>
Expand Down Expand Up @@ -118,7 +130,6 @@ import EigStatusBadge from "@vao/shared-ui/src/components/eig/EigStatusBadge.vue
import {
eigModel,
EigTypeListe,
RangeDatePicker,
TableWithBackendPagination,
ValidationModal,
} from "@vao/shared-ui";
Expand Down Expand Up @@ -152,7 +163,7 @@ const searchState = reactive({
statut: null,
idFonctionnelle: null,
type: null,
dateRange: null,
dateRange: { start: new Date(), end: new Date() },
});

const paginateResults = async (sortValue, limitValue, currentPageValue) => {
Expand Down
Loading