Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AnlageApp
Please create a React-JS application for the AnlageModule. The application has to offer the following views for the user interface: 1. AbfallfraktionView 2. AnlageView 3. AnlagenBehandlungsfaehigkeitView 4. PlanZielView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AbfallfraktionView must contain the following fields: - name: Abfallart type: Abfallart - name: Beschreibung type: STRING - name: Name type: STRING - name: OrganischerAnteilProzent type: STRING - name: WiederverwertbarFlag type: BOOL The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing Abfallfraktion entity should be loaded from the relative URL: "/AnlageService/abfallfraktion/{id}" (HTTP-GET) If a new Abfallfraktion entity has been created, the new entity should be posted to the relative URL: "/AnlageService/abfallfraktion" (HTTP-POST) If an existing Abfallfraktion entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/abfallfraktion/{id}" (HTTP-PUT) If an existing Abfallfraktion entity has to be deleted, the following relative URL should be called: "/AnlageService/abfallfraktion/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PlanZiel columns: - column: Abfallart - column: Abfallfraktion - column: ZielWert - column: ZielJahr - column: Abfallwirtschaftsplan - column: ZielEinheit - column: ZielBeschreibung The table should have the title "PlanZiels" und the data must be loaded from the server with the following relative URL: "/AnlageService/planziel/abfallfraktion/{id}" Add a HTML table to the view with the following Abfallstrom columns: - column: Abfallart - column: Beschreibung - column: QuelleAkteur - column: MengeTonnenGeschaetzt - column: Abfallfraktion - column: Abfallkategorie - column: Entstehungsjahr The table should have the title "Abfallstroms" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfallstrom/abfallfraktion/{id}" Add a HTML table to the view with the following AnlagenBehandlungsfaehigkeit columns: - column: KapazitaetTonnenProJahr - column: Abfallfraktion - column: Behandlungsart - column: Abfallart - column: Anlage The table should have the title "AnlagenBehandlungsfaehigkeits" und the data must be loaded from the server with the following relative URL: "/AnlageService/anlagenbehandlungsfaehigkeit/abfallfraktion/{id}" 2. The AnlageView must contain the following fields: - name: Adresszeile type: STRING - name: AnlagenTyp type: STRING - name: Beschreibung type: STRING - name: BetreiberAkteur type: Akteur - name: Gemeinde type: Gemeinde - name: InbetriebnahmeDatum type: DATE - name: Name type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: StilllegungDatum type: DATE The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [BetreiberAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) An existing Anlage entity should be loaded from the relative URL: "/AnlageService/anlage/{id}" (HTTP-GET) If a new Anlage entity has been created, the new entity should be posted to the relative URL: "/AnlageService/anlage" (HTTP-POST) If an existing Anlage entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/anlage/{id}" (HTTP-PUT) If an existing Anlage entity has to be deleted, the following relative URL should be called: "/AnlageService/anlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsvorgang columns: - column: Abfallstrom - column: Behandlungsart - column: EingangsmengeTonnen - column: AusgangsmengeTonnen - column: VorgangsDatum - column: Anlage - column: EnergieRueckgewinnungMWh The table should have the title "Behandlungsvorgangs" und the data must be loaded from the server with the following relative URL: "/BehandlungsartService/behandlungsvorgang/anlage/{id}" Add a HTML table to the view with the following AnlagenBehandlungsfaehigkeit columns: - column: KapazitaetTonnenProJahr - column: Abfallfraktion - column: Behandlungsart - column: Abfallart - column: Anlage The table should have the title "AnlagenBehandlungsfaehigkeits" und the data must be loaded from the server with the following relative URL: "/AnlageService/anlagenbehandlungsfaehigkeit/anlage/{id}" Add a HTML table to the view with the following Umweltbewertung columns: - column: Minderungsmassnahmen - column: Umweltwirkungstyp - column: WirkungsScore - column: Beschreibung - column: Anlage - column: BewertungsDatum The table should have the title "Umweltbewertungs" und the data must be loaded from the server with the following relative URL: "/AbfallkategorieService/umweltbewertung/anlage/{id}" Add a HTML table to the view with the following Abfalltransport columns: - column: ZielAnlage - column: QuelleAnlage - column: Abfallstrom - column: TransportDatum - column: ZielDeponie - column: TransportMengeTonnen - column: Transportart The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfalltransport/quelleanlage/{id}" Add a HTML table to the view with the following Abfalltransport columns: - column: ZielAnlage - column: QuelleAnlage - column: Abfallstrom - column: TransportDatum - column: ZielDeponie - column: TransportMengeTonnen - column: Transportart The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfalltransport/zielanlage/{id}" Add a HTML table to the view with the following AnlagenKonformitaet columns: - column: Rechtsanforderung - column: PruefDatum - column: Anlage - column: Bemerkungen - column: KonformFlag The table should have the title "AnlagenKonformitaets" und the data must be loaded from the server with the following relative URL: "/RechtsanforderungService/anlagenkonformitaet/anlage/{id}" 3. The AnlagenBehandlungsfaehigkeitView must contain the following fields: - name: Abfallart type: Abfallart - name: Abfallfraktion type: Abfallfraktion - name: Anlage type: Anlage - name: Behandlungsart type: Behandlungsart - name: KapazitaetTonnenProJahr type: STRING The data source for the [Abfallfraktion] select control should be loaded from the relative URL: "/AnlageService/abfallfraktion" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) The data source for the [Behandlungsart] select control should be loaded from the relative URL: "/BehandlungsartService/behandlungsart" (HTTP-GET) An existing AnlagenBehandlungsfaehigkeit entity should be loaded from the relative URL: "/AnlageService/anlagenbehandlungsfaehigkeit/{id}" (HTTP-GET) If a new AnlagenBehandlungsfaehigkeit entity has been created, the new entity should be posted to the relative URL: "/AnlageService/anlagenbehandlungsfaehigkeit" (HTTP-POST) If an existing AnlagenBehandlungsfaehigkeit entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/anlagenbehandlungsfaehigkeit/{id}" (HTTP-PUT) If an existing AnlagenBehandlungsfaehigkeit entity has to be deleted, the following relative URL should be called: "/AnlageService/anlagenbehandlungsfaehigkeit/{id}" (HTTP-DELETE) 4. The PlanZielView must contain the following fields: - name: Abfallart type: Abfallart - name: Abfallfraktion type: Abfallfraktion - name: Abfallwirtschaftsplan type: Abfallwirtschaftsplan - name: ZielBeschreibung type: STRING - name: ZielEinheit type: STRING - name: ZielJahr type: LONG - name: ZielWert type: STRING The data source for the [Abfallfraktion] select control should be loaded from the relative URL: "/AnlageService/abfallfraktion" (HTTP-GET) The data source for the [Abfallwirtschaftsplan] select control should be loaded from the relative URL: "/AbfallwirtschaftsplanService/abfallwirtschaftsplan" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing PlanZiel entity should be loaded from the relative URL: "/AnlageService/planziel/{id}" (HTTP-GET) If a new PlanZiel entity has been created, the new entity should be posted to the relative URL: "/AnlageService/planziel" (HTTP-POST) If an existing PlanZiel entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/planziel/{id}" (HTTP-PUT) If an existing PlanZiel entity has to be deleted, the following relative URL should be called: "/AnlageService/planziel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum