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:
@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user