Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BaustelleApp
Please create a React-JS application for the BaustelleModule. The application has to offer the following views for the user interface: 1. BarrierefreiMassnahmeView 2. BaustelleView 3. SicherheitsMassnahmeView 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 BarrierefreiMassnahmeView must contain the following fields: - name: Baustelle type: Baustelle - name: Beschreibung type: STRING - name: GehwegBreite type: STRING - name: NotwegVorhanden type: BOOL - name: QuerungshilfeVorhanden type: BOOL - name: RadwegBreite type: STRING The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing BarrierefreiMassnahme entity should be loaded from the relative URL: "/BaustelleService/barrierefreimassnahme/{id}" (HTTP-GET) If a new BarrierefreiMassnahme entity has been created, the new entity should be posted to the relative URL: "/BaustelleService/barrierefreimassnahme" (HTTP-POST) If an existing BarrierefreiMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/BaustelleService/barrierefreimassnahme/{id}" (HTTP-PUT) If an existing BarrierefreiMassnahme entity has to be deleted, the following relative URL should be called: "/BaustelleService/barrierefreimassnahme/{id}" (HTTP-DELETE) 2. The BaustelleView must contain the following fields: - name: Architekt type: Akteur - name: Auftraggeber type: Akteur - name: BaufeldFlaeche type: STRING - name: Bauvorhaben type: STRING - name: Bauwerk type: Bauwerk - name: Bezeichnung type: STRING - name: EndDatumGeplant type: DATE - name: EndDatumTatsaechlich type: DATE - name: Hauptunternehmer type: Akteur - name: StandortBeschreibung type: STRING - name: StartDatum type: DATE - name: Strassenbehoerde type: Akteur The data source for the [Hauptunternehmer] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Bauwerk] select control should be loaded from the relative URL: "/BauwerkService/bauwerk" (HTTP-GET) The data source for the [Strassenbehoerde] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Architekt] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Auftraggeber] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) An existing Baustelle entity should be loaded from the relative URL: "/BaustelleService/baustelle/{id}" (HTTP-GET) If a new Baustelle entity has been created, the new entity should be posted to the relative URL: "/BaustelleService/baustelle" (HTTP-POST) If an existing Baustelle entity has been updated, the modified entity should be sent to the relative URL: "/BaustelleService/baustelle/{id}" (HTTP-PUT) If an existing Baustelle entity has to be deleted, the following relative URL should be called: "/BaustelleService/baustelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BarrierefreiMassnahme columns: - column: Beschreibung - column: GehwegBreite - column: QuerungshilfeVorhanden - column: RadwegBreite - column: Baustelle - column: NotwegVorhanden The table should have the title "BarrierefreiMassnahmes" und the data must be loaded from the server with the following relative URL: "/BaustelleService/barrierefreimassnahme/baustelle/{id}" 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/baustelle/{id}" Add a HTML table to the view with the following VerkehrsrechtlicheAnordnung columns: - column: AntragsDatum - column: Aktenzeichen - column: Baustelle - column: Rechtsgrundlage - column: GenehmigungsDatum - column: ZustaendigeBehoerde The table should have the title "VerkehrsrechtlicheAnordnungs" und the data must be loaded from the server with the following relative URL: "/AkteurService/verkehrsrechtlicheanordnung/baustelle/{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/baustelle/{id}" Add a HTML table to the view with the following BaustelleGefahr columns: - column: Beschreibung - column: Baustelle - column: RisikoBewertung - column: Gefahr The table should have the title "BaustelleGefahrs" und the data must be loaded from the server with the following relative URL: "/GefahrService/baustellegefahr/baustelle/{id}" Add a HTML table to the view with the following Baugeraet columns: - column: EinsatzBis - column: GeraetTyp - column: Hersteller - column: Beschreibung - column: StandortBeschreibung - column: Baustelle - column: EinsatzVon The table should have the title "Baugeraets" und the data must be loaded from the server with the following relative URL: "/NormVerordnungService/baugeraet/baustelle/{id}" Add a HTML table to the view with the following Baustoff columns: - column: LagerOrt - column: Einheit - column: Bezeichnung - column: Kategorie - column: Menge - column: Baustelle The table should have the title "Baustoffs" und the data must be loaded from the server with the following relative URL: "/VerkehrszeichenplanService/baustoff/baustelle/{id}" Add a HTML table to the view with the following Unfall columns: - column: Beschreibung - column: PolizeiEinsatz - column: Datum - column: Baustelle - column: Sachschaden - column: Personenschaden - column: BeteiligtenAnzahl The table should have the title "Unfalls" und the data must be loaded from the server with the following relative URL: "/BauabschnittService/unfall/baustelle/{id}" Add a HTML table to the view with the following Bauabschnitt columns: - column: AbschnittNummer - column: Baustelle - column: Beschreibung - column: Beginn - column: Bezeichnung - column: Ende The table should have the title "Bauabschnitts" und the data must be loaded from the server with the following relative URL: "/BauabschnittService/bauabschnitt/baustelle/{id}" Add a HTML table to the view with the following Baustellenschild columns: - column: SchildTyp - column: StandortBeschreibung - column: TextInhalt - column: Baustelle The table should have the title "Baustellenschilds" und the data must be loaded from the server with the following relative URL: "/BauabschnittService/baustellenschild/baustelle/{id}" Add a HTML table to the view with the following Verkehrszeichenplan columns: - column: Beschreibung - column: PlanNummer - column: DatumErstellt - column: Baustelle - column: Ersteller The table should have the title "Verkehrszeichenplans" und the data must be loaded from the server with the following relative URL: "/VerkehrszeichenplanService/verkehrszeichenplan/baustelle/{id}" Add a HTML table to the view with the following BaustelleBaustellenart columns: - column: Baustellenart - column: Baustelle The table should have the title "BaustelleBaustellenarts" und the data must be loaded from the server with the following relative URL: "/BauwerkService/baustellebaustellenart/baustelle/{id}" Add a HTML table to the view with the following Baumassnahme columns: - column: IstWanderbaustelle - column: Ende - column: MassnahmeTyp - column: IstDauerbaustelle - column: Beginn - column: Baustelle - column: IstTageslichtarbeit - column: Beschreibung - column: IstRundUmDieUhr - column: IstNachtarbeit The table should have the title "Baumassnahmes" und the data must be loaded from the server with the following relative URL: "/VerkehrswegService/baumassnahme/baustelle/{id}" Add a HTML table to the view with the following Sicherungsanlage columns: - column: Baustelle - column: AktivVon - column: AnlageTyp - column: Standort - column: Beschreibung - column: AktivBis The table should have the title "Sicherungsanlages" und the data must be loaded from the server with the following relative URL: "/GefahrService/sicherungsanlage/baustelle/{id}" Add a HTML table to the view with the following BaustelleVerkehrsweg columns: - column: RichtungBetroffen - column: FahrstreifenVorher - column: Baustelle - column: Verkehrsweg - column: FahrstreifenWaehren - column: Laenge - column: IstVollsperrung The table should have the title "BaustelleVerkehrswegs" und the data must be loaded from the server with the following relative URL: "/VerkehrswegService/baustelleverkehrsweg/baustelle/{id}" 3. The SicherheitsMassnahmeView must contain the following fields: - name: Baustelle type: Baustelle - name: Gefahr type: Gefahr - name: MassnahmeBeschreibung type: STRING - name: Rechtsgrundlage type: NormVerordnung - name: Verantwortlicher type: Akteur The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/NormVerordnungService/normverordnung" (HTTP-GET) The data source for the [Gefahr] select control should be loaded from the relative URL: "/GefahrService/gefahr" (HTTP-GET) The data source for the [Verantwortlicher] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing SicherheitsMassnahme entity should be loaded from the relative URL: "/BaustelleService/sicherheitsmassnahme/{id}" (HTTP-GET) If a new SicherheitsMassnahme entity has been created, the new entity should be posted to the relative URL: "/BaustelleService/sicherheitsmassnahme" (HTTP-POST) If an existing SicherheitsMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/BaustelleService/sicherheitsmassnahme/{id}" (HTTP-PUT) If an existing SicherheitsMassnahme entity has to be deleted, the following relative URL should be called: "/BaustelleService/sicherheitsmassnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum