From 49d236df3bd2bd976ebc424644f34f5affa1074f Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 14 Aug 2025 13:15:21 +0000
Subject: (김준회) 결재 테스트 모듈 수정, 환경병수 eVCP 운영 대응, SGIPS JWT
 TOKEN 수정, SHI-API 기반 유저 관리 추가, 유저목록 테이블 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/knox/approval/ApprovalManager.tsx | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

(limited to 'components/knox/approval/ApprovalManager.tsx')

diff --git a/components/knox/approval/ApprovalManager.tsx b/components/knox/approval/ApprovalManager.tsx
index 89450445..554e7680 100644
--- a/components/knox/approval/ApprovalManager.tsx
+++ b/components/knox/approval/ApprovalManager.tsx
@@ -15,10 +15,17 @@ import ApprovalList from './ApprovalList';
 
 interface ApprovalManagerProps {
   defaultTab?: string;
+  currentUser?: {
+    id: number | string;
+    name: string | null;
+    email: string;
+    epId: string | null;
+  } | null;
 }
 
 export default function ApprovalManager({ 
-  defaultTab = 'submit'
+  defaultTab = 'submit',
+  currentUser,
 }: ApprovalManagerProps) {
   const [currentTab, setCurrentTab] = useState(defaultTab);
   const [selectedApInfId, setSelectedApInfId] = useState<string>('');
@@ -95,7 +102,7 @@ export default function ApprovalManager({
         {/* 결재 상신 탭 */}
         <TabsContent value="submit" className="space-y-6">
           <div className="w-full">
-            <ApprovalSubmit onSubmitSuccess={handleSubmitSuccess} />
+            <ApprovalSubmit onSubmitSuccess={handleSubmitSuccess} currentUser={currentUser ?? undefined} />
           </div>
         </TabsContent>
 
-- 
cgit v1.2.3

