53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
/*
|
|
* This file is part of the kernelstudio package.
|
|
*
|
|
* (c) 2014-2025 zlin <admin@kernelstudio.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE file
|
|
* that was distributed with this source code.
|
|
*/
|
|
|
|
import { type RouteRecordRaw, type RouteRecordRedirect } from 'vue-router';
|
|
|
|
export const routes: RouteRecordRaw[] = [
|
|
{
|
|
name: 'index',
|
|
path: '/',
|
|
redirect: '/app/decision/designer',
|
|
meta: {
|
|
hidden: true,
|
|
},
|
|
} as RouteRecordRedirect,
|
|
{
|
|
name: 'signin',
|
|
path: '/signin',
|
|
meta: {
|
|
title: '登录',
|
|
},
|
|
component: () => import('@/views/signin.vue'),
|
|
},
|
|
{
|
|
name: 'decision-designer',
|
|
path: '/app/decision/designer',
|
|
meta: {
|
|
title: '决策树',
|
|
},
|
|
component: () => import('@/views/decision/designer.vue'),
|
|
},
|
|
{
|
|
name: 'decision-algorithm-management',
|
|
path: '/app/decision/algorithm/management',
|
|
meta: {
|
|
title: '指挥决策规则库管理',
|
|
},
|
|
component: () => import('@/views/decision/algorithm/management.vue'),
|
|
},
|
|
{
|
|
name: 'decision-fire-rule',
|
|
path: '/app/decision/fire-rule',
|
|
meta: {
|
|
title: '活力规则',
|
|
},
|
|
component: () => import('@/views/decision/rule/management.vue'),
|
|
},
|
|
] |