diff --git a/app/Http/Controllers/Juil/PlanningController.php b/app/Http/Controllers/Juil/PlanningController.php index 002b9d0c..e98074ad 100644 --- a/app/Http/Controllers/Juil/PlanningController.php +++ b/app/Http/Controllers/Juil/PlanningController.php @@ -57,6 +57,15 @@ public function bimViewer(Request $request): View|Response return view('juil.bim-viewer'); } + public function bimGenerator(Request $request): View|Response + { + if ($request->header('HX-Request')) { + return response('', 200)->header('HX-Redirect', route('juil.construction-pmis.bim-generator')); + } + + return view('juil.bim-generator'); + } + // ── 시공관리 ── public function pmisWorkforce(Request $request): View|Response diff --git a/resources/views/juil/bim-generator.blade.php b/resources/views/juil/bim-generator.blade.php new file mode 100644 index 00000000..2846fcb3 --- /dev/null +++ b/resources/views/juil/bim-generator.blade.php @@ -0,0 +1,1064 @@ +@extends('layouts.app') + +@section('title', 'BIM 생성기') + +@section('content') +
+@endsection + +@push('scripts') + + + + +@include('partials.react-cdn') + +@endpush diff --git a/resources/views/juil/bim-viewer.blade.php b/resources/views/juil/bim-viewer.blade.php index c2911242..7c9c094f 100644 --- a/resources/views/juil/bim-viewer.blade.php +++ b/resources/views/juil/bim-viewer.blade.php @@ -931,6 +931,7 @@ class BimScene { const PMIS_MENUS = [ { icon: 'ri-building-2-line', label: 'BIM 관리', id: 'bim', children: [ { label: 'BIM 뷰어', id: 'bim-viewer', url: '/juil/construction-pmis/bim-viewer' }, + { label: 'BIM 생성기', id: 'bim-generator', url: '/juil/construction-pmis/bim-generator' }, ]}, { icon: 'ri-line-chart-line', label: '시공관리', id: 'construction', children: [ { label: '인원관리', id: 'workforce', url: '/juil/construction-pmis/workforce' }, diff --git a/routes/web.php b/routes/web.php index a719adb9..9476d620 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1740,6 +1740,7 @@ Route::get('/construction-pmis/profile', [PlanningController::class, 'pmisProfile'])->name('construction-pmis.profile'); Route::put('/construction-pmis/profile', [PlanningController::class, 'pmisProfileUpdate'])->name('construction-pmis.profile.update'); Route::get('/construction-pmis/bim-viewer', [PlanningController::class, 'bimViewer'])->name('construction-pmis.bim-viewer'); + Route::get('/construction-pmis/bim-generator', [PlanningController::class, 'bimGenerator'])->name('construction-pmis.bim-generator'); // 시공관리 Route::get('/construction-pmis/workforce', [PlanningController::class, 'pmisWorkforce'])->name('construction-pmis.workforce');