Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EhrenamtlicherApp
Please create a React-JS application for the EhrenamtlicherModule. The application has to offer the following views for the user interface: 1. EhrenamtlicherView 2. EinsatzView 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 EhrenamtlicherView must contain the following fields: - name: AktivFlag type: BOOL - name: Eintrittsdatum type: DATE - name: Email type: STRING - name: Geburtsdatum type: DATE - name: LokaleTafel type: LokaleTafel - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing Ehrenamtlicher entity should be loaded from the relative URL: "/EhrenamtlicherService/ehrenamtlicher/{id}" (HTTP-GET) If a new Ehrenamtlicher entity has been created, the new entity should be posted to the relative URL: "/EhrenamtlicherService/ehrenamtlicher" (HTTP-POST) If an existing Ehrenamtlicher entity has been updated, the modified entity should be sent to the relative URL: "/EhrenamtlicherService/ehrenamtlicher/{id}" (HTTP-PUT) If an existing Ehrenamtlicher entity has to be deleted, the following relative URL should be called: "/EhrenamtlicherService/ehrenamtlicher/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchulungsTeilnahme columns: - column: LebensmittelsicherheitsSchulung - column: ZertifikatNummer - column: Mitarbeiter - column: Ehrenamtlicher - column: BestandenFlag The table should have the title "SchulungsTeilnahmes" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/schulungsteilnahme/ehrenamtlicher/{id}" Add a HTML table to the view with the following Einsatz columns: - column: BisDatum - column: Route - column: EinsatzTyp - column: Lager - column: VonDatum - column: Ausgabestelle - column: Ehrenamtlicher The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EhrenamtlicherService/einsatz/ehrenamtlicher/{id}" Add a HTML table to the view with the following Berechtigungspruefung columns: - column: Mitarbeiter - column: Pruefdatum - column: Haushalt - column: Notizen - column: EinkommenGeprueftFlag - column: ErgebnisStatus - column: GueltigBis - column: Ehrenamtlicher The table should have the title "Berechtigungspruefungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/berechtigungspruefung/ehrenamtlicher/{id}" 2. The EinsatzView must contain the following fields: - name: Ausgabestelle type: Ausgabestelle - name: BisDatum type: DATE - name: Ehrenamtlicher type: Ehrenamtlicher - name: EinsatzTyp type: STRING - name: Lager type: Lager - name: Route type: Route - name: VonDatum type: DATE The data source for the [Lager] select control should be loaded from the relative URL: "/LagerService/lager" (HTTP-GET) The data source for the [Ehrenamtlicher] select control should be loaded from the relative URL: "/EhrenamtlicherService/ehrenamtlicher" (HTTP-GET) The data source for the [Ausgabestelle] select control should be loaded from the relative URL: "/StandortService/ausgabestelle" (HTTP-GET) The data source for the [Route] select control should be loaded from the relative URL: "/LokaleTafelService/route" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/EhrenamtlicherService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/EhrenamtlicherService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/EhrenamtlicherService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/EhrenamtlicherService/einsatz/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum