diff --git a/src/App.vue b/src/App.vue index b0fe1e4..71f7175 100644 --- a/src/App.vue +++ b/src/App.vue @@ -150,8 +150,8 @@ onMounted(async () => { async function getLoginToken(username, password) { const credentials = btoa(`${username}:${password}`); // base64 encoding - const response = await fetch('/ahi/servlet/oauth/token?scope=logintoken', { + //const response = await fetch('/unilab/servlet/oauth/token?scope=logintoken', { method: 'POST', headers: { 'Authorization': `Basic ${credentials}`, @@ -169,6 +169,7 @@ async function getLoginToken(username, password) { async function fetchReportDataWithToken(token, pSERCER) { const response = await fetch(`/ahi/servlet/api/pi_flabreportapi?pSERCER=${encodeURIComponent(pSERCER)}`, { + //const response = await fetch(`/unilab/servlet/api/pi_flabreportapi?pSERCER=${encodeURIComponent(pSERCER)}`, { headers: { 'Authorization': `Bearer ${token}` }, diff --git a/src/components/risultati/A_CIL.vue b/src/components/risultati/A_CIL.vue index 8f26816..8a6f2d1 100644 --- a/src/components/risultati/A_CIL.vue +++ b/src/components/risultati/A_CIL.vue @@ -95,4 +95,15 @@ } - \ No newline at end of file + + + \ No newline at end of file diff --git a/src/components/risultati/A_CUB.vue b/src/components/risultati/A_CUB.vue index dcb5592..7da38aa 100644 --- a/src/components/risultati/A_CUB.vue +++ b/src/components/risultati/A_CUB.vue @@ -98,4 +98,14 @@ } - \ No newline at end of file + + \ No newline at end of file diff --git a/src/components/risultati/B_BAR.vue b/src/components/risultati/B_BAR.vue index da58270..c498117 100644 --- a/src/components/risultati/B_BAR.vue +++ b/src/components/risultati/B_BAR.vue @@ -27,8 +27,8 @@ {{ row.contrassegno }} {{ row.verbale }} {{ formatDate(row.dataPrelievo) }} - {{ formatNumber(row.diaNom,2) }} - {{ formatNumber(row.dimA,0) }} + {{ formatNumber(row.diaNom,0) }} + {{ formatNumber(row.lunBase,2) }} {{ formatNumber(row.masG,2) }} {{ formatNumber(row.diaEff,2) }} {{ row.ferriera }} @@ -93,4 +93,18 @@ : '—' } - \ No newline at end of file + + + \ No newline at end of file diff --git a/src/components/risultati/B_RET.vue b/src/components/risultati/B_RET.vue index f29f29c..c7a4972 100644 --- a/src/components/risultati/B_RET.vue +++ b/src/components/risultati/B_RET.vue @@ -27,8 +27,8 @@ {{ row.contrassegno }} {{ row.verbale }} {{ formatDate(row.dataPrelievo) }} - {{ formatNumber(row.diaNom,2) }} - {{ formatNumber(row.dimA,2) }} + {{ formatNumber(row.diaNom,0) }} + {{ formatNumber(row.lunBase,2) }} {{ formatNumber(row.masG,2) }} {{ formatNumber(row.diaEff,2) }} {{ row.ferriera }} @@ -96,4 +96,22 @@ : '—' } - \ No newline at end of file + + + + + + + \ No newline at end of file