최정임 최정임 2023-02-16
230216 최정임 게시판 수정
@90ace5930a0bd27ed97372ea2d9328259b66e010
client/views/pages/App.jsx
--- client/views/pages/App.jsx
+++ client/views/pages/App.jsx
@@ -26,8 +26,8 @@
   };
 
 
-  const menuItems = AllApp.menuItems;  //AdminApp, GovernmentApp, AllApp 
-  const AppRoute = AllApp.AppRoute;
+  const menuItems = AdminApp.menuItems;  //AdminApp, GovernmentApp, AllApp, AgencyApp, GuardianApp 
+  const AppRoute = AdminApp.AppRoute;
 
 
   const { title } = menuItems.find(
client/views/pages/AppRoute.jsx
--- client/views/pages/AppRoute.jsx
+++ client/views/pages/AppRoute.jsx
@@ -16,6 +16,7 @@
 import CallIcon from '@mui/icons-material/Call';
 import ConstructionIcon from '@mui/icons-material/Construction';
 import EqualizerIcon from '@mui/icons-material/Equalizer';
+import ApartmentIcon from '@mui/icons-material/Apartment';
 
 import Test from "./Test/Test.jsx";
 import Main_government from "./main/Main_government.jsx";
@@ -39,16 +40,15 @@
 import EquipmentManagementSelect from "./equipment/EquipmentManagementSelect.jsx";
 import EquipmentManagementSelectOne from "./equipment/EquipmentManagementSelectOne.jsx";
 import UserAuthoriySelect from "./user_management/UserAuthoriySelect.jsx";
-import UserAuthoriySelect_admin from "./user_management/UserAuthoriySelect_admin.jsx";
+import UserAuthoriySelect_agency from "./user_management/UserAuthoriySelect_agency.jsx";
 import MyInfoUpdate from "./authority/MyInfoUpdate.jsx";
-import CallInsert from "./callcenter/CallInsert.jsx";
-import CallSelect from "./callcenter/CallSelect.jsx";
-import CallSelectOne from "./setting/RiskSet.jsx";
-import CallUpdate from "./callcenter/CallUpdate.jsx";
-import EquipmentInquiry from "./equipment/EquipmentInquiry.jsx";
+import QandASelect from "./callcenter/QandASelect.jsx";
+import QandAConfirm from "./callcenter/QandAConfirm.jsx";
+import EquipmentManagementInsert from "./equipment/EquipmentManagementInsert.jsx";
 import EquipmentManagementSelectAdd from "./equipment/EquipmentManagementSelectAdd.jsx";
 import RiskSet from "./setting/RiskSet.jsx";
-import QandA from "./callcenter/QandA.jsx";
+import QandAInsert from "./callcenter/QandAInsert.jsx";
+import QandA_agency from "./callcenter/QandA_agency.jsx";
 import UserSelectOk from "./user_management/UserSelectOk.jsx";
 import AuthorityManagement from "./setting/AuthorityManagement.jsx";
 import AgencyInsert from "./user_management/AgencyInsert.jsx";
@@ -97,7 +97,7 @@
       },
       {
         title: "장비 문의 관리",
-        path: "/EquipmentManagementSelect",
+        path: "/QandASelect",
         icon: (
           <SettingsIcon
             sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -199,7 +199,7 @@
       },
       {
         title: "시니어 관리",
-        path: "/UserAuthoriySelect_admin",
+        path: "/UserAuthoriySelect_agency",
         icon: (
           <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
         ),
@@ -234,7 +234,7 @@
       },
       {
         title: "Q&A 관리",
-        path: "/QandA",
+        path: "/QandASelect",
         icon: (
           <SpeakerPhoneIcon
             sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -243,7 +243,7 @@
       },
       {
         title: "장비 대여 관리x",
-        // path: "/EquipmentInquiry",
+        path: "/EquipmentInquiry",
         icon: (
           <SettingsIcon
             sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -272,21 +272,13 @@
         icon: <HouseIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
       },
       {
-        title: "Q&A",
-        path: "/QandA",
-        icon: (
-          <SpeakerPhoneIcon
-            sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-          />
-        ),
-      },
+        title: "그래프로 보기",
+        path: "/GuardianStatistics",
+        icon: <EqualizerIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
+      }, 
     ],
   },
-  {
-    title: "그래프로 보기",
-    path: "/GuardianStatistics",
-    icon: <EqualizerIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
-  }, 
+ 
 ];
 
 function AllAppRoute() {
@@ -340,16 +332,15 @@
           element={<UserAuthoriySelect />}
         ></Route>
         <Route path="/MyInfoUpdate" element={<MyInfoUpdate />}></Route>
-        <Route path="/CallInsert" element={<CallInsert />}></Route>
-        <Route path="/CallUpdate" element={<CallUpdate />}></Route>
-        <Route path="/CallSelect" element={<CallSelect />}></Route>
+        <Route path="/QandAInsert" element={<QandAInsert />}></Route>
         <Route path="/CallSelectOne" element={<CallSelectOne />}></Route>
-        <Route path="/EquipmentInquiry" element={<EquipmentInquiry />}></Route>
+        <Route path="/QandAInquiry" element={<QandAInquiry />}></Route>
         <Route path="/EquipmentManagementSelectAdd" element={<EquipmentManagementSelectAdd />}></Route>
         <Route path="/RiskSet" element={<RiskSet />}></Route>
         <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
-        <Route path="/UserAuthoriySelect_admin" element={<UserAuthoriySelect_admin />}></Route>
-        <Route path="/QandA" element={<QandA />}></Route>
+        <Route path="/UserAuthoriySelect_agency" element={<UserAuthoriySelect_agency />}></Route>
+        <Route path="/QandA_agency" element={<QandA_agency />}></Route>
+        <Route path="/QandASelect" element={<QandASelect />}></Route>
         <Route path="/UserSelectOk" element={<UserSelectOk />}></Route>
         <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
         <Route path="/AgencyInsert" element={<AgencyInsert />}></Route>
@@ -363,6 +354,7 @@
         <Route path="/Questionnaire_government" element={<Questionnaire_government />}></Route>
         <Route path="/VisitSelect_government" element={<VisitSelect_government />}></Route>
         <Route path="/QandA_government" element={<QandA_government />}></Route>
+        <Route path="/QandAConfirm" element={<QandAConfirm />}></Route>
       </Routes>
   );
 }
@@ -371,7 +363,7 @@
 
 const AdminAppMenuItems = [
   {
-    title: "Home",
+    title: "Home(올잇메디)",
     path: "/Main",
     icon: <HouseIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
   },
@@ -382,142 +374,105 @@
       <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
   },
-  // {
-  //   title: "시니어 관리",
-  //   path: "/UserAuthoriySelect_admin",
-  //   icon: (
-  //     <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-  //   ),
-  // },
-  // {
-  //   title: "사용자 계정 승인",
-  //   path: "/UserSelectOk",
-  //   icon: (
-  //     <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-  //   ),
-  // },
-  // {
-  //   title: "건강 관리",
-  //   prefix: "/Medicine",
-  //   icon: (
-  //     <Diversity1Icon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-  //   ),
-  //   childrens: [
-  //     {
-  //       title: "복약 관리",
-  //       path: "/MedicineCareSelect",
-  //     },
-  //     {
-  //       title: "댁내 온도 관리",
-  //       path: "/TemperatureManagementSelect",
-  //     },
-  //     {
-  //       title: "문진표 작성",
-  //       path: "/TemperatureManagementSelect",
-  //     },
-  //   ],
-  // },
-
-  // {
-  //   title: "방문 관리",
-  //   prefix: "/Visit",
-  //   icon: (
-  //     <DoorFrontIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-  //   ),
-  //   childrens: [
-  //     {
-  //       title: "방문 관리",
-  //       path: "/VisitSelect",
-  //     },
-  //   ],
-  // },
-  // {
-  //   title: "장비 관리",    
-  //   icon: (
-  //     <SettingsIcon
-  //       sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-  //     />
-  //   ),
-  //   childrens: [
-  //     {
-  //       title: "장비 조회",
-  //       path: "/EquipmentManagementSelect",
-  //     },
-  //     {
-  //       title: "장비 문의 요청",
-  //       path: "/EquipmentInquiry",
-  //     },
-  //     // {
-  //     //   title: "장비 추가 요청",
-  //     //   path: "/EquipmentManagementSelectAdd",
-  //     // },
-  //   ],
-  // },    
-  {
-    title: "문의게시판",
-    path: "/QandA",
+   {
+    title: "시니어 건강 관리",
+    path: "/UserAuthoriySelect_agency",
     icon: (
-      <SpeakerPhoneIcon
-        sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-      />
-    ),
-  },
-  // {
-  //   title: "설정",    
-  //   icon: (
-  //     <SettingsIcon
-  //       sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-  //     />
-  //   ),
-  //   childrens: [
-  //     {
-  //       title: "위험 기준 관리",
-  //       path: "/RiskSet",
-  //     },
-  //     {
-  //       title: "사용자 권한 관리",
-  //       path: "/AuthorityManagement",
-  //     },
-  //     // {
-  //     //   title: "장비 추가 요청",
-  //     //   path: "/EquipmentManagementSelectAdd",
-  //     // },
-  //   ],
-  // },    
+       <Diversity1Icon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+     ),
+     childrens: [
+           {
+            title: "복약 관리",
+        path: "/MedicineCareSelect",
+          },
+          {
+            title: "댁내 온도 관리",
+        path: "/TemperatureManagementSelect",
+          },
+          {
+            title: "진료 관리",
+        path: "/Questionnaire",
+          },
+          {
+            title: "방문 관리",
+        path: "/VisitSelect",
+          },
+        ],
+   },
+   {
+      title: "장비 관리",    
+      icon: (
+        <ConstructionIcon
+          sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
+        />
+      ),
+      childrens: [
+        {
+          title: "장비 조회",
+          path: "/EquipmentManagementSelect",
+        },
+        {
+          title: "장비 문의 관리",
+        path: "/QandASelect",
+        },
+      ],
+    },  
+ 
 ];
 function AdminAppRoute() {
   return (
     <Routes>
       <Route path="/Test" element={<Test />}></Route>
         <Route path="/Main" element={<Main />}></Route>
-        <Route path="/Main_government" element={<Main_government />}></Route>
-        <Route path="/Main_guardian" element={<Main_guardian />}></Route>
-        <Route path="/Main_agency" element={<Main_agency />}></Route>
         <Route
           path="/EquipmentRentalInsert"
           element={<EquipmentRentalInsert />}
         ></Route>
         <Route
+          path="/EquipmentManagementInsert"
+          element={<EquipmentManagementInsert />}
+        ></Route>
+        <Route
           path="/EquipmentManagementSelect"
           element={<EquipmentManagementSelect />}
         ></Route>
+          <Route
+            path="/EquipmentManagementSelectOne"
+            element={<EquipmentManagementSelectOne />}
+          ></Route>        
         <Route
-          path="/EquipmentManagementSelectOne"
-          element={<EquipmentManagementSelectOne />}
-        ></Route>        
-        <Route path="/MyInfoUpdate" element={<MyInfoUpdate />}></Route>
-        <Route path="/CallInsert" element={<CallInsert />}></Route>
-        <Route path="/CallUpdate" element={<CallUpdate />}></Route>
-        <Route path="/CallSelect" element={<CallSelect />}></Route>
-        <Route path="/CallSelectOne" element={<CallSelectOne />}></Route>
-        <Route path="/EquipmentInquiry" element={<EquipmentInquiry />}></Route>
+          path="/MedicineCareSelect"
+          element={<MedicineCareSelect />}
+        ></Route>
+        <Route
+          path="/MedicineCareSelectOne"
+          element={<MedicineCareSelectOne />}
+        ></Route>
+        <Route
+          path="/TemperatureManagementSelectOne"
+          element={<TemperatureManagementSelectOne />}
+        ></Route>
+        <Route
+          path="/TemperatureManagementSelect"
+          element={<TemperatureManagementSelect />}
+        ></Route>
+        <Route
+          path="/VisitSelect"
+          element={<VisitSelect />}
+        ></Route>
+        <Route
+          path="/VisitSelectOne"
+          element={<VisitSelectOne />}
+        ></Route>
+        <Route
+          path="/Questionnaire"
+          element={<Questionnaire />}
+        ></Route>
+        <Route path="/QandAInsert" element={<QandAInsert />}></Route>
+        <Route path="/QandASelect" element={<QandASelect />}></Route>
         <Route path="/EquipmentManagementSelectAdd" element={<EquipmentManagementSelectAdd />}></Route>
-        <Route path="/RiskSet" element={<RiskSet />}></Route>
-        <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
-        <Route path="/UserAuthoriySelect_admin" element={<UserAuthoriySelect_admin />}></Route>
-        <Route path="/QandA" element={<QandA />}></Route>
-        <Route path="/UserSelectOk" element={<UserSelectOk />}></Route>
-        <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
+        <Route path="/UserAuthoriySelect" element={<UserAuthoriySelect />}></Route>
+        <Route path="/QandAConfirm" element={<QandAConfirm />}></Route>
     </Routes>
   );
 }
@@ -526,86 +481,51 @@
 const GovernmentAppMenuItems = [
    {
     title: "Home",
-    path: "/Main",
+    path: "/Main_government",
     icon: <HouseIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
   },
   {
-    title: "사용자 관리",
-    path: "/UserAuthoriySelect",
+    title: "기관 관리",
     icon: (
-      <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+      <ApartmentIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
+    childrens: [
+      {
+        title: "기관 조회",
+        path: "/AgencySelect",        
+      },
+      {
+        title: "사용자 계정 승인",
+        path: "/UserSelectOk",
+      },
+    ],
   },
   {
-    title: "시니어 관리",
-    path: "/UserAuthoriySelect_admin",
-    icon: (
-      <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-    ),
-  },
-  {
-    title: "사용자 계정 승인",
-    path: "/UserSelectOk",    
-  },
-  {
-    title: "건강 관리",
-    prefix: "/Medicine",
+    title: "시니어 건강 관리",
     icon: (
       <Diversity1Icon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
-    childrens: [
+    childrens:[
       {
         title: "복약 관리",
-        path: "/MedicineCareSelect",
+        path: "/MedicineCareSelect",      
       },
       {
         title: "댁내 온도 관리",
-        path: "/TemperatureManagementSelect",
+        path: "/TemperatureManagementSelect",      
       },
       {
-        title: "문진표 작성",
-        path: "/TemperatureManagementSelect",
+        title: "진료 관리",
+        path: "/Questionnaire",      
       },
-    ],
-  },
-
-  {
-    title: "방문 관리",
-    prefix: "/Visit",
-    icon: (
-      <DoorFrontIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
-    ),
-    childrens: [
       {
         title: "방문 관리",
-        path: "/VisitSelect",
+        path: "/VisitSelect",     
       },
-    ],
+    ]
   },
   {
-    title: "장비 관리",    
-    icon: (
-      <SettingsIcon
-        sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-      />
-    ),
-    childrens: [
-      {
-        title: "장비 조회",
-        path: "/EquipmentManagementSelect",
-      },
-      {
-        title: "장비 문의 요청",
-        path: "/EquipmentInquiry",
-      },
-      // {
-      //   title: "장비 추가 요청",
-      //   path: "/EquipmentManagementSelectAdd",
-      // },
-    ],
-  },    
-  {
-    title: "문의게시판",
+    title: "문의 현황 관리",
     path: "/QandA",
     icon: (
       <SpeakerPhoneIcon
@@ -614,11 +534,10 @@
     ),
   },
   {
-    title: "설정",    
+    title: "설정 관리",
+    prefix: "/Visit",
     icon: (
-      <SettingsIcon
-        sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
-      />
+      <SettingsIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
     ),
     childrens: [
       {
@@ -629,21 +548,16 @@
         title: "사용자 권한 관리",
         path: "/AuthorityManagement",
       },
-      // {
-      //   title: "장비 추가 요청",
-      //   path: "/EquipmentManagementSelectAdd",
-      // },
     ],
-  },  
+  },
 ];
 function GovernmentAppRoute() {
   return (
     <Routes>
       <Route path="/Test" element={<Test />}></Route>
-      <Route path="/Main" element={<Main2 />}></Route>
-      <Route path="/SeniorSelect" element={<SeniorSelect />}></Route>
-      <Route path="/SeniorInsert" element={<SeniorInsert />}></Route>
-      <Route path="/SeniorSelectOne" element={<SeniorSelectOne />}></Route>
+      <Route path="/Main_government" element={<Main_government />}></Route>
+      <Route path="/AgencySelect" element={<AgencySelect />}></Route>
+      <Route path="/UserSelectOk" element={<UserSelectOk />}></Route>
       <Route
         path="/MedicineCareSelect"
         element={<MedicineCareSelect />}
@@ -666,7 +580,100 @@
       ></Route>
       <Route path="/VisitInsert" element={<VisitInsert />}></Route>
       <Route path="/VisitSelect" element={<VisitSelect />}></Route>
+      <Route path="/VisitSelectOne" element={<VisitSelectOne />}></Route>      
+      <Route
+        path="/UserAuthoriySelect"
+        element={<UserAuthoriySelect />}
+      ></Route>
+      <Route path="/RiskSet" element={<RiskSet />}></Route>
+      <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
+    </Routes>
+  );
+}
+const AgencyAppMenuItems = [
+   {
+    title: "Home",
+    path: "/Main_agency",
+    icon: <HouseIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
+  },
+  {
+    title: "시니어 관리",
+    path: "/UserAuthoriySelect_agency",
+    icon: (
+      <PersonIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+    ),
+  },
+  {
+    title: "시니어 건강 관리",
+    icon: (
+      <Diversity1Icon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
+    ),
+    childrens:[
+      {
+        title: "복약 관리",
+        path: "/MedicineCareSelect",      
+      },
+      {
+        title: "댁내 온도 관리",
+        path: "/TemperatureManagementSelect",      
+      },
+      {
+        title: "진료 관리",
+        path: "/Questionnaire",      
+      },
+      {
+        title: "방문 관리",
+        path: "/VisitSelect",     
+      },
+    ]
+  },
+  {
+    title: "장비 대여 관리",
+    path: "/EquipmentInquiry",
+    icon: (
+      <ConstructionIcon
+        sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
+      />
+    ),
+  },
+  {
+    title: "문의게시판",
+    path: "/EquipmentInquiry",
+    icon: (
+      <SpeakerPhoneIcon
+        sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
+      />
+    ),
+  },
+];
+function AgencyAppRoute() {
+  return (
+    <Routes>
+      <Route path="/Test" element={<Test />}></Route>
+      <Route path="/Main_agency" element={<Main_agency />}></Route>
+      <Route path="/UserAuthoriySelect_agency" element={<UserAuthoriySelect_agency />}></Route>
+      <Route path="/SeniorInsert" element={<SeniorInsert />}></Route>
+      <Route path="/SeniorSelectOne" element={<SeniorSelectOne />}></Route>
+      <Route
+        path="/MedicineCareSelect"
+        element={<MedicineCareSelect />}
+      ></Route>
+      <Route
+        path="/MedicineCareSelectOne"
+        element={<MedicineCareSelectOne />}
+      ></Route>
+      <Route
+        path="/TemperatureManagementSelect"
+        element={<TemperatureManagementSelect />}
+      ></Route>
+      <Route
+        path="/TemperatureManagementSelectOne"
+        element={<TemperatureManagementSelectOne />}
+      ></Route>
+      <Route path="/VisitInsert" element={<VisitInsert />}></Route>
+      <Route path="/VisitSelect" element={<VisitSelect />}></Route>
       <Route path="/VisitSelectOne" element={<VisitSelectOne />}></Route>
+      <Route path="/Questionnaire" element={<Questionnaire />}></Route>
       <Route
         path="/EquipmentRentalInsert"
         element={<EquipmentRentalInsert />}
@@ -680,19 +687,29 @@
         element={<EquipmentManagementSelectOne />}
       ></Route>
       <Route
-        path="/UserAuthoriySelect"
-        element={<UserAuthoriySelect />}
-      ></Route>
-      <Route path="/MyInfoUpdate" element={<MyInfoUpdate />}></Route>
-      <Route path="/CallInsert" element={<CallInsert />}></Route>
-      <Route path="/CallUpdate" element={<CallUpdate />}></Route>
-      <Route path="/CallSelect" element={<CallSelect />}></Route>
-      <Route path="/CallSelectOne" element={<CallSelectOne />}></Route>
-      <Route path="/EquipmentInquiry" element={<EquipmentInquiry />}></Route>
-      <Route path="/EquipmentManagementSelectAdd" element={<EquipmentManagementSelectAdd />}></Route>
-      <Route path="/RiskInsert" element={<RiskInsert />}></Route>
-      <Route path="/AuthorityManagement" element={<AuthorityManagement />}></Route>
-      <Route path="/QandA" element={<QandA />}></Route>
+        path="/EquipmentInquiry"
+        element={<EquipmentInquiry />}
+      ></Route>      
+    </Routes>
+  );
+}
+const GuardianAppMenuItems = [
+   {
+    title: "Home",
+    path: "/Main_guardian",
+    icon: <HouseIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
+  },
+  {
+    title: "그래프로 보기",
+    path: "/GuardianStatistics",
+    icon: <EqualizerIcon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />,
+  }, 
+];
+function GuardianAppRoute() {
+  return (
+    <Routes>
+      <Route path= "/GuardianStatistics" element={GuardianStatistics}></Route>
+      <Route path= "/Main_guardian" element={Main_guardian}></Route>
     </Routes>
   );
 }
@@ -700,6 +717,8 @@
 const AllApp = {'menuItems': AllAppMenuItems, 'AppRoute': AllAppRoute};
 const AdminApp = {'menuItems': AdminAppMenuItems, 'AppRoute': AdminAppRoute};
 const GovernmentApp = {'menuItems': GovernmentAppMenuItems, 'AppRoute': GovernmentAppRoute};
+const AgencyApp = {'menuItems': AgencyAppMenuItems, 'AppRoute': AgencyAppRoute};
+const GuardianApp = {'menuItems': GuardianAppMenuItems, 'AppRoute': GuardianAppRoute};
 
 export default AllApp;
-export {AdminApp, GovernmentApp};
+export {AdminApp, GovernmentApp, GuardianApp, AgencyApp};
 
client/views/pages/callcenter/CallSelect.jsx (deleted)
--- client/views/pages/callcenter/CallSelect.jsx
@@ -1,103 +0,0 @@
-import React from "react";
-import Button from "../../component/Button.jsx";
-import ContentTitle from "../../component/ContentTitle.jsx";
-import { useNavigate } from "react-router";
-
-export default function CallInsert() {
-  const navigate = useNavigate();
-  return (
-    <main>
-      <div className="content-wrap row">
-        <ContentTitle contentTitle={"장비문의"} />
-        <p>작성자 정보</p>
-        <table className="margin-bottom2 senior-insert">
-          <tr>
-            <th>작성자</th>
-            <td>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-          </tr>
-
-          <tr>
-            <th>소속 기관</th>
-            <td colSpan={3}>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-          </tr>
-          <tr>
-            <th>연락처</th>
-            <td colSpan={3}>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-          </tr>
-          <tr>
-            <th>구분</th>
-            <td colSpan={3} className="flex">
-              <select name="year" id="year">
-                <option value="">반납</option>
-                <option value="">교환</option>
-                <option value="">추가</option>
-                <option value="">기타</option>
-              </select>
-            </td>
-          </tr>
-          <tr>
-              <th>내용</th>
-              <td colSpan={3}>
-                <textarea className="medicine" cols="30" rows="2"></textarea>
-              </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>
-            </td>
-          </tr>
-          <tr>
-            <th>시니어 이름</th>
-            <td>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-            <th>시니어등록번호</th>
-            <td>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-          </tr>
-          <tr>
-            <th>시니어 연락처</th>
-            <td>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-            <th>시니어 주소</th>
-            <td>
-              <input type="text" placeholder="자동입력부분" />
-            </td>
-          </tr>
-
-        </table>
-        <div className="btn-wrap flex-center">
-          <Button
-            className={"btn-large gray-btn"}
-            btnName={"이전"}
-            onClick={() => {
-              navigate("/EquipmentManagementSelectReturn");
-            }}
-          />
-          <Button
-            className={"btn-large green-btn"}
-            btnName={"등록"}
-            onClick={() => {
-              navigate("/EquipmentManagementSelectReturn");
-            }}
-          />
-        </div>
-      </div>
-    </main>
-  );
-}
 
client/views/pages/callcenter/CallUpdate.jsx (deleted)
--- client/views/pages/callcenter/CallUpdate.jsx
@@ -1,7 +0,0 @@
-import React from 'react'
-
-export default function CallUpdate() {
-  return (
-    <div>CallUpdate</div>
-  )
-}
 
client/views/pages/callcenter/QandAConfirm.jsx (added)
+++ client/views/pages/callcenter/QandAConfirm.jsx
@@ -0,0 +1,96 @@
+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 CallInsert() {
+  const navigate = useNavigate();
+  return (
+    <main>
+      <div className="content-wrap row">
+        <ContentTitle contentTitle={"문의글 작성"} />
+        <SubTitle explanation={"작성자 정보"} />
+        <table className="margin-bottom2 senior-insert">
+          <tr>
+            <th>작성자</th>
+            <td>
+              홍길동
+            </td>
+          </tr>
+
+          <tr>
+            <th>소속 기관</th>
+            <td colSpan={3}>
+              A복지관
+            </td>
+          </tr>
+          <tr>
+            <th>연락처</th>
+            <td colSpan={3}>
+              010-1234-1234
+            </td>
+          </tr>
+          <tr>
+            <th>구분</th>
+            <td colSpan={3}>추가
+            </td>
+          </tr>
+          <tr>
+              <th>내용</th>
+              <td colSpan={3}>
+                시니어 인원 증가로 인한 장비 추가 요청
+              </td>
+            </tr>
+        </table>
+        <SubTitle explanation={"시니어 정보"} />
+        <table className="margin-bottom2 senior-insert">
+          
+          <tr>
+            <th>시니어 이름</th>
+            <td>
+              김복남
+            </td>
+            <th>시니어등록번호</th>
+            <td>
+              00000001
+            </td>
+          </tr>
+          <tr>
+            <th>시니어 연락처</th>
+            <td>
+              010-2345-2345
+            </td>
+            <th>시니어 주소</th>
+            <td>
+              경상북도 군위군 군위읍
+            </td>
+          </tr>
+
+        </table>
+        <SubTitle explanation={"장비 정보"} />
+        <table className="margin-bottom2 senior-insert">          
+          <tr>
+            <th>장비명</th>
+            <td>
+              스마트약상자
+            </td>
+            <th>장비시리얼넘버</th>
+            <td>
+              ABCD-1
+            </td>
+          </tr>
+        </table>
+        <div className="btn-wrap flex-center">
+          <Button
+            className={"btn-large gray-btn"}
+            btnName={"이전"}
+            onClick={() => {
+              navigate("/QandA_admin");
+            }}
+          />
+        </div>
+      </div>
+    </main>
+  );
+}
client/views/pages/callcenter/QandAInsert.jsx (Renamed from client/views/pages/callcenter/CallInsert.jsx)
--- client/views/pages/callcenter/CallInsert.jsx
+++ client/views/pages/callcenter/QandAInsert.jsx
@@ -1,6 +1,7 @@
 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 CallInsert() {
@@ -9,7 +10,7 @@
     <main>
       <div className="content-wrap row">
         <ContentTitle contentTitle={"문의글 작성"} />
-        <p>작성자 정보</p>
+        <SubTitle explanation={"작성자 정보"} />
         <table className="margin-bottom2 senior-insert">
           <tr>
             <th>작성자</th>
@@ -34,9 +35,9 @@
             <th>구분</th>
             <td colSpan={3} className="flex">
               <select name="year" id="year">
-                <option value="">반납</option>
-                <option value="">교환</option>
                 <option value="">추가</option>
+                <option value="">교환</option>
+                <option value="">반납</option>
                 <option value="">기타</option>
               </select>
             </td>
@@ -48,7 +49,7 @@
               </td>
             </tr>
         </table>
-        <p>시니어 정보</p>
+        <SubTitle explanation={"시니어 정보"} />
         <table className="margin-bottom2 senior-insert">
           <tr>
             <th>시니어 선택</th>
@@ -81,6 +82,19 @@
           </tr>
 
         </table>
+        <SubTitle explanation={"장비 정보(시니어가 사용중인 장비가 자동으로 입력됩니다.)"} />
+        <table className="margin-bottom2 senior-insert">          
+          <tr>
+            <th>장비명</th>
+            <td>
+              <input type="text" placeholder="자동입력부분" />
+            </td>
+            <th>장비시리얼넘버</th>
+            <td>
+              <input type="text" placeholder="자동입력부분" />
+            </td>
+          </tr>
+        </table>
         <div className="btn-wrap flex-center">
           <Button
             className={"btn-large gray-btn"}
client/views/pages/callcenter/QandASelect.jsx (Renamed from client/views/pages/equipment/EquipmentInquiry.jsx)
--- client/views/pages/equipment/EquipmentInquiry.jsx
+++ client/views/pages/callcenter/QandASelect.jsx
@@ -5,25 +5,29 @@
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
 
-export default function EquipmentInquiry() {
+export default function QandAInquiry() {
   const navigate = useNavigate();
   //게시판
   const thead = [
     "No",
     "장비명",
     "시리얼 넘버",
+    "작성자",
     "기관명",
     "요청일자",
     "구분",
+    "내용상세보기",
     "처리여부",
   ];
   const key = [
     "No",
     "equipment_name",
     "serialNumber",
+    "writer",
     "name",
     "date",
     "category",
+    "show",
     "finish"
   ];
   const content = [
@@ -31,9 +35,19 @@
       No: 1,
       equipment_name: "스마트약상자",
       serialNumber: "ABCD-1",
+      writer: "홍길동",
       name: "A복지관",
       date: "2023-01-27",
       category: "교환",
+      show:  (
+        <Button
+          className={"btn-small gray-btn"}
+          btnName={"상세보기"}
+          onClick={() => {
+            navigate("/QandAConfirm");
+          }}
+        />
+      ),
       finish: (
         <select>
           <option value="">처리중</option>
@@ -53,14 +67,12 @@
               className={"btn-small green-btn"}
               btnName={"등록"}
               onClick={() => {
-                navigate("/CallInsert");
+                navigate("/QandAInsert");
               }}
             />
             <Button className={"btn-small green-btn "} btnName={"삭제"} />
           </div>
-          <Table className="equipment-detail" head={thead} contents={content} contentKey={key} onClick={() => {
-                navigate("/CallSelect");
-              }}/>
+          <Table className="equipment-detail" head={thead} contents={content} contentKey={key} />
         </div>
       </div>
     </main>
client/views/pages/callcenter/QandA_agency.jsx (Renamed from client/views/pages/callcenter/QandA.jsx)
--- client/views/pages/callcenter/QandA.jsx
+++ client/views/pages/callcenter/QandA_agency.jsx
@@ -5,7 +5,7 @@
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
 
-export default function QandA() {
+export default function QandA_agency() {
   const navigate = useNavigate();
   //게시판
   const thead = [
@@ -31,14 +31,14 @@
   return (
     <main>
       <div className="content-wrap">
-      <ContentTitle contentTitle={"QnA게시판"} />
+      <ContentTitle contentTitle={"문의게시판"} />
         <div className="board-wrap">
         <div className="btn-wrap flex-end">
               <Button
                 className={"btn-small green-btn"}
                 btnName={"등록"}
                 onClick={() => {
-                  navigate("/CallInsert");
+                  navigate("/QandAInsert");
                 }}
               />
               <Button className={"btn-small green-btn"} btnName={"삭제"} />
 
client/views/pages/equipment/EquipmentManagementInsert.jsx (added)
+++ client/views/pages/equipment/EquipmentManagementInsert.jsx
@@ -0,0 +1,108 @@
+import React from "react";
+import Button from "../../component/Button.jsx";
+
+export default function EquipmentManagementInsert() {
+  return (
+    <main>
+      <div className="content-wrap">
+        <div className="page-title  margin-bottom">장비 등록</div>
+        <div className="flex-align-start margin-bottom2 insert">         
+          <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}>
+                  <div className="flex-start">
+                  <input type="checkbox" />
+                    <label htmlFor="">
+                      
+                      스마트 약상자
+                    </label>
+                    <input type="checkbox" />
+                    <label htmlFor="">
+                      
+                      심전도
+                    </label>
+                  </div>
+                </td>
+              </tr>
+              <tr>
+                <th>사용자</th>
+                <td colSpan={5}>
+                  <div className="flex">
+                    <input type="text" disabled />
+                  </div>
+                </td>
+              </tr>
+              <tr>
+                <th>주소</th>
+                <td colSpan={5}>
+                  <div className="flex">
+                    <input type="text" disabled />
+                  </div>
+                </td>
+              </tr>
+              <tr>
+                <th>대여일</th>
+                <td>
+                  <input type="date"/>
+                </td>
+                <th>반납일</th>
+                <td>
+                  <input type="date" />
+                </td>
+                <th>작동여부</th>
+                <td>
+                  <select name="" id="" className="select100">
+                    <option value="">작동</option>
+                    <option value="">수리중</option>
+                    <option value="">고장</option>
+                  </select>
+                </td>
+              </tr>
+              <tr>
+                <th>아침</th>
+                <td>
+                  <select name="" id="" className="select100">
+                    <option value="">미사용</option>
+                    <option value="">사용</option>
+                  </select>
+                </td>
+                <th>점심</th>
+                <td>
+                  <select name="" id="" className="select100">
+                    <option value="">미사용</option>
+                    <option value="">사용</option>
+                  </select>
+                </td>
+                <th>저녁</th>
+                <td>
+                  <select name="" id="" className="select100">
+                    <option value="">미사용</option>
+                    <option value="">사용</option>
+                  </select>
+                </td>
+              </tr>
+              <tr>
+                <th>비고</th>
+                <td colSpan={5}>
+                  <textarea name="" id="" cols="30" rows="10" style={{height:"167px"}}></textarea>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+        <div className="btn-wrap flex-center">
+          <Button className={"btn-large gray-btn"} btnName={"취소"} />
+          <Button className={"btn-large green-btn"} btnName={"등록"} />
+        </div>
+      </div>
+    </main>
+  );
+}
client/views/pages/equipment/EquipmentManagementSelect.jsx
--- client/views/pages/equipment/EquipmentManagementSelect.jsx
+++ client/views/pages/equipment/EquipmentManagementSelect.jsx
@@ -8,7 +8,7 @@
 
 
 export default function EquipmentManagementSelect() {
-  
+
   const [modalOpen, setModalOpen] = React.useState(false);
   const openModal = () => {
     setModalOpen(true);
@@ -57,7 +57,7 @@
     "입고일자",
     "납품 기관",
   ];
-  const key3= [
+  const key3 = [
     "No",
     "equipment_name",
     "serialNumber",
@@ -83,10 +83,10 @@
       serialNumber: "ABCD-1",
       name: "2022.12.02",
       management: (<Button
-      className={"btn-small gray-btn"}
-      btnName={"선택"}
-      onClick={openModal}
-    />)
+        className={"btn-small gray-btn"}
+        btnName={"선택"}
+        onClick={openModal}
+      />)
     },
   ];
   const thead2 = [
@@ -151,23 +151,29 @@
       title: "장비 전체(205)",
       description: (
         <div>
-        <div className="btn-wrap flex-end margin-bottom ">
-          <Button
-            className={"btn-small green-btn"}
-            btnName={"등록"}
+          <div className="flex">
+            <SubTitle explanation={"장비 클릭 시 지난 매칭이력을 확인할 수 있습니다."} />
+            <div className="btn-wrap flex-end margin-bottom ">
+              <Button
+                className={"btn-small green-btn"}
+                btnName={"등록"}
+                onClick={() => {
+                  navigate("/EquipmentManagementInsert");
+                }}
+              />
+              <Button className={"btn-small green-btn"} btnName={"삭제"} />
+            </div>
+          </div>
+          <Table
+            className={"caregiver-user"}
+            head={thead1}
+            contents={content1}
+            contentKey={key1}
             onClick={() => {
-              navigate("/EquipmentManagementInsert");
+              navigate("/EquipmentManagementSelectOne");
             }}
           />
-          <Button className={"btn-small green-btn"} btnName={"삭제"} />
         </div>
-        <Table
-          className={"caregiver-user"}
-          head={thead1}
-          contents={content1}
-          contentKey={key1}
-        />
-      </div>  
       ),
     },
     {
@@ -181,7 +187,7 @@
             contents={content3}
             contentKey={key3}
           />
-        </div>      
+        </div>
       ),
     },
     {
@@ -250,6 +256,7 @@
               onClick={() => navigate("")}
             />
           </div>
+
           <ul className="tab-content">
             {data
               .filter((item) => index === item.id)
client/views/pages/equipment/EquipmentManagementSelectOne.jsx
--- client/views/pages/equipment/EquipmentManagementSelectOne.jsx
+++ client/views/pages/equipment/EquipmentManagementSelectOne.jsx
@@ -4,23 +4,20 @@
 import Modal from "../../component/Modal.jsx";
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
+import SubTitle from "../../component/SubTitle.jsx";
 
 export default function EquipmentManagementSelectOne() {
   const navigate = useNavigate();
   //게시판
   const thead = [
     "No",
-    "장비명",
-    "시리얼 넘버",
     "사용자명",
-    "사용자관리번호",
-    "위치",
+    "시니어등록번호",
+    "관리기관",
     "대여기간",
   ];
   const key = [
     "No",
-    "equipment_name",
-    "serialNumber",
     "name",
     "management_number",
     "address",
@@ -29,20 +26,16 @@
   const content = [
     {
       No: 1,
-      equipment_name: "스마트약상자",
-      serialNumber: "ABCD-1",
       name: "김복남",
       management_number: 2022080101,
-      address: "경상북도 군위군 삼국유사면",
+      address: "A복지관",
       period_of_use: "2022.12.01 ~ 2023.11.30",
     },
     {
       No: 2,
-      equipment_name: "스마트약상자",
-      serialNumber: "ABCD-1",
       name: "홍길동",
       management_number: 2022080102,
-      address: "경상북도 군위군 군위읍",
+      address: "B복지관",
       period_of_use: "2020.05.01 ~ 2022.04.23",
     },
   ];
@@ -51,6 +44,7 @@
       <div className="content-wrap">
       <ContentTitle contentTitle={"장비 상세 목록"} />
         <div className="board-wrap">
+        <SubTitle explanation={"스마트약상자(ABCD-1)"} />
           <Table className="equipment-detail" head={thead} contents={content} contentKey={key} />
         </div>
       </div>
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", "agency", "protect","average"];
   const content = [
     {
       No: 1,
@@ -19,6 +19,8 @@
       birth: "1948.11.15",
       phone: "010-1234-5678",
       address: "경상북도 군위군 삼국유사면",
+      agency: "A복지관",
+      protect: "홍길동",
       average: "0%",
     },
     {
@@ -28,6 +30,8 @@
       birth: "1948.08.02",
       phone: "010-1234-3333",
       address: "경상북도 군위군 군위읍",
+      agency: "A복지관",
+      protect: "홍길동",
       average: "80%",
     },
   ];
client/views/pages/healthcare/medicinecare/MedicineCareSelect_government.jsx
--- client/views/pages/healthcare/medicinecare/MedicineCareSelect_government.jsx
+++ client/views/pages/healthcare/medicinecare/MedicineCareSelect_government.jsx
@@ -5,45 +5,36 @@
 import ContentTitle from "../../../component/ContentTitle.jsx";
 import SubTitle from "../../../component/SubTitle.jsx";
 
-export default function MedicineCareSelect_government() {
+export default function MedicineCareSelect() {
   const navigate = useNavigate();
 
   //게시판
-  const thead = ["No", "이름", "생년월일", "연락처", "주소", "관리기관","보호사","최근 3일 복약률",];
-  const key = ["No", "name", "birth", "phone", "address","agency","protect", "average"];
+  const thead = ["No", "이름","시니어등록번호", "생년월일", "연락처", "주소","보호사", "관리기관", "일 복약 횟수",];
+  const key = ["No", "name","number", "birth", "phone", "address","protector","agency", "average"];
   const content = [
     {
       No: 1,
       name: "김복남",
+      number: "00000001",
       birth: "1948.11.15",
       phone: "010-1234-5678",
       address: "경상북도 군위군 삼국유사면",
+      protector: "홍길동",
       agency: "A복지관",
-      protect: "홍길동",
-      average: "0%",
-    },
-    {
-      No: 2,
-      name: "홍길동",
-      birth: "1948.08.02",
-      phone: "010-1234-3333",
-      address: "경상북도 군위군 군위읍",
-      agency: "B복지관",
-      protect: "박길동",
-      average: "80%",
+      average: "3회",
     },
   ];
 
   return (
     <main>
       <div className="content-wrap">
-        <ContentTitle contentTitle={"복약 조회"} />
+      <ContentTitle contentTitle={"복약 조회"} />
         <div>
           <DetailSearch />
           <div className="board-wrap">
-            <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom" />
+          <SubTitle explanation={"대상자 클릭 시 상세페이지로 이동합니다."} className="margin-bottom"/>
             <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
@@ -5,11 +5,11 @@
 import SubTitle from "../../../component/SubTitle.jsx";
 import { useNavigate } from 'react-router';
 
-export default function TemperatureManagementSelect() {
+export default function TemperatureManagementSelect_government() {
   const navigate = useNavigate();
     //게시판
-    const thead = ["No", "이름","시니어등록번호", "생년월일", "연락처", "주소", "최근 최저 온도","최근 최고 온도",];
-    const key = ["No", "name", "number","birth", "phone", "address", "low", "high"];
+    const thead = ["No", "이름","시니어등록번호", "생년월일", "연락처", "주소","관리기관","보호사", "최근 최고 온도", "최근 최저 온도"];
+    const key = ["No", "name","number", "birth", "phone", "address","agency", "protect","high","low"];
     const content = [
       {
         No: 1,
@@ -18,18 +18,10 @@
         birth: "1948.11.15",
         phone: "010-1234-5678",
         address: "경상북도 군위군 삼국유사면",
-        low: "18°C",
+        agency: "A복지관",
+        protect: "홍길동",
         high: "18°C",
-      },
-      {
-        No: 2,
-        name: "홍길동",
-        number: "00000001",
-        birth: "1945.05.08",
-        phone: "010-1234-5678",
-        address: "경상북도 군위군 군위읍",
-        low: "10°C",
-        high: "10°C",
+        low: "18°C",
       },
     ];
   return (
client/views/pages/user_management/UserAuthoriySelect_agency.jsx (Renamed from client/views/pages/user_management/UserAuthoriySelect_admin.jsx)
--- client/views/pages/user_management/UserAuthoriySelect_admin.jsx
+++ client/views/pages/user_management/UserAuthoriySelect_agency.jsx
@@ -5,7 +5,7 @@
 import Modal from "../../component/Modal.jsx";
 import { useNavigate } from "react-router";
 
-export default function UserAuthoriySelect_admin() {
+export default function UserAuthoriySelect_agency() {
   const navigate = useNavigate();
   const [modalOpen, setModalOpen] = React.useState(false);
   const openModal = () => {
Add a comment
List