Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbteilungView
Please create a React-JS view called "AbteilungView" for the fields of the Abteilung entity. The AbteilungView must contain the following fields: - name: AbteilungArt type: AbteilungArt - name: IstBettenfuehrend type: BOOL - name: IstDiagnostisch type: BOOL - name: Krankenhaus type: Krankenhaus - name: Name type: STRING The data source for the [Krankenhaus] select control should be loaded from the relative URL: "/KrankenhausService/krankenhaus" (HTTP-GET) The data source for the [AbteilungArt] select control should be loaded from the relative URL: "/AbteilungService/abteilungart" (HTTP-GET) An existing Abteilung entity should be loaded from the relative URL: "/AbteilungService/abteilung/{id}" (HTTP-GET) If a new Abteilung entity has been created, the new entity should be posted to the relative URL: "/AbteilungService/abteilung" (HTTP-POST) If an existing Abteilung entity has been updated, the modified entity should be sent to the relative URL: "/AbteilungService/abteilung/{id}" (HTTP-PUT) If an existing Abteilung entity has to be deleted, the following relative URL should be called: "/AbteilungService/abteilung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Station columns: - column: Bettenanzahl - column: Abteilung - column: Etage - column: Name The table should have the title "Stations" und the data must be loaded from the server with the following relative URL: "/StationService/station/abteilung/{id}" Add a HTML table to the view with the following Fall columns: - column: FallNummer - column: Drg - column: Aufnahme - column: Abteilung - column: FallEnde - column: FallBeginn The table should have the title "Falls" und the data must be loaded from the server with the following relative URL: "/FallService/fall/abteilung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum