2024-12-26 11:34:54 +08:00
|
|
|
import { DEFAULT_LAYOUT } from '../base';
|
|
|
|
import { AppRouteRecordRaw } from '../types';
|
|
|
|
|
|
|
|
const IOT: AppRouteRecordRaw = {
|
|
|
|
path: '/iot',
|
|
|
|
name: 'iot',
|
|
|
|
component: DEFAULT_LAYOUT,
|
|
|
|
meta: {
|
|
|
|
locale: 'menu.iot',
|
|
|
|
title: '物联网管理',
|
|
|
|
icon: 'icon-empty',
|
|
|
|
requiresAuth: true,
|
|
|
|
order: 1,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: 'product',
|
|
|
|
name: 'Product',
|
|
|
|
component: () => import('@/views/iot/product/index.vue'),
|
|
|
|
meta: {
|
|
|
|
// locale: 'menu.system.dept',
|
|
|
|
title: '产品管理',
|
|
|
|
requiresAuth: true,
|
|
|
|
permissions: ['*'],
|
|
|
|
},
|
|
|
|
},
|
2025-01-04 21:47:34 +08:00
|
|
|
{
|
|
|
|
path: 'device',
|
|
|
|
name: 'Device',
|
|
|
|
component: () => import('@/views/iot/device/index.vue'),
|
|
|
|
meta: {
|
|
|
|
// locale: 'menu.system.role',
|
|
|
|
title: '设备管理',
|
|
|
|
requiresAuth: true,
|
|
|
|
permissions: ['*'],
|
|
|
|
},
|
|
|
|
}
|
2024-12-26 11:34:54 +08:00
|
|
|
],
|
|
|
|
};
|
|
|
|
|
|
|
|
export default IOT;
|