on deplace la recherche du champ search
This commit is contained in:
parent
dbb3607275
commit
c56047ae20
2 changed files with 7 additions and 7 deletions
|
@ -413,6 +413,9 @@ let monTableau = {
|
|||
data = recupJson(data);
|
||||
if (data && data.length) {
|
||||
that.table = data;
|
||||
if (data[0].search) {
|
||||
that.champ_search = 'search';
|
||||
}
|
||||
if (filtreCol !== undefined) {
|
||||
that.filtreColType = filtreCol;
|
||||
Object.keys(that.filtreColType).forEach((col) => {
|
||||
|
@ -429,9 +432,6 @@ let monTableau = {
|
|||
that.filtreColSelected[col] = [];
|
||||
});
|
||||
}
|
||||
if (data[0].search) {
|
||||
that.champ_search = 'search';
|
||||
}
|
||||
console.log('fin chargement local forage ');
|
||||
}
|
||||
if (that.nomblocajaxreload) {
|
||||
|
|
|
@ -474,6 +474,10 @@ var monTableau = {
|
|||
if (data && data.length) {
|
||||
that.table = data;
|
||||
|
||||
if (data[0].search) {
|
||||
that.champ_search = 'search';
|
||||
}
|
||||
|
||||
if (filtreCol !== undefined) {
|
||||
that.filtreColType = filtreCol;
|
||||
Object.keys(that.filtreColType).forEach(function (col) {
|
||||
|
@ -492,10 +496,6 @@ var monTableau = {
|
|||
});
|
||||
}
|
||||
|
||||
if (data[0].search) {
|
||||
that.champ_search = 'search';
|
||||
}
|
||||
|
||||
console.log('fin chargement local forage ');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue