refactor: 移动 types.ts 和 api.ts 到 modules/assets/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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 }: {
|
||||||
|
|||||||
Reference in New Issue
Block a user