calcul model sur bouton
This commit is contained in:
@@ -547,6 +547,16 @@ function initReport(data) {
|
||||
indicators.innerHTML = string
|
||||
}
|
||||
|
||||
function generateModel() {
|
||||
|
||||
const element = document.getElementById('current_file_name');
|
||||
let filename = element.value
|
||||
const indicators = Array.from(selectedReportIndicators).join(',');
|
||||
|
||||
fetch(`/generate_model?filename=${filename}`)
|
||||
.then(alert('Generation en cours'));
|
||||
}
|
||||
|
||||
function generateReport() {
|
||||
|
||||
const element = document.getElementById('current_file_name');
|
||||
|
||||
Reference in New Issue
Block a user