차량관리(기초데이터) 구현

This commit is contained in:
dohyeons
2025-12-01 18:41:02 +09:00
parent cea2421899
commit 9c3f1d26ad
10 changed files with 914 additions and 3 deletions

View File

@@ -234,6 +234,13 @@ function AppLayoutInner({ children }: AppLayoutProps) {
selectImage,
removeImage,
saveProfile,
// 운전자 관련
isDriver,
driverInfo,
driverFormData,
updateDriverFormData,
handleDriverStatusChange,
handleDriverAccountDelete,
} = useProfile(user, refreshUserData, refreshMenus);
// 현재 경로에 따라 어드민 모드인지 판단 (쿼리 파라미터도 고려)
@@ -483,6 +490,12 @@ function AppLayoutInner({ children }: AppLayoutProps) {
isSaving={isSaving}
departments={departments}
alertModal={alertModal}
isDriver={isDriver}
driverInfo={driverInfo}
driverFormData={driverFormData}
onDriverFormChange={updateDriverFormData}
onDriverStatusChange={handleDriverStatusChange}
onDriverAccountDelete={handleDriverAccountDelete}
onClose={closeProfileModal}
onFormChange={updateFormData}
onImageSelect={selectImage}