M1: features/medicos + features/insurance + ComponentCadastroRapido refactor
Modulo 1 da Fase 1 de padronizacao. Novos features/medicos (services + composable useMedicos) e features/insurance (idem). 3 cadastros rapidos (medicos, convenios, ComponentCadastroRapido + Insurance PlanQuickCreateDialog) migrados pra usar os composables novos — zero supabase.from() em UI components. TEST_ACCOUNTS extraido pra src/config/devTestAccounts.js. Topbar ganhou switcher de layout + atalhos M1 via novo useTopbarDevMenuExtras. M1.6 MelissaLayout 90 imports deferida pra sessao dedicada (memoria padronizacao_sweep). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ import { computed, onMounted, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { supabase } from '../../lib/supabase/client';
|
||||
import { useTenantStore } from '@/stores/tenantStore';
|
||||
import { TEST_ACCOUNTS } from '@/config/devTestAccounts';
|
||||
const router = useRouter();
|
||||
const tenant = useTenantStore();
|
||||
|
||||
@@ -20,18 +21,6 @@ const storageTenantId = ref(null);
|
||||
const storageTenant = ref(null);
|
||||
const storageCurrentTenantId = ref(null);
|
||||
|
||||
const TEST_ACCOUNTS = {
|
||||
clinic_admin: { email: 'clinica3@agenciapsi.com.br', password: 'Teste@123' },
|
||||
therapist: { email: 'terapeuta@agenciapsi.com.br', password: 'Teste@123' },
|
||||
supervisor: { email: 'supervisor@agenciapsi.com.br', password: 'Teste@123' },
|
||||
patient: { email: 'paciente@agenciapsi.com.br', password: 'Teste@123' },
|
||||
saas: { email: 'saas@agenciapsi.com.br', password: 'Teste@123' },
|
||||
editor: { email: 'editor@agenciapsi.com.br', password: 'Teste@123' },
|
||||
therapist2: { email: 'therapist2@agenciapsi.com.br', password: 'Teste@123' },
|
||||
therapist3: { email: 'therapist3@agenciapsi.com.br', password: 'Teste@123' },
|
||||
secretary: { email: 'secretary@agenciapsi.com.br', password: 'Teste@123' }
|
||||
};
|
||||
|
||||
const PROFILE_CARDS = [
|
||||
{
|
||||
key: 'patient',
|
||||
|
||||
Reference in New Issue
Block a user