修改路由规则.

This commit is contained in:
lijiahang
2025-03-07 15:50:26 +08:00
parent a1dd9eec01
commit 05bc6c1fbb
6 changed files with 23 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ const $vue.moduleConst: AppRouteRecordRaw = {
children: [
{
name: '$vue.featureEntityFirstLower',
path: '/$vue.feature',
path: '/$vue.module/$vue.feature',
component: () => import('@/views/$vue.module/$vue.feature/index.vue'),
},
],

View File

@@ -8,17 +8,17 @@ const ASSET_AUDIT: AppRouteRecordRaw = {
children: [
{
name: 'connectLog',
path: '/connect-log',
path: '/audit/connect-log',
component: () => import('@/views/asset-audit/connect-log/index.vue'),
},
{
name: 'connectSession',
path: '/connect-session',
path: '/audit/connect-session',
component: () => import('@/views/asset-audit/connect-session/index.vue'),
},
{
name: 'sftpLog',
path: '/sftp-log',
path: '/audit/sftp-log',
component: () => import('@/views/asset-audit/sftp-log/index.vue'),
},
],

View File

@@ -8,19 +8,19 @@ const ASSET: AppRouteRecordRaw = {
children: [
{
name: 'hostList',
path: '/host-list',
path: '/asset/host',
component: () => import('@/views/asset/host-list/index.vue'),
}, {
name: 'hostKey',
path: '/host-key',
path: '/asset/host-key',
component: () => import('@/views/asset/host-key/index.vue'),
}, {
name: 'hostIdentity',
path: '/host-identity',
path: '/asset/host-identity',
component: () => import('@/views/asset/host-identity/index.vue'),
}, {
name: 'assetGrant',
path: '/asset-grant',
path: '/asset/grant',
component: () => import('@/views/asset/grant/index.vue'),
},
],

View File

@@ -9,37 +9,37 @@ const EXEC: Array<AppRouteRecordRaw> = [
children: [
{
name: 'execCommand',
path: '/exec-command',
path: '/exec/command',
component: () => import('@/views/exec/exec-command/index.vue'),
},
{
name: 'execCommandLog',
path: '/exec-log',
path: '/exec/command-log',
component: () => import('@/views/exec/exec-command-log/index.vue'),
},
{
name: 'execJob',
path: '/exec-job',
path: '/exec/job',
component: () => import('@/views/exec/exec-job/index.vue'),
},
{
name: 'execJobLog',
path: '/exec-job-log',
path: '/exec/job-log',
component: () => import('@/views/exec/exec-job-log/index.vue'),
},
{
name: 'batchUpload',
path: '/batch-upload',
path: '/exec/upload',
component: () => import('@/views/exec/batch-upload/index.vue'),
},
{
name: 'uploadTask',
path: '/upload-task',
path: '/exec/upload-task',
component: () => import('@/views/exec/upload-task/index.vue'),
},
{
name: 'execTemplate',
path: '/exec-template',
path: '/exec/template',
component: () => import('@/views/exec/exec-template/index.vue'),
},
],
@@ -50,7 +50,7 @@ const EXEC: Array<AppRouteRecordRaw> = [
children: [
{
name: 'execJobLogView',
path: '/job-log-view',
path: '/exec/job-log/view',
component: () => import('@/views/exec/exec-job-log-view/index.vue'),
},
],

View File

@@ -8,17 +8,17 @@ const SYSTEM: AppRouteRecordRaw = {
children: [
{
name: 'systemMenu',
path: '/menu',
path: '/system/menu',
component: () => import('@/views/system/menu/index.vue'),
},
{
name: 'dictKey',
path: '/dict-key',
path: '/system/dict-key',
component: () => import('@/views/system/dict-key/index.vue'),
},
{
name: 'dictValue',
path: '/dict-value',
path: '/system/dict-value',
component: () => import('@/views/system/dict-value/index.vue'),
},
{

View File

@@ -8,22 +8,22 @@ const USER: AppRouteRecordRaw = {
children: [
{
name: 'role',
path: '/role',
path: '/user/role',
component: () => import('@/views/user/role/index.vue'),
},
{
name: 'user',
path: '/user',
path: '/user/list',
component: () => import('@/views/user/user/index.vue'),
},
{
name: 'userInfo',
path: '/user-info',
path: '/user/info',
component: () => import('@/views/user/info/index.vue'),
},
{
name: 'operatorLog',
path: '/operator-log',
path: '/user/operator-log',
component: () => import('@/views/user/operator-log/index.vue'),
},
],