feat: V/R 유지보수 시스템 전환 및 대시보드 테이블 형태 완성
- V/R 시스템 완전 전환: WARRANTY/CONTRACT/INSPECTION → V(방문)/R(원격) - 유지보수 대시보드 카드 → StandardDataTable 테이블 형태 전환 - "조회중..." 문제 해결: 백엔드 직접 필드 사용 (equipment_model, company_name) - MaintenanceDto 신규 필드 추가: company_id, company_name, equipment_serial, equipment_model - preloadEquipmentData 비활성화로 불필요한 equipment-history API 호출 제거 - CO-STAR 프레임워크 적용 및 CLAUDE.md v3.0 업데이트 - Flutter Analyze ERROR: 0 유지, 100% shadcn_ui 컴플라이언스 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,15 @@ class ResponseInterceptor extends Interceptor {
|
||||
return false; // 엔티티 응답은 변형 안함
|
||||
}
|
||||
|
||||
// equipment-history 응답 패턴
|
||||
// transaction_type이 있으면 equipment-history 응답으로 간주
|
||||
if (data.containsKey('transaction_type') &&
|
||||
data.containsKey('id') &&
|
||||
data.containsKey('created_at')) {
|
||||
debugPrint('[ResponseInterceptor] Equipment-history 응답 감지 - 변형 안함');
|
||||
return false; // equipment-history 응답은 변형 안함
|
||||
}
|
||||
|
||||
// 로그인 응답 패턴
|
||||
if (data.containsKey('accessToken') ||
|
||||
data.containsKey('access_token') ||
|
||||
|
||||
Reference in New Issue
Block a user