uprava API metody update aby bolo mozne aktualizovat len to co je potrebne,

pridany page pre Report,
zobrazenie info o reporte s dynamickou editaciou nadpisu a popisu
This commit is contained in:
2025-05-04 23:31:13 +02:00
parent 58a7444da2
commit 745f6495d1
9 changed files with 145 additions and 29 deletions

View File

@ -57,14 +57,8 @@ export const backend = {
priority: priority});
},
update(id, title, description, status, group, priority) {
return this.callPromise('update', {
report_id: id,
title: title,
description: description,
status: status,
group: group,
priority: priority});
update(id, report_data) {
return this.callPromise('update', {report_id: id, report_data: report_data});
},
delete(id) {