feat(web): continue Ant settings migration and tighten page chrome

Migrate remaining settings screens to Ant Design Vue, densify teams/roles UI, drop page-header subtitles project-wide, and polish notes cards plus contacts row actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-04 10:05:28 +03:30
co-authored by Cursor
parent b11affbdfd
commit cb3a488b21
46 changed files with 6024 additions and 7679 deletions
+52 -9
View File
@@ -38,7 +38,9 @@ import {
BankOutlined,
DeleteOutlined,
DownloadOutlined,
EditOutlined,
FileExcelOutlined,
IdcardOutlined,
MailOutlined,
MoreOutlined,
PhoneOutlined,
@@ -637,7 +639,6 @@ function peopleCustomRow(record: PersonDto) {
<a-flex justify="space-between" align="center" wrap="wrap" :gap="12">
<div>
<a-typography-title :level="3" :style="{ margin: 0 }">مخاطبین</a-typography-title>
<a-typography-text type="secondary">مدیریت و مشاهده اشخاص و شرکت‌ها</a-typography-text>
</div>
<a-space wrap>
<RouterLink v-if="canBehavior" :to="{ name: 'disc-report' }">
@@ -827,17 +828,38 @@ function peopleCustomRow(record: PersonDto) {
</a-button>
<template #overlay>
<a-menu>
<a-menu-item key="detail">
<RouterLink :to="{ name: 'person-detail', params: { id: item.id } }">پرونده</RouterLink>
<a-menu-item
key="detail"
@click="
router.push({
name: 'person-detail',
params: { id: item.id },
})
"
>
<template #icon><IdcardOutlined /></template>
پرونده
</a-menu-item>
<a-menu-item key="edit">
<RouterLink :to="{ name: 'person-edit', params: { id: item.id } }">ویرایش</RouterLink>
<a-menu-item
key="edit"
@click="
router.push({
name: 'person-edit',
params: { id: item.id },
})
"
>
<template #icon><EditOutlined /></template>
ویرایش
</a-menu-item>
<a-menu-item
v-for="mood in PERSON_MOODS"
:key="mood"
@click="setMoodFor(item, mood)"
>
<template #icon>
<CustomerMoodFace :mood="mood" :size="18" />
</template>
{{ moodLabel(mood) }}
</a-menu-item>
</a-menu>
@@ -975,17 +997,38 @@ function peopleCustomRow(record: PersonDto) {
</a-button>
<template #overlay>
<a-menu>
<a-menu-item key="detail">
<RouterLink :to="{ name: 'person-detail', params: { id: record.id } }">پرونده</RouterLink>
<a-menu-item
key="detail"
@click="
router.push({
name: 'person-detail',
params: { id: record.id },
})
"
>
<template #icon><IdcardOutlined /></template>
پرونده
</a-menu-item>
<a-menu-item key="edit">
<RouterLink :to="{ name: 'person-edit', params: { id: record.id } }">ویرایش</RouterLink>
<a-menu-item
key="edit"
@click="
router.push({
name: 'person-edit',
params: { id: record.id },
})
"
>
<template #icon><EditOutlined /></template>
ویرایش
</a-menu-item>
<a-menu-item
v-for="mood in PERSON_MOODS"
:key="mood"
@click="setMoodFor(record as PersonDto, mood)"
>
<template #icon>
<CustomerMoodFace :mood="mood" :size="18" />
</template>
{{ moodLabel(mood) }}
</a-menu-item>
</a-menu>