55 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-01-18 15:53:17 +08:00
import { MyPageContainer } from '@/common';
2026-01-08 16:35:06 +08:00
import { Tabs } from 'antd';
import ElectricityFee from './components/ElectricityFee';
import MaintenanceFund from './components/MaintenanceFund';
import PropertyFee from './components/PropertyFee';
import SharedElectricityFee from './components/SharedElectricityFee';
import SharedWaterFee from './components/SharedWaterFee';
import WaterFee from './components/WaterFee';
export default function Index({ title = '收费标准配置' }) {
2026-01-18 15:53:17 +08:00
const items = [
{
2026-01-08 16:35:06 +08:00
key: 'PropertyFee',
label: '物业费',
children: <PropertyFee />,
},
2026-01-18 15:53:17 +08:00
{
2026-01-08 16:35:06 +08:00
key: 'WaterFee',
label: '水费',
children: <WaterFee />,
},
2026-01-18 15:53:17 +08:00
{
2026-01-08 16:35:06 +08:00
key: 'ElectricityFee',
label: '电费',
children: <ElectricityFee />,
},
2026-01-18 15:53:17 +08:00
{
2026-01-08 16:35:06 +08:00
key: 'SharedWaterFee',
label: '公摊水费',
children: <SharedWaterFee />,
},
2026-01-18 15:53:17 +08:00
{
2026-01-08 16:35:06 +08:00
key: 'SharedElectricityFee',
label: '公摊电费',
children: <SharedElectricityFee />,
},
2026-01-18 15:53:17 +08:00
{
2026-01-08 16:35:06 +08:00
key: 'MaintenanceFund',
label: '维修基金',
children: <MaintenanceFund />,
},
2026-01-18 15:53:17 +08:00
];
2026-01-08 16:35:06 +08:00
return (
<MyPageContainer
title={title}
enableTabs={true}
tabKey="charge-standard"
tabLabel={title}
>
<Tabs type="card" defaultActiveKey="1" items={items} />
</MyPageContainer>
);
}