mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-embeded.git
synced 2025-06-24 13:34:13 +08:00
48 lines
1002 B
TypeScript
48 lines
1002 B
TypeScript
import type { AppRouteModule } from '/@/router/types';
|
|
|
|
import { EMBEDDED_LAYOUT } from '/@/router/constant';
|
|
|
|
const data: AppRouteModule = {
|
|
path: '/data',
|
|
name: 'Data',
|
|
component: EMBEDDED_LAYOUT,
|
|
meta: {
|
|
title: '数据管理',
|
|
orderNo: 100000,
|
|
ignoreAuth: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'device',
|
|
name: 'DevicePage',
|
|
component: () => import('/@/views/data/device/index.vue'),
|
|
meta: {
|
|
title: '设备管理',
|
|
ignoreAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'task',
|
|
name: 'TaskPage',
|
|
component: () => import('/@/views/data/task/index.vue'),
|
|
meta: {
|
|
title: '任务',
|
|
ignoreAuth: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'detail',
|
|
name: 'DetailPage',
|
|
component: () => import('/@/views/data/task/detail.vue'),
|
|
meta: {
|
|
title: '任务详情',
|
|
ignoreAuth: true,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
export default data;
|