rebuild(stage-9): deliver deterministic intelligent screening

This commit is contained in:
leefer
2026-07-30 05:15:17 +08:00
parent 6cb52e864a
commit 158257ebb8
46 changed files with 7322 additions and 34 deletions
+14 -1
View File
@@ -3,23 +3,36 @@ import { createRouter, createWebHistory } from "vue-router";
import SystemManagementView from "./views/SystemManagementView.vue";
import WorkspaceView from "./views/WorkspaceView.vue";
import EntityDetailView from "./views/EntityDetailView.vue";
import TrackingPage from "../pages/screener/TrackingPage.vue";
import { findWorkspace } from "./workspaceRegistry";
export default createRouter({
history: createWebHistory(),
routes: [
{ path: "/", redirect: "/workspace/emotion" },
{
path: "/workspace/screener/tracking",
name: "screener-tracking",
component: TrackingPage,
meta: { title: "智能选股" },
},
{
path: "/workspace/:workspace",
name: "workspace",
component: WorkspaceView,
beforeEnter: (to) => (findWorkspace(String(to.params.workspace)) ? true : "/workspace/emotion"),
},
{ path: "/system", name: "system", component: SystemManagementView },
{
path: "/system",
name: "system",
component: SystemManagementView,
meta: { title: "系统管理" },
},
{
path: "/market/:entityType/:identifier",
name: "entity-detail",
component: EntityDetailView,
meta: { title: "行情详情" },
},
{ path: "/:pathMatch(.*)*", redirect: "/workspace/emotion" },
],