최정임 최정임 2023-02-16
230216 최정임 게시판 수정
@a1b170d9f54a56b8c347ecf97b9cc74de5d70f01
client/resources/css/common.css
--- client/resources/css/common.css
+++ client/resources/css/common.css
@@ -237,6 +237,16 @@
   height: 100%;
   margin: auto;
 }
+.width20 {
+  width: 20%;
+  height: 100%;
+  margin: auto;
+}
+.width50 {
+  width: 50%;
+  height: 100%;
+  margin: auto;
+}
 
 /* box 공통 */
 .row {
@@ -341,3 +351,4 @@
 /* 컬러 */
 .yellow{background: #f2db71;}
 .sky{background-color: #d1e4e3;}
+
client/resources/css/main.css
--- client/resources/css/main.css
+++ client/resources/css/main.css
@@ -21,6 +21,15 @@
   font-weight: 900;
   background-color: #18924e;
 }
+/* 담당자배정 */
+.protectorlist input{width: 20rem;}
+/* 위험기준관리 */
+.risk-table input{
+  width: 100%;
+}
+.risk-table select{
+  width: 100%;
+}
 /* 문진표 */
 .questionnaire-table th{display: block;}
 .questionnaire-table tr{padding: 1rem;}
@@ -649,7 +658,9 @@
 }
 
 /* 검색창 */
-
+.searchselect{width: 30%;}
+.searchselect input{width: 20%;}
+.searchselect label{width: 100%;}
 .mobile-area-wrap {
   display: none;
 }
client/views/pages/App.jsx
--- client/views/pages/App.jsx
+++ client/views/pages/App.jsx
@@ -26,8 +26,8 @@
   };
 
 
-  const menuItems = GovernmentApp.menuItems;  //AdminApp, GovernmentApp, AllApp, AgencyApp, GuardianApp 
-  const AppRoute = GovernmentApp.AppRoute;
+  const menuItems = AgencyApp.menuItems;  //AdminApp, GovernmentApp, AllApp, AgencyApp, GuardianApp 
+  const AppRoute = AgencyApp.AppRoute;
 
 
   const { title } = menuItems.find(
client/views/pages/AppRoute.jsx
--- client/views/pages/AppRoute.jsx
+++ client/views/pages/AppRoute.jsx
@@ -17,6 +17,7 @@
 import ConstructionIcon from '@mui/icons-material/Construction';
 import EqualizerIcon from '@mui/icons-material/Equalizer';
 import ApartmentIcon from '@mui/icons-material/Apartment';
+import LocalHospitalIcon from '@mui/icons-material/LocalHospital';
 
 import Test from "./Test/Test.jsx";
 import Main_government from "./main/Main_government.jsx";
@@ -57,10 +58,11 @@
 
 import MedicineCareSelect_government from "./healthcare/medicinecare/MedicineCareSelect_government.jsx";
 import TemperatureManagementSelect_government from "./healthcare/temperature/TemperatureManagementSelect_government.jsx";
+import BloodSelect from "./healthcare/BloodSelect.jsx";
+import ECGSelect from "./healthcare/ECGSelect.jsx";
 import Questionnaire_government from "./healthcare/Questionnaire_government.jsx";
 import VisitSelect_government from "./visit/visit/VisitSelect_government.jsx";
 import QandA_government from "./callcenter/QandA_government.jsx";
-import EquipmentManagementSelect_agency from "./equipment/EquipmentManagementSelect_agency.jsx";
 
 const AllAppMenuItems = [
   {
@@ -223,7 +225,7 @@
         title: "진료 관리",
         path: "/Questionnaire",
         icon: (
-          <DoorFrontIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+          <LocalHospitalIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
         ), 
       },
       {
@@ -579,17 +581,6 @@
     ],
   },
   {
-    title: "대상자 관리",
-    path: "/UserAuthoriySelect_admin",
-    icon: (
-      <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-    ),
-  },
-  {
-    title: "사용자 계정 승인",
-    path: "/UserSelectOk",    
-  },
-  {
     title: "건강 관리",
     prefix: "/Medicine",
     icon: (
@@ -605,12 +596,28 @@
         path: "/TemperatureManagementSelect",      
       },
       {
-        title: "진료 관리",
+        title: "방문 관리",
+        path: "/VisitSelect",     
+      },
+    ]
+  },
+  {
+    title: "진료 관리",
+    icon: (
+      <LocalHospitalIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+    ),
+    childrens:[
+      {
+        title: "문진표 관리",
         path: "/Questionnaire",      
       },
       {
-        title: "방문 관리",
-        path: "/VisitSelect",     
+        title: "심전도 관리",
+        path: "/ECGSelect",      
+      },
+      {
+        title: "혈압 관리",
+        path: "/BloodSelect",      
       },
     ]
   },
@@ -625,7 +632,6 @@
   },
   {
     title: "설정 관리",
-    prefix: "/Visit",
     icon: (
       <SettingsIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
@@ -644,7 +650,8 @@
 function GovernmentAppRoute() {
   return (
     <Routes>
-      <Route path="/Test" element={<Test />}></Route>
+      <Route path="/ECGSelect" element={<ECGSelect />}></Route>
+      <Route path="/BloodSelect" element={<BloodSelect />}></Route>
       <Route path="/Main_government" element={<Main_government />}></Route>
       <Route path="/AgencySelect" element={<AgencySelect />}></Route>
       <Route path="/UserSelectOk" element={<UserSelectOk />}></Route>
@@ -677,6 +684,13 @@
       ></Route>
       <Route path="/RiskSet" element={<RiskSet />}></Route>
       <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
+      <Route path="/QandASelect" element={<QandASelect />}></Route>
+      <Route path="/QandAConfirm" element={<QandAConfirm />}></Route>
+      <Route path="/QandAInsert" element={<QandAInsert />}></Route>
+      <Route path="/Questionnaire" element={<Questionnaire />}></Route>
+      <Route path="/ProtectorSelect" element={<ProtectorSelect />}></Route>
+      <Route path="/SeniorInsert" element={<SeniorInsert />}></Route>
+      <Route path="/AgencyInsert" element={<AgencyInsert />}></Route>
     </Routes>
   );
 }
@@ -687,14 +701,14 @@
     icon: <HouseIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
   },
   {
-    title: "시니어 관리",
+    title: "대상자 관리",
     path: "/UserAuthoriySelect_agency",
     icon: (
       <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
   },
   {
-    title: "시니어 건강 관리",
+    title: "건강 관리",
     icon: (
       <Diversity1Icon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
@@ -708,26 +722,49 @@
         path: "/TemperatureManagementSelect",      
       },
       {
-        title: "진료 관리",
-        path: "/Questionnaire",      
-      },
-      {
         title: "방문 관리",
         path: "/VisitSelect",     
       },
     ]
   },
   {
-    title: "장비 대여 관리",
-    path: "/QandASelect",
+    title: "진료 관리",
     icon: (
-      <ConstructionIcon
-        sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-      />
+      <LocalHospitalIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
+    childrens:[
+      {
+        title: "문진표 관리",
+        path: "/Questionnaire",      
+      },
+      {
+        title: "심전도 관리",
+        path: "/ECGSelect",      
+      },
+      {
+        title: "혈압 관리",
+        path: "/BloodSelect",      
+      },
+    ]
   },
   {
-    title: "문의게시판",
+    title: "장비 관리",
+    icon: (
+      <ConstructionIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+    ),
+    childrens:[
+      {
+        title: "장비 대여 관리",
+    path: "/EquipmentManagementSelect",      
+      },
+      {
+        title: "문의게시판",
+        path: "/QandASelect",      
+      },
+    ]
+  },
+  {
+    title: "Q&A",
     path: "/QandASelect",
     icon: (
       <SpeakerPhoneIcon
client/views/pages/callcenter/QandAConfirm.jsx
--- client/views/pages/callcenter/QandAConfirm.jsx
+++ client/views/pages/callcenter/QandAConfirm.jsx
@@ -10,7 +10,7 @@
     <main>
       <div className="content-wrap row">
         <ContentTitle contentTitle={"문의글 작성"} />
-        <SubTitle explanation={"작성자 정보"} />
+        <SubTitle explanation={"담당자 정보"} />
         <table className="margin-bottom2 senior-insert">
           <tr>
             <th>작성자</th>
@@ -18,7 +18,6 @@
               홍길동
             </td>
           </tr>
-
           <tr>
             <th>소속 기관</th>
             <td colSpan={3}>
@@ -37,23 +36,14 @@
             </td>
           </tr>
           <tr>
-              <th>내용</th>
-              <td colSpan={3}>
-                시니어 인원 증가로 인한 장비 추가 요청
-              </td>
-            </tr>
-        </table>
-        <p>대상자 정보</p>
-        <table className="margin-bottom2 senior-insert">
-          <tr>
-            <th>대상자 선택</th>
-            <td colSpan={3} className="flex width">
-              <select>
-                <option value="">대상자1</option>
-                <option value="">대상자2</option>
-              </select>
+            <th>내용</th>
+            <td colSpan={3}>
+              시니어 인원 증가로 인한 장비 추가 요청
             </td>
           </tr>
+        </table>
+        <SubTitle explanation={"대상자 정보"} />
+        <table className="margin-bottom2 senior-insert">
           <tr>
             <th>대상자 이름</th>
             <td>
@@ -74,10 +64,6 @@
               경상북도 군위군 군위읍
             </td>
           </tr>
-
-        </table>
-        <SubTitle explanation={"장비 정보"} />
-        <table className="margin-bottom2 senior-insert">          
           <tr>
             <th>장비명</th>
             <td>
@@ -89,12 +75,26 @@
             </td>
           </tr>
         </table>
+        <div className="flex-start">
+          <SubTitle explanation={"처리여부"} />
+          <select>
+            <option value="">처리중</option>
+            <option value="">처리완료</option>
+          </select>
+        </div>
         <div className="btn-wrap flex-center">
           <Button
             className={"btn-large gray-btn"}
             btnName={"이전"}
             onClick={() => {
-              navigate("/QandA_admin");
+              navigate("/QandASelect");
+            }}
+          />
+          <Button
+            className={"btn-large gray-btn"}
+            btnName={"저장"}
+            onClick={() => {
+              navigate("/QandASelect");
             }}
           />
         </div>
client/views/pages/callcenter/QandAInsert.jsx
--- client/views/pages/callcenter/QandAInsert.jsx
+++ client/views/pages/callcenter/QandAInsert.jsx
@@ -81,10 +81,6 @@
               <input type="text" placeholder="자동입력부분" />
             </td>
           </tr>
-
-        </table>
-        <SubTitle explanation={"장비 정보(시니어가 사용중인 장비가 자동으로 입력됩니다.)"} />
-        <table className="margin-bottom2 senior-insert">          
           <tr>
             <th>장비명</th>
             <td>
@@ -96,19 +92,20 @@
             </td>
           </tr>
         </table>
+       
         <div className="btn-wrap flex-center">
           <Button
             className={"btn-large gray-btn"}
             btnName={"이전"}
             onClick={() => {
-              navigate("/EquipmentManagementSelectReturn");
+              navigate("/QandASelect");
             }}
           />
           <Button
             className={"btn-large green-btn"}
             btnName={"등록"}
             onClick={() => {
-              navigate("/EquipmentManagementSelectReturn");
+              navigate("/QandASelect");
             }}
           />
         </div>
client/views/pages/callcenter/QandASelect.jsx
--- client/views/pages/callcenter/QandASelect.jsx
+++ client/views/pages/callcenter/QandASelect.jsx
@@ -4,6 +4,8 @@
 import Modal from "../../component/Modal.jsx";
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
+import RestoreFromTrashIcon from '@mui/icons-material/RestoreFromTrash';
+
 
 export default function QandASelect() {
   const navigate = useNavigate();
@@ -16,8 +18,9 @@
     "기관명",
     "요청일자",
     "구분",
-    "내용상세보기",
     "처리여부",
+    "내용상세보기",
+    "삭제"
   ];
   const key = [
     "No",
@@ -27,8 +30,9 @@
     "name",
     "date",
     "category",
+    "finish",
     "show",
-    "finish"
+    "delete"
   ];
   const content = [
     {
@@ -39,6 +43,7 @@
       name: "A복지관",
       date: "2023-01-27",
       category: "교환",
+      finish:"처리중", 
       show:  (
         <Button
           className={"btn-small gray-btn"}
@@ -48,11 +53,8 @@
           }}
         />
       ),
-      finish: (
-        <select>
-          <option value="">처리중</option>
-          <option value="">처리완료</option>
-        </select>
+      delete: (
+        <RestoreFromTrashIcon sx={{ width: "30px", height: "30px", }} />
       ),
     },
 
@@ -70,7 +72,6 @@
                 navigate("/QandAInsert");
               }}
             />
-            <Button className={"btn-small green-btn "} btnName={"삭제"} />
           </div>
           <Table className="equipment-detail" head={thead} contents={content} contentKey={key} />
         </div>
 
client/views/pages/healthcare/BloodSelect.jsx (added)
+++ client/views/pages/healthcare/BloodSelect.jsx
@@ -0,0 +1,145 @@
+import React from "react";
+import { useNavigate } from "react-router";
+import DetailSearch from "../../component/DetailSearch.jsx";
+import Table from "../../component/Table.jsx";
+import ContentTitle from "../../component/ContentTitle.jsx";
+import SubTitle from "../../component/SubTitle.jsx";
+import Button from "../../component/Button.jsx";
+import Modal from "../../component/Modal.jsx";
+
+export default function Questionnaire() {
+  const navigate = useNavigate();
+  const [modalOpen, setModalOpen] = React.useState(false);
+  const openModal = () => {
+    setModalOpen(true);
+  };
+  const closeModal = () => {
+    setModalOpen(false);
+  };
+
+  const [modalOpen2, setModalOpen2] = React.useState(false);
+  const openModal2 = () => {
+    setModalOpen2(true);
+  };
+  const closeModal2 = () => {
+    setModalOpen2(false);
+  };
+  //게시판
+  const thead = ["No", "이름","대상자등록번호", "생년월일", "연락처", "주소", "최근등록일", "최고혈압",  "최저혈압", "맥박수","혈압측정",];
+  const key = ["No", "name","number", "birth", "phone", "address","recent", "high","low","pulse", "average", ];
+  const content = [
+    {
+      No: 1,
+      name: "김복남",
+      number: "00000001",
+      birth: "1948.11.15",
+      phone: "010-1234-5678",
+      address: "경상북도 군위군 삼국유사면",
+      recent:"2020-01-05",
+      high:"130",
+      low:"90",
+      pulse:"60",
+      average: (
+        <Button
+          className={"btn-small gray-btn"}
+          btnName={"등록"}
+          onClick={openModal}
+        />
+      ),
+    },
+  ];
+
+  const thead1 = [
+    "No",
+    "측정 일자",
+    "최고 혈압",
+    "최저 혈압",
+    "맥박수",
+    "작성자",
+  ];
+  const key1 = ["No", "date", "high","low", "pulse", "writer"];
+  const content1 = [
+    {
+      No: 1,
+      date: "2023-01-25",
+      high: "130",
+      low: "90",
+      pulse: "60",
+      writer: "정간호",
+    },
+  ];
+
+  return (
+    <main>
+      <Modal open={modalOpen} close={closeModal} header="혈압측정 등록">
+        <div className="board-wrap">        
+          <div>
+          <table className="margin-bottom2">
+            <tr>
+              <th>대상자명</th>
+              <td className="flex-start">
+                <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            <tr>
+              <th>측정일자</th>
+              <td className="flex-start">
+                <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            <tr>
+              <th>최고혈압</th>
+              <td className="flex-start">
+                <input type="text" />
+              </td>              
+            </tr>
+            <tr>
+              <th>최저혈압</th>
+              <td className="flex-start">
+                <input type="text" />
+              </td>              
+            </tr>
+            <tr>
+              <th>맥박수</th>
+              <td className="flex-start">
+                <input type="text" />
+              </td>              
+            </tr>
+            
+          </table>
+          <div className="btn-wrap flex-center margin-bottom5">
+              <Button
+                  className={"btn-small green-btn"}
+                  btnName={"추가하기"}
+                  onClick={() => {
+                  // navigate("/SeniorInsert");
+                  }}
+              />
+            </div>
+          </div>
+          <Table
+              className={"caregiver-user "}
+              head={thead1}
+              contents={content1}
+              contentKey={key1}
+            />
+        </div>
+      </Modal>
+
+      <div className="content-wrap">
+      <ContentTitle contentTitle={"혈압 관리"} />
+        <div>
+          <DetailSearch />
+          <div className="board-wrap">
+            <Table
+            className={"medicine-table"}
+              head={thead}
+              contents={content}
+              contentKey={key}
+            />
+          </div>
+        </div>
+      </div>
+    </main>
+  );
+}
 
client/views/pages/healthcare/ECGSelect.jsx (added)
+++ client/views/pages/healthcare/ECGSelect.jsx
@@ -0,0 +1,180 @@
+import React from "react";
+import { useNavigate } from "react-router";
+import DetailSearch from "../../component/DetailSearch.jsx";
+import Table from "../../component/Table.jsx";
+import ContentTitle from "../../component/ContentTitle.jsx";
+import SubTitle from "../../component/SubTitle.jsx";
+import Button from "../../component/Button.jsx";
+import Modal from "../../component/Modal.jsx";
+
+export default function ECGSelect() {
+  const navigate = useNavigate();
+  const [modalOpen, setModalOpen] = React.useState(false);
+  const openModal = () => {
+    setModalOpen(true);
+  };
+  const closeModal = () => {
+    setModalOpen(false);
+  };
+
+  const [modalOpen2, setModalOpen2] = React.useState(false);
+  const openModal2 = () => {
+    setModalOpen2(true);
+  };
+  const closeModal2 = () => {
+    setModalOpen2(false);
+  };
+  //게시판
+  const thead = ["No", "이름","대상자등록번호", "생년월일", "연락처", "주소", "심전도"];
+  const key = ["No", "name","number", "birth", "phone", "address", "ECG"];
+  const content = [
+    {
+      No: 1,
+      name: "김복남",
+      number: "00000001",
+      birth: "1948.11.15",
+      phone: "010-1234-5678",
+      address: "경상북도 군위군 삼국유사면",
+      ECG: (
+        <Button
+          className={"btn-small gray-btn"}
+          btnName={"등록"}
+          onClick={openModal}
+        />
+      ),
+    },
+  ];
+
+  const thead1 = [
+    "No",
+    "측정일자",
+    "측정파일",
+    "등록자",
+  ];
+  const key1 = ["No", "date", "file","writer",];
+  const content1 = [
+    {
+      No: 1,
+      date: "2023-01-25",
+      file: ( <a href="" download="테스트">다운로드</a>),
+      writer: "정간호",
+    },
+  ];
+
+  return (
+    <main>
+      <Modal open={modalOpen} close={closeModal} header="혈압측정 등록">
+        <div className="board-wrap">        
+          <div>
+          <table className="margin-bottom2">
+            <tr>
+              <th>대상자명</th>
+              <td className="flex-start">
+                <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            <tr>
+              <th>측정일자</th>
+              <td className="flex-start">
+                <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            <tr>
+              <th>측정파일</th>
+              <td className="flex-start">
+              <input type="file"></input>
+              </td>              
+            </tr>
+            <tr>
+              <th>등록자</th>
+              <td className="flex-start">
+              <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            
+            
+          </table>
+          <div className="btn-wrap flex-center margin-bottom5">
+              <Button
+                  className={"btn-small green-btn"}
+                  btnName={"추가하기"}
+                  onClick={() => {
+                  // navigate("/SeniorInsert");
+                  }}
+              />
+            </div>
+          </div>
+          <Table
+              className={"caregiver-user "}
+              head={thead1}
+              contents={content1}
+              contentKey={key1}
+            />
+        </div>
+      </Modal>
+
+      <Modal open={modalOpen2} close={closeModal2} header="진료 기록">
+        <div className="board-wrap">
+        <table className="margin-bottom2 senior-insert">
+            <tr>
+              <th>진료일자</th>
+              <td>
+                <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            <tr>
+              <th>진료 사유</th>
+              <td className="flex-start gender">
+                <input type="text" />
+              </td>              
+            </tr>
+            <tr>
+              <th>진료 내용</th>
+              <td colSpan={3}>
+                <input type="text" />
+              </td>
+            </tr>
+            <tr>
+              <th>작성자</th>
+              <td colSpan={3}>
+              <input type="text" placeholder="자동입력"/>
+              </td>
+            </tr>           
+          </table>
+        <div className="btn-wrap flex-center margin-bottom5">
+              <Button
+                  className={"btn-small green-btn"}
+                  btnName={"추가하기"}
+                  onClick={() => {
+                  // navigate("/SeniorInsert");
+                  }}
+              />
+            </div>
+          <div>
+            <Table
+              className={"caregiver-user"}
+              head={thead1}
+              contents={content1}
+              contentKey={key1}
+            />
+          </div>
+        </div>
+      </Modal>
+
+      <div className="content-wrap">
+      <ContentTitle contentTitle={"문진표 조회"} />
+        <div>
+          <DetailSearch />
+          <div className="board-wrap">
+            <Table
+            className={"medicine-table"}
+              head={thead}
+              contents={content}
+              contentKey={key}
+            />
+          </div>
+        </div>
+      </div>
+    </main>
+  );
+}
client/views/pages/healthcare/Questionnaire.jsx
--- client/views/pages/healthcare/Questionnaire.jsx
+++ client/views/pages/healthcare/Questionnaire.jsx
@@ -79,19 +79,15 @@
     "진료 일자",
     "진료 사유",
     "진료 내용",
-    "심전도 데이터",
-    "혈압 데이터",
     "기록 작성자 명",
   ];
-  const key1 = ["No", "date", "reason","content", "ecg", "blood", "name"];
+  const key1 = ["No", "date", "reason","content", "name"];
   const content1 = [
     {
       No: 1,
       date: "2023-01-25",
       reason: "정기 내원",
       content: "건강검진 진행, 이상 없음",
-      ecg: "data",
-      blood: "data",
       name: "정간호",
     },
   ];
@@ -173,15 +169,40 @@
 
       <Modal open={modalOpen2} close={closeModal2} header="진료 기록">
         <div className="board-wrap">
-        <div className="btn-wrap flex-end margin-bottom">
+        <table className="margin-bottom2 senior-insert">
+            <tr>
+              <th>진료일자</th>
+              <td>
+                <input type="text" placeholder="자동입력"/>
+              </td>              
+            </tr>
+            <tr>
+              <th>진료 사유</th>
+              <td className="flex-start gender">
+                <input type="text" />
+              </td>              
+            </tr>
+            <tr>
+              <th>진료 내용</th>
+              <td colSpan={3}>
+                <input type="text" />
+              </td>
+            </tr>
+            <tr>
+              <th>작성자</th>
+              <td colSpan={3}>
+              <input type="text" placeholder="자동입력"/>
+              </td>
+            </tr>           
+          </table>
+        <div className="btn-wrap flex-center margin-bottom5">
               <Button
                   className={"btn-small green-btn"}
-                  btnName={"등록"}
+                  btnName={"추가하기"}
                   onClick={() => {
                   // navigate("/SeniorInsert");
                   }}
               />
-              <Button className={"btn-small green-btn"} btnName={"삭제"} />
             </div>
           <div>
             <Table
@@ -189,13 +210,6 @@
               head={thead1}
               contents={content1}
               contentKey={key1}
-            />
-          </div>
-          <div>
-            <Button
-              className={"btn-100 green-btn"}
-              btnName={"닫기"}
-              onClick={closeModal2}
             />
           </div>
         </div>
@@ -206,6 +220,15 @@
         <div>
           <DetailSearch />
           <div className="board-wrap">
+          <div className="flex">
+              <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom" />
+              <div className="flex searchselect">
+                <input type="radio" />
+                <label htmlFor="">나의 대상자 보기</label>
+                <input type="radio" />
+                <label htmlFor="">전체 대상자 보기</label>
+              </div>
+            </div>
             <Table
             className={"medicine-table"}
               head={thead}
client/views/pages/healthcare/medicinecare/MedicineCareSelect.jsx
--- client/views/pages/healthcare/medicinecare/MedicineCareSelect.jsx
+++ client/views/pages/healthcare/medicinecare/MedicineCareSelect.jsx
@@ -9,8 +9,8 @@
   const navigate = useNavigate();
 
   //게시판
-  const thead = ["No", "이름","대상자등록번호", "생년월일", "연락처", "주소", "최근 복약률",];
-  const key = ["No", "name","number", "birth", "phone", "address", "average"];
+  const thead = ["No", "이름", "대상자등록번호", "생년월일", "연락처", "주소", "최근 복약률",];
+  const key = ["No", "name", "number", "birth", "phone", "address", "average"];
   const content = [
     {
       No: 1,
@@ -39,13 +39,21 @@
   return (
     <main>
       <div className="content-wrap">
-      <ContentTitle contentTitle={"복약 조회"} />
+        <ContentTitle contentTitle={"복약 조회"} />
         <div>
           <DetailSearch />
           <div className="board-wrap">
-          <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom"/>
+            <div className="flex">
+              <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom" />
+              <div className="flex searchselect">
+                <input type="radio" />
+                <label htmlFor="">나의 대상자 보기</label>
+                <input type="radio" />
+                <label htmlFor="">전체 대상자 보기</label>
+              </div>
+            </div>
             <Table
-            className={"medicine-table"}
+              className={"medicine-table"}
               head={thead}
               contents={content}
               contentKey={key}
client/views/pages/healthcare/temperature/TemperatureManagementSelect.jsx
--- client/views/pages/healthcare/temperature/TemperatureManagementSelect.jsx
+++ client/views/pages/healthcare/temperature/TemperatureManagementSelect.jsx
@@ -30,7 +30,15 @@
       <ContentTitle contentTitle={"댁내 온도 조회"} />
           <DetailSearch />
           <div className="board-wrap">  
-          <SubTitle className="margin-bottom" explanation={"대상자 클릭 시 최근 일주일 댁내 온도를 확인할 수 있습니다."}/>
+          <div className="flex">
+              <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom" />
+              <div className="flex searchselect">
+                <input type="radio" />
+                <label htmlFor="">나의 대상자 보기</label>
+                <input type="radio" />
+                <label htmlFor="">전체 대상자 보기</label>
+              </div>
+            </div>
           <Table
           className={"temperature-table"}
             head={thead}
client/views/pages/setting/RiskSet.jsx
--- client/views/pages/setting/RiskSet.jsx
+++ client/views/pages/setting/RiskSet.jsx
@@ -6,7 +6,7 @@
 import Modal from "../../component/Modal.jsx";
 import { useNavigate } from "react-router";
 
-export default function EquipmentManagementSelect() {
+export default function RiskSet() {
   const navigate = useNavigate();
   const thead1 = [
     "",
@@ -22,54 +22,18 @@
     "text1",
     "text4",
     "temp",
-    "text2",
     "text3",];
   const content1 = [
     {
-      text: "댁내온도가 최근",
-      date: (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">1일</option>
-          <option value="">3일</option>
-          <option value="">일주일</option>
-          <option value="">한달</option>
-        </select>
-      ),
-      text1: "평균 온도가",
-      text4:  (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">영상</option>
-          <option value="">영하</option>
-        </select>
+      text: "최근 평균 온도가",
+      text4: (
+        <input type="number" />
       ),
       temp: (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">5℃</option>
-          <option value="">10℃</option>
-          <option value="">15℃</option>
-          <option value="">20℃</option>
-          <option value="">25℃</option>
-          <option value="">30℃</option>
-          <option value="">35℃</option>
-          <option value="">40℃</option>
-          <option value="">45℃</option>
-          <option value="">50℃</option>
-          <option value="">55℃</option>
-        </select>
-      ),
-      text2: (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">이하</option>
-          <option value="">이상</option>
-        </select>
+        <select>
+                <option value="">이상</option>
+                <option value="">이하</option>
+              </select>
       ),
       text3: "일 경우 위험알림으로 지정합니다.",
     },
@@ -78,45 +42,21 @@
     "",
     "",
     "",
-    "",
   ];
   const key2 = [
     "text",
     "date",
-    "text1",
     "text2",];
   const content2 = [
     {
-      text: "미복약 횟수가 최근",
-      date: (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">1일</option>
-          <option value="">3일</option>
-          <option value="">일주일</option>
-          <option value="">한달</option>
-        </select>
+      text: "미복약 횟수가 누적",
+      date:(
+        <input type="number" />
       ),
-      text1: (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">3회</option>
-          <option value="">6회</option>
-          <option value="">9회</option>
-          <option value="">12회</option>
-          <option value="">15회</option>
-          <option value="">21회 이상</option>
-        </select>
-      ),
-      text2: "일 경우 위험알림으로 지정합니다.",
+      text2: "회 이상일 경우 위험알림으로 지정합니다.",
     },
   ];
   const thead3 = [
-    "",
-    "",
-    "",
     "",
     "",
     "",
@@ -124,36 +64,14 @@
   const key3 = [
     "text",
     "date",
-    "text1",
-    "text4",
-    "temp",
-    "text2",
-    "text3",];
+    "text2",];
   const content3 = [
     {
       text: "배터리 잔량이 최근",
       date: (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">1일</option>
-          <option value="">3일</option>
-          <option value="">일주일</option>
-          <option value="">한달</option>
-        </select>
+        <input type="number" />
       ),
-      text4:  (
-        <select style={{
-          width: "100%"
-        }}>
-          <option value="">10%</option>
-          <option value="">20%</option>
-          <option value="">30%</option>
-          <option value="">40%</option>
-          <option value="">50%</option>
-        </select>
-      ),
-      text3: "이하일 경우 위험알림으로 지정합니다.",
+      text2: "% 이하일 경우 위험알림으로 지정합니다.",
     },
   ];
  
@@ -165,7 +83,7 @@
       title: "온도 관리",
       description: (
         <Table
-          className={"protector-user"}
+          className={"risk-table"}
           head={thead1}
           contents={content1}
           contentKey={key1}
@@ -177,7 +95,7 @@
       title: "복약 관리",
       description: (
         <Table
-          className={"caregiver-user"}
+          className={"risk-table"}
           head={thead2}
           contents={content2}
           contentKey={key2}
@@ -189,7 +107,7 @@
       title: "배터리 관리",
       description: (
         <Table
-          className={"caregiver-user"}
+          className={"risk-table"}
           head={thead3}
           contents={content3}
           contentKey={key3}
client/views/pages/user_management/AgencySelect.jsx
--- client/views/pages/user_management/AgencySelect.jsx
+++ client/views/pages/user_management/AgencySelect.jsx
@@ -4,39 +4,50 @@
 import { useNavigate } from "react-router";
 import AgencySearch from "../../component/AgencySearch.jsx";
 import ContentTitle from "../../component/ContentTitle.jsx";
+import Modal from "../../component/Modal.jsx";
 import SubTitle from "../../component/SubTitle.jsx";
+import RestoreFromTrashIcon from '@mui/icons-material/RestoreFromTrash';
 
 export default function SeniorSelect() {
   const navigate = useNavigate();
+  const [modalOpen, setModalOpen] = React.useState(false);
+  const openModal = () => {
+    setModalOpen(true);
+  };
+  const closeModal = () => {
+    setModalOpen(false);
+  };
 
   //게시판
   const thead = [
     "No",
-    "기관명",    
+    "기관명",
     "담당 부서 연락처(담당자)",
     "관리 장비 개수",
     "관리 대상자 인원",
     "주소",
     "사용자관리",
     "기관통계보기",
+    "삭제"
   ];
   const key = [
     "No",
-    "name",    
+    "name",
     "phone",
     "equip",
     "senior",
     "address",
     "worker",
     "statistics",
+    "delete"
   ];
-  const content = [    
+  const content = [
     {
       No: 1,
       name: "B복지관",
       phone: "053-811-1234(김대리)",
       equip: "80대",
-      senior:"75명",
+      senior: "75명",
       address: "경상북도 군위군 삼국유사면",
       worker: (
         <Button
@@ -56,7 +67,11 @@
           }}
         />
       ),
+      delete: (
+        <RestoreFromTrashIcon sx={{ width: "30px", height: "30px", }} />
+      ),
     },
+
   ];
 
   //select option 동적 생성
@@ -87,6 +102,36 @@
 
   return (
     <main>
+      <Modal open={modalOpen} close={closeModal} header="기관 등록">
+        <div className="board-wrap">
+          <table className="flex70 margin-bottom">
+            <tbody className="equipment-insert">
+              <tr>
+                <th>기관명</th>
+                <td colSpan={5}>
+                  <input type="text" name="" id="" />
+                </td>
+              </tr>
+              <tr>
+                <th>담당 부서 연락처</th>
+                <td>
+                  <input type="text" name="" id="" />
+                </td>
+                <th>담당자</th>
+                <td>
+                  <input type="text" name="" id="" />
+                </td>
+              </tr>
+              <tr>
+                <th>주소</th>
+                <td colSpan={5}>
+                  <input type="text" name="" id="" />
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </Modal>
       <div className="content-wrap">
         <ContentTitle contentTitle={"기관 조회"} />
         <div>
@@ -101,11 +146,8 @@
                 <Button
                   className={"btn-small green-btn"}
                   btnName={"등록"}
-                  onClick={() => {
-                    navigate("/AgencyInsert");
-                  }}
+                  onClick={openModal}
                 />
-                <Button className={"btn-small green-btn"} btnName={"삭제"} />
               </div>
             </div >
             <Table
@@ -114,7 +156,6 @@
               contents={content}
               contentKey={key}
             />
-            
           </div>
         </div>
       </div>
client/views/pages/user_management/ProtectorSelect.jsx
--- client/views/pages/user_management/ProtectorSelect.jsx
+++ client/views/pages/user_management/ProtectorSelect.jsx
@@ -6,7 +6,7 @@
 import ContentTitle from "../../component/ContentTitle.jsx";
 import SubTitle from "../../component/SubTitle.jsx";
 
-export default function SeniorSelect() {
+export default function ProtectorSelect() {
   const navigate = useNavigate();
 
   //게시판
client/views/pages/user_management/UserAuthoriySelect_agency.jsx
--- client/views/pages/user_management/UserAuthoriySelect_agency.jsx
+++ client/views/pages/user_management/UserAuthoriySelect_agency.jsx
@@ -23,20 +23,20 @@
     setModalOpen2(false);
   };
 
-	const insertBtn = (id) => {
-		if (id == 2) {
-			return (
-				<Button
-					className={"btn-small green-btn"}
-					btnName={"등록"}
-					onClick={() => {
-					navigate("/SeniorInsert");
-					}}
-				/>
-			)
-		}
-	};
-  
+  const insertBtn = (id) => {
+    if (id == 2) {
+      return (
+        <Button
+          className={"btn-small green-btn"}
+          btnName={"등록"}
+          onClick={() => {
+            navigate("/SeniorInsert");
+          }}
+        />
+      )
+    }
+  };
+
   const thead1 = [
     "No",
     "대상자 이름",
@@ -45,9 +45,9 @@
     "성별",
     "생년월일",
     "주소",
-    "대상자 보호자",
+    "보호자",
   ];
-  const key1 = ["No", "name", "Id","call", "gender", "birth", "address", "management"];
+  const key1 = ["No", "name", "Id", "call", "gender", "birth", "address", "management"];
   const content1 = [
     {
       No: 1,
@@ -56,11 +56,11 @@
       call: "010-1234-1234",
       gender: "여",
       birth: "1948.11.15",
-      address: "경상북도 군위군 삼국유사면",      
+      address: "경상북도 군위군 삼국유사면",
       management: (
         <Button
           className={"btn-small gray-btn"}
-          btnName={"보호자(가족) 보기"}
+          btnName={"보기"}
           onClick={openModal}
         />
       ),
@@ -75,33 +75,33 @@
     "성별",
     "생년월일",
     "주소",
-    "담당자 매칭",
-    "보호자 매칭",
-  ]; 
+    "담당자",
+    "보호자",
+  ];
   const key2 = [
-    "No", "name", "Id","call", "gender", "birth", "address", "worker", "guardian"
+    "No", "name", "Id", "call", "gender", "birth", "address", "worker", "guardian"
   ];
   const content2 = [
     {
       No: 2,
       name: "송창덕",
       Id: "20230202",
-      call:"010-5555-3573",
+      call: "010-5555-3573",
       gender: "남",
       birth: "1951.08.12",
       address: "경상북도 경산시 삼풍로",
       worker: (
         <Button
-          className={"btn-small"}
-          btnName={"매칭"}
-          // onClick={openModal2}
+          className={"btn-small gray-btn"}
+          btnName={"선택"}
+          onClick={openModal2}
         />
       ),
       guardian: (
         <Button
-          className={"btn-small"}
-          btnName={"등록"}
-          // onClick={openModal}
+          className={"btn-small gray-btn"}
+          btnName={"보기"}
+          onClick={openModal}
         />
       ),
     },
@@ -109,21 +109,21 @@
       No: 1,
       name: "김복남",
       Id: "20230131",
-      call:"010-1234-1234",
+      call: "010-1234-1234",
       gender: "여",
       birth: "1948.11.15",
       address: "경상북도 군위군 삼국유사면",
       worker: (
         <Button
           className={"btn-small gray-btn"}
-          btnName={"담당 보호사 보기"}
+          btnName={"선택"}
           onClick={openModal2}
         />
       ),
       guardian: (
         <Button
           className={"btn-small gray-btn"}
-          btnName={"보호자 보기"}
+          btnName={"보기"}
           onClick={openModal}
         />
       ),
@@ -131,23 +131,23 @@
   ];
   const thead3 = [
     "No",
-    "사용자명",
-    "사용자ID",
+    "이름",
+    "생년월일",
+    "연락처",
     "대상자와의 관계",
-    "보호자 연락처",
   ];
   const key3 = [
     "No",
     "name",
-    "Id",
-    "relationship",
+    "birth",
     "phone",
+    "relationship",
   ];
   const content3 = [
     {
       No: 1,
       name: "김훈",
-      Id: "admin2",
+      birth: "1965.01.01",
       relationship: "아들",
       phone: "010-1234-1234",
     },
@@ -209,7 +209,7 @@
   const data = [
     {
       id: 1,
-      title: "내가 관리하는 대상자(사용자)",
+      title: "내가 관리하는 대상자",
       description: (
         <Table
           className={"protector-user"}
@@ -221,7 +221,7 @@
     },
     {
       id: 2,
-      title: "전체 대상자(사용자)",
+      title: "전체 대상자",
       description: (
         <Table
           className={"caregiver-user"}
@@ -238,16 +238,50 @@
     <main>
       <Modal open={modalOpen} close={closeModal} header="'김복남'님의 가족">
         <div className="board-wrap">
-        <div className="btn-wrap flex-end margin-bottom">
-              <Button
-                  className={"btn-small green-btn"}
-                  btnName={"등록"}
-                  onClick={() => {
-                  navigate("/SeniorInsert");
-                  }}
-              />
-              <Button className={"btn-small green-btn"} btnName={"삭제"} />
-            </div>
+          <SubTitle explanation={"최초 ID는 연락처, PW는 생년월일 8자리입니다."} className="margin-bottom" />
+          <table className="margin-bottom2 senior-insert">
+            <tr>
+              <th>이름</th>
+              <td>
+                <input type="text" />
+              </td>
+              <th>생년월일</th>
+              <td>
+                <div className="flex">
+                  <select name="year" id="year">
+                    <option value="">년</option>
+                  </select>
+                  <select name="month" id="month">
+                    <option value="">월</option>
+                  </select>
+                  <select name="days" id="days">
+                    <option value="">일</option>
+                  </select>
+                </div>
+              </td>
+            </tr>
+            <tr>
+              <th>연락처</th>
+              <td colSpan={3}>
+                <input type="text" />
+              </td>
+            </tr>
+            <tr>
+              <th>대상자와의 관계</th>
+              <td colSpan={3}>
+                <input type="text" />
+              </td>
+            </tr>
+          </table>
+          <div className="btn-wrap flex-center margin-bottom5">
+            <Button
+              className={"btn-small green-btn"}
+              btnName={"추가"}
+              onClick={() => {
+                navigate("/SeniorInsert");
+              }}
+            />
+          </div>
           <div>
             <Table
               className={"caregiver-user"}
@@ -256,28 +290,23 @@
               contentKey={key3}
             />
           </div>
-          <div>
-            <Button
-              className={"btn-100 green-btn"}
-              btnName={"닫기"}
-              onClick={closeModal}
-            />
-          </div>
         </div>
       </Modal>
-
-      <Modal open={modalOpen2} close={closeModal2} header="'김복남'님의 담당 보호사">
+      <Modal open={modalOpen2} close={closeModal2} header="보호사 배정">
         <div className="board-wrap">
-        <div className="btn-wrap flex-end margin-bottom">
+          <SubTitle explanation={"보호사 선택"} className="margin-bottom"/>
+          <div className="flex-start protectorlist margin-bottom5">
+            <input type="text" list="datalist" />
+            <datalist id="protectorlist">
+              <option value="옵션태그 값">이름(아이디)</option>
+            </datalist>
+            <div className="btn-wrap">
               <Button
-                  className={"btn-small green-btn"}
-                  btnName={"등록"}
-                  onClick={() => {
-                  navigate("/SeniorInsert");
-                  }}
+                className={"btn-small green-btn"}
+                btnName={"등록"}
               />
-              <Button className={"btn-small green-btn"} btnName={"삭제"} />
             </div>
+          </div>
           <div>
             <Table
               className={"caregiver-user"}
@@ -286,16 +315,9 @@
               contentKey={key4}
             />
           </div>
-          <div>
-            <Button
-              className={"btn-100 green-btn"}
-              btnName={"닫기"}
-              onClick={closeModal2}
-            />
-          </div>
         </div>
       </Modal>
-      
+
       <div className="tab-container">
         <ul className="tab-menu">
           {data.map((item) => (
@@ -328,9 +350,8 @@
             />
           </div>
           <div className="btn-wrap flex-end">
-							{data.filter((item) => index === item.id).map((item) => insertBtn(item.id))}
-              <Button className={"btn-small green-btn"} btnName={"삭제"} />
-            </div>
+            <Button className={"btn-small green-btn"} btnName={"등록"} />
+          </div>
           <ul className="tab-content">
             {data
               .filter((item) => index === item.id)
client/views/pages/user_management/UserSelectOk.jsx
--- client/views/pages/user_management/UserSelectOk.jsx
+++ client/views/pages/user_management/UserSelectOk.jsx
@@ -43,9 +43,6 @@
       <Button
         className={"btn-small green-btn"}
         btnName={"승인"}
-        onClick={() => {
-          navigate("/SeniorInsert");
-        }}
       />
       <Button className={"btn-small green-btn"} btnName={"반려"} />
     </div>)
@@ -62,9 +59,6 @@
       <Button
         className={"btn-small green-btn"}
         btnName={"승인"}
-        onClick={() => {
-          navigate("/SeniorInsert");
-        }}
       />
       <Button className={"btn-small green-btn"} btnName={"반려"} />
     </div>)
@@ -81,9 +75,6 @@
       <Button
         className={"btn-small green-btn"}
         btnName={"승인"}
-        onClick={() => {
-          navigate("/SeniorInsert");
-        }}
       />
       <Button className={"btn-small green-btn"} btnName={"반려"} />
     </div>)
client/views/pages/visit/visit/VisitSelect.jsx
--- client/views/pages/visit/visit/VisitSelect.jsx
+++ client/views/pages/visit/visit/VisitSelect.jsx
@@ -46,10 +46,15 @@
         <ContentTitle contentTitle={"방문 조회"} />
         <DetailSearch />
         <div className="board-wrap">
-          <SubTitle
-            className="margin-bottom"
-            explanation={"대상자 클릭 시 상세페이지로 이동합니다."}
-          />
+        <div className="flex">
+              <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom" />
+              <div className="flex searchselect">
+                <input type="radio" />
+                <label htmlFor="">나의 대상자 보기</label>
+                <input type="radio" />
+                <label htmlFor="">전체 대상자 보기</label>
+              </div>
+            </div>
           <div className="visit-table">
             <Table
               className={"visit-table"}
client/views/pages/visit/visit/VisitSelectOne.jsx
--- client/views/pages/visit/visit/VisitSelectOne.jsx
+++ client/views/pages/visit/visit/VisitSelectOne.jsx
@@ -7,10 +7,17 @@
 import TableTitle from "../../../component/Tabletitle.jsx";
 import Chart2 from "../../../component/chart/Chart2.jsx";
 import Button from "../../../component/Button.jsx";
+import Modal from "../../../component/Modal.jsx";
 
 export default function MedicineCareSelect() {
   const navigate = useNavigate();
-
+  const [modalOpen, setModalOpen] = React.useState(false);
+  const openModal = () => {
+    setModalOpen(true);
+  };
+  const closeModal = () => {
+    setModalOpen(false);
+  };
   //게시판
   const thead = ["No","방문일", "방문목적", "상세사유", ];
   const key = ["No", "birth", "phone", "address", ];
@@ -31,6 +38,55 @@
 
   return (
     <main>
+      <Modal open={modalOpen} close={closeModal} header="방문 등록">
+        <div className="board-wrap">
+        <table className="flex70">
+            <tbody>
+              <tr>
+                <th>대상자</th>
+                <td colSpan={3}>
+                  <input type="text" name="" id="" disabled />
+                </td>
+              </tr>              
+              <tr>
+                <th>방문날짜</th>
+                <td colSpan={3}>
+                  <input type="text" placeholder="자동입력" />
+                </td>
+              </tr>
+              <tr>
+                <th>방문목적</th>
+                <td className="flex-start">
+                  <div className="flex-start width100">
+                    <input type="checkbox" className="width20"/>
+                    <label className="width50" >
+                      정기방문
+                    </label>
+                  </div>
+                  <div className="flex-start width100">
+                    <input type="checkbox"  className="width20"/>
+                    <label className="width50" >
+                      어르신케어
+                    </label>
+                  </div>
+                  <div className="flex-start width100">
+                    <input type="checkbox"  className="width20"/>
+                    <label className="width50" >
+                      장비점검
+                    </label>
+                  </div>
+                </td>
+              </tr>
+              <tr>
+                <th>방문 상세 사유</th>
+                <td colSpan={3}>
+                  <textarea style={{height:"225px"}} name="" id="" cols="30" rows="10"></textarea>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </Modal>
       <div className="content-wrap">
         <ContentTitle contentTitle={"방문 상세 페이지"}/>
         <div className="detail-graph">
@@ -38,6 +94,13 @@
           <Chart2 />
         </div>
         <div className="board-wrap">
+        <div className="btn-wrap flex-end margin-bottom">
+            <Button
+              className={"btn-small gray-btn"}
+              btnName={"등록"}
+              onClick={openModal}
+            />
+          </div>
         <Table
             className={"medicine-table"}
               head={thead}
Add a comment
List