Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NormVerordnungApp
Please create a React-JS application for the NormVerordnungModule. The application has to offer the following views for the user interface: 1. BaugeraetView 2. BaustelleNormView 3. NormVerordnungView 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 BaugeraetView must contain the following fields: - name: Baustelle type: Baustelle - name: Beschreibung type: STRING - name: EinsatzBis type: DATE - name: EinsatzVon type: DATE - name: GeraetTyp type: STRING - name: Hersteller type: STRING - name: StandortBeschreibung type: STRING The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing Baugeraet entity should be loaded from the relative URL: "/NormVerordnungService/baugeraet/{id}" (HTTP-GET) If a new Baugeraet entity has been created, the new entity should be posted to the relative URL: "/NormVerordnungService/baugeraet" (HTTP-POST) If an existing Baugeraet entity has been updated, the modified entity should be sent to the relative URL: "/NormVerordnungService/baugeraet/{id}" (HTTP-PUT) If an existing Baugeraet entity has to be deleted, the following relative URL should be called: "/NormVerordnungService/baugeraet/{id}" (HTTP-DELETE) 2. The BaustelleNormView must contain the following fields: - name: Anwendungsbereich type: STRING - name: Baustelle type: Baustelle - name: NormVerordnung type: NormVerordnung The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) The data source for the [NormVerordnung] select control should be loaded from the relative URL: "/NormVerordnungService/normverordnung" (HTTP-GET) An existing BaustelleNorm entity should be loaded from the relative URL: "/NormVerordnungService/baustellenorm/{id}" (HTTP-GET) If a new BaustelleNorm entity has been created, the new entity should be posted to the relative URL: "/NormVerordnungService/baustellenorm" (HTTP-POST) If an existing BaustelleNorm entity has been updated, the modified entity should be sent to the relative URL: "/NormVerordnungService/baustellenorm/{id}" (HTTP-PUT) If an existing BaustelleNorm entity has to be deleted, the following relative URL should be called: "/NormVerordnungService/baustellenorm/{id}" (HTTP-DELETE) 3. The NormVerordnungView must contain the following fields: - name: Beschreibung type: STRING - name: InkraftDatum type: DATE - name: Kennung type: STRING - name: Titel type: STRING - name: Typ type: STRING An existing NormVerordnung entity should be loaded from the relative URL: "/NormVerordnungService/normverordnung/{id}" (HTTP-GET) If a new NormVerordnung entity has been created, the new entity should be posted to the relative URL: "/NormVerordnungService/normverordnung" (HTTP-POST) If an existing NormVerordnung entity has been updated, the modified entity should be sent to the relative URL: "/NormVerordnungService/normverordnung/{id}" (HTTP-PUT) If an existing NormVerordnung entity has to be deleted, the following relative URL should be called: "/NormVerordnungService/normverordnung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SicherheitsMassnahme columns: - column: Gefahr - column: Baustelle - column: Verantwortlicher - column: MassnahmeBeschreibung - column: Rechtsgrundlage The table should have the title "SicherheitsMassnahmes" und the data must be loaded from the server with the following relative URL: "/BaustelleService/sicherheitsmassnahme/rechtsgrundlage/{id}" Add a HTML table to the view with the following BaustelleNorm columns: - column: Anwendungsbereich - column: NormVerordnung - column: Baustelle The table should have the title "BaustelleNorms" und the data must be loaded from the server with the following relative URL: "/NormVerordnungService/baustellenorm/normverordnung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum