881 lines
23 KiB
TypeScript
881 lines
23 KiB
TypeScript
/* eslint-disable */
|
|
/* prettier-ignore */
|
|
// Generated by elegant-router
|
|
// Read more: https://github.com/soybeanjs/elegant-router
|
|
|
|
import type { GeneratedRoute } from '@elegant-router/types';
|
|
|
|
export const generatedRoutes: GeneratedRoute[] = [
|
|
{
|
|
name: '403',
|
|
path: '/403',
|
|
component: 'layout.blank$view.403',
|
|
meta: {
|
|
title: '403',
|
|
i18nKey: 'route.403',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: '404',
|
|
path: '/404',
|
|
component: 'layout.blank$view.404',
|
|
meta: {
|
|
title: '404',
|
|
i18nKey: 'route.404',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: '500',
|
|
path: '/500',
|
|
component: 'layout.blank$view.500',
|
|
meta: {
|
|
title: '500',
|
|
i18nKey: 'route.500',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: 'function',
|
|
path: '/function',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'function',
|
|
i18nKey: 'route.function',
|
|
icon: 'icon-park-outline:all-application',
|
|
order: 6
|
|
},
|
|
children: [
|
|
{
|
|
name: 'function_hide-child',
|
|
path: '/function/hide-child',
|
|
meta: {
|
|
title: 'function_hide-child',
|
|
i18nKey: 'route.function_hide-child',
|
|
icon: 'material-symbols:filter-list-off',
|
|
order: 2
|
|
},
|
|
redirect: '/function/hide-child/one',
|
|
children: [
|
|
{
|
|
name: 'function_hide-child_one',
|
|
path: '/function/hide-child/one',
|
|
component: 'view.function_hide-child_one',
|
|
meta: {
|
|
title: 'function_hide-child_one',
|
|
i18nKey: 'route.function_hide-child_one',
|
|
icon: 'material-symbols:filter-list-off',
|
|
hideInMenu: true,
|
|
activeMenu: 'function_hide-child'
|
|
}
|
|
},
|
|
{
|
|
name: 'function_hide-child_three',
|
|
path: '/function/hide-child/three',
|
|
component: 'view.function_hide-child_three',
|
|
meta: {
|
|
title: 'function_hide-child_three',
|
|
i18nKey: 'route.function_hide-child_three',
|
|
hideInMenu: true,
|
|
activeMenu: 'function_hide-child'
|
|
}
|
|
},
|
|
{
|
|
name: 'function_hide-child_two',
|
|
path: '/function/hide-child/two',
|
|
component: 'view.function_hide-child_two',
|
|
meta: {
|
|
title: 'function_hide-child_two',
|
|
i18nKey: 'route.function_hide-child_two',
|
|
hideInMenu: true,
|
|
activeMenu: 'function_hide-child'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'function_multi-tab',
|
|
path: '/function/multi-tab',
|
|
component: 'view.function_multi-tab',
|
|
meta: {
|
|
title: 'function_multi-tab',
|
|
i18nKey: 'route.function_multi-tab',
|
|
icon: 'ic:round-tab',
|
|
multiTab: true,
|
|
hideInMenu: true,
|
|
activeMenu: 'function_tab'
|
|
}
|
|
},
|
|
{
|
|
name: 'function_request',
|
|
path: '/function/request',
|
|
component: 'view.function_request',
|
|
meta: {
|
|
title: 'function_request',
|
|
i18nKey: 'route.function_request',
|
|
icon: 'carbon:network-overlay',
|
|
order: 3
|
|
}
|
|
},
|
|
{
|
|
name: 'function_super-page',
|
|
path: '/function/super-page',
|
|
component: 'view.function_super-page',
|
|
meta: {
|
|
title: 'function_super-page',
|
|
i18nKey: 'route.function_super-page',
|
|
icon: 'ic:round-supervisor-account',
|
|
order: 5,
|
|
roles: ['R_SUPER']
|
|
}
|
|
},
|
|
{
|
|
name: 'function_tab',
|
|
path: '/function/tab',
|
|
component: 'view.function_tab',
|
|
meta: {
|
|
title: 'function_tab',
|
|
i18nKey: 'route.function_tab',
|
|
icon: 'ic:round-tab',
|
|
order: 1
|
|
}
|
|
},
|
|
{
|
|
name: 'function_toggle-auth',
|
|
path: '/function/toggle-auth',
|
|
component: 'view.function_toggle-auth',
|
|
meta: {
|
|
title: 'function_toggle-auth',
|
|
i18nKey: 'route.function_toggle-auth',
|
|
icon: 'ic:round-construction',
|
|
order: 4
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'iframe-page',
|
|
path: '/iframe-page/:url',
|
|
component: 'layout.base$view.iframe-page',
|
|
props: true,
|
|
meta: {
|
|
title: 'iframe-page',
|
|
i18nKey: 'route.iframe-page',
|
|
constant: true,
|
|
hideInMenu: true,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'infra',
|
|
path: '/infra',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'infra',
|
|
i18nKey: 'route.infra',
|
|
icon: 'ep:monitor',
|
|
order: 20
|
|
},
|
|
children: [
|
|
{
|
|
name: 'infra_rd-code',
|
|
path: '/infra/rd-code',
|
|
component: 'view.infra_rd-code',
|
|
meta: {
|
|
title: 'infra_rd-code',
|
|
i18nKey: 'route.infra_rd-code',
|
|
icon: 'mdi:identifier',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'infra_state-machine',
|
|
path: '/infra/state-machine',
|
|
component: 'view.infra_state-machine',
|
|
meta: {
|
|
title: 'infra_state-machine',
|
|
i18nKey: 'route.infra_state-machine',
|
|
icon: 'mdi:state-machine',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'login',
|
|
path: '/login/:module(pwd-login|reset-pwd)?',
|
|
component: 'layout.blank$view.login',
|
|
props: true,
|
|
meta: {
|
|
title: 'login',
|
|
i18nKey: 'route.login',
|
|
constant: true,
|
|
hideInMenu: true
|
|
}
|
|
},
|
|
{
|
|
name: 'metrics',
|
|
path: '/metrics',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'metrics',
|
|
i18nKey: 'route.metrics',
|
|
icon: 'mdi:chart-line',
|
|
order: 7
|
|
},
|
|
children: [
|
|
{
|
|
name: 'metrics_member-efficiency',
|
|
path: '/metrics/member-efficiency',
|
|
component: 'view.metrics_member-efficiency',
|
|
meta: {
|
|
title: 'metrics_member-efficiency',
|
|
i18nKey: 'route.metrics_member-efficiency',
|
|
icon: 'mdi:account-multiple-check-outline',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'metrics_project-progress',
|
|
path: '/metrics/project-progress',
|
|
component: 'view.metrics_project-progress',
|
|
meta: {
|
|
title: 'metrics_project-progress',
|
|
i18nKey: 'route.metrics_project-progress',
|
|
icon: 'mdi:progress-clock',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'metrics_worktime',
|
|
path: '/metrics/worktime',
|
|
component: 'view.metrics_worktime',
|
|
meta: {
|
|
title: 'metrics_worktime',
|
|
i18nKey: 'route.metrics_worktime',
|
|
icon: 'mdi:clock-time-five-outline',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'personal-center',
|
|
path: '/personal-center',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'personal-center',
|
|
i18nKey: 'route.personal-center',
|
|
icon: 'mdi:account-circle-outline',
|
|
order: 8
|
|
},
|
|
children: [
|
|
{
|
|
name: 'personal-center_my-application',
|
|
path: '/personal-center/my-application',
|
|
component: 'view.personal-center_my-application',
|
|
meta: {
|
|
title: 'personal-center_my-application',
|
|
i18nKey: 'route.personal-center_my-application',
|
|
icon: 'mdi:file-document-outline',
|
|
order: 4,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_my-item',
|
|
path: '/personal-center/my-item',
|
|
component: 'view.personal-center_my-item',
|
|
meta: {
|
|
title: 'personal-center_my-item',
|
|
i18nKey: 'route.personal-center_my-item',
|
|
icon: 'mdi:checkbox-multiple-blank-circle-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_my-monthly',
|
|
path: '/personal-center/my-monthly',
|
|
component: 'view.personal-center_my-monthly',
|
|
meta: {
|
|
title: 'personal-center_my-monthly',
|
|
i18nKey: 'route.personal-center_my-monthly',
|
|
icon: 'mdi:calendar-month-outline',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_my-performance',
|
|
path: '/personal-center/my-performance',
|
|
component: 'view.personal-center_my-performance',
|
|
meta: {
|
|
title: 'personal-center_my-performance',
|
|
i18nKey: 'route.personal-center_my-performance',
|
|
icon: 'mdi:trophy-outline',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_my-profile',
|
|
path: '/personal-center/my-profile',
|
|
component: 'view.personal-center_my-profile',
|
|
meta: {
|
|
title: 'personal-center_my-profile',
|
|
i18nKey: 'route.personal-center_my-profile',
|
|
icon: 'mdi:account-box-outline',
|
|
order: 0,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_my-weekly',
|
|
path: '/personal-center/my-weekly',
|
|
component: 'view.personal-center_my-weekly',
|
|
meta: {
|
|
title: 'personal-center_my-weekly',
|
|
i18nKey: 'route.personal-center_my-weekly',
|
|
icon: 'mdi:calendar-week-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_overtime-application',
|
|
path: '/personal-center/overtime-application',
|
|
component: 'view.personal-center_overtime-application',
|
|
meta: {
|
|
title: 'personal-center_overtime-application',
|
|
i18nKey: 'route.personal-center_overtime-application',
|
|
icon: 'mdi:clock-plus-outline',
|
|
order: 6,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'personal-center_pending-approval',
|
|
path: '/personal-center/pending-approval',
|
|
component: 'view.personal-center_pending-approval',
|
|
meta: {
|
|
title: 'personal-center_pending-approval',
|
|
i18nKey: 'route.personal-center_pending-approval',
|
|
icon: 'mdi:check-decagram-outline',
|
|
order: 7,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'plugin',
|
|
path: '/plugin',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: '插件示例',
|
|
i18nKey: 'route.plugin',
|
|
order: 7,
|
|
icon: 'clarity:plugin-line'
|
|
},
|
|
children: [
|
|
{
|
|
name: 'plugin_barcode',
|
|
path: '/plugin/barcode',
|
|
component: 'view.plugin_barcode',
|
|
meta: {
|
|
title: 'plugin_barcode',
|
|
i18nKey: 'route.plugin_barcode',
|
|
icon: 'ic:round-barcode'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_charts',
|
|
path: '/plugin/charts',
|
|
meta: {
|
|
title: 'plugin_charts',
|
|
i18nKey: 'route.plugin_charts',
|
|
icon: 'mdi:chart-areaspline'
|
|
},
|
|
children: [
|
|
{
|
|
name: 'plugin_charts_antv',
|
|
path: '/plugin/charts/antv',
|
|
component: 'view.plugin_charts_antv',
|
|
meta: {
|
|
title: 'plugin_charts_antv',
|
|
i18nKey: 'route.plugin_charts_antv',
|
|
icon: 'hugeicons:flow-square'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_charts_echarts',
|
|
path: '/plugin/charts/echarts',
|
|
component: 'view.plugin_charts_echarts',
|
|
meta: {
|
|
title: 'plugin_charts_echarts',
|
|
i18nKey: 'route.plugin_charts_echarts',
|
|
icon: 'simple-icons:apacheecharts'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_charts_vchart',
|
|
path: '/plugin/charts/vchart',
|
|
component: 'view.plugin_charts_vchart',
|
|
meta: {
|
|
title: 'plugin_charts_vchart',
|
|
i18nKey: 'route.plugin_charts_vchart',
|
|
localIcon: 'visactor'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'plugin_copy',
|
|
path: '/plugin/copy',
|
|
component: 'view.plugin_copy',
|
|
meta: {
|
|
title: 'plugin_copy',
|
|
i18nKey: 'route.plugin_copy',
|
|
icon: 'mdi:clipboard-outline'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_excel',
|
|
path: '/plugin/excel',
|
|
component: 'view.plugin_excel',
|
|
meta: {
|
|
title: 'plugin_excel',
|
|
i18nKey: 'route.plugin_excel',
|
|
icon: 'ri:file-excel-2-line',
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_gantt',
|
|
path: '/plugin/gantt',
|
|
meta: {
|
|
title: 'plugin_gantt',
|
|
i18nKey: 'route.plugin_gantt',
|
|
icon: 'ant-design:bar-chart-outlined'
|
|
},
|
|
children: [
|
|
{
|
|
name: 'plugin_gantt_dhtmlx',
|
|
path: '/plugin/gantt/dhtmlx',
|
|
component: 'view.plugin_gantt_dhtmlx',
|
|
meta: {
|
|
title: 'plugin_gantt_dhtmlx',
|
|
i18nKey: 'route.plugin_gantt_dhtmlx',
|
|
icon: 'gridicons:posts'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_gantt_vtable',
|
|
path: '/plugin/gantt/vtable',
|
|
component: 'view.plugin_gantt_vtable',
|
|
meta: {
|
|
title: 'plugin_gantt_vtable',
|
|
i18nKey: 'route.plugin_gantt_vtable',
|
|
localIcon: 'visactor'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'plugin_icon',
|
|
path: '/plugin/icon',
|
|
component: 'view.plugin_icon',
|
|
meta: {
|
|
title: 'plugin_icon',
|
|
i18nKey: 'route.plugin_icon',
|
|
localIcon: 'custom-icon'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_map',
|
|
path: '/plugin/map',
|
|
component: 'view.plugin_map',
|
|
meta: {
|
|
title: 'plugin_map',
|
|
i18nKey: 'route.plugin_map',
|
|
icon: 'mdi:map'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_pdf',
|
|
path: '/plugin/pdf',
|
|
component: 'view.plugin_pdf',
|
|
meta: {
|
|
title: 'plugin_pdf',
|
|
i18nKey: 'route.plugin_pdf',
|
|
icon: 'uiw:file-pdf'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_pinyin',
|
|
path: '/plugin/pinyin',
|
|
component: 'view.plugin_pinyin',
|
|
meta: {
|
|
title: 'plugin_pinyin',
|
|
i18nKey: 'route.plugin_pinyin',
|
|
icon: 'entypo-social:google-hangouts'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_print',
|
|
path: '/plugin/print',
|
|
component: 'view.plugin_print',
|
|
meta: {
|
|
title: 'plugin_print',
|
|
i18nKey: 'route.plugin_print',
|
|
icon: 'mdi:printer'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_swiper',
|
|
path: '/plugin/swiper',
|
|
component: 'view.plugin_swiper',
|
|
meta: {
|
|
title: 'plugin_swiper',
|
|
i18nKey: 'route.plugin_swiper',
|
|
icon: 'simple-icons:swiper'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_tables',
|
|
path: '/plugin/tables',
|
|
meta: {
|
|
title: 'plugin_tables',
|
|
i18nKey: 'route.plugin_tables',
|
|
icon: 'icon-park-outline:table'
|
|
},
|
|
children: [
|
|
{
|
|
name: 'plugin_tables_vtable',
|
|
path: '/plugin/tables/vtable',
|
|
component: 'view.plugin_tables_vtable',
|
|
meta: {
|
|
title: 'plugin_tables_vtable',
|
|
i18nKey: 'route.plugin_tables_vtable',
|
|
localIcon: 'visactor'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'plugin_typeit',
|
|
path: '/plugin/typeit',
|
|
component: 'view.plugin_typeit',
|
|
meta: {
|
|
title: 'plugin_typeit',
|
|
i18nKey: 'route.plugin_typeit',
|
|
icon: 'mdi:typewriter'
|
|
}
|
|
},
|
|
{
|
|
name: 'plugin_video',
|
|
path: '/plugin/video',
|
|
component: 'view.plugin_video',
|
|
meta: {
|
|
title: 'plugin_video',
|
|
i18nKey: 'route.plugin_video',
|
|
icon: 'mdi:video'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'product',
|
|
path: '/product',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'product',
|
|
i18nKey: 'route.product',
|
|
icon: 'carbon:product',
|
|
order: 4
|
|
},
|
|
children: [
|
|
{
|
|
name: 'product_dashboard',
|
|
path: '/product/dashboard',
|
|
component: 'view.product_dashboard',
|
|
meta: {
|
|
title: 'product_dashboard',
|
|
i18nKey: 'route.product_dashboard',
|
|
hideInMenu: true,
|
|
activeMenu: 'product_list'
|
|
}
|
|
},
|
|
{
|
|
name: 'product_list',
|
|
path: '/product/list',
|
|
component: 'view.product_list',
|
|
meta: {
|
|
title: 'product_list',
|
|
i18nKey: 'route.product_list',
|
|
icon: 'material-symbols:view-list-outline-rounded',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'product_requirement',
|
|
path: '/product/requirement',
|
|
component: 'view.product_requirement',
|
|
meta: {
|
|
title: 'product_requirement',
|
|
i18nKey: 'route.product_requirement',
|
|
hideInMenu: true,
|
|
activeMenu: 'product_list'
|
|
}
|
|
},
|
|
{
|
|
name: 'product_setting',
|
|
path: '/product/setting',
|
|
component: 'view.product_setting',
|
|
meta: {
|
|
title: 'product_setting',
|
|
i18nKey: 'route.product_setting',
|
|
hideInMenu: true,
|
|
activeMenu: 'product_list'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'project',
|
|
path: '/project',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'project',
|
|
i18nKey: 'route.project',
|
|
icon: 'mdi:briefcase-outline',
|
|
order: 5
|
|
},
|
|
children: [
|
|
{
|
|
name: 'project_list',
|
|
path: '/project/list',
|
|
component: 'view.project_list',
|
|
meta: {
|
|
title: 'project_list',
|
|
i18nKey: 'route.project_list',
|
|
icon: 'material-symbols:view-list-outline-rounded',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'project_project',
|
|
path: '/project/project',
|
|
meta: {
|
|
title: 'project_project',
|
|
i18nKey: 'route.project_project',
|
|
hideInMenu: true,
|
|
activeMenu: 'project_list'
|
|
},
|
|
children: [
|
|
{
|
|
name: 'project_project_execution',
|
|
path: '/project/project/execution',
|
|
component: 'view.project_project_execution',
|
|
meta: {
|
|
title: 'project_project_execution',
|
|
i18nKey: 'route.project_project_execution',
|
|
hideInMenu: true,
|
|
activeMenu: 'project_list'
|
|
}
|
|
},
|
|
{
|
|
name: 'project_project_overview',
|
|
path: '/project/project/overview',
|
|
component: 'view.project_project_overview',
|
|
meta: {
|
|
title: 'project_project_overview',
|
|
i18nKey: 'route.project_project_overview',
|
|
hideInMenu: true,
|
|
activeMenu: 'project_list'
|
|
}
|
|
},
|
|
{
|
|
name: 'project_project_requirement',
|
|
path: '/project/project/requirement',
|
|
component: 'view.project_project_requirement',
|
|
meta: {
|
|
title: 'project_project_requirement',
|
|
i18nKey: 'route.project_project_requirement',
|
|
hideInMenu: true,
|
|
activeMenu: 'project_list'
|
|
}
|
|
},
|
|
{
|
|
name: 'project_project_setting',
|
|
path: '/project/project/setting',
|
|
component: 'view.project_project_setting',
|
|
meta: {
|
|
title: 'project_project_setting',
|
|
i18nKey: 'route.project_project_setting',
|
|
hideInMenu: true,
|
|
activeMenu: 'project_list'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'system',
|
|
path: '/system',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'system',
|
|
i18nKey: 'route.system',
|
|
icon: 'carbon:cloud-service-management',
|
|
order: 9,
|
|
roles: ['R_ADMIN']
|
|
},
|
|
children: [
|
|
{
|
|
name: 'system_dict',
|
|
path: '/system/dict',
|
|
component: 'view.system_dict',
|
|
meta: {
|
|
title: 'system_dict',
|
|
i18nKey: 'route.system_dict',
|
|
icon: 'mdi:book-open-page-variant-outline',
|
|
order: 4,
|
|
roles: ['R_ADMIN'],
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'system_menu',
|
|
path: '/system/menu',
|
|
component: 'view.system_menu',
|
|
meta: {
|
|
title: 'system_menu',
|
|
i18nKey: 'route.system_menu',
|
|
icon: 'material-symbols:route',
|
|
order: 3,
|
|
roles: ['R_ADMIN'],
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'system_post',
|
|
path: '/system/post',
|
|
component: 'view.system_post',
|
|
meta: {
|
|
title: 'system_post',
|
|
i18nKey: 'route.system_post'
|
|
}
|
|
},
|
|
{
|
|
name: 'system_role',
|
|
path: '/system/role',
|
|
component: 'view.system_role',
|
|
meta: {
|
|
title: 'system_role',
|
|
i18nKey: 'route.system_role',
|
|
icon: 'carbon:user-role',
|
|
order: 2,
|
|
roles: ['R_SUPER']
|
|
}
|
|
},
|
|
{
|
|
name: 'system_user',
|
|
path: '/system/user',
|
|
component: 'view.system_user',
|
|
meta: {
|
|
title: 'system_user',
|
|
i18nKey: 'route.system_user',
|
|
icon: 'ic:round-manage-accounts',
|
|
order: 1,
|
|
roles: ['R_ADMIN']
|
|
}
|
|
},
|
|
{
|
|
name: 'system_user-detail',
|
|
path: '/system/user-detail/:id',
|
|
component: 'view.system_user-detail',
|
|
meta: {
|
|
title: 'system_user-detail',
|
|
i18nKey: 'route.system_user-detail',
|
|
hideInMenu: true,
|
|
roles: ['R_ADMIN'],
|
|
activeMenu: 'system_user'
|
|
}
|
|
},
|
|
{
|
|
name: 'system_user-management-relation',
|
|
path: '/system/user-management-relation',
|
|
component: 'view.system_user-management-relation',
|
|
meta: {
|
|
title: 'system_user-management-relation',
|
|
i18nKey: 'route.system_user-management-relation'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'ticket',
|
|
path: '/ticket',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'ticket',
|
|
i18nKey: 'route.ticket',
|
|
icon: 'mdi:ticket-confirmation-outline',
|
|
order: 6
|
|
},
|
|
children: [
|
|
{
|
|
name: 'ticket_my-pending',
|
|
path: '/ticket/my-pending',
|
|
component: 'view.ticket_my-pending',
|
|
meta: {
|
|
title: 'ticket_my-pending',
|
|
i18nKey: 'route.ticket_my-pending',
|
|
icon: 'mdi:inbox-arrow-down-outline',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'ticket_my-submitted',
|
|
path: '/ticket/my-submitted',
|
|
component: 'view.ticket_my-submitted',
|
|
meta: {
|
|
title: 'ticket_my-submitted',
|
|
i18nKey: 'route.ticket_my-submitted',
|
|
icon: 'mdi:upload-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'workbench',
|
|
path: '/workbench',
|
|
component: 'layout.base$view.workbench',
|
|
meta: {
|
|
title: 'workbench',
|
|
i18nKey: 'route.workbench',
|
|
icon: 'mdi:view-dashboard-outline',
|
|
order: 1,
|
|
keepAlive: true,
|
|
constant: true
|
|
}
|
|
}
|
|
];
|