Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LageApp
Please create a React-JS application for the LageModule. The application has to offer the following views for the user interface: 1. EinsatzView 2. LageView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The EinsatzView must contain the following fields: - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Ende type: DATE - name: Name type: STRING - name: Ort type: STRING - name: Typ type: STRING An existing Einsatz entity should be loaded from the relative URL: "/LageService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/LageService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/LageService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/LageService/einsatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Lage columns: - column: Beschreibung - column: Ende - column: Einsatz - column: Beginn - column: Status - column: Titel The table should have the title "Lages" und the data must be loaded from the server with the following relative URL: "/LageService/lage/einsatz/{id}" Add a HTML table to the view with the following LagezentrumEinsatz columns: - column: Kommentar - column: Lagezentrum - column: Rolle - column: Einsatz The table should have the title "LagezentrumEinsatzs" und the data must be loaded from the server with the following relative URL: "/LagezentrumService/lagezentrumeinsatz/einsatz/{id}" 2. The LageView must contain the following fields: - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Einsatz type: Einsatz - name: Ende type: DATE - name: Status type: STRING - name: Titel type: STRING The data source for the [Einsatz] select control should be loaded from the relative URL: "/LageService/einsatz" (HTTP-GET) An existing Lage entity should be loaded from the relative URL: "/LageService/lage/{id}" (HTTP-GET) If a new Lage entity has been created, the new entity should be posted to the relative URL: "/LageService/lage" (HTTP-POST) If an existing Lage entity has been updated, the modified entity should be sent to the relative URL: "/LageService/lage/{id}" (HTTP-PUT) If an existing Lage entity has to be deleted, the following relative URL should be called: "/LageService/lage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Lagemeldung columns: - column: Zeitstempel - column: Lagezentrum - column: Schweregrad - column: Lage - column: Zusammenfassung - column: QuellenTyp The table should have the title "Lagemeldungs" und the data must be loaded from the server with the following relative URL: "/LagemeldungService/lagemeldung/lage/{id}" Add a HTML table to the view with the following Analyse columns: - column: Lage - column: ErstelltAm - column: Lagezentrum - column: Zusammenfassung - column: Zielgruppe The table should have the title "Analyses" und the data must be loaded from the server with the following relative URL: "/RegierungService/analyse/lage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum