refactor: 移动 types.ts 和 api.ts 到 modules/assets/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-04-01 19:19:11 +08:00
parent de0320bfcd
commit be6598a940
3 changed files with 3 additions and 3 deletions

View File

@@ -31,9 +31,9 @@ import {
Cell, Cell,
LabelList, LabelList,
} from 'recharts'; } from 'recharts';
import type { SummaryData, TypeSummary, VehicleListItem, DeptGroup, RegionGroup, CustomerStats, RegionalInventoryStats } from './types'; import type { SummaryData, TypeSummary, VehicleListItem, DeptGroup, RegionGroup, CustomerStats, RegionalInventoryStats } from './modules/assets/types';
import { fetchSummary, fetchByType, fetchVehicleList, fetchWeeklyDetail, fetchDeptStats, fetchRegionStats, fetchCustomerStats, fetchInventoryStats, fetchRegionChart } from './api'; import { fetchSummary, fetchByType, fetchVehicleList, fetchWeeklyDetail, fetchDeptStats, fetchRegionStats, fetchCustomerStats, fetchInventoryStats, fetchRegionChart } from './modules/assets/api';
import type { WeeklyDetailItem } from './api'; import type { WeeklyDetailItem } from './modules/assets/api';
// --- SearchSelect Component --- // --- SearchSelect Component ---
function SearchSelect({ value, onChange, options, placeholder, className }: { function SearchSelect({ value, onChange, options, placeholder, className }: {