
+++ client/views/component/Modal_MedicalHistory.jsx
... | ... | @@ -0,0 +1,76 @@ |
1 | +import React from "react"; | |
2 | +import Button from "./Button.jsx"; | |
3 | +import Table from "./Table.jsx"; | |
4 | + | |
5 | +export default function Modal_MedicalHistory({ open, close, }) { | |
6 | + const thead1 = [ | |
7 | + "No", | |
8 | + "진료 일자", | |
9 | + "진료 사유", | |
10 | + "진료 내용", | |
11 | + "기록 작성자 명", | |
12 | + ]; | |
13 | + const key1 = ["No", "date", "reason","content", "name"]; | |
14 | + const content1 = [ | |
15 | + { | |
16 | + No: 1, | |
17 | + date: "2023-01-25", | |
18 | + reason: "정기 내원", | |
19 | + content: "건강검진 진행, 이상 없음", | |
20 | + name: "정간호", | |
21 | + }, | |
22 | + ]; | |
23 | + return ( | |
24 | + <div class={open ? "openModal modal" : "modal"}> | |
25 | + {open ? ( | |
26 | + <div className="modal-inner"> | |
27 | + <div className="modal-header flex"> | |
28 | + 진료내역 | |
29 | + <Button className={"close"} onClick={close} btnName={"X"} /> | |
30 | + </div> | |
31 | + <div className="modal-main"> | |
32 | + <div className="board-wrap"> | |
33 | + <table className="margin-bottom2 senior-insert"> | |
34 | + <tr> | |
35 | + <th>진료일자</th> | |
36 | + <td> | |
37 | + <input type="text" placeholder="자동입력"/> | |
38 | + </td> | |
39 | + </tr> | |
40 | + <tr> | |
41 | + <th>진료 사유</th> | |
42 | + <td className="flex-start gender"> | |
43 | + <input type="text" /> | |
44 | + </td> | |
45 | + </tr> | |
46 | + <tr> | |
47 | + <th>진료 내용</th> | |
48 | + <td colSpan={3}> | |
49 | + <input type="text" /> | |
50 | + </td> | |
51 | + </tr> | |
52 | + <tr> | |
53 | + <th>작성자</th> | |
54 | + <td colSpan={3}> | |
55 | + <input type="text" placeholder="자동입력"/> | |
56 | + </td> | |
57 | + </tr> | |
58 | + </table> | |
59 | + <div className="btn-wrap flex-center margin-bottom5"> | |
60 | + <Button className={"btn-small red-btn"} btnName={"저장"} /> | |
61 | + </div> | |
62 | + <div> | |
63 | + <Table | |
64 | + className={"caregiver-user"} | |
65 | + head={thead1} | |
66 | + contents={content1} | |
67 | + contentKey={key1} | |
68 | + /> | |
69 | + </div> | |
70 | + </div> | |
71 | + </div> | |
72 | + </div> | |
73 | + ) : null} | |
74 | + </div> | |
75 | + ); | |
76 | +} |
--- client/views/pages/user_management/UserAuthoriySelect_agency.jsx
+++ client/views/pages/user_management/UserAuthoriySelect_agency.jsx
... | ... | @@ -371,7 +371,7 @@ |
371 | 371 |
}, []) |
372 | 372 |
return ( |
373 | 373 |
<main> |
374 |
- <Modal open={modalOpen} close={closeModal} header="'김복남'님의 가족"> |
|
374 |
+ <Modal open={modalOpen} close={closeModal} header="김복남'님의 가족"> |
|
375 | 375 |
<div className="board-wrap"> |
376 | 376 |
<SubTitle explanation={"최초 ID는 연락처, PW는 생년월일 8자리입니다."} className="margin-bottom" /> |
377 | 377 |
<table className="margin-bottom2 senior-insert"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?