Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BauabschnittApp
Please create a React-JS application for the BauabschnittModule. The application has to offer the following views for the user interface: 1. BauabschnittView 2. BaulosView 3. BaumassnahmeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The BauabschnittView must contain the following fields: - name: AbschnittNummer type: INT - name: Baustelle type: Baustelle - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Ende type: DATE The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing Bauabschnitt entity should be loaded from the relative URL: "/BauabschnittService/bauabschnitt/{id}" (HTTP-GET) If a new Bauabschnitt entity has been created, the new entity should be posted to the relative URL: "/BauabschnittService/bauabschnitt" (HTTP-POST) If an existing Bauabschnitt entity has been updated, the modified entity should be sent to the relative URL: "/BauabschnittService/bauabschnitt/{id}" (HTTP-PUT) If an existing Bauabschnitt entity has to be deleted, the following relative URL should be called: "/BauabschnittService/bauabschnitt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Baulos columns: - column: Bauabschnitt - column: Beschreibung - column: Ende - column: Bezeichnung - column: Beginn The table should have the title "Bauloss" und the data must be loaded from the server with the following relative URL: "/BauabschnittService/baulos/bauabschnitt/{id}" 2. The BaulosView must contain the following fields: - name: Bauabschnitt type: Bauabschnitt - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Ende type: DATE The data source for the [Bauabschnitt] select control should be loaded from the relative URL: "/BauabschnittService/bauabschnitt" (HTTP-GET) An existing Baulos entity should be loaded from the relative URL: "/BauabschnittService/baulos/{id}" (HTTP-GET) If a new Baulos entity has been created, the new entity should be posted to the relative URL: "/BauabschnittService/baulos" (HTTP-POST) If an existing Baulos entity has been updated, the modified entity should be sent to the relative URL: "/BauabschnittService/baulos/{id}" (HTTP-PUT) If an existing Baulos entity has to be deleted, the following relative URL should be called: "/BauabschnittService/baulos/{id}" (HTTP-DELETE) 3. The BaumassnahmeView must contain the following fields: - name: Baustelle type: Baustelle - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Ende type: DATE - name: IstDauerbaustelle type: BOOL - name: IstNachtarbeit type: BOOL - name: IstRundUmDieUhr type: BOOL - name: IstTageslichtarbeit type: BOOL - name: IstWanderbaustelle type: BOOL - name: MassnahmeTyp type: STRING The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing Baumassnahme entity should be loaded from the relative URL: "/BauabschnittService/baumassnahme/{id}" (HTTP-GET) If a new Baumassnahme entity has been created, the new entity should be posted to the relative URL: "/BauabschnittService/baumassnahme" (HTTP-POST) If an existing Baumassnahme entity has been updated, the modified entity should be sent to the relative URL: "/BauabschnittService/baumassnahme/{id}" (HTTP-PUT) If an existing Baumassnahme entity has to be deleted, the following relative URL should be called: "/BauabschnittService/baumassnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum