2024-03-07 19:32:04 +08:00
|
|
|
import type { AppRouteRecordRaw } from '../types';
|
2024-03-21 19:20:37 +08:00
|
|
|
import { DEFAULT_LAYOUT, FULL_LAYOUT } from '../base';
|
2024-03-07 19:32:04 +08:00
|
|
|
|
2024-03-21 19:20:37 +08:00
|
|
|
const EXEC: AppRouteRecordRaw[] = [
|
|
|
|
|
{
|
|
|
|
|
name: 'execModule',
|
|
|
|
|
path: '/exec-module',
|
|
|
|
|
component: DEFAULT_LAYOUT,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'execCommand',
|
|
|
|
|
path: '/exec-command',
|
|
|
|
|
component: () => import('@/views/exec/exec-command/index.vue'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'execLog',
|
|
|
|
|
path: '/exec-log',
|
|
|
|
|
component: () => import('@/views/exec/exec-log/index.vue'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'execTemplate',
|
|
|
|
|
path: '/exec-template',
|
|
|
|
|
component: () => import('@/views/exec/exec-template/index.vue'),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'execFullModule',
|
|
|
|
|
path: '/exec-full-module',
|
|
|
|
|
component: FULL_LAYOUT,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'execLogView',
|
|
|
|
|
path: '/exec-log-view',
|
|
|
|
|
component: () => import('@/views/exec/exec-log-view/index.vue'),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
];
|
2024-03-07 19:32:04 +08:00
|
|
|
|
|
|
|
|
export default EXEC;
|