前端业务拆分.
This commit is contained in:
@@ -22,10 +22,6 @@ const ASSET: AppRouteRecordRaw = {
|
||||
name: 'assetGrant',
|
||||
path: '/asset/grant',
|
||||
component: () => import('@/views/asset/grant/index.vue'),
|
||||
}, {
|
||||
name: 'assetHostConnectLog',
|
||||
path: '/asset/host-connect-log',
|
||||
component: () => import('@/views/asset/host-connect-log/index.vue'),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
18
orion-ops-ui/src/router/routes/modules/host-review.ts
Normal file
18
orion-ops-ui/src/router/routes/modules/host-review.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { AppRouteRecordRaw } from '../types';
|
||||
import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const HOST_REVIEW: AppRouteRecordRaw =
|
||||
{
|
||||
name: 'hostReview',
|
||||
path: '/host-review',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
name: 'hostReviewConnectLog',
|
||||
path: '/host-review/connect-log',
|
||||
component: () => import('@/views/host-review/connect-log/index.vue'),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default HOST_REVIEW;
|
||||
@@ -1,15 +1,15 @@
|
||||
import type { AppRouteRecordRaw } from '../types';
|
||||
import { FULL_LAYOUT } from '../base';
|
||||
|
||||
const HOST_OPS: AppRouteRecordRaw = {
|
||||
name: 'hostOps',
|
||||
const HOST: AppRouteRecordRaw = {
|
||||
name: 'host',
|
||||
path: '/host',
|
||||
component: FULL_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
name: 'hostTerminal',
|
||||
path: '/host/terminal',
|
||||
component: () => import('@/views/host-ops/terminal/index.vue'),
|
||||
component: () => import('@/views/host/terminal/index.vue'),
|
||||
meta: {
|
||||
noAffix: true
|
||||
}
|
||||
@@ -17,4 +17,4 @@ const HOST_OPS: AppRouteRecordRaw = {
|
||||
],
|
||||
};
|
||||
|
||||
export default HOST_OPS;
|
||||
export default HOST;
|
||||
Reference in New Issue
Block a user