Redesign sales pipeline UI and reconnect it to live board APIs.

Keep the employer kanban layout while loading pipelines/deals from the server, persisting drag-and-drop moves, and seeding a Waiting pipeline with demo deals.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 00:18:39 +03:30
co-authored by Cursor
parent 4b47b753c3
commit aa3fe49ce6
11 changed files with 1519 additions and 365 deletions
+7
View File
@@ -253,6 +253,13 @@ async function load() {
companyId.value = route.query.companyId;
if (!personId.value) contactKind.value = 'company';
}
if (
typeof route.query.stageId === 'string' &&
route.query.stageId &&
stages.value.some((s) => s.id === route.query.stageId)
) {
stageId.value = route.query.stageId;
}
}
} catch {
error.value = 'بارگذاری فرم معامله ناموفق بود.';