- Add PostgreSQL performance indexes migration script (1000x faster queries) Sales Invoice: 1,248ms → 28ms, Payment Entry: 443ms → 31ms Indexes on customer/party columns for all major tables - Disable 3CX poller (PBX_ENABLED flag, using Twilio instead) - Add TelephonyPage: full CRUD UI for Routr/Fonoster resources (trunks, agents, credentials, numbers, domains, peers) - Add PhoneModal + usePhone composable (Twilio WebRTC softphone) - Lazy-load invoices/payments (initial 5, expand on demand) - Parallelize all API calls in ClientDetailPage (no waterfall) - Add targo-hub service (SSE relay, SMS, voice, telephony API) - Customer portal: invoice detail, ticket detail, messages pages - Remove dead Ollama nginx upstream Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1.3 KiB
JavaScript
29 lines
1.3 KiB
JavaScript
import { route } from 'quasar/wrappers'
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
|
const routes = [
|
|
{
|
|
path: '/',
|
|
component: () => import('src/layouts/MainLayout.vue'),
|
|
children: [
|
|
{ path: '', component: () => import('src/pages/DashboardPage.vue') },
|
|
{ path: 'clients', component: () => import('src/pages/ClientsPage.vue') },
|
|
{ path: 'clients/:id', component: () => import('src/pages/ClientDetailPage.vue'), props: true },
|
|
{ path: 'tickets', component: () => import('src/pages/TicketsPage.vue') },
|
|
{ path: 'equipe', component: () => import('src/pages/EquipePage.vue') },
|
|
{ path: 'rapports', component: () => import('src/pages/RapportsPage.vue') },
|
|
{ path: 'ocr', component: () => import('src/pages/OcrPage.vue') },
|
|
{ path: 'settings', component: () => import('src/pages/SettingsPage.vue') },
|
|
{ path: 'telephony', component: () => import('src/pages/TelephonyPage.vue') },
|
|
{ path: 'dispatch', component: () => import('src/pages/DispatchPage.vue') },
|
|
],
|
|
},
|
|
]
|
|
|
|
export default route(function () {
|
|
return createRouter({
|
|
history: createWebHashHistory(process.env.VUE_ROUTER_BASE),
|
|
routes,
|
|
})
|
|
})
|