방선주 방선주 2023-02-28
Merge branch 'admin' of http://210.180.118.83/yjryu/senior_care_system into admin
@697873ed03100f2d89f94ba6cdba3ce4bd47c709
.gitignore
--- .gitignore
+++ .gitignore
@@ -1,2 +1,3 @@
 client/build/
-server/logs/
(No newline at end of file)
+server/logs/
+node_modules
client/resources/css/common.css
--- client/resources/css/common.css
+++ client/resources/css/common.css
@@ -1,6 +1,8 @@
 
 /* layout 공통 */
 textarea{border: 1px solid #d8d3c7; border-radius: 5px;}
+em{font-style: normal;}
+main img{margin-right: 1rem;}
 /* grid */
 
 .main-grid-admin {
@@ -29,8 +31,8 @@
   height: 100%;
   display: grid;
   grid-template-columns: 1fr 1fr 1fr 1fr;
-  grid-template-rows: 0.1fr 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr;
-  gap: 1rem;
+  grid-template-rows: 0.1fr;
+  gap: 3rem;
 }
 .main-grid-hospital {
   height: 100%;
@@ -45,7 +47,7 @@
   display: grid;
   grid-template-columns: 0.9fr 0.9fr;
   grid-template-rows: 0.1fr 0.5fr 0.5fr;
-  gap: 1rem;
+  gap: 2rem;
 }
 
 .statistics-grid {
@@ -73,6 +75,9 @@
 .combine-left-government2 {
   grid-column: 1/4;
 }
+.combine-left-government3 {
+  grid-column: 1/5;
+}
 .combine-right {
   grid-column: 3/4;
 }
client/resources/css/layout.css
--- client/resources/css/layout.css
+++ client/resources/css/layout.css
@@ -24,6 +24,8 @@
   background-color: white;
   grid-area: header;
   height: 87px;
+  border-bottom: 1px solid #cccccc;
+  
 }
 
 .page-title span {
@@ -36,6 +38,7 @@
   height: 100%;
   background-color: #f2f0eb;
   grid-area: nav;
+  border-right: 1px solid #cccccc;
 }
 .nav{
   position: relative;
@@ -116,19 +119,25 @@
   background: #f25430;
   border-radius: 30px;
   font-size: 1.5rem;
+  font-weight: 600;
   color: #ffffff;
   display: flex;
   align-items: center;
-  margin-right: 2rem;
+  margin: 0 1rem;
   cursor: pointer;
 }
+.info-id span, .logout span{
+  margin: 0 auto;
+}
+.bottom-section{position: absolute; padding: 0 2rem; bottom: 3rem;}
 .logout{background: #f26e50;}
 #pages {
   max-width: 100%;
   height: 100%;
   padding: 3rem;
-  background-color: #f2f0eb;
+  background-color: #f4f4f2;
   grid-area: main;
+  box-shadow: 0px 11px 12px -10px rgb(0 0 0 / 20%) inset;
 }
 
 
client/resources/css/main.css
--- client/resources/css/main.css
+++ client/resources/css/main.css
@@ -4,23 +4,27 @@
   font-family: 'AuctionGothic_Medium';
 }
 header > div{height: 100%;}
-header .page-title span {
-  font-size: 1.7rem;
-  margin: 0 auto;
-}
 .join-btn{
   background-color: transparent;
 }
-.react-calendar{width: 90%; }
 .highlight{
   font-weight: 900;
   background-color: #18924e;
 }
 
-/* 기관조회 */
+/* 시행기관 장비관리 리스트 */
+
+.visitlist{height: 55vh;}
+.visitlist .agency-visitlist{border: 0;}
+.visitlist .agency-visitlist th{background-color: #fdede9; }
+.agency-calendar .react-calendar{height: 10vh;}
+.agency-calendar .react-calendar__month-view__weekdays{display: none !important;}
+.agency-calendar .react-calendar__month-view__days{flex-wrap: unset !important; padding: 0 0 3rem 0;}
+.agency-calendar .react-calendar__month-view__days__day{flex: 0 0 2.85% !important; padding: 1rem 0;}
+
+/* .agency-calendar .react-calendar__month-view__days{overflow: hidden;} */
 
 /* Q&A */
-.title{text-decoration: underline; cursor: pointer;}
 .question-select input{width: 3%;}
 .question-select label{width: 10%;}
 .question-select select{width: 16%; height: 3.7rem;}
@@ -41,7 +45,6 @@
 .questionnaire-table input{width: 9%;}
 /* 카테고리 기관 추가*/
 .explain-table th{background: #ffffff;}
-.react-calendar{width: 100%;}
 .total p{font-size: 1.6rem; font-weight: 600;}
 .total{color: #733c1d; }
 .total-equip::before{
@@ -146,39 +149,35 @@
 .statistics-govern li p:nth-of-type(3)::after {
   content: "명";
 }
+.statistics-agency{border-radius: 1.5rem; box-shadow: 1px 1px 18px 1px rgb(0 0 0 / 13%);}
 .statistics-agency li {
-  position: relative;
-  padding-left: 5rem;
-  text-align: center;
+  padding: 0 2rem;
 }
-
-.statistics-agency li p:nth-of-type(1) {
-  position: absolute;
-  left: 0;
+.statistics-agency li .text{padding-left: 1rem; width: 100%;}
+.statistics-agency li div p:nth-of-type(1) {
+  font-size: 1.8rem;
+  font-weight: bold;
+  color: #ed724a;
 }
-
-.statistics-agency li p:nth-of-type(2) {
-  padding-bottom: 0.5rem;
-  font-size: 1.6rem;
+.statistics-agency li div p:nth-of-type(2) {
+  font-size: 2.5rem;
   font-weight: bold;
 }
-.statistics-agency li p:nth-of-type(3) {
-  font-size: 1.6rem;
-  font-weight: bold;
-}
-
-.statistics-agency li p:nth-of-type(3)::after {
+.statistics-agency li div p:nth-of-type(2)::after{
   content: "명";
+  font-size: 1.5rem;
+  color: #cbc9c9;
 }
 .statistics-guardian{height: 100%;}
+.guardian-medicine{height: 16vh;}
 .statistics-guardian li{
   padding: 1rem 3rem;
-  background: rgba(255, 254, 254, 0.5);
-  border-radius: 10px;
+  background: #ffffff;
+  border-radius: 20px;
   margin: 0 auto;
   margin-bottom: 1rem;
 }
-.statistics-guardian:nth-child(1) {
+/* .statistics-guardian:nth-child(1) {
   background: #fbe4e4;
 }
 
@@ -195,7 +194,7 @@
 }
 .statistics-guardian li p{
   padding: 0 2rem;
-}
+} */
 .statistics-guardian li:nth-child(2),
 .statistics-guardian li:nth-child(3),
 .statistics-guardian li:nth-child(4),
@@ -300,6 +299,7 @@
   font-weight: bold;
   margin-right: 2rem;
 }
+.main-guardian{margin-bottom: 3rem;}
 .red{color: red;}
 .main-battery-title span::after {
   content: " 님의";
@@ -312,6 +312,10 @@
   font-weight: 900;
 }
 .main-battery-title p{padding-right: 1rem;}
+.battery-wrap{height: 10rem;}
+.battery-img{position: relative; padding: 1.5rem 0 1.5rem 3rem;}
+.battery-img img{position: absolute; display: none; box-shadow: 1px 1px 14px 1px rgba(0, 0, 0, 0.15); border-radius: 20px;}
+.battery-img img.show{display: block; }
 .map svg {
   display: block;
 }
@@ -329,24 +333,30 @@
   font-weight: 500;
 }
 .battery p {
-  font-size: 3rem;
+  font-size: 2rem;
   font-weight: bold;
-  color: rgb(255, 121, 121);
   text-align: center;
   padding-right: 1rem;
 }
-
-.battery::after {
-  content: " 남았습니다.";
-  font-size: 1.6rem;
-  font-weight: 500;
-}
+.battery p:nth-child(3){font-size: 1.5rem; padding-top: 0.7rem;}
 
 #chartdiv1 {
   height: 22vh;
 }
 
 /* ------------------------------------------------보호자 */
+.react-calendar{width: 100%; border: none; height: 54vh;}
+.react-calendar__month-view__days{padding: 2rem 0;}
+.react-calendar__month-view__days button{padding: 2.5rem; border: 1px solid #fdede8; border-radius: 0;}
+.react-calendar__tile--active:enabled:hover, .react-calendar__tile--active:enabled:focus{background: #e26f49;}
+.react-calendar__tile--active{background: #e26f49;}
+.weather-info
+
+/* 보호자 복약 */
+.guardian-medicine  ul li{position: relative;}
+.guardian-medicine  ul li img{position: absolute; display: none;}
+.guardian-medicine  ul li img.show{display: block;}
+
 /* ------------------------------------- main page --------------------------------- */
 /* 사용자 정보*/
 .user-img {
@@ -907,11 +917,21 @@
 }
 
 /* 사용자 관리 */
-.tab-menu-mobile{display: none;} 
-.tab-menu {
+.tab-menu .tab-menu-agency{
   display: flex;
 }
-
+.tab-menu-agency li {
+  padding: 1rem 2rem;
+  margin-right: 0.2rem;
+  color: #733c1d;  
+  font-size: 1.6rem;
+  font-weight: bold;
+  text-align: center;
+}
+.tab-menu-agency li.active {
+  color: #f25430;
+  border-bottom: 2px solid #f25430;
+}
 .tab-menu li {
   padding: 1rem 2rem;
   margin-right: 0.2rem;
@@ -923,7 +943,6 @@
   text-align: center;
   box-shadow: 3px -2px 5px -2px rgb(0 0 0 / 20%);
 }
-
 .tab-menu li.active {
   background-color: #f25430;
   color: #ffffff;
 
client/resources/files/images/batteryAgency.png (Binary) (added)
+++ client/resources/files/images/batteryAgency.png
Binary file is not shown
 
client/resources/files/images/box.png (Binary) (added)
+++ client/resources/files/images/box.png
Binary file is not shown
 
client/resources/files/images/calendarBig.png (Binary) (added)
+++ client/resources/files/images/calendarBig.png
Binary file is not shown
 
client/resources/files/images/dinneroff.png (Binary) (added)
+++ client/resources/files/images/dinneroff.png
Binary file is not shown
 
client/resources/files/images/dinneron.png (Binary) (added)
+++ client/resources/files/images/dinneron.png
Binary file is not shown
 
client/resources/files/images/eightypercent.png (Binary) (added)
+++ client/resources/files/images/eightypercent.png
Binary file is not shown
 
client/resources/files/images/error.png (Binary) (added)
+++ client/resources/files/images/error.png
Binary file is not shown
 
client/resources/files/images/exchange.png (Binary) (added)
+++ client/resources/files/images/exchange.png
Binary file is not shown
 
client/resources/files/images/fortypercent.png (Binary) (added)
+++ client/resources/files/images/fortypercent.png
Binary file is not shown
 
client/resources/files/images/lunchoff.png (Binary) (added)
+++ client/resources/files/images/lunchoff.png
Binary file is not shown
 
client/resources/files/images/lunchon.png (Binary) (added)
+++ client/resources/files/images/lunchon.png
Binary file is not shown
 
client/resources/files/images/medicineAgency.png (Binary) (added)
+++ client/resources/files/images/medicineAgency.png
Binary file is not shown
 
client/resources/files/images/medicinebox.png (Binary) (added)
+++ client/resources/files/images/medicinebox.png
Binary file is not shown
 
client/resources/files/images/mornoff.png (Binary) (added)
+++ client/resources/files/images/mornoff.png
Binary file is not shown
 
client/resources/files/images/mornon.png (Binary) (added)
+++ client/resources/files/images/mornon.png
Binary file is not shown
 
client/resources/files/images/pullpercent.png (Binary) (added)
+++ client/resources/files/images/pullpercent.png
Binary file is not shown
 
client/resources/files/images/senior.png (Binary) (added)
+++ client/resources/files/images/senior.png
Binary file is not shown
 
client/resources/files/images/sixtypercent.png (Binary) (added)
+++ client/resources/files/images/sixtypercent.png
Binary file is not shown
 
client/resources/files/images/temperatureAgency.png (Binary) (added)
+++ client/resources/files/images/temperatureAgency.png
Binary file is not shown
 
client/resources/files/images/tool.png (Binary) (added)
+++ client/resources/files/images/tool.png
Binary file is not shown
 
client/resources/files/images/twentypercent.png (Binary) (added)
+++ client/resources/files/images/twentypercent.png
Binary file is not shown
 
client/resources/files/images/zeropercent.png (Binary) (added)
+++ client/resources/files/images/zeropercent.png
Binary file is not shown
client/views/component/Calendar.jsx
--- client/views/component/Calendar.jsx
+++ client/views/component/Calendar.jsx
@@ -3,7 +3,7 @@
 import "react-calendar/dist/Calendar.css";
 import moment from "moment";
 
-export default function CalendarComponent(props) {
+export default function CalendarComponent(props) {  
   const [value, setValue] = useState(new Date());
   const mark = ["12-02-2023", "21-02-2023", "05-02-2023", "02-02-2023"];
   return (
 
client/views/component/Calendar2.jsx (added)
+++ client/views/component/Calendar2.jsx
@@ -0,0 +1,34 @@
+import React, { useState } from "react";
+import Calendar from "react-calendar";
+import "react-calendar/dist/Calendar.css";
+import moment from "moment";
+
+export default function CalendarComponent(props) {  
+  const [value, setValue] = useState(new Date());
+  const mark = ["12-02-2023", "21-02-2023", "05-02-2023", "02-02-2023"];
+  return (
+    <div className="w-full h-full p-10">
+      <Calendar
+        className="w-96 h-full rounded-xl bg-violet-300"
+        onChange={setValue}
+        value={value}
+        tileClassName={({ date, view }) => {
+          // if (mark.find((x) => x === moment(date).format("DD-MM-YYYY"))) {
+          //   return "highlight";
+          // }
+          let day = date.getDate()
+          let month = date.getMonth()+1
+          if(date.getMonth()<10){
+            month = '0'+day
+          }
+          const realDate =day+'-'+month+'-'+date.getFullYear()
+          if(mark.find(val=> val === realDate)){
+            return 'highlight'
+          }
+
+        }}
+      />
+    </div>
+  );
+}
+
client/views/component/Calendar_agency.jsx
--- client/views/component/Calendar_agency.jsx
+++ client/views/component/Calendar_agency.jsx
@@ -3,11 +3,11 @@
 import "react-calendar/dist/Calendar.css";
 import moment from "moment";
 
-export default function CalendarComponent(props) {
+export default function CalendarComponent(props) {  
   const [value, setValue] = useState(new Date());
   const mark = ["12-02-2023", "21-02-2023", "05-02-2023", "02-02-2023"];
   return (
-    <div className="w-full h-full p-10">
+    <div className="w-full h-full p-10 agency-calendar">
       <Calendar
         className="w-96 h-full rounded-xl bg-violet-300"
         onChange={setValue}
client/views/component/ContentTitle.jsx
--- client/views/component/ContentTitle.jsx
+++ client/views/component/ContentTitle.jsx
@@ -11,9 +11,9 @@
 }
 
 const ContentTitleStyled = styled.p`
-  font-size: 4rem;
+  font-size: 2.5rem;
   font-weight: bold;
-  margin: 0 3rem 2rem 0;
+  margin: 1px 1rem 1rem 0px;
   color: #733c1d;
   /* &::after {
     content: "";
@@ -40,6 +40,6 @@
 `
 
 const Explanation = styled.p`
-  font-size: 2.6rem;
+  font-size: 1.8rem;
   color: #733c1d;
 `;
(No newline at end of file)
 
client/views/component/DateDay.jsx (added)
+++ client/views/component/DateDay.jsx
@@ -0,0 +1,30 @@
+import React from "react";
+import ChevronLeftIcon from '@mui/icons-material/ChevronLeft';
+import ChevronRightIcon from '@mui/icons-material/ChevronRight';
+import calendar from '../../resources/files/images/calendar.png';
+
+export default function DateDay() {
+  const [date, setDate] = React.useState();
+  function clock() {
+    const date = new Date();
+    const year = date.getFullYear();
+    const month = date.getMonth() + 1;
+    const day = date.getDate();
+    setDate(`${year}년 ${month}월 ${day}일 `);
+  }
+
+
+  React.useEffect(() => {
+    clock();
+  }, []);
+
+  return (
+    <div className="weather-info flex-center">
+      <div className="flex-start">
+      <ChevronLeftIcon sx={{ width: "33px",height:"33px", marginBottom:"0.8rem", color: "#a5a5a5" }}/>
+        <div id="fullDate">{date} <img src={calendar} alt="" /></div>
+        <ChevronRightIcon sx={{ width: "33px",height:"33px", marginBottom:"0.8rem", color: "#a5a5a5" }}/>
+      </div>
+    </div>
+  );
+}
 
client/views/component/DateMonth.jsx (added)
+++ client/views/component/DateMonth.jsx
@@ -0,0 +1,29 @@
+import React from "react";
+import ChevronLeftIcon from '@mui/icons-material/ChevronLeft';
+import ChevronRightIcon from '@mui/icons-material/ChevronRight';
+import calendar from '../../resources/files/images/calendar.png';
+
+export default function DateDay() {
+  const [date, setDate] = React.useState();
+  function clock() {
+    const date = new Date();
+    const year = date.getFullYear();
+    const month = date.getMonth() + 1;
+    setDate(`${year}년 ${month}월`);
+  }
+
+
+  React.useEffect(() => {
+    clock();
+  }, []);
+
+  return (
+    <div className="weather-info flex-center">
+      <ul className="flex-start">
+      <ChevronLeftIcon sx={{ width: "33px",height:"33px", marginBottom:"0.8rem", color: "#a5a5a5" }}/>
+        <li id="fullDate">{date} <img src={calendar} alt="" /></li>
+        <ChevronRightIcon sx={{ width: "33px",height:"33px", marginBottom:"0.8rem", color: "#a5a5a5" }}/>
+      </ul>
+    </div>
+  );
+}
 
client/views/component/QnAModal.jsx (added)
+++ client/views/component/QnAModal.jsx
@@ -0,0 +1,48 @@
+import React from "react";
+import Button from "./Button.jsx";
+import ContentTitle from "./ContentTitle.jsx";
+import SubTitle from "./SubTitle.jsx";
+import { useNavigate } from "react-router";
+
+export default function QaAModal({ open, close, }) {
+  return (
+    <div class={open ? "openModal modal" : "modal"}>
+    {open ? (
+      <div className="modal-inner">
+        <div className="modal-header flex">
+          Q&A등록
+          <Button className={"close"} onClick={close} btnName={"X"} />
+        </div>
+        <div className="modal-main"><div className="board-wrap">        
+        <div>
+        <SubTitle explanation={"작성자 정보"} />
+        <table className="margin-bottom2 qna-insert">
+          <tr>
+            <th>작성자</th>
+            <td>
+              <input type="text" placeholder="자동입력부분" />
+            </td>
+          </tr>
+
+          <tr>
+            <th>제목</th>
+            <td colSpan={3}>
+              <input type="text" />
+            </td>
+          </tr>
+          <tr>
+              <th>내용</th>
+              <td colSpan={3}>
+                <textarea className="medicine" cols="30" rows="2"></textarea>
+              </td>
+            </tr>
+        </table>
+        </div>
+        <div className="flex-center"><Button className={"btn-small red-btn"} btnName={"저장"} /></div >
+      </div></div>
+      </div>
+    ) : null}
+  </div>
+    
+  );
+}
client/views/component/SubTitle.jsx
--- client/views/component/SubTitle.jsx
+++ client/views/component/SubTitle.jsx
@@ -11,7 +11,7 @@
 }
 
 const TitleStyle = styled.h4`
-  font-size: 2.5rem;
+  font-size: 2rem;
   font-weight: bold;
   padding: 0.5rem;
   margin-right: 1rem;
client/views/component/Title.jsx
--- client/views/component/Title.jsx
+++ client/views/component/Title.jsx
@@ -11,15 +11,12 @@
 }
 
 const TitleStyle = styled.h4`
-  font-size: 1.6rem;
+  font-size: 2.4rem;
   font-weight: bold;
-  padding: 0.5rem;
   margin-right: 1rem;
 `;
 
 const Explanation = styled.p`
   font-size: 1.4rem;
-  padding: 0.5rem;
   color: #cccccc;
-  border-left: 2px solid #cccccc;
 `;
 
client/views/component/TitleSmall.jsx (added)
+++ client/views/component/TitleSmall.jsx
@@ -0,0 +1,23 @@
+import styled from "styled-components";
+import React from "react";
+
+export default function TitleSmall({ title, explanation }) {
+  return (
+    <div className="flex-start">
+      <TitleStyle className="title">{title}</TitleStyle>
+      <Explanation>{explanation}</Explanation>
+    </div>
+  );
+}
+
+const TitleStyle = styled.h4`
+  font-size: 2rem;
+  font-weight: bold;
+  margin-right: 1rem;
+`;
+
+const Explanation = styled.p`
+  font-size: 1.5rem;
+  color: rgb(170 170 170);
+  padding-top: 0.5rem;
+`;
 
client/views/component/chart/Chart6.jsx (added)
+++ client/views/component/chart/Chart6.jsx
@@ -0,0 +1,358 @@
+import React, { Component } from "react";
+import * as am5 from "@amcharts/amcharts5";
+import * as am5xy from "@amcharts/amcharts5/xy";
+import am5themes_Animated from "@amcharts/amcharts5/themes/Animated";
+
+class Chart6 extends Component {
+  componentDidMount() {
+    let root = am5.Root.new("chart6");
+
+
+    root._logo.dispose();
+// Set themes
+// https://www.amcharts.com/docs/v5/concepts/themes/
+root.setThemes([
+  am5themes_Animated.new(root)
+]);
+
+
+root.dateFormatter.setAll({
+  dateFormat: "yyyy-MM-dd",
+  dateFields: ["valueX"]
+});
+
+let data = [
+  {
+    date: "2021-01-01",
+    steps: 4561
+  },
+  {
+    date: "2021-01-02",
+    steps: 5687
+  },
+  {
+    date: "2021-01-03",
+    steps: 6348
+  },
+  {
+    date: "2021-01-04",
+    steps: 4878
+  },
+  {
+    date: "2021-01-05",
+    steps: 9867
+  },
+  {
+    date: "2021-01-06",
+    steps: 7561
+  },
+  {
+    date: "2021-01-07",
+    steps: 1287
+  },
+  {
+    date: "2021-01-08",
+    steps: 3298
+  },
+  {
+    date: "2021-01-09",
+    steps: 5697
+  },
+  {
+    date: "2021-01-10",
+    steps: 4878
+  },
+  {
+    date: "2021-01-11",
+    steps: 8788
+  },
+  {
+    date: "2021-01-12",
+    steps: 9560
+  },
+  {
+    date: "2021-01-13",
+    steps: 11687
+  },
+  {
+    date: "2021-01-14",
+    steps: 5878
+  },
+  {
+    date: "2021-01-15",
+    steps: 9789
+  },
+  {
+    date: "2021-01-16",
+    steps: 3987
+  },
+  {
+    date: "2021-01-17",
+    steps: 5898
+  },
+  {
+    date: "2021-01-18",
+    steps: 9878
+  },
+  {
+    date: "2021-01-19",
+    steps: 13687
+  },
+  {
+    date: "2021-01-20",
+    steps: 6789
+  },
+  {
+    date: "2021-01-21",
+    steps: 4531
+  },
+  {
+    date: "2021-01-22",
+    steps: 5856
+  },
+  {
+    date: "2021-01-23",
+    steps: 5737
+  },
+  {
+    date: "2021-01-24",
+    steps: 9987
+  },
+  {
+    date: "2021-01-25",
+    steps: 16457
+  },
+  {
+    date: "2021-01-26",
+    steps: 7878
+  },
+  {
+    date: "2021-01-27",
+    steps: 6845
+  },
+  {
+    date: "2021-01-28",
+    steps: 4659
+  },
+  {
+    date: "2021-01-29",
+    steps: 7892
+  },
+  {
+    date: "2021-01-30",
+    steps: 7362
+  },
+  {
+    date: "2021-01-31",
+    steps: 3268
+  }
+];
+
+// Create chart
+// https://www.amcharts.com/docs/v5/charts/xy-chart/
+let chart = root.container.children.push(
+  am5xy.XYChart.new(root, {
+    focusable: true,
+    panX: true,
+    panY: false,
+    wheelX: "panX",
+    wheelY: "none"
+  })
+);
+
+let easing = am5.ease.linear;
+
+// hide zoomout button
+chart.zoomOutButton.set("forceHidden", true);
+
+// add label
+chart.plotContainer.children.push(
+  am5.Label.new(root, { text: "Pan chart to change date", x: 100, y: 50 })
+);
+
+// Create axes
+// https://www.amcharts.com/docs/v5/charts/xy-chart/axes/
+let xRenderer = am5xy.AxisRendererX.new(root, {
+  minGridDistance: 50,
+  strokeOpacity: 0.2
+});
+xRenderer.grid.template.set("forceHidden", true);
+
+let xAxis = chart.xAxes.push(
+  am5xy.DateAxis.new(root, {
+    maxDeviation: 0.49,
+    snapTooltip: false,
+    baseInterval: {
+      timeUnit: "day",
+      count: 1
+    },
+    renderer: xRenderer,
+    tooltip: am5.Tooltip.new(root, {})
+  })
+);
+
+let yRenderer = am5xy.AxisRendererY.new(root, { inside: true });
+yRenderer.grid.template.set("forceHidden", true);
+
+let yAxis = chart.yAxes.push(
+  am5xy.ValueAxis.new(root, {
+    maxDeviation: 0,
+    renderer: yRenderer
+  })
+);
+
+// Add series
+// https://www.amcharts.com/docs/v5/charts/xy-chart/series/
+let series = chart.series.push(
+  am5xy.ColumnSeries.new(root, {
+    xAxis: xAxis,
+    yAxis: yAxis,
+    valueYField: "steps",
+    valueXField: "date",
+    tooltip: am5.Tooltip.new(root, {
+      pointerOrientation: "vertical",
+      labelText: "{valueY}"
+    })
+  })
+);
+
+series.columns.template.setAll({
+  cornerRadiusTL: 15,
+  cornerRadiusTR: 15,
+  maxWidth: 30,
+  strokeOpacity: 0
+});
+
+series.columns.template.adapters.add("fill", function (fill, target) {
+  if (target.dataItem.get("valueY") < 6000) {
+    return am5.color(0xdadada);
+  }
+  return fill;
+});
+
+// Set up data processor to parse string dates
+// https://www.amcharts.com/docs/v5/concepts/data/#Pre_processing_data
+series.data.processor = am5.DataProcessor.new(root, {
+  dateFormat: "yyyy-MM-dd",
+  dateFields: ["date"]
+});
+
+series.data.setAll(data);
+
+// do not allow tooltip  to move horizontally
+series.get("tooltip").adapters.add("x", function (x) {
+  return chart.plotContainer.toGlobal({
+    x: chart.plotContainer.width() / 2,
+    y: 0
+  }).x;
+});
+
+// add ranges
+let goalRange = yAxis.createAxisRange(yAxis.makeDataItem({
+  value: 6000
+}));
+
+goalRange.get("grid").setAll({
+  forceHidden: false,
+  strokeOpacity: 0.2
+});
+
+let goalLabel = goalRange.get("label");
+
+goalLabel.setAll({
+  centerY: am5.p100,
+  centerX: am5.p100,
+  text: "Goal"
+});
+
+// put to other side
+goalLabel.adapters.add("x", function (x) {
+  return chart.plotContainer.width();
+});
+
+let goalRange2 = yAxis.createAxisRange(yAxis.makeDataItem({
+  value: 12000
+}));
+
+goalRange2.get("grid").setAll({
+  forceHidden: false,
+  strokeOpacity: 0.2
+});
+
+let goalLabel2 = goalRange2.get("label");
+
+goalLabel2.setAll({
+  centerY: am5.p100,
+  centerX: am5.p100,
+  text: "2 x Goal"
+});
+
+// put to other side
+goalLabel2.adapters.add("x", function (x) {
+  return chart.plotContainer.width();
+});
+
+// reposition when width changes
+chart.plotContainer.onPrivate("width", function () {
+  goalLabel.markDirtyPosition();
+  goalLabel2.markDirtyPosition();
+});
+
+// Add cursor
+// https://www.amcharts.com/docs/v5/charts/xy-chart/cursor/
+let cursor = chart.set("cursor", am5xy.XYCursor.new(root, {
+  alwaysShow: true,
+  behavior: "none",
+  positionX: 0.5 // make it always be at the center
+}));
+cursor.lineY.set("visible", false);
+
+// zoom to last 11 days
+series.events.on("datavalidated", function () {
+  let toTime =
+    series.dataItems[series.dataItems.length - 1].get("valueX") +
+    am5.time.getDuration("day", 1);
+  let fromTime = series.dataItems[series.dataItems.length - 11].get("valueX");
+
+  xAxis.zoomToValues(fromTime, toTime);
+});
+
+// when plot are is released, round zoom to nearest days
+chart.plotContainer.events.on("globalpointerup", function () {
+  let dayDuration = am5.time.getDuration("day", 1);
+
+  let firstTime = am5.time
+    .round(new Date(series.dataItems[0].get("valueX")), "day", 1)
+    .getTime();
+  let lastTime =
+    series.dataItems[series.dataItems.length - 1].get("valueX") + dayDuration;
+  let totalTime = lastTime - firstTime;
+  let days = totalTime / dayDuration;
+
+  let roundedStart =
+    firstTime + Math.round(days * xAxis.get("start")) * dayDuration;
+  let roundedEnd =
+    firstTime + Math.round(days * xAxis.get("end")) * dayDuration;
+
+  xAxis.zoomToValues(roundedStart, roundedEnd);
+});
+
+// Make stuff animate on load
+// https://www.amcharts.com/docs/v5/concepts/animations/
+chart.appear(1000, 50);
+
+
+  }
+
+  componentWillUnmount() {
+    if (this.root) {
+      this.root.dispose();
+    }
+  }
+
+  render() {
+    return <div id="chart6" style={{ width: "100%", height: "22vh" }}></div>;
+  }
+}
+
+export default Chart6;
client/views/layout/Header.jsx
--- client/views/layout/Header.jsx
+++ client/views/layout/Header.jsx
@@ -16,12 +16,7 @@
           <div className="info-wrap flex">
             <div className="usericon"><PersonIcon sx={{ width:48, height:48,}} /></div>
             <p className="header-info-id">admin1</p>
-            <div className="bottom-section flex">
-              <div className="info-id" ><span onClick={() => {
-                navigate("/Join");
-              }}>계정추가</span></div>
-              <div className="logout"><span>로그아웃</span></div>
-            </div>
+            
           </div>
           {/* <span>{title}</span> */}
         </div>
client/views/layout/Menu.jsx
--- client/views/layout/Menu.jsx
+++ client/views/layout/Menu.jsx
@@ -10,7 +10,7 @@
 
   return (
     <nav
-      className={!menuToggle ? "nav" : "burger__menu"}
+      className={"nav"}
       onClick={() => (menuToggle ? setMenuToggle(false) : setMenuToggle(true))}
     >
       <h1 className="logo"><img src={logo} alt="" /></h1>
@@ -21,6 +21,12 @@
           ))}
         </ul>
       </div>
+      <div className="bottom-section flex-center">
+          <div className="info-id" ><span onClick={() => {
+            navigate("/Join");
+          }}>계정추가</span></div>
+          <div className="logout"><span>로그아웃</span></div>
+        </div>
     </nav>
   );
 }
client/views/layout/SidebarItem.jsx
--- client/views/layout/SidebarItem.jsx
+++ client/views/layout/SidebarItem.jsx
@@ -10,26 +10,27 @@
 
   if (item.childrens) {
     return (
-      <li
-        className={open ? "sidebar-item open" : "sidebar-item"}
-        onClick={toggleMenu}
-      >
-        <div className="sidebar-title flex">
-          <div className="flex-start">
-            {item.icon}
-            <span>{item.title}</span>
+        <li
+          className={open ? "sidebar-item open" : "sidebar-item"}
+          onClick={toggleMenu}
+        >
+          <div className="sidebar-title flex">
+            <div className="flex-start">
+              {item.icon}
+              <span>{item.title}</span>
+            </div>
+            <KeyboardArrowDownIcon
+              className="toggle"
+              sx={{ fontSize: 20, color: "#333333", }}
+            />
           </div>
-          <KeyboardArrowDownIcon
-            className="toggle"
-            sx={{ fontSize: 20, color: "#333333",}}
-          />
-        </div>
-        <ul className="sidebar-content">
-          {item.childrens.map((child, index) => (
-            <SidebarItem key={index} item={child} />
-          ))}
-        </ul>
-      </li>
+          <ul className="sidebar-content">
+            {item.childrens.map((child, index) => (
+              <SidebarItem key={index} item={child} />
+            ))}
+          </ul>
+        </li>
+
     );
   } else {
     return (
client/views/pages/AppRoute.jsx
--- client/views/pages/AppRoute.jsx
+++ client/views/pages/AppRoute.jsx
@@ -41,7 +41,6 @@
 import EquipmentManagementSelectAdd from "./equipment/EquipmentManagementSelectAdd.jsx";
 import RiskSet from "./setting/RiskSet.jsx";
 import QandAInsert from "./callcenter/QandAInsert.jsx";
-import QuestionInsert from "./callcenter/QuestionInsert.jsx";
 import QuestionConfirm from "./callcenter/QuestionConfirm.jsx";
 import UserSelectOk from "./user_management/UserSelectOk.jsx";
 import AuthorityManagement from "./setting/AuthorityManagement.jsx";
@@ -259,7 +258,7 @@
       <Route path="/Medicalcare" element={<Medicalcare />}></Route>
       <Route path="/Healthcare" element={<Healthcare />}></Route>
       <Route path="/QuestionConfirm" element={<QuestionConfirm />}></Route>
-      <Route path="/QuestionInsert" element={<QuestionInsert />}></Route>
+      
       <Route path="/GuardianStatistics" element={<GuardianStatistics />}></Route>
       <Route path="/Main_guardian" element={<Main_guardian />}></Route>
       <Route path="/QuestionSelect" element={<QuestionSelect />}></Route>
@@ -626,7 +625,7 @@
       <Route path="/Healthcare" element={<Healthcare />}></Route>
       <Route path="/Join" element={<Join />}></Route>
       <Route path="/QuestionSelect" element={<QuestionSelect />}></Route>
-      <Route path="/QuestionInsert" element={<QuestionInsert />}></Route>
+      
       <Route path="/Main_agency" element={<Main_agency />}></Route>
       <Route path="/UserAuthoriySelect_agency" element={<UserAuthoriySelect_agency />}></Route>
       <Route path="/SeniorInsert" element={<SeniorInsert />}></Route>
@@ -696,7 +695,7 @@
       <Route path="/Main_guardian" element={<Main_guardian />}></Route>
       <Route path="/QuestionSelect" element={<QuestionSelect />}></Route>
       <Route path="/QuestionConfirm" element={<QuestionConfirm />}></Route>
-      <Route path="/QuestionInsert" element={<QuestionInsert />}></Route>
+      
     </Routes>
   );
 }
 
client/views/pages/callcenter/QuestionInsert.jsx (deleted)
--- client/views/pages/callcenter/QuestionInsert.jsx
@@ -1,55 +0,0 @@
-import React from "react";
-import Button from "../../component/Button.jsx";
-import ContentTitle from "../../component/ContentTitle.jsx";
-import SubTitle from "../../component/SubTitle.jsx";
-import { useNavigate } from "react-router";
-
-export default function QuestionInsert() {
-  const navigate = useNavigate();
-  return (
-    <main>
-      <div className="content-wrap row">
-        <ContentTitle contentTitle={"문의글 작성"} />
-        <SubTitle explanation={"작성자 정보"} />
-        <table className="margin-bottom2 qna-insert">
-          <tr>
-            <th>작성자</th>
-            <td>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-          </tr>
-
-          <tr>
-            <th>제목</th>
-            <td colSpan={3}>
-              <input type="text" />
-            </td>
-          </tr>
-          <tr>
-              <th>내용</th>
-              <td colSpan={3}>
-                <textarea className="medicine" cols="30" rows="2"></textarea>
-              </td>
-            </tr>
-        </table>
-       
-        <div className="btn-wrap flex-center">
-          <Button
-            className={"btn-large gray-btn"}
-            btnName={"이전"}
-            onClick={() => {
-              navigate("/QandASelect");
-            }}
-          />
-          <Button
-            className={"btn-large green-btn"}
-            btnName={"등록"}
-            onClick={() => {
-              navigate("/QandASelect");
-            }}
-          />
-        </div>
-      </div>
-    </main>
-  );
-}
client/views/pages/callcenter/QuestionSelect.jsx
--- client/views/pages/callcenter/QuestionSelect.jsx
+++ client/views/pages/callcenter/QuestionSelect.jsx
@@ -1,7 +1,7 @@
 import React from "react";
 import Button from "../../component/Button.jsx";
 import Table from "../../component/Table.jsx";
-import Modal from "../../component/Modal.jsx";
+import QnAModal from "../../component/QnAModal.jsx";
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
 import RestoreFromTrashIcon from '@mui/icons-material/RestoreFromTrash';
@@ -9,6 +9,14 @@
 
 export default function QuestionSelect() {
   const navigate = useNavigate();
+  const [modalOpen, setModalOpen] = React.useState(false);
+  const openModal = () => {
+    setModalOpen(true);
+  };
+  const closeModal = () => {
+    setModalOpen(false);
+  };
+
   //게시판
   const thead = [
     "No",
@@ -40,6 +48,8 @@
   ];
   return (
     <main>
+      <QnAModal open={modalOpen} close={closeModal} header="기관 등록">      
+      </QnAModal>
       <div className="content-wrap">
         <ContentTitle contentTitle={"Q&A"} />
         <div className="board-wrap">
@@ -53,9 +63,7 @@
           <Button
             className={"btn-small gray-btn"}
             btnName={"작성하기"}
-            onClick={() => {
-              navigate("/QuestionInsert");
-            }}
+            onClick={openModal}
           />
           </div>
         </div>
client/views/pages/equipment/EquipmentManagementSelect.jsx
--- client/views/pages/equipment/EquipmentManagementSelect.jsx
+++ client/views/pages/equipment/EquipmentManagementSelect.jsx
@@ -22,26 +22,10 @@
 		setModalOpen(false);
 	};
 
-	const [modalOpen3, setModalOpen3] = React.useState(false);
-	const openModal3 = () => {
-		// equipmentListData();
-		setModalOpen3(true);
-	};
-	const closeModal3 = () => {
-		setModalOpen3(false);
-	};
-
-	// 대상자 매칭 반납
-	const seniorMatchDelete = () => {
-		if (confirm('아니다') == false) {
-			return;
-		}
-		// 대상자 매칭 반납 함수 사용하기
-	};
 
 	const navigate = useNavigate();
 
-	// 시스템 코드 - 장비 대여 상태 조회
+	// 시스템 코드 - 장비 상태 조회
 	const equipmentStatesSelect = () => {
 		console.log('equipmentStatesSelect Function Run');
 
@@ -149,8 +133,47 @@
 	}
 
 	/********************************** 관리자 장비 (시작) **********************************/
+	//로그 확인
+	const logCheck = () => {
+		console.log('equipment - change: ', equipment);
+	};
+
+	// 장비 빈 초기값
+	const equipment_ = {
+		equipment_serial_number: null,
+		equipment_type: null,
+		equipment_name: null,
+		equipment_state: null,
+		equipment_product_date: null,
+		equipment_stock_date: null,
+	}
+
+
 	// 관리자 전체 장비 목록
 	const [equipmentList, setEquipmentList] = React.useState([]);
+	// 장비
+	const [equipment, setEquipment] = React.useState({
+		equipment_serial_number: null,
+		equipment_type: null,
+		equipment_name: null,
+		equipment_state: null,
+		equipment_product_date: null,
+		equipment_stock_date: null,
+	});
+	// 장비 등록 모달창
+	const [equipmentInsertModal, setEquipmentInsertModal] = React.useState(false);
+
+	// 장비 등록 모달창 열기
+	const equipmentInsertModalOpen = () => {
+		setEquipmentInsertModal(true);
+	};
+	// 장비 등록 모달창 닫기
+	const equipmentInsertModalClose = () => {
+		// 장비 초기화
+		setEquipment(equipment_);
+		setEquipmentInsertModal(false);
+	};
+
 
 	// 관리자 전체 장비 목록 조회
 	const equipmentSelectList = () => {
@@ -169,6 +192,85 @@
 		});
 	}
 
+	// 장비 임시 데이터
+	const equipmentChange = (e) => {
+		console.log('equipmentChange: ', e.target.name, e.target.value);
+
+		// 원본 데이터 복사 및 수정
+		let data = {};
+
+		// 장비 종류가 '디지털 약상자'일 경우 모델 명에 '스마트 약상자' 입력
+		if(e.target.name == "equipment_type" && e.target.value == "DIGITAL_MEDIBOX") {
+			data = {
+				...equipment,
+				[e.target.name]: e.target.value,
+				equipment_name: "스마트 약상자"
+			}
+		} else { // 장비 종류 이외의 이벤트 핸들러일 경우
+			data = {
+				...equipment,
+				[e.target.name]: e.target.value
+			}
+		}
+		// 복사 데이터를 원본 데이터에 덮어쓰기
+		setEquipment(data);
+	}
+
+	// 장비 등록
+	const equipmentInsert = () => {
+		console.log('equipmentInsert Function Run');
+
+		// 유효성 검사
+		for(let i = 0; i < equipmentInsertHead.length; i++) {
+			if(equipment[equipmentInsertKey[i]] == null) {
+				alert(equipmentInsertHead[i] +'를 선택해 주세요');
+				return;
+			}
+		}
+
+		fetch("/equipment/equipmentInsert.json", {
+			method: "POST",
+			headers: {
+				'Content-Type': 'application/json; charset=UTF-8'
+			},
+			body: JSON.stringify(equipment),
+		}).then((response) => response.json()).then((data) => {
+			console.log('equipmentInsert response : ', data);
+			// 장비 목록 조회
+			equipmentSelectList();
+			// 장비 초기화
+			setEquipment(equipment_);
+			// 모달창 닫기
+			setEquipmentInsertModal(false);
+
+			alert('등록이 완료됐습니다.');
+		}).catch((error) => {
+			console.log('equipmentInsert error : ', error);
+			alert('등록에 실패했습니다.');
+		});
+	}
+
+	// 장비 등록 th
+	const equipmentInsertHead = [
+		"종류",
+		"모델 명",
+		"시리얼 넘버",
+		"생산 일자",
+		"입고 일자",
+	]
+
+	// 장비 등록 key
+	const equipmentInsertKey = [
+		"equipment_type",
+		"equipment_name",
+		"equipment_serial_number",
+		"equipment_product_date",
+		"equipment_stock_date",
+	]
+
+	//스마트 약상자 모델명 리스트 (예시)
+	const smartMediBoxNameList = ["SMB-NB100", "NB100", "SDC-2000", "SDC-2002"]
+
 	const thead1 = [
 		"No",
 		"모델 명",
@@ -176,7 +278,7 @@
 		"입고 일자",
 		"상태",
 		"보유 기관",
-		"관리",
+		"시행기관 관리",
 	];
 	const key1 = [
 		"equipment_name",
@@ -277,11 +379,6 @@
 
 
 	/********************************** 시행기관 장비 (시작) **********************************/
-	//로그 확인
-	const logCheck = () => {
-		console.log('seniorMatchListByEquipment - change: ', seniorMatchListByEquipment.length);
-	};
-
 	// 시행기관 전체 장비 목록
 	const [agencyEquipmentList, setAgencyEquipmentList] = React.useState([]);
 	// 시행기관 대상자 장비 목록
@@ -303,7 +400,6 @@
 	const [equipmentNotMatchSeniorList, setEquipmentNotMatchSeniorList] = React.useState([]);
 	// 담당자 목록
 	const [workerList, setWorkerList] = React.useState([]);
-
 
 	// 대상자 장비 등록 모달창 열기
 	const seniorMatchInsertModalOpen = (item) => {
@@ -698,15 +794,16 @@
 
 	// 마운트 시 실행 함수
 	React.useEffect(() => {
+		// 공통
 		equipmentStatesSelect();
 		equipmentRentalStatesSelect();
 		equipmentNotMatchSeniorSelectList();
 		workerSelectList();
 
-		//관리자
+		// 관리자
 		equipmentSelectList();
 
-		//시행기관
+		// 시행기관
 		agencyEquipmentSelectList();
 		agencySeniorEquipmentSelectList();
 		agencyStockEquipmentSelectList();
@@ -754,8 +851,13 @@
 						<div className="btn-wrap flex-end margin-bottom ">
 							<Button
 								className={"btn-small gray-btn"}
+								btnName={"LOG"}
+								onClick={logCheck}
+							/>
+							<Button
+								className={"btn-small gray-btn"}
 								btnName={"등록"}
-								onClick={openModal3}
+								onClick={equipmentInsertModalOpen}
 							/>
 						</div>
 					</div>
@@ -783,6 +885,13 @@
 										<tr key={index}>
 											<td>{equipmentList.length - index}</td>
 											{key1.map((kes) => {
+												if(kes == "equipment_state") {
+													Object.keys(equipmentStates).map((key, idx) => {
+														if(item[kes] == key) {
+															item[kes] = Object.values(equipmentStates)[idx];
+														}
+													})
+												}
 												return <td>{item[kes]}</td>
 											})}
 											<td>
@@ -1001,10 +1110,72 @@
 	];
 
 	//시작 탭 설정
-	const [index, setIndex] = React.useState(4);
+	const [index, setIndex] = React.useState(1);
 
 	return (
 		<main>
+
+			<Modal open={equipmentInsertModal} close={equipmentInsertModalClose} header="장비 등록">
+				<div className="board-wrap">
+					<div>
+						<table className="flex70 margin-bottom">
+							<tbody className="equipment-insert">
+								<tr>
+									<th>종류</th>
+									<td colSpan={5}>
+										<select defaultValue={""} name="equipment_type" onChange={equipmentChange}>
+											<option value="" disabled>선택</option>
+											<option value="DIGITAL_MEDIBOX">디지털 약상자</option>
+											<option value="ECG" disabled>심전도계</option>
+											<option value="SPHYGMOMANOMETER" disabled>혈압계</option>
+										</select>
+									</td>
+								</tr>
+								<tr>
+									<th>모델 명</th>
+									<td colSpan={5}>
+										<input type="text" value={equipment['equipment_name']} id="equipmentName" name="equipment_name" placeholder="모델 명을 입력해 주세요" onChange={equipmentChange}></input>
+										{/* {smartMediBoxNameList.map((item) => {
+											return (
+												<span>
+													<input type="radio" id={item} name="equipment_name" value={item}></input>
+													<label for={item}>{item}</label>
+												</span>
+											)
+										})} */}
+									</td>
+								</tr>
+								<tr>
+									<th>시리얼 넘버</th>
+									<td colSpan={5}>
+										<input type="text" name="equipment_serial_number" placeholder="S/N을 입력해 주세요" onChange={equipmentChange}/>
+									</td>
+								</tr>
+								<tr>
+									<th>생산 일자</th>
+									<td colSpan={5}>
+										<input type="date" name="equipment_product_date" onChange={equipmentChange}/>
+									</td>
+								</tr>
+								<tr>
+									<th>입고 일자</th>
+									<td colSpan={5}>
+										<input type="date" name="equipment_stock_date" onChange={equipmentChange}/>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+					</div>
+					<div className="flex-center">
+						<Button
+							className={"btn-small gray-btn"}
+							btnName={"저장"}
+							onClick={equipmentInsert}
+						/>
+					</div>
+				</div>
+			</Modal>
+
 			<Modal open={modalOpen} close={closeModal} header="납품 기관 선택">
 				<div className="board-wrap">
 					<div>
@@ -1020,42 +1191,6 @@
 							className={"btn-100 gray-btn"}
 							btnName={"닫기"}
 							onClick={closeModal}
-						/>
-					</div>
-				</div>
-			</Modal>
-
-			<Modal open={modalOpen3} close={closeModal3} header="장비 등록">
-				<div className="board-wrap">
-					<div>
-						<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 colSpan={5}>
-										<input type="text" name="" id="" />
-									</td>
-								</tr>
-								<tr>
-									<th>입고일자</th>
-									<td colSpan={5}>
-										<input type="text" name="" id="" />
-									</td>
-								</tr>
-							</tbody>
-						</table>
-					</div>
-					<div className="flex-center">
-						<Button
-							className={"btn-small gray-btn"}
-							btnName={"저장"}
-							onClick={closeModal3}
 						/>
 					</div>
 				</div>
@@ -1195,7 +1330,7 @@
 
 
 			<div className="tab-container">
-				<ul className="tab-menu">
+				<ul className="tab-menu flex-start">
 					{data.map((item) => (
 						<li
 							key={item.id}
client/views/pages/main/Main.jsx
--- client/views/pages/main/Main.jsx
+++ client/views/pages/main/Main.jsx
@@ -2,157 +2,116 @@
 import Title from "../../component/Title.jsx";
 import Table from "../../component/Table.jsx";
 import Map from "../../component/chart/Map.jsx";
-import Chart1 from "../../component/chart/Chart1.jsx";
-import Chart2 from "../../component/chart/Chart2.jsx";
-import Calendar from "../../component/Calendar.jsx";
-import AddCircleIcon from '@mui/icons-material/AddCircle';
-import PersonIcon from '@mui/icons-material/Person';
-
+import Chart from "../../component/chart/Chart.jsx";
+import Chart5_agency from "../../component/chart/Chart5_agency.jsx";
+import Chart2_agency from "../../component/chart/Chart2_agency.jsx";
+import AddCircleIcon from "@mui/icons-material/AddCircle";
+import Calendar_agency from "../../component/Calendar_agency.jsx";
+import tool from "../../../resources/files/images/tool.png";
+import medicinebox from "../../../resources/files/images/medicinebox.png";
+import box from "../../../resources/files/images/box.png";
+import exchange from "../../../resources/files/images/exchange.png";
+import error from "../../../resources/files/images/error.png";
+import batteryAgency from "../../../resources/files/images/batteryAgency.png";
+import medicineAgency from "../../../resources/files/images/medicineAgency.png";
+import temperatureAgency from "../../../resources/files/images/temperatureAgency.png";
+import TitleSmall from "../../component/TitleSmall.jsx";
 
 export default function Main2() {
-
-  const tableHead = [
-    "연번",
-    "계약업체명",
-    "반납/교환",
-    "담당자 연락처",
-    "주소",
-  ];
-  const Key = [
-    "name",
-    "level_of_care",
-    "birth",
-    "phone",
-    "address",
-  ];
+  const data = [
+    {
+      id: 1,
+      title: "교환/수리 리스트",
+    },
+    {
+      id: 2,
+      title: "장비 추가 리스트",
+    },
+  ]
+  const [index, setIndex] = React.useState(1);
+  const thead = ["No", "이름", "대상자등록번호", "생년월일", "연락처", "주소", "미복약 누적 횟수",];
+  const key = ["No", "name", "number", "birth", "phone", "address", "average"];
   const content = [
     {
-      name: "1",
-      level_of_care: "A복지관",
-      birth: "교환",
+      No: 1,
+      name: "김복남",
+      number: "00000001",
+      birth: "1948.11.15",
       phone: "010-1234-5678",
       address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "2",
-      level_of_care: "B병원",
-      birth: "반납",
-      phone: "010-3333-3333",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "3",
-      level_of_care: "C복지관",
-      birth: "교환",
-      phone: "010-3333-4444",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "4",
-      level_of_care: "D복지관",
-      birth: "교환",
-      phone: "010-3333-5555",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "5",
-      level_of_care: "E복지관",
-      birth: "반납",
-      phone: "010-3333-6666",
-      address: "경상북도 군위군 삼국유사면",
+      average: "6회",
     },
   ];
-  const tableHead2 = [
-    "연번",
-    "계약업체명",
-    "반납/교환",
-    "담당자 연락처",
-    "주소",
-  ];
-  const Key2 = [
-    "name",
-    "level_of_care",
-    "birth",
-    "phone",
-    "address",
-  ];
-  const content2 = [
-    {
-      name: "1",
-      level_of_care: "A복지관",
-      birth: "교환",
-      phone: "010-1234-5678",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "2",
-      level_of_care: "B병원",
-      birth: "반납",
-      phone: "010-3333-3333",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "3",
-      level_of_care: "C복지관",
-      birth: "교환",
-      phone: "010-3333-4444",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "4",
-      level_of_care: "D복지관",
-      birth: "교환",
-      phone: "010-3333-5555",
-      address: "경상북도 군위군 삼국유사면",
-    },
-    {
-      name: "5",
-      level_of_care: "E복지관",
-      birth: "반납",
-      phone: "010-3333-6666",
-      address: "경상북도 군위군 삼국유사면",
-    },
-  ];
+
 
   return (
     <main>
-      <div className="main-grid">
-        <ul className="content-box statistics flex combine-left">
-          <li>
-            <p>전체 장비 대여수</p>
-            <p>200개</p>
-          </li>
-          <li>
-            <p>계약 업체 수</p>
-            <p>20개 </p>
-          </li>
-          <li>
-            <p>교환/수리 장비 수</p>
-            <p>13개</p>
-          </li>
-          <li>
-            <p>불량 장비 수</p>
-            <p>1개</p>
+      <div className="flex-start margin-bottom2"><img src={medicinebox} alt="" /><TitleSmall title={"대상자 현황"} explanation={"2023.02.28 기준"} /></div>
+      <div className="main-grid-agency margin-bottom2">
+        <ul className="content-box statistics-agency" background="#f7acba">
+          <li className="flex-start">
+            <img src={box} alt="" />
+            <div className="text">
+              <p>나의 관리 대상자</p>
+              <p>40</p>
+            </div>
           </li>
         </ul>
-        <div className="content-box combine-left">
-          <div className="flex margin-bottom">
-            <Title title={"교환/수리 리스트"} explanation={"장비 교환/수리 리스트를 확인하세요."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
+        <ul className="content-box statistics-agency" background="#8ef3d1">
+          <li className="flex-start">
+            <img src={medicineAgency} alt="" />
+            <div className="text">
+              <p>미복약 위험 대상자</p>
+              <p>40</p>
+            </div>
+          </li>
+        </ul>
+        <ul className="content-box statistics-agency" background="#ebe7b9" >
+          <li className="flex-start">
+            <img src={temperatureAgency} alt="" />
+            <div className="text">
+              <p>댁내 온도 위험 대상자</p>
+              <p>40</p>
+            </div>
+          </li>
+        </ul>
+        <ul className="content-box statistics-agency" background="#5f9af3">
+          <li className="flex-start">
+            <img src={batteryAgency} alt="" />
+            <div className="text">
+              <p>배터리 부족 대상자 </p>
+              <p>40</p>
+            </div>
+          </li>
+        </ul>
+      </div>
+      <div className="flex-start margin-bottom2"><img src={medicinebox} alt="" /><TitleSmall title={"장비 관리 리스트"}  /></div>
+      <div className="main-grid-agency">
+        <div className="content-box combine-left-government3">
+          <ul className="tab-menu-agency flex-start">
+            {data.map((item) => (
+              <li
+                key={item.id}
+                className={index === item.id ? "active" : null}
+                onClick={() => setIndex(item.id)}
+              >
+                {item.title}
+              </li>
+            ))}
+          </ul>
+          <div className="content-wrap equipmentlist">
+            <div className="margin-bottom2">
+              <Calendar_agency />
+            </div>
+            <ul className="tab-content">
+              {data
+                .filter((item) => index === item.id)
+                .map((item) => (
+                  <li>{item.description}</li>
+                ))}
+            </ul>
           </div>
-          <div className="flex" >
-            <div style={{ width:"50%" }}><Calendar /></div>
-            <div style={{ width:"50%" }}><Table head={tableHead} contents={content} contentKey={Key} /></div>
-          </div>
-
-        </div>          
-        <div className="content-box combine-left">
-          <div className="flex margin-bottom">
-            <Title title={"장비 추가 리스트"} explanation={"장비 추가 리스트를 확인하세요."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
-          </div>
-          <Table head={tableHead2} contents={content2} contentKey={Key2} />
-        </div>          
+        </div>
       </div>
     </main>
   );
client/views/pages/main/Main_agency.jsx
--- client/views/pages/main/Main_agency.jsx
+++ client/views/pages/main/Main_agency.jsx
@@ -5,128 +5,83 @@
 import Chart from "../../component/chart/Chart.jsx";
 import Chart5_agency from "../../component/chart/Chart5_agency.jsx";
 import Chart2_agency from "../../component/chart/Chart2_agency.jsx";
-import Chart4 from "../../component/chart/Chart4.jsx";
-import ClusteredColumnChart from "../../component/chart/ClusteredColumnChart.jsx";
-import Donut1 from "../../component/chart/Donut1.jsx";
-import RowChart from "../../component/chart/RowChart.jsx";
 import AddCircleIcon from "@mui/icons-material/AddCircle";
 import Calendar_agency from "../../component/Calendar_agency.jsx";
-import BatteryCharging20Icon from '@mui/icons-material/BatteryCharging20';
-import DeviceThermostatIcon from '@mui/icons-material/DeviceThermostat';
-import MedicationIcon from '@mui/icons-material/Medication';
-import ElderlyIcon from '@mui/icons-material/Elderly';
+import tool from "../../../resources/files/images/tool.png";
+import medicinebox from "../../../resources/files/images/medicinebox.png";
+import box from "../../../resources/files/images/box.png";
+import exchange from "../../../resources/files/images/exchange.png";
+import error from "../../../resources/files/images/error.png";
+import batteryAgency from "../../../resources/files/images/batteryAgency.png";
+import medicineAgency from "../../../resources/files/images/medicineAgency.png";
+import temperatureAgency from "../../../resources/files/images/temperatureAgency.png";
+import TitleSmall from "../../component/TitleSmall.jsx";
 
 export default function Main2() {
-  const thead = ["No", "이름","대상자등록번호", "생년월일", "연락처", "주소", "미복약 누적 횟수",];
-  const key = ["No", "name","number", "birth", "phone", "address", "average"];
+  const thead = ["No", "계약업체명", "구분", "담당자 연락처", "주소"];
+  const key = ["No", "agency", "division", "phone", "address",];
   const content = [
     {
       No: 1,
-      name: "김복남",
-      number: "00000001",
-      birth: "1948.11.15",
+      agency: "A복지관",
+      division: "교환",
       phone: "010-1234-5678",
       address: "경상북도 군위군 삼국유사면",
-      average: "6회",
-    },
-  ];
-  const thead2 = ["No", "이름","대상자등록번호", "생년월일", "연락처", "주소", "최근 최저 온도","최근 최고 온도"];
-  const key2 = ["No", "name","number", "birth", "phone", "address", "low", "high"];
-  const content2 = [
-    {
-      No: 1,
-      name: "김복남",
-      number: "00000001",
-      birth: "1948.11.15",
-      phone: "010-1234-5678",
-      address: "경상북도 군위군 삼국유사면",
-      low: "6°C",
-      high: "6°C",
     },
   ];
 
+
   return (
     <main>
-      <div className="main-grid-agency">
+      <div className="flex-start margin-bottom2"><img src={medicinebox} alt="" /><TitleSmall title={"대상자 현황"} explanation={"2023.02.28 기준"} /></div>
+      <div className="main-grid-agency margin-bottom2">
         <ul className="content-box statistics-agency" background="#f7acba">
-          <li> 
-            <p><ElderlyIcon sx={{ width: "50px", height: "50px", color: "#ffffff", background:"#bf0629", borderRadius:"50px" }}/></p>           
-            <p>나의 관리 대상자</p>
-            <p>40</p>
+          <li className="flex-start">
+            <img src={box} alt="" />
+            <div className="text">
+              <p>나의 관리 대상자</p>
+              <p>40</p>
+            </div>
           </li>
-                  </ul>
+        </ul>
         <ul className="content-box statistics-agency" background="#8ef3d1">
-          <li>
-           <p><MedicationIcon sx={{ width: "50px", height: "50px", color: "#ffffff", background:"#076143", borderRadius:"50px" }}/></p>
-            <p>미복약 위험 대상자</p>
-            <p>40</p>
+          <li className="flex-start">
+            <img src={medicineAgency} alt="" />
+            <div className="text">
+              <p>미복약 위험 대상자</p>
+              <p>40</p>
+            </div>
           </li>
         </ul>
         <ul className="content-box statistics-agency" background="#ebe7b9" >
-          <li>
-             <p><DeviceThermostatIcon sx={{ width: "50px", height: "50px", color: "#ffffff", background:"#f1de05", borderRadius:"50px" }}/></p>
-            <p>댁내 온도 위험 대상자</p>
-            <p>40</p>
+          <li className="flex-start">
+            <img src={temperatureAgency} alt="" />
+            <div className="text">
+              <p>댁내 온도 위험 대상자</p>
+              <p>40</p>
+            </div>
           </li>
         </ul>
         <ul className="content-box statistics-agency" background="#5f9af3">
-          <li>
-            <p><BatteryCharging20Icon sx={{ width: "50px", height: "50px", color: "#ffffff", background:"#5f9af3", borderRadius:"50px" }}/></p>
-            <p>배터리 부족 대상자 </p>
-            <p>40</p>
+          <li className="flex-start">
+            <img src={batteryAgency} alt="" />
+            <div className="text">
+              <p>배터리 부족 대상자 </p>
+              <p>40</p>
+            </div>
           </li>
-        </ul>       
-       
-        <div className="content-box bg-1 combine-left-government2 combine-middle-government">
-          <div className="flex">
-          <Title title={"복용률 통계"} explanation={"복용률 현황을 확인할 수 있습니다."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
-          </div>
-          <Chart2_agency />
+        </ul>
+      </div>
+      <div className="flex-start margin-bottom2"><img src={medicinebox} alt="" /><TitleSmall title={"방문 관리 리스트"}  /></div>
+      <div className="main-grid-agency">
+        <div className="content-box combine-left-government3 visitlist">  
+            <div className="margin-bottom2">
+              <Calendar_agency />
+            </div>   
+            <div>
+            <Table className="agency-visitlist" head={thead} contents={content} contentKey={key} />
+              </div>         
         </div>
-        <div className="content-box bg-2 combine-left-government2 combine-bottom-government6">
-          <div className="flex">
-          <Title title={"미복약 위험 대상자 리스트"} explanation={"월별 약상자 사용 인원"} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
-          </div>
-          <Table
-            className={"medicine-table"}
-              head={thead}
-              contents={content}
-              contentKey={key}
-              onClick={() => {
-                navigate("/MedicineCareSelectOne");
-              }}
-            />
-        </div>
-        <div className="content-box bg-1 combine-left-government2 combine-bottom-government7">
-          <div className="flex">
-          <Title title={"댁내온도 위험 대상자 리스트"} explanation={"월별 약상자 사용 인원"} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
-          </div>
-          <Table
-            className={"medicine-table"}
-              head={thead2}
-              contents={content2}
-              contentKey={key2}
-              onClick={() => {
-                navigate("/MedicineCareSelectOne");
-              }}
-            />
-        </div>
-        <div className="content-box combine-right-government2 combine-bottom-government5">
-          <div className="flex">
-            <Title title={"나의 관리 대상자"} explanation={"지역별 대상자 현황을 확인할 수 있습니다."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
-          </div>
-          <Chart5_agency />
-        </div>
-        <div className="content-box combine-right-government combine-bottom-government2">
-          <div className="flex">
-          <Title title={"방문 달력"} explanation={"방문 일정을 캘린더로 관리하세요."} />
-          </div>
-          <Calendar_agency />
-        </div>        
       </div>
     </main>
   );
client/views/pages/main/Main_guardian.jsx
--- client/views/pages/main/Main_guardian.jsx
+++ client/views/pages/main/Main_guardian.jsx
@@ -2,13 +2,31 @@
 import Title from "../../component/Title.jsx";
 import Table from "../../component/Table.jsx";
 import Calendar from "../../component/Calendar.jsx";
+import TitleSmall from "../../component/TitleSmall.jsx";
+import DateDay from "../../component/DateDay.jsx";
+import DateMonth from "../../component/DateMonth.jsx";
+import Chart6 from "../../component/chart/Chart6.jsx";
 import ClearIcon from '@mui/icons-material/Clear';
-import BatteryCharging20Icon from '@mui/icons-material/BatteryCharging20';
-import DeviceThermostatIcon from '@mui/icons-material/DeviceThermostat';
-import MedicationIcon from '@mui/icons-material/Medication';
-import AssignmentTurnedInIcon from '@mui/icons-material/AssignmentTurnedIn';
 import CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline';
 import ErrorIcon from '@mui/icons-material/Error';
+import Senior from '../../../resources/files/images/senior.png';
+import battery from '../../../resources/files/images/battery.png';
+import zeropercent from '../../../resources/files/images/zeropercent.png';
+import pullpercent from '../../../resources/files/images/pullpercent.png';
+import twentypercent from '../../../resources/files/images/twentypercent.png';
+import fortypercent from '../../../resources/files/images/fortypercent.png';
+import eightytypercent from '../../../resources/files/images/eightypercent.png';
+import sixtytypercent from '../../../resources/files/images/sixtypercent.png';
+import calendar from '../../../resources/files/images/calendar.png';
+import temperature from '../../../resources/files/images/temperature.png';
+import medicine from '../../../resources/files/images/medicine.png';
+import calendarBig from '../../../resources/files/images/calendarBig.png';
+import mornon from '../../../resources/files/images/mornon.png';
+import mornoff from '../../../resources/files/images/mornoff.png';
+import lunchon from '../../../resources/files/images/lunchon.png';
+import lunchoff from '../../../resources/files/images/lunchoff.png';
+import dinneron from '../../../resources/files/images/dinneron.png';
+import dinneroff from '../../../resources/files/images/dinneroff.png';
 
 export default function Main_guardian() {
   const tableHead1 = ["", "", "", "", "", ""];
@@ -65,77 +83,64 @@
   return (
     <>
       <main>
-        <div><Title title={"김복남 어르신"} explanation={"방문, 복약, 온도, 배터리 현황을 확인하세요."} /></div>
+        <div className="flex-start main-guardian"><img src={Senior} alt="" /><Title title={"김복남 어르신"} explanation={"방문, 복약, 온도, 배터리 현황을 확인하세요."} /></div>
         <div className="main-grid-guardian">
-          <ul className="content-box statistics-guardian">
-            <li className="flex-start">
-              <p><AssignmentTurnedInIcon sx={{ width: "5rem", height: "5rem", color: "#bf0629", borderRadius: "50px" }} /></p>
-              <p>방문 체크</p>
-              <p>이번달 보호사님이 방문한 횟수는 총 4회 입니다.</p>
-            </li>
-            <Calendar />
-          </ul>
-          <ul className="content-box statistics-guardian">
-            <li className="flex-start">
-              <p><MedicationIcon sx={{ width: "5rem", height: "5rem", color: "#0dd390", borderRadius: "50px" }} /></p>
-              <p>복약 체크</p>
-              <p>약을 잘 복용하고 계신지 체크해주세요</p>              
-            </li>
-            <li className="flex">
-                <p className="guardian-table-text">어제</p>
-                <p className="guardian-table-inner"><Table
-              className={"guardian-table"}
-              head={tableHead1}
-              contents={content1}
-              contentKey={Key1}
-            /></p>
-              </li>
-            <li className="flex">
-                <p className="guardian-table-text">2일 전</p>
-                <p className="guardian-table-inner"><Table
-              className={"guardian-table"}
-              head={tableHead2}
-              contents={content2}
-              contentKey={Key2}
-            /></p>
-              </li>
-              <li className="flex">
-                <p className="guardian-table-text">3일 전</p>
-                <p className="guardian-table-inner"><Table
-              className={"guardian-table"}
-              head={tableHead1}
-              contents={content1}
-              contentKey={Key1}
-            /></p>
-              </li>             
-          </ul>
-          <ul className="content-box statistics-guardian">
-            <li className="flex-start">
-              <p><DeviceThermostatIcon sx={{ width: "5rem", height: "5rem", color: "#f1de05", borderRadius: "50px" }} /></p>
-              <p>온도 체크</p>
-              <p>댁내 온도가 적절한지 체크해보세요.</p>
-            </li>
-            <li className="flex">
-                <p className="guardian-table-inner"><Table
-              className={"guardian-table1"}
-              head={tableHead3}
-              contents={content3}
-              contentKey={Key3}
-            /></p>
+          <div className=" statistics-guardian combine-left2 combine-middle-government">
+          <div className="flex-start margin-bottom2"><img src={calendarBig} alt="" /><TitleSmall title={"방문체크"} /></div>
+            <ul >         
+              <li>
+              <Calendar />
+              </li>     
+            </ul>
+          </div>
+          <div className=" statistics-guardian combine-right3">
+          <div className="flex-start margin-bottom2"><img src={temperature} alt="" /><TitleSmall title={"온도체크"} explanation={"댁내 온도가 적절한지 체크해보세요."}/></div>
+            <ul >
+              <li>
+                <DateMonth />
+                <Chart6 />
               </li>   
-          </ul>
-          <ul className="content-box statistics-guardian">
-            <li className="flex-start">
-              <p><BatteryCharging20Icon sx={{ width: "5rem", height: "5rem", color: "#5f9af3", borderRadius: "50px" }} /></p>
-              <p>현재 스마트 약상자의 배터리가 40% 입니다.</p>
-              <p></p>
-            </li>
-            <li>
-            <p className="red"><ErrorIcon sx={{ width: "1rem", height: "1rem", color: "red", borderRadius: "50px" }}/>충전이 필요합니다.</p>
-            </li>
-          </ul>
-          <div className="content-box combine-left combine-all-government">
-            
+            </ul>
+          </div>
+          
+          <div className="statistics-guardian combine-right3">
+          <div className="flex-start margin-bottom2"><img src={medicine} alt="" /><TitleSmall title={"복약체크"} explanation={"약을 잘 복용하고 계신지 체크해주세요."}/></div>
+            <ul className="">
+              <li className="guardian-medicine">
+                <DateDay />
+                <ul className="flex">
+                  <li>
+                    <img src={mornon} alt="" className="show"/>
+                    <img src={mornoff} alt="" />
+                  </li>
+                  <li>
+                    <img src={lunchon} alt="" />
+                    <img src={lunchoff} alt="" className="show"/>
+                  </li>
+                  <li>
+                    <img src={dinneron} alt="" />
+                    <img src={dinneroff} alt="" className="show"/>
+                  </li>
+                </ul>
+              </li>
+            </ul>
+          </div>
+          <div className="combine-left combine-all-government battery-wrap ">
+            <div className="battery flex-start"><img src={battery} alt="" /><p>현재 스마트 약상자의 배터리가 <em className="red">40</em>% 입니다.</p><p className="red">※충전이 필요합니다.</p></div> 
+            <div className="battery-img"> 
+              {/* 0%일때 */}
+              <img src={zeropercent} alt="" /> 
+              {/* 0~20%일때 */}
+              <img src={twentypercent} alt="" />
+              {/* 20~40%일때 */}
+              <img src={fortypercent} alt="" className="show"/>
+              {/* 40~60%일때 */}
+              <img src={sixtytypercent} alt="" />
+              {/* 60~80% 일때 */}
+              <img src={eightytypercent} alt="" />
+              {/* 80~100%일때 */}
+              <img src={pullpercent} alt="" />
+            </div>
 
           </div>
         </div>
client/views/pages/senior_management/SeniorSelectOne.jsx
--- client/views/pages/senior_management/SeniorSelectOne.jsx
+++ client/views/pages/senior_management/SeniorSelectOne.jsx
@@ -16,42 +16,37 @@
             <tr>
               <th>이름</th>
               <td>
-                <span>김복남</span>
+                <span></span>
               </td>
-              <th>사용자등록번호</th>
+              <th>성별</th>
               <td>
-                <span>202280102</span>
+                <span></span>
               </td>              
             </tr>
             <tr>
             <th>생년월일</th>
               <td>
-                <span>1948.11.15</span>
+                <span></span>
               </td>
               <th>연락처</th>
               <td>
-                <span>010-1234-5678</span>
+                <span></span>
               </td>
             </tr>
             <tr>
-              <th>요양등급</th>
+              <th>주소</th>
               <td>
                 <span>1등급</span>
               </td>
-              <th>성별</th>
-              <td>
-                <span>남</span>
-              </td>              
+                            
             </tr>
             <tr>
-            <th>주소</th>
-              <td>
-                <span>경상북도 군위군 삼국유사면</span>
-              </td>
-              <th>보호자 비상연락망</th>
-              <td>
-                <span>010-1234-5678</span>
-              </td>
+            <th>필요복약</th>
+              <td className="flex-start">
+                <span>아침</span>
+                <span>점심</span>
+                <span>저녁</span>
+              </td>              
             </tr>
             <tr>
               <th>복용중인 약</th>
@@ -60,9 +55,9 @@
               </td>
             </tr>
             <tr>
-              <th>기저질환</th>
+              <th>비고</th>
               <td colSpan={3} style={{height:"300px"}}>
-                <span>고혈압</span>
+                <span></span>
               </td>
             </tr>
           </tbody>
@@ -72,14 +67,14 @@
             className={"btn-large gray-btn"}
             btnName={"이전"}
             onClick={() => {
-              navigate("/SeniorSelect");
+              navigate("/UserAuthoriySelect_agency");
             }}
           />
           <Button
             className={"btn-large green-btn"}
             btnName={"수정"}
             onClick={() => {
-              navigate("/SeniorInsert");
+              navigate("/UserAuthoriySelect_agency");
             }}
           />
         </div>
client/views/pages/user_management/UserAuthoriySelect_agency.jsx
--- client/views/pages/user_management/UserAuthoriySelect_agency.jsx
+++ client/views/pages/user_management/UserAuthoriySelect_agency.jsx
@@ -221,7 +221,7 @@
     if (id == 2) {
       return (
         <Button
-          className={"btn-small green-btn"}
+          className={"btn-small gray-btn"}
           btnName={"등록"}
           onClick={() => {
             navigate("/SeniorInsert");
@@ -524,7 +524,7 @@
           </table>
           <div className="btn-wrap flex-center">
             <Button
-              className={"btn-small green-btn"}
+              className={"btn-small gray-btn"}
               btnName={"등록"}
               onClick={() => {
                 InsertSenior(userName, gender, brith, telNum, homeAddress, note, medicineM, medicineL, medicineD)
@@ -535,7 +535,7 @@
       </Modal>
 
       <div className="tab-container">
-        <ul className="tab-menu">
+        <ul className="tab-menu flex-start">
           {data.map((item) => (
             <li
               key={item.id}
@@ -565,7 +565,7 @@
             />
           </div>
           <div className="btn-wrap flex-end">
-            <Button className={"btn-small green-btn"} btnName={"등록"} onClick={openModal3} />
+            <Button className={"btn-small gray-btn"} btnName={"등록"} onClick={openModal3} />
           </div>
           <ul className="tab-content">
             {data
Add a comment
List