feat: CEO 대시보드 API 연동 강화 및 회계/결재/HR 개선
- CEO 대시보드: 예상비용, 현황이슈, 일별매출/매입 등 모달 API 연동 확대 - dashboard transformers 리팩토링 (hr, sales-purchase, production-logistics 분리) - useCEODashboard 훅 대폭 확장 (모달 데이터 fetching 로직) - DailyReport: USD 섹션 추가 및 레이아웃 개선 - VendorManagement/ApprovalBox: 소폭 개선 - VacationManagement: 소폭 수정 - component-registry previews 업데이트 - claudedocs: 대시보드 API 스펙, 분석 문서 추가
This commit is contained in:
@@ -158,6 +158,8 @@ export function ApprovalBox() {
|
||||
search: searchQuery || undefined,
|
||||
status: activeTab !== 'all' ? activeTab : undefined,
|
||||
approval_type: filterOption !== 'all' ? filterOption : undefined,
|
||||
start_date: startDate || undefined,
|
||||
end_date: endDate || undefined,
|
||||
...sortConfig,
|
||||
});
|
||||
|
||||
@@ -172,7 +174,7 @@ export function ApprovalBox() {
|
||||
setIsLoading(false);
|
||||
isInitialLoadDone.current = true;
|
||||
}
|
||||
}, [currentPage, itemsPerPage, searchQuery, filterOption, sortOption, activeTab]);
|
||||
}, [currentPage, itemsPerPage, searchQuery, filterOption, sortOption, activeTab, startDate, endDate]);
|
||||
|
||||
// ===== 초기 로드 =====
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user