최정임 최정임 2023-02-16
230216 최정임 파일명 변경
@bdb2de6ef40ff7e950d93e07156c06e1858c2ea7
client/views/pages/App.jsx
--- client/views/pages/App.jsx
+++ client/views/pages/App.jsx
@@ -6,7 +6,7 @@
 import React from "react";
 
 //Application의 Route 정보를 관리하는 Component
-import AllApp, {AdminApp, GovernmentApp} from "./AppRoute.jsx";
+import AllApp, {AdminApp, GovernmentApp, AgencyApp, GuardianApp} from "./AppRoute.jsx";
 
 //Test Layout
 import Header from "../layout/Header.jsx";
@@ -26,8 +26,8 @@
   };
 
 
-  const menuItems = AdminApp.menuItems;  //AdminApp, GovernmentApp, AllApp, AgencyApp, GuardianApp 
-  const AppRoute = AdminApp.AppRoute;
+  const menuItems = GovernmentApp.menuItems;  //AdminApp, GovernmentApp, AllApp, AgencyApp, GuardianApp 
+  const AppRoute = GovernmentApp.AppRoute;
 
 
   const { title } = menuItems.find(
client/views/pages/AppRoute.jsx
--- client/views/pages/AppRoute.jsx
+++ client/views/pages/AppRoute.jsx
@@ -60,7 +60,6 @@
 import Questionnaire_government from "./healthcare/Questionnaire_government.jsx";
 import VisitSelect_government from "./visit/visit/VisitSelect_government.jsx";
 import QandA_government from "./callcenter/QandA_government.jsx";
-import EquipmentInquiry_admin from "./equipment/EquipmentInquiry_admin.jsx";
 import EquipmentManagementSelect_agency from "./equipment/EquipmentManagementSelect_agency.jsx";
 
 const AllAppMenuItems = [
@@ -254,7 +253,7 @@
       },
       {
         title: "장비 문의",
-        path: "/EquipmentInquiry",
+        path: "/QandASelect",
         icon: (
           <SettingsIcon
             sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -280,7 +279,7 @@
       }, 
       {
         title: "Q&A",
-        path: "/QandA",
+        path: "/QandASelect",
         icon: (
           <SpeakerPhoneIcon
             sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -343,8 +342,6 @@
         ></Route>
         <Route path="/MyInfoUpdate" element={<MyInfoUpdate />}></Route>
         <Route path="/QandAInsert" element={<QandAInsert />}></Route>
-        <Route path="/CallSelectOne" element={<CallSelectOne />}></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>
@@ -447,7 +444,7 @@
   //     },
   //     {
   //       title: "장비 문의 요청",
-  //       path: "/EquipmentInquiry",
+  //       path: "/QandASelect",
   //     },
   //     // {
   //     //   title: "장비 추가 요청",
@@ -457,7 +454,7 @@
   // },    
   {
     title: "문의게시판",
-    path: "/QandA",
+    path: "/QandASelect",
     icon: (
        <Diversity1Icon sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }} />
      ),
@@ -619,7 +616,7 @@
   },
   {
     title: "문의 현황 관리",
-    path: "/QandA",
+    path: "/QandASelect",
     icon: (
       <SpeakerPhoneIcon
         sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -722,7 +719,7 @@
   },
   {
     title: "장비 대여 관리",
-    path: "/EquipmentInquiry",
+    path: "/QandASelect",
     icon: (
       <ConstructionIcon
         sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -731,7 +728,7 @@
   },
   {
     title: "문의게시판",
-    path: "/EquipmentInquiry",
+    path: "/QandASelect",
     icon: (
       <SpeakerPhoneIcon
         sx={{ fontSize: 20, color: "#ffffff", marginRight: 1 }}
@@ -780,8 +777,8 @@
         element={<EquipmentManagementSelectOne />}
       ></Route>
       <Route
-        path="/EquipmentInquiry"
-        element={<EquipmentInquiry />}
+        path="/QandASelect"
+        element={<QandASelect />}
       ></Route>      
     </Routes>
   );
client/views/pages/callcenter/QandAConfirm.jsx
--- client/views/pages/callcenter/QandAConfirm.jsx
+++ client/views/pages/callcenter/QandAConfirm.jsx
@@ -4,7 +4,7 @@
 import SubTitle from "../../component/SubTitle.jsx";
 import { useNavigate } from "react-router";
 
-export default function CallInsert() {
+export default function QandAConfirm() {
   const navigate = useNavigate();
   return (
     <main>
client/views/pages/callcenter/QandASelect.jsx
--- client/views/pages/callcenter/QandASelect.jsx
+++ client/views/pages/callcenter/QandASelect.jsx
@@ -5,7 +5,7 @@
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
 
-export default function QandAInquiry() {
+export default function QandASelect() {
   const navigate = useNavigate();
   //게시판
   const thead = [
Add a comment
List