Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitarbeiterApp
Please create a React-JS application for the MitarbeiterModule. The application has to offer the following views for the user interface: 1. GefaehrdungseinschaetzungFachkraftView 2. MitarbeiterView 3. RechtsvertretungJugendamtView 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 GefaehrdungseinschaetzungFachkraftView must contain the following fields: - name: Gefaehrdungseinschaetzung type: Gefaehrdungseinschaetzung - name: Mitarbeiter type: Mitarbeiter - name: Rolle type: STRING The data source for the [Gefaehrdungseinschaetzung] select control should be loaded from the relative URL: "/KindeswohlgefaehrdungsHinweisService/gefaehrdungseinschaetzung" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing GefaehrdungseinschaetzungFachkraft entity should be loaded from the relative URL: "/MitarbeiterService/gefaehrdungseinschaetzungfachkraft/{id}" (HTTP-GET) If a new GefaehrdungseinschaetzungFachkraft entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/gefaehrdungseinschaetzungfachkraft" (HTTP-POST) If an existing GefaehrdungseinschaetzungFachkraft entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/gefaehrdungseinschaetzungfachkraft/{id}" (HTTP-PUT) If an existing GefaehrdungseinschaetzungFachkraft entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/gefaehrdungseinschaetzungfachkraft/{id}" (HTTP-DELETE) 2. The MitarbeiterView must contain the following fields: - name: AktivBis type: DATE - name: AktivSeit type: DATE - name: Berufsbezeichnung type: STRING - name: IstFachkraft type: BOOL - name: IstInsoweitErfahreneFachkraft type: BOOL - name: Name type: STRING - name: Qualifikation type: STRING - name: Verwaltungseinheit type: Verwaltungseinheit The data source for the [Verwaltungseinheit] select control should be loaded from the relative URL: "/LeistungsartService/verwaltungseinheit" (HTTP-GET) An existing Mitarbeiter entity should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GefaehrdungseinschaetzungFachkraft columns: - column: Rolle - column: Mitarbeiter - column: Gefaehrdungseinschaetzung The table should have the title "GefaehrdungseinschaetzungFachkrafts" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/gefaehrdungseinschaetzungfachkraft/mitarbeiter/{id}" 3. The RechtsvertretungJugendamtView must contain the following fields: - name: Art type: STRING - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Ende type: DATE - name: Jugendamt type: Jugendamt - name: Person type: Person The data source for the [Jugendamt] select control should be loaded from the relative URL: "/JugendamtService/jugendamt" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing RechtsvertretungJugendamt entity should be loaded from the relative URL: "/MitarbeiterService/rechtsvertretungjugendamt/{id}" (HTTP-GET) If a new RechtsvertretungJugendamt entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/rechtsvertretungjugendamt" (HTTP-POST) If an existing RechtsvertretungJugendamt entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/rechtsvertretungjugendamt/{id}" (HTTP-PUT) If an existing RechtsvertretungJugendamt entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/rechtsvertretungjugendamt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum