Add per-user saved column visibility for tables

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-05 11:56:49 +03:30
co-authored by Cursor
parent 75ff2c36c4
commit 23c83ffbee
29 changed files with 624 additions and 23 deletions
+3 -1
View File
@@ -19,6 +19,7 @@ import {
UiPageHeader,
} from '@/components/ui';
import UiIcon from '@/components/UiIcon.vue';
import TableColumnsMenu from '@/components/TableColumnsMenu.vue';
import ExcelImportFlow from '@/components/ExcelImportFlow.vue';
import PhoneContactsImport from '@/components/PhoneContactsImport.vue';
import {
@@ -1228,6 +1229,7 @@ onBeforeUnmount(() => {
</li>
</ul>
</div>
<TableColumnsMenu table-key="leads" align="end" />
<div class="view-toggle" title="نمای لیست / کاریز">
<button type="button" class="view-btn on" title="لیست">
<UiIcon name="list" :size="16" />
@@ -1408,7 +1410,7 @@ onBeforeUnmount(() => {
</div>
<div class="table-wrap">
<table class="data-table">
<table v-table-cols="'leads'" class="data-table">
<thead>
<tr>
<th class="check-col">