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. KonfliktberatungView 2. KonfliktfallView 3. MitarbeiterView 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 KonfliktberatungView must contain the following fields: - name: Beratungsdatum type: DATE - name: Beschreibung type: STRING - name: Konfliktfall type: Konfliktfall - name: Mitarbeiter type: Mitarbeiter The data source for the [Konfliktfall] select control should be loaded from the relative URL: "/MitarbeiterService/konfliktfall" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing Konfliktberatung entity should be loaded from the relative URL: "/MitarbeiterService/konfliktberatung/{id}" (HTTP-GET) If a new Konfliktberatung entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/konfliktberatung" (HTTP-POST) If an existing Konfliktberatung entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/konfliktberatung/{id}" (HTTP-PUT) If an existing Konfliktberatung entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/konfliktberatung/{id}" (HTTP-DELETE) 2. The KonfliktfallView must contain the following fields: - name: Beschreibung type: STRING - name: Bewohner type: Bewohner - name: Enddatum type: DATE - name: Geloest type: BOOL - name: Mitarbeiter type: Mitarbeiter - name: Startdatum type: DATE The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) The data source for the [Bewohner] select control should be loaded from the relative URL: "/BewohnerService/bewohner" (HTTP-GET) An existing Konfliktfall entity should be loaded from the relative URL: "/MitarbeiterService/konfliktfall/{id}" (HTTP-GET) If a new Konfliktfall entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/konfliktfall" (HTTP-POST) If an existing Konfliktfall entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/konfliktfall/{id}" (HTTP-PUT) If an existing Konfliktfall entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/konfliktfall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Konfliktberatung columns: - column: Beratungsdatum - column: Konfliktfall - column: Beschreibung - column: Mitarbeiter The table should have the title "Konfliktberatungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/konfliktberatung/konfliktfall/{id}" 3. The MitarbeiterView must contain the following fields: - name: Beruf type: STRING - name: Person type: Person - name: Qualifikation type: STRING - name: Traegerorganisation type: Traegerorganisation The data source for the [Traegerorganisation] select control should be loaded from the relative URL: "/TraegerorganisationService/traegerorganisation" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/BewohnerService/person" (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 Konfliktberatung columns: - column: Beratungsdatum - column: Konfliktfall - column: Beschreibung - column: Mitarbeiter The table should have the title "Konfliktberatungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/konfliktberatung/mitarbeiter/{id}" Add a HTML table to the view with the following Konfliktfall columns: - column: Geloest - column: Startdatum - column: Beschreibung - column: Enddatum - column: Mitarbeiter - column: Bewohner The table should have the title "Konfliktfalls" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/konfliktfall/mitarbeiter/{id}" Add a HTML table to the view with the following Unterstuetzungsaktivitaet columns: - column: Hilfsplan - column: Aktivitaetsdatum - column: Mitarbeiter - column: DauerMinuten - column: Aktivitaetstyp - column: Beschreibung The table should have the title "Unterstuetzungsaktivitaets" und the data must be loaded from the server with the following relative URL: "/HilfsplanService/unterstuetzungsaktivitaet/mitarbeiter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum