fix coquille
This commit is contained in:
parent
7d6501016e
commit
5ed4cf2001
@ -64,6 +64,7 @@
|
|||||||
|
|
||||||
etablissement.fields['list_com']=moyenne
|
etablissement.fields['list_com']=moyenne
|
||||||
})
|
})
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ class PAPI {
|
|||||||
static async fetchEtablissement(filiere, sousfiliere, soussousfiliere) {
|
static async fetchEtablissement(filiere, sousfiliere, soussousfiliere) {
|
||||||
let request = await fetch(`${PAPI.searchURL}&refine.fil_lib_voe_acc=${soussousfiliere}&refine.form_lib_voe_acc=${sousfiliere}&refine.fili=${filiere}`)
|
let request = await fetch(`${PAPI.searchURL}&refine.fil_lib_voe_acc=${soussousfiliere}&refine.form_lib_voe_acc=${sousfiliere}&refine.fili=${filiere}`)
|
||||||
let result = await request.json()
|
let result = await request.json()
|
||||||
console.log(result["records"])
|
|
||||||
return result["records"]
|
return result["records"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,6 @@ class PAPI {
|
|||||||
static async fetchEtablissement(filiere, sousfiliere, soussousfiliere) {
|
static async fetchEtablissement(filiere, sousfiliere, soussousfiliere) {
|
||||||
let request = await fetch(`${PAPI.searchURL}&refine.fil_lib_voe_acc=${soussousfiliere}&refine.form_lib_voe_acc=${sousfiliere}&refine.fili=${filiere}`);
|
let request = await fetch(`${PAPI.searchURL}&refine.fil_lib_voe_acc=${soussousfiliere}&refine.form_lib_voe_acc=${sousfiliere}&refine.fili=${filiere}`);
|
||||||
let result = await request.json();
|
let result = await request.json();
|
||||||
console.log(result["records"]);
|
|
||||||
return result["records"];
|
return result["records"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -63,53 +62,53 @@ var school = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
template: (template, expressionTypes, bindingTypes, getComponent) => template('<main class="container"><div class="block control has-icons-left is-inline-block is-pulled-right"><input class="input" type="search" placeholder="Établissement"/><span class="icon is-small is-left"><i class="fas fa-search"></i></span></div><table class="table is-fullwidth is-hoverable"><thead><tr><th><abbr title="name">Nom</abbr></th><th><abbr title="city">Ville</abbr></th><th><abbr title="dept">Dpt</abbr></th><th><abbr title="moyenne">Moyenne</abbr></th><th><abbr title="selectivite">Sélectivité</abbr></th></tr></thead><tbody><tr expr90="expr90"></tr></tbody></table></main>', [{
|
template: (template, expressionTypes, bindingTypes, getComponent) => template('<main class="container"><div class="block control has-icons-left is-inline-block is-pulled-right"><input class="input" type="search" placeholder="Établissement"/><span class="icon is-small is-left"><i class="fas fa-search"></i></span></div><table class="table is-fullwidth is-hoverable"><thead><tr><th><abbr title="name">Nom</abbr></th><th><abbr title="city">Ville</abbr></th><th><abbr title="dept">Dpt</abbr></th><th><abbr title="moyenne">Moyenne</abbr></th><th><abbr title="selectivite">Sélectivité</abbr></th></tr></thead><tbody><tr expr102="expr102"></tr></tbody></table></main>', [{
|
||||||
type: bindingTypes.EACH,
|
type: bindingTypes.EACH,
|
||||||
getKey: null,
|
getKey: null,
|
||||||
condition: null,
|
condition: null,
|
||||||
template: template('<td expr91="expr91"> </td><td expr92="expr92"> </td><td expr93="expr93"> </td><td expr94="expr94"> </td><td expr95="expr95"> </td>', [{
|
template: template('<td expr103="expr103"> </td><td expr104="expr104"> </td><td expr105="expr105"> </td><td expr106="expr106"> </td><td expr107="expr107"> </td>', [{
|
||||||
redundantAttribute: 'expr91',
|
redundantAttribute: 'expr103',
|
||||||
selector: '[expr91]',
|
selector: '[expr103]',
|
||||||
expressions: [{
|
expressions: [{
|
||||||
type: expressionTypes.TEXT,
|
type: expressionTypes.TEXT,
|
||||||
childNodeIndex: 0,
|
childNodeIndex: 0,
|
||||||
evaluate: _scope => _scope.etablissement.g_ea_lib_vx
|
evaluate: _scope => _scope.etablissement.g_ea_lib_vx
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
redundantAttribute: 'expr92',
|
redundantAttribute: 'expr104',
|
||||||
selector: '[expr92]',
|
selector: '[expr104]',
|
||||||
expressions: [{
|
expressions: [{
|
||||||
type: expressionTypes.TEXT,
|
type: expressionTypes.TEXT,
|
||||||
childNodeIndex: 0,
|
childNodeIndex: 0,
|
||||||
evaluate: _scope => _scope.etablissement.ville_etab
|
evaluate: _scope => _scope.etablissement.ville_etab
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
redundantAttribute: 'expr93',
|
redundantAttribute: 'expr105',
|
||||||
selector: '[expr93]',
|
selector: '[expr105]',
|
||||||
expressions: [{
|
expressions: [{
|
||||||
type: expressionTypes.TEXT,
|
type: expressionTypes.TEXT,
|
||||||
childNodeIndex: 0,
|
childNodeIndex: 0,
|
||||||
evaluate: _scope => _scope.etablissement.dep
|
evaluate: _scope => _scope.etablissement.dep
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
redundantAttribute: 'expr94',
|
redundantAttribute: 'expr106',
|
||||||
selector: '[expr94]',
|
selector: '[expr106]',
|
||||||
expressions: [{
|
expressions: [{
|
||||||
type: expressionTypes.TEXT,
|
type: expressionTypes.TEXT,
|
||||||
childNodeIndex: 0,
|
childNodeIndex: 0,
|
||||||
evaluate: _scope => _scope.etablissement.list_com
|
evaluate: _scope => _scope.etablissement.list_com
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
redundantAttribute: 'expr95',
|
redundantAttribute: 'expr107',
|
||||||
selector: '[expr95]',
|
selector: '[expr107]',
|
||||||
expressions: [{
|
expressions: [{
|
||||||
type: expressionTypes.TEXT,
|
type: expressionTypes.TEXT,
|
||||||
childNodeIndex: 0,
|
childNodeIndex: 0,
|
||||||
evaluate: _scope => _scope.etablissement.taux_acces_ens
|
evaluate: _scope => _scope.etablissement.taux_acces_ens
|
||||||
}]
|
}]
|
||||||
}]),
|
}]),
|
||||||
redundantAttribute: 'expr90',
|
redundantAttribute: 'expr102',
|
||||||
selector: '[expr90]',
|
selector: '[expr102]',
|
||||||
itemName: 'etablissement',
|
itemName: 'etablissement',
|
||||||
indexName: null,
|
indexName: null,
|
||||||
evaluate: _scope => _scope.state.items
|
evaluate: _scope => _scope.state.items
|
||||||
|
@ -25,7 +25,6 @@ class PAPI {
|
|||||||
static async fetchEtablissement(filiere, sousfiliere, soussousfiliere) {
|
static async fetchEtablissement(filiere, sousfiliere, soussousfiliere) {
|
||||||
let request = await fetch(`${PAPI.searchURL}&refine.fil_lib_voe_acc=${soussousfiliere}&refine.form_lib_voe_acc=${sousfiliere}&refine.fili=${filiere}`);
|
let request = await fetch(`${PAPI.searchURL}&refine.fil_lib_voe_acc=${soussousfiliere}&refine.form_lib_voe_acc=${sousfiliere}&refine.fili=${filiere}`);
|
||||||
let result = await request.json();
|
let result = await request.json();
|
||||||
console.log(result["records"]);
|
|
||||||
return result["records"];
|
return result["records"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user