This commit is contained in:
dv 2026-04-09 12:26:50 +03:00
parent 581a03e29d
commit 8f189d05d4

View file

@ -1,4 +1,6 @@
import {
ControlOutlined,
DatabaseOutlined,
DeleteOutlined,
EditOutlined,
PlusOutlined,
@ -13,6 +15,7 @@ import {
Checkbox,
Col,
Collapse,
Segmented,
Divider,
Form,
Input,
@ -262,9 +265,19 @@ export function ObjectsPage({ mode }: Props) {
marginBottom: 16,
}}
>
<Typography.Title level={4} style={{ margin: 0 }}>
{mode === 'inventory' ? 'Инвентарь — Объекты' : 'Работа — Объекты'}
</Typography.Title>
<Space align="center" size={16}>
<Typography.Title level={4} style={{ margin: 0 }}>
{mode === 'inventory' ? 'Инвентарь — Объекты' : 'Работа — Объекты'}
</Typography.Title>
<Segmented
value={mode}
options={[
{ label: 'Инвентарь', value: 'inventory', icon: <DatabaseOutlined /> },
{ label: 'Работа', value: 'work', icon: <ControlOutlined /> },
]}
onChange={(val) => navigate(val === 'inventory' ? '/inventory/objects' : '/work/objects')}
/>
</Space>
<Space>
<Input.Search
placeholder="Поиск по названию, городу, клиенту..."