Closed leocastroz closed 8 months ago
const state = reactive({ mousehover: false, menuItems: [ { icon: 'dashboard', label: 'Dashboard', sublinks: [], expanded: false, to: '/dashboard' }, { icon: 'people', label: 'Pessoas', sublinks: [], expanded: false, to: '/pessoa' }, { icon: 'stock', label: 'Produtos', sublinks: [], expanded: false, to: '/produto' }, { icon: 'financial', label: 'Financeiro', sublinks: [ { label: 'Pagar', to: '/pagar' }, { label: 'Receber', to: '/receber' }, { label: 'Caixa', to: '/caixa' }, { label: 'Contas', to: '/contas' } ], expanded: isLinkActive('/financeiro'), to: '/financeiro' }, { icon: 'sales', label: 'Vendas', expanded: isLinkActive('/vendas'), to: '/vendas', sublinks: [ { label: 'NFC-e', to: '/nfc' }, { label: 'NF-e', to: '/nf' }, { label: 'DAV', to: '/dav' } ] }, { icon: 'shopping', label: 'Compras', sublinks: [], expanded: false, to: '/compras' }, { icon: 'register', label: 'Cadastros', expanded: isLinkActive('/cadastro'), to: '/cadastro', sublinks: [ { label: 'Marcas', to: '/marcas' }, { label: 'Espécies', to: '/especies' }, { label: 'Plano de contas', to: '/plano-contas' }, { label: 'Centro de custo', to: '/centro-custo' }, { label: 'Impostos', to: '/impostos' } ] }, { icon: 'employee', label: 'Funcionários', sublinks: [], expanded: false, to: '/funcionarios' }, { icon: 'users', label: 'Usuários', sublinks: [], expanded: false, to: '/usuario' } ], menuSupportItems: [ { icon: 'help', label: 'Acesso remoto', sublinks: [], expanded: false, to: '/' }, { icon: 'support', label: 'Suporte', sublinks: [], expanded: false, to: '/' } ] });
const state = reactive({ mousehover: false, menuItems: [ { icon: 'dashboard', label: 'Dashboard', sublinks: [], expanded: false, to: '/dashboard' }, { icon: 'people', label: 'Pessoas', sublinks: [], expanded: false, to: '/pessoa' }, { icon: 'stock', label: 'Produtos', sublinks: [], expanded: false, to: '/produto' }, { icon: 'financial', label: 'Financeiro', sublinks: [ { label: 'Pagar', to: '/pagar' }, { label: 'Receber', to: '/receber' }, { label: 'Caixa', to: '/caixa' }, { label: 'Contas', to: '/contas' } ], expanded: isLinkActive('/financeiro'), to: '/financeiro' }, { icon: 'sales', label: 'Vendas', expanded: isLinkActive('/vendas'), to: '/vendas', sublinks: [ { label: 'NFC-e', to: '/nfc' }, { label: 'NF-e', to: '/nf' }, { label: 'DAV', to: '/dav' } ] }, { icon: 'shopping', label: 'Compras', sublinks: [], expanded: false, to: '/compras' }, { icon: 'register', label: 'Cadastros', expanded: isLinkActive('/cadastro'), to: '/cadastro', sublinks: [ { label: 'Marcas', to: '/marcas' }, { label: 'Espécies', to: '/especies' }, { label: 'Plano de contas', to: '/plano-contas' }, { label: 'Centro de custo', to: '/centro-custo' }, { label: 'Impostos', to: '/impostos' } ] }, { icon: 'employee', label: 'Funcionários', sublinks: [], expanded: false, to: '/funcionarios' }, { icon: 'users', label: 'Usuários', sublinks: [], expanded: false, to: '/usuario' } ], menuSupportItems: [ { icon: 'help', label: 'Acesso remoto', sublinks: [], expanded: false, to: '/' }, { icon: 'support', label: 'Suporte', sublinks: [], expanded: false, to: '/' } ] });