navigation.ts 1.96 KB
import type { Component } from 'vue'
import {
  Connection,
  DataAnalysis,
  DataBoard,
  Document,
  Setting,
  Tickets,
} from '@element-plus/icons-vue'

export interface WorkbenchNavigationItem {
  path: string
  label: string
  shortLabel: string
  description: string
  eyebrow: string
  title: string
  icon: Component
}

export const workbenchNavigation: WorkbenchNavigationItem[] = [
  {
    path: '/dashboard',
    label: '首页 Dashboard',
    shortLabel: '首页',
    description: '汇总系统状态、当前研究对象与关键进度。',
    eyebrow: 'Mission Control',
    title: '平台总览与快捷调度',
    icon: DataBoard,
  },
  {
    path: '/tasks',
    label: '任务中心',
    shortLabel: '任务',
    description: '集中管理研究任务、任务历史与报告任务列表。',
    eyebrow: 'Task Center',
    title: '任务编排与历史追踪',
    icon: Tickets,
  },
  {
    path: '/crawler',
    label: '爬虫管理',
    shortLabel: '爬虫',
    description: '统一处理平台登录、采集参数与执行状态。',
    eyebrow: 'Crawler Ops',
    title: '爬虫登录、采集与历史回溯',
    icon: Connection,
  },
  {
    path: '/engines',
    label: '引擎工作台',
    shortLabel: '引擎',
    description: '切换 Insight、Media、Query 与 Forum 工作界面。',
    eyebrow: 'Engine Console',
    title: '多引擎分析工作台',
    icon: DataAnalysis,
  },
  {
    path: '/reports',
    label: '报告中心',
    shortLabel: '报告',
    description: '管理模板、生成进度、预览和下载交付物。',
    eyebrow: 'Delivery Studio',
    title: '报告生成与交付中心',
    icon: Document,
  },
  {
    path: '/settings',
    label: '配置中心',
    shortLabel: '配置',
    description: '维护数据库、模型、搜索与网络相关配置。',
    eyebrow: 'Configuration',
    title: '系统配置与环境维护',
    icon: Setting,
  },
]

export const defaultWorkbenchPath = workbenchNavigation[0].path