Skip to content
Snippets Groups Projects
Commit dfe3bff9 authored by sebastien dupuy's avatar sebastien dupuy
Browse files

correctif filtre type sur la liste des structures

parent f625f44b
No related branches found
No related tags found
No related merge requests found
Pipeline #42095 passed
......@@ -30,9 +30,6 @@
<div slot="filter__name" class="VueTables__list-filter">
<input v-model="orgName" type="text" class="form-control" placeholder="Structure" />
</div>
<div slot="filter__type" class="VueTables__list-filter">
<input v-model="typeName" type="text" class="form-control" placeholder="Type" />
</div>
<div slot="filter__territory" class="VueTables__list-filter">
<input v-model="territoryName" type="text" class="form-control" placeholder="Territoire" />
</div>
......@@ -112,10 +109,11 @@ export default {
},
columnsDropdown: true,
filterByColumn: true,
filterable : ['short_name', 'siren', 'active'],
filterable : ['short_name', 'siren', 'type', 'active'],
headings: {
name: 'Structure',
short_name: 'Nom court',
type: 'Type',
active: 'Statut',
territory: 'Territoire',
},
......@@ -128,6 +126,27 @@ export default {
id: false,
text: 'Inactif'
}
],
type: [{
id: 'Autre',
text: 'Autre'
},
{
id: 'CCAS',
text: 'CCAS'
},
{
id: 'CIAS',
text: 'CIAS'
},
{
id: 'EPCI',
text: 'EPCI'
},
{
id: 'Syndicat départemental',
text: 'Syndicat départemental'
},
]
},
customSorting: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment