import { defineConfig } from 'vitepress' export default defineConfig({ title: 'HF-MES v5.0 使用手册', description: 'HF-MES v5.0 制造执行系统完整使用指南', lang: 'zh-CN', themeConfig: { logo: '/logo.svg', siteTitle: 'HF-MES v5.0 使用手册', nav: [ { text: '首页', link: '/' }, { text: '文档说明', items: [ { text: '文档说明', link: '/guide/document-guide' }, { text: '系统概述', link: '/guide/system-overview' } ] }, { text: '快速入门', items: [ { text: '快速入门', link: '/getting-started/quick-start' } ] }, { text: '基础配置', items: [ { text: '班组管理', link: '/production_configuration/Organization' }, { text: '工厂模型', link: '/production_configuration/factory_model' }, { text: '物料模型', link: '/production_configuration/material_model' }, { text: '工序模型', link: '/production_configuration/process_model' }, { text: '产品模型', link: '/production_configuration/product_model' }, { text: 'SPC配置', link: '/production_configuration/SPC_configuration' } ] }, { text: '设备管理', items: [ { text: '设备模型', link: '/device_management/device_model' }, { text: '设备耗材管理', link: '/device_management/equipment_consumables_management' }, { text: '设备点检', link: '/device_management/equipment_inspection' }, { text: '设备保养', link: '/device_management/equipment_maintenance' }, { text: '设备维修管理', link: '/device_management/equipment_maintenance_management' }, { text: '设备状态管理', link: '/device_management/equipment_status_management' } ] }, { text: '排产生产', items: [ { text: '预警中心', link: '/planning_production/alert_center' }, { text: '批次不良报表', link: '/planning_production/batch_defect_report' }, { text: '批次管理', link: '/planning_production/batch_management' }, { text: '批次托盘', link: '/planning_production/batch_tray' }, { text: '设备监控', link: '/planning_production/device_monitoring' }, { text: '物料监控', link: '/planning_production/material_monitoring' }, { text: '不良品管理', link: '/planning_production/reject_management' }, { text: '工艺流程', link: '/planning_production/technology_process' }, { text: '托盘登录', link: '/planning_production/tray_login' }, { text: '托盘管理', link: '/planning_production/tray_management' } ] }, { text: '质量控制', items: [ { text: '首件检验', link: '/quality_control/first_inspection' }, { text: '检验管理', link: '/quality_control/inspection_management' }, { text: 'SPC', link: '/quality_control/spc' }, { text: 'SPC属性图', link: '/quality_control/spc_attribute_charts' }, { text: 'SPC变量图', link: '/quality_control/spc_variable_charts' } ] }, { text: '数据中台', items: [ { text: '电池曲线', link: '/data_middleground/battery_curve' }, { text: '电池明细报表', link: '/data_middleground/battery_detail_report' }, { text: '电池追溯', link: '/data_middleground/battery_traceability' }, { text: '鹰眼监控', link: '/data_middleground/eagle_eyes' }, { text: '设备历史报表', link: '/data_middleground/equipment_history_report' }, { text: '正向追溯', link: '/data_middleground/positive_direction_traceability' }, { text: '反向追溯', link: '/data_middleground/reverse_traceability' }, { text: '托盘追溯', link: '/data_middleground/tray_traceability' } ] }, { text: '系统设置', items: [ { text: '菜单配置', link: '/system_settings/menu_configuration' }, { text: '系统助手', link: '/system_settings/system_assistant' }, { text: '系统监控', link: '/system_settings/system_monitoring' }, { text: '用户管理', link: '/system_settings/user_management' } ] }, { text: '系统运维', items: [ { text: '系统运维', link: '/operation/system-operation' }, { text: '技术支持', link: '/operation/technical-support' } ] }, { text: '附录', items: [ { text: '术语表', link: '/appendix/glossary' } ] } ], sidebar: { '/guide/': [ { text: '文档管理篇', items: [ { text: '文档说明', link: '/guide/document-guide' } ] }, { text: '系统认知篇', items: [ { text: '系统概述', link: '/guide/system-overview' } ] } ], '/getting-started/': [ { text: '快速入门篇', items: [ { text: '快速入门', link: '/getting-started/quick-start' } ] } ], '/production_configuration/': [ { text: '基础配置篇', items: [ { text: '组织架构管理', link: '/production_configuration/Organization' }, { text: '工厂模型', link: '/production_configuration/factory_model' }, { text: '物料模型', link: '/production_configuration/material_model' }, { text: '工序模型', link: '/production_configuration/process_model' }, { text: '产品模型', link: '/production_configuration/product_model' }, { text: 'SPC配置', link: '/production_configuration/SPC_configuration' } ] } ], '/device_management/': [ { text: '设备管理篇', items: [ { text: '设备模型', link: '/device_management/device_model' }, { text: '设备耗材管理', link: '/device_management/equipment_consumables_management' }, { text: '设备点检', link: '/device_management/equipment_inspection' }, { text: '设备保养', link: '/device_management/equipment_maintenance' }, { text: '设备维修管理', link: '/device_management/equipment_maintenance_management' }, { text: '设备状态管理', link: '/device_management/equipment_status_management' } ] } ], '/planning_production/': [ { text: '排产生产篇', items: [ { text: '预警中心', link: '/planning_production/alert_center' }, { text: '批次不良报表', link: '/planning_production/batch_defect_report' }, { text: '批次管理', link: '/planning_production/batch_management' }, { text: '批次托盘', link: '/planning_production/batch_tray' }, { text: '设备监控', link: '/planning_production/device_monitoring' }, { text: '物料监控', link: '/planning_production/material_monitoring' }, { text: '不良品管理', link: '/planning_production/reject_management' }, { text: '工艺流程', link: '/planning_production/technology_process' }, { text: '托盘登录', link: '/planning_production/tray_login' }, { text: '托盘管理', link: '/planning_production/tray_management' } ] } ], '/quality_control/': [ { text: '质量控制篇', items: [ { text: '首件检验', link: '/quality_control/first_inspection' }, { text: '检验管理', link: '/quality_control/inspection_management' }, { text: 'SPC', link: '/quality_control/spc' }, { text: 'SPC属性图', link: '/quality_control/spc_attribute_charts' }, { text: 'SPC变量图', link: '/quality_control/spc_variable_charts' } ] } ], '/data_middleground/': [ { text: '数据中台篇', items: [ { text: '电池曲线', link: '/data_middleground/battery_curve' }, { text: '电池明细报表', link: '/data_middleground/battery_detail_report' }, { text: '电池追溯', link: '/data_middleground/battery_traceability' }, { text: '鹰眼监控', link: '/data_middleground/eagle_eyes' }, { text: '设备历史报表', link: '/data_middleground/equipment_history_report' }, { text: '正向追溯', link: '/data_middleground/positive_direction_traceability' }, { text: '反向追溯', link: '/data_middleground/reverse_traceability' }, { text: '托盘追溯', link: '/data_middleground/tray_traceability' } ] } ], '/system_settings/': [ { text: '系统设置篇', items: [ { text: '菜单配置', link: '/system_settings/menu_configuration' }, { text: '系统助手', link: '/system_settings/system_assistant' }, { text: '系统监控', link: '/system_settings/system_monitoring' }, { text: '用户管理', link: '/system_settings/user_management' } ] } ], '/business/': [ { text: '生产管理篇', items: [ { text: '生产管理', link: '/business/production' } ] }, { text: '质量管理篇', items: [ { text: '质量与追溯', link: '/business/quality' } ] }, { text: '仓储物流篇', items: [ { text: '设备与仓储', link: '/business/equipment-warehouse' } ] } ], '/integration/': [ { text: '数据集成篇', items: [ { text: '数据与集成', link: '/integration/data-integration' } ] } ], '/analysis/': [ { text: '报表分析篇', items: [ { text: '报表与分析', link: '/analysis/reports' } ] } ], '/operation/': [ { text: '系统运维篇', items: [ { text: '系统运维', link: '/operation/system-operation' } ] }, { text: '技术支持篇', items: [ { text: '异常处理与技术支持', link: '/operation/technical-support' } ] } ], '/appendix/': [ { text: '附录篇', items: [ { text: '术语表', link: '/appendix/glossary' } ] } ] }, socialLinks: [ { icon: 'github', link: 'https://github.com/vuejs/vitepress' } ], footer: { message: 'HF-MES v5.0 使用手册', copyright: 'Copyright © 2026 All Rights Reserved' }, search: { provider: 'local' }, editLink: { pattern: 'https://github.com/vuejs/vitepress/edit/main/docs/:path', text: '在 GitHub 上编辑此页' }, lastUpdated: { text: '最后更新于', formatOptions: { dateStyle: 'short', timeStyle: 'short' } }, outline: { level: [2, 3], label: '目录' }, docFooter: { prev: '← 上一页', next: '下一页 →' } }, markdown: { theme: { light: 'github-light', dark: 'github-dark' }, lineNumbers: false }, head: [ ['link', { rel: 'icon', href: '/favicon.ico' }], ['meta', { name: 'author', content: 'HF-MES' }], ['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0' }] ] })