2026-02-06 17:22:22 +08:00
|
|
|
/*
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-02-08 15:59:14 +08:00
|
|
|
import { type RouteRecordRaw, type RouteRecordRedirect } from 'vue-router';
|
2026-02-06 17:22:22 +08:00
|
|
|
|
|
|
|
|
export const routes: RouteRecordRaw[] = [
|
2026-02-08 15:59:14 +08:00
|
|
|
{
|
|
|
|
|
name: 'index',
|
|
|
|
|
path: '/',
|
|
|
|
|
redirect: '/app/decision/designer',
|
|
|
|
|
meta: {
|
|
|
|
|
hidden: true,
|
|
|
|
|
},
|
|
|
|
|
} as RouteRecordRedirect,
|
2026-02-08 18:43:42 +08:00
|
|
|
{
|
|
|
|
|
name: 'signin',
|
|
|
|
|
path: '/signin',
|
|
|
|
|
meta: {
|
|
|
|
|
title: '登录',
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/signin.vue'),
|
|
|
|
|
},
|
2026-02-08 15:59:14 +08:00
|
|
|
{
|
|
|
|
|
name: 'decision-designer',
|
|
|
|
|
path: '/app/decision/designer',
|
|
|
|
|
meta: {
|
|
|
|
|
title: '决策树',
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/decision/designer.vue'),
|
|
|
|
|
},
|
2026-02-09 15:26:21 +08:00
|
|
|
{
|
|
|
|
|
name: 'decision-algorithm-management',
|
|
|
|
|
path: '/app/decision/algorithm/management',
|
|
|
|
|
meta: {
|
2026-02-09 21:03:57 +08:00
|
|
|
title: '指挥决策规则库管理',
|
2026-02-09 15:26:21 +08:00
|
|
|
},
|
|
|
|
|
component: () => import('@/views/decision/algorithm/management.vue'),
|
|
|
|
|
},
|
2026-03-14 20:55:15 +08:00
|
|
|
{
|
|
|
|
|
name: 'decision-fire-rule',
|
|
|
|
|
path: '/app/decision/fire-rule',
|
|
|
|
|
meta: {
|
|
|
|
|
title: '活力规则',
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/decision/rule/management.vue'),
|
|
|
|
|
},
|
2026-02-06 17:22:22 +08:00
|
|
|
]
|