on remplie les options du select avec la bonne cle de recherche
This commit is contained in:
parent
e90aa0667d
commit
feae594659
2 changed files with 15 additions and 11 deletions
|
@ -319,7 +319,7 @@ let monTableau = {
|
|||
this.filtreCol.forEach((col) => {
|
||||
let Tval = [''];
|
||||
this.tableau.forEach((t) => {
|
||||
let valCol = t.html[col];
|
||||
let valCol = t[this.champ_search][col];
|
||||
if (Tval.indexOf(valCol) === -1) {
|
||||
Tval.push(valCol);
|
||||
this.filtreColValOk = true;
|
||||
|
@ -566,7 +566,7 @@ let monTableau = {
|
|||
</span>
|
||||
<span class="gamutable-nbrMax">{{tableau.length}} / {{table.length}} éléments</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="vueBlocs" v-if="quelleVue === 'bloc'">
|
||||
<div class="vueBlocs-unbloc"
|
||||
v-for="(ligne) in tableau"
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue