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:
@@ -33,7 +33,9 @@ import type { TableColumnsType } from 'ant-design-vue';
|
||||
import { FilterOutlined, PlusOutlined, SearchOutlined } from '@/icons/ant-bridge';
|
||||
import { CrmSkeleton, CrmSkeletonTable } from '@/components/skeleton';
|
||||
|
||||
const { Title: ATypographyTitle, Text: ATypographyText, Link: ATypographyLink } = Typography;
|
||||
import { PageHeader } from '@/components/page';
|
||||
import { CustomerServiceOutlined } from '@/icons/ant-bridge';
|
||||
const { Text: ATypographyText, Link: ATypographyLink } = Typography;
|
||||
|
||||
const TICKET_COL_LABELS = [
|
||||
'موضوع',
|
||||
@@ -211,13 +213,13 @@ onMounted(load);
|
||||
|
||||
<template>
|
||||
<a-flex vertical :gap="16">
|
||||
<a-flex justify="space-between" align="flex-start" wrap="wrap" :gap="12">
|
||||
<a-typography-title :level="3" :style="{ margin: 0 }">تیکتها</a-typography-title>
|
||||
<a-button type="primary" @click="goNew">
|
||||
<template #icon><PlusOutlined /></template>
|
||||
تیکت جدید
|
||||
</a-button>
|
||||
</a-flex>
|
||||
<PageHeader
|
||||
title="تیکتها"
|
||||
subtitle="درخواستهای پشتیبانی مشتریان و وضعیت SLA"
|
||||
:icon="CustomerServiceOutlined"
|
||||
primary-label="تیکت جدید"
|
||||
@primary="goNew"
|
||||
/>
|
||||
|
||||
<a-card :bordered="false">
|
||||
<a-form layout="vertical" @finish="onSearch">
|
||||
|
||||
Reference in New Issue
Block a user