refactoring

This commit is contained in:
Frank Knoll
2024-07-12 10:41:01 +02:00
parent d8b23880e2
commit a7e88bcce0
8 changed files with 4240 additions and 154 deletions

View File

@@ -39,17 +39,20 @@
document.addEventListener(
"DOMContentLoaded",
event => {
const name = 'Drug';
PageInitializer.initializePage(
{
symptom: {
symptomSelectElement: $('#symptomSelect'),
prrByVaccineTableElement: $('#prrByVaccineTable'),
downloadPrrByVaccineTableButton: document.querySelector("#downloadPrrByVaccineTable")
downloadPrrByVaccineTableButton: document.querySelector("#downloadPrrByVaccineTable"),
keyColumnName: name
},
vaccine: {
vaccineSelectElement: $('#vaccineSelect'),
prrBySymptomTableElement: $('#prrBySymptomTable'),
downloadPrrBySymptomTableButton: document.querySelector("#downloadPrrBySymptomTable")
downloadPrrBySymptomTableButton: document.querySelector("#downloadPrrBySymptomTable"),
valueName: name
}
}
);