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

@ -17,7 +17,8 @@
dragging: isDragable(element),
}"
>
<Report
<ReportBox
:report_id="element.report_id"
:title="element.report_title"
:description="element.report_description"
:date="element.created_dt"
@ -43,7 +44,8 @@
dragging: isDragable(element),
}"
>
<Report
<ReportBox
:report_id="element.report_id"
:title="element.report_title"
:description="element.report_description"
:date="element.created_dt"
@ -69,7 +71,8 @@
dragging: isDragable(element),
}"
>
<Report
<ReportBox
:report_id="element.report_id"
:title="element.report_title"
:description="element.report_description"
:date="element.created_dt"
@ -95,7 +98,8 @@
dragging: isDragable(element),
}"
>
<Report
<ReportBox
:report_id="element.report_id"
:title="element.report_title"
:description="element.report_description"
:date="element.created_dt"
@ -125,13 +129,13 @@ function isDragable(element) {
</script>
<script>
import Report from "../components/Report.vue";
import ReportBox from "../components/ReportBox.vue";
import draggable from "vuedraggable";
import { backend } from "../backend";
export default {
components: {
Report,
ReportBox,
draggable,
},
data() {