| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import type { AppRouteRecordRaw } from '/@/router/types';
- import { t } from '/@/hooks/web/useI18n';
- import { LAYOUT } from '/@/router/constant';
- export const customer: AppRouteRecordRaw = {
- path: '/customer',
- name: 'Customer',
- redirect: '/customer/index',
- component: LAYOUT,
- meta: {
- title: t('routes.dashboard.customer'),
- icon: 'raphael:customer',
- orderNo: 112,
- hideChildrenInMenu: true,
- },
- children: [
- {
- path: 'index',
- name: 'CustomerIndex',
- component: () => import('/@/views/customer/index.vue'),
- meta: {
- title: t('routes.dashboard.customer'),
- // icon: 'la:file-invoice-dollar',
- },
- },
- {
- path: 'device',
- name: 'Device',
- component: () => import('/@/views/customer/device.vue'),
- meta: {
- title: t('routes.dashboard.customerDevice'),
- // icon: 'la:file-invoice-dollar',
- },
- },
- {
- path: 'scene',
- name: 'Scene',
- component: () => import('/@/views/customer/scene.vue'),
- meta: {
- title: t('routes.dashboard.customerScene'),
- // icon: 'la:file-invoice-dollar',
- },
- },
- ],
- };
- export default customer;
|