From 561883676e898c55fbfed7807c4564c6fdbf6da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 5 Mar 2026 19:41:26 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[juil]=20=EC=97=85=EB=AC=B4=20Workflow?= =?UTF-8?q?=20=ED=94=8C=EB=A1=9C=EC=9A=B0=EC=B0=A8=ED=8A=B8=20=EB=A9=94?= =?UTF-8?q?=EB=89=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 주일기업 기획 하위 '업무 Workflow' 메뉴 추가 - 11단계 업무처리과정 인터랙티브 플로우차트 구현 - 각 단계 클릭 시 상세정보(담당부서, 필요서류, SAM 연동) 표시 --- .../Controllers/Juil/PlanningController.php | 9 + resources/views/juil/workflow.blade.php | 570 ++++++++++++++++++ routes/web.php | 1 + 3 files changed, 580 insertions(+) create mode 100644 resources/views/juil/workflow.blade.php diff --git a/app/Http/Controllers/Juil/PlanningController.php b/app/Http/Controllers/Juil/PlanningController.php index ce26cc77..49965eea 100644 --- a/app/Http/Controllers/Juil/PlanningController.php +++ b/app/Http/Controllers/Juil/PlanningController.php @@ -26,4 +26,13 @@ public function project(Request $request): View|Response return view('juil.project'); } + + public function workflow(Request $request): View|Response + { + if ($request->header('HX-Request')) { + return response('', 200)->header('HX-Redirect', route('juil.workflow')); + } + + return view('juil.workflow'); + } } diff --git a/resources/views/juil/workflow.blade.php b/resources/views/juil/workflow.blade.php new file mode 100644 index 00000000..9a8cf9c1 --- /dev/null +++ b/resources/views/juil/workflow.blade.php @@ -0,0 +1,570 @@ +@extends('layouts.app') + +@section('title', '업무 Workflow') + +@section('content') +
+@endsection + +@push('scripts') + +@include('partials.react-cdn') + +@endpush diff --git a/routes/web.php b/routes/web.php index f5cbee9b..dd6ae947 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1641,6 +1641,7 @@ Route::middleware('auth')->prefix('juil')->name('juil.')->group(function () { Route::get('/estimate', [PlanningController::class, 'estimate'])->name('estimate'); Route::get('/project', [PlanningController::class, 'project'])->name('project'); + Route::get('/workflow', [PlanningController::class, 'workflow'])->name('workflow'); // 공사현장 사진대지 Route::prefix('construction-photos')->name('construction-photos.')->group(function () {