feat(web): add Ant workspace tabs and harden page chrome
Persist workspace tabs in the app shell with Ant Design styling aligned to the desktop top bar, and fix tab bar layout flicker on select. Add shared PageHeader components, query helpers, and missing header state across CRM views; improve mobile shell layout and Vite HMR stability on Windows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -32,7 +32,9 @@ import {
|
||||
import { PlusOutlined, ReloadOutlined } from '@/icons/ant-bridge';
|
||||
import { CrmSkeleton, CrmSkeletonList } from '@/components/skeleton';
|
||||
|
||||
const { Title: ATypographyTitle, Text: ATypographyText } = Typography;
|
||||
import { PageHeader } from '@/components/page';
|
||||
import { ControlOutlined } from '@/icons/ant-bridge';
|
||||
const { Text: ATypographyText } = Typography;
|
||||
|
||||
const loading = ref(false);
|
||||
const saving = ref(false);
|
||||
@@ -179,7 +181,11 @@ onMounted(load);
|
||||
|
||||
<template>
|
||||
<a-flex vertical :gap="16">
|
||||
<a-typography-title :level="3" :style="{ margin: 0 }">فیلدهای سفارشی</a-typography-title>
|
||||
<PageHeader
|
||||
title="فیلدهای سفارشی"
|
||||
subtitle="فیلدهای اضافه برای مخاطبین، معاملات و سایر بخشها"
|
||||
:icon="ControlOutlined"
|
||||
/>
|
||||
|
||||
<a-alert v-if="error" type="error" show-icon :message="error" closable @close="error = ''" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user