From cc2430f4e7b257617c5ca305b9e7e8397c6a495b Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 18 May 2026 15:42:06 +0800 Subject: [PATCH] docs: add english documentation support and internationalization config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增英文首页文档en/index.md 2. 重构vitepress配置,添加多语言支持,新增英文站点导航与侧边栏 3. 引入mermaid和mathjax3插件支持图表与数学公式 --- .vitepress/config.mjs | 886 +++++++++++++++++++++++++++--------------- en/index.md | 38 ++ 2 files changed, 609 insertions(+), 315 deletions(-) create mode 100644 en/index.md diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index 6c3eb0c..8362088 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -1,324 +1,580 @@ import { defineConfig } from 'vitepress' +import { withMermaid } from 'vitepress-plugin-mermaid' +import mathjax3 from 'markdown-it-mathjax3' -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' +export default withMermaid( + defineConfig({ + vite: { + server: { + allowedHosts: true } }, - outline: { - level: [2, 3], - label: '目录' + locales: { + root: { + label: '中文', + lang: 'zh-CN', + title: 'HF-MES v5.0 使用手册', + description: 'HF-MES v5.0 制造执行系统完整使用指南', + 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' } + ] + } + ], + '/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: '下一页 →' + } + } + }, + en: { + label: 'English', + lang: 'en', + link: '/en/', + title: 'HF-MES v5.0 User Manual', + description: 'HF-MES v5.0 MES Complete User Guide', + themeConfig: { + logo: '/logo.svg', + siteTitle: 'HF-MES v5.0 Manual', + + nav: [ + { text: 'Home', link: '/en/' }, + { + text: 'Guide', + items: [ + { text: 'Document Guide', link: '/en/guide/document-guide' }, + { text: 'System Overview', link: '/en/guide/system-overview' } + ] + }, + { + text: 'Quick Start', + items: [ + { text: 'Quick Start', link: '/en/getting-started/quick-start' } + ] + }, + { + text: 'Configuration', + items: [ + { text: 'Organization', link: '/en/production_configuration/Organization' }, + { text: 'Factory Model', link: '/en/production_configuration/factory_model' }, + { text: 'Material Model', link: '/en/production_configuration/material_model' }, + { text: 'Process Model', link: '/en/production_configuration/process_model' }, + { text: 'Product Model', link: '/en/production_configuration/product_model' }, + { text: 'SPC Config', link: '/en/production_configuration/SPC_configuration' } + ] + }, + { + text: 'Device', + items: [ + { text: 'Device Model', link: '/en/device_management/device_model' }, + { text: 'Consumables', link: '/en/device_management/equipment_consumables_management' }, + { text: 'Inspection', link: '/en/device_management/equipment_inspection' }, + { text: 'Maintenance', link: '/en/device_management/equipment_maintenance' }, + { text: 'Repair Mgmt', link: '/en/device_management/equipment_maintenance_management' }, + { text: 'Status', link: '/en/device_management/equipment_status_management' } + ] + }, + { + text: 'Production', + items: [ + { text: 'Alert Center', link: '/en/planning_production/alert_center' }, + { text: 'Defect Report', link: '/en/planning_production/batch_defect_report' }, + { text: 'Batch Mgmt', link: '/en/planning_production/batch_management' }, + { text: 'Batch Tray', link: '/en/planning_production/batch_tray' }, + { text: 'Device Monitor', link: '/en/planning_production/device_monitoring' }, + { text: 'Material Monitor', link: '/en/planning_production/material_monitoring' }, + { text: 'Reject Mgmt', link: '/en/planning_production/reject_management' }, + { text: 'Process Flow', link: '/en/planning_production/technology_process' }, + { text: 'Tray Login', link: '/en/planning_production/tray_login' }, + { text: 'Tray Mgmt', link: '/en/planning_production/tray_management' } + ] + }, + { + text: 'Quality', + items: [ + { text: 'First Inspection', link: '/en/quality_control/first_inspection' }, + { text: 'Inspection', link: '/en/quality_control/inspection_management' }, + { text: 'SPC', link: '/en/quality_control/spc' }, + { text: 'SPC Attribute', link: '/en/quality_control/spc_attribute_charts' }, + { text: 'SPC Variable', link: '/en/quality_control/spc_variable_charts' } + ] + }, + { + text: 'Data', + items: [ + { text: 'Battery Curve', link: '/en/data_middleground/battery_curve' }, + { text: 'Battery Report', link: '/en/data_middleground/battery_detail_report' }, + { text: 'Battery Trace', link: '/en/data_middleground/battery_traceability' }, + { text: 'Eagle Eyes', link: '/en/data_middleground/eagle_eyes' }, + { text: 'Equip History', link: '/en/data_middleground/equipment_history_report' }, + { text: 'Forward Trace', link: '/en/data_middleground/positive_direction_traceability' }, + { text: 'Reverse Trace', link: '/en/data_middleground/reverse_traceability' }, + { text: 'Tray Trace', link: '/en/data_middleground/tray_traceability' } + ] + }, + { + text: 'Settings', + items: [ + { text: 'Menu Config', link: '/en/system_settings/menu_configuration' }, + { text: 'Assistant', link: '/en/system_settings/system_assistant' }, + { text: 'Monitor', link: '/en/system_settings/system_monitoring' }, + { text: 'Users', link: '/en/system_settings/user_management' } + ] + }, + { + text: 'Operations', + items: [ + { text: 'System Ops', link: '/en/operation/system-operation' }, + { text: 'Support', link: '/en/operation/technical-support' } + ] + }, + { + text: 'Appendix', + items: [ + { text: 'Glossary', link: '/en/appendix/glossary' } + ] + } + ], + + sidebar: { + '/en/guide/': [ + { + text: 'Document Guide', + items: [ + { text: 'Document Guide', link: '/en/guide/document-guide' } + ] + }, + { + text: 'System Overview', + items: [ + { text: 'System Overview', link: '/en/guide/system-overview' } + ] + } + ], + '/en/getting-started/': [ + { + text: 'Quick Start', + items: [ + { text: 'Quick Start', link: '/en/getting-started/quick-start' } + ] + } + ], + '/en/production_configuration/': [ + { + text: 'Basic Configuration', + items: [ + { text: 'Organization', link: '/en/production_configuration/Organization' }, + { text: 'Factory Model', link: '/en/production_configuration/factory_model' }, + { text: 'Material Model', link: '/en/production_configuration/material_model' }, + { text: 'Process Model', link: '/en/production_configuration/process_model' }, + { text: 'Product Model', link: '/en/production_configuration/product_model' }, + { text: 'SPC Configuration', link: '/en/production_configuration/SPC_configuration' } + ] + } + ], + '/en/device_management/': [ + { + text: 'Device Management', + items: [ + { text: 'Device Model', link: '/en/device_management/device_model' }, + { text: 'Equipment Consumables', link: '/en/device_management/equipment_consumables_management' }, + { text: 'Equipment Inspection', link: '/en/device_management/equipment_inspection' }, + { text: 'Equipment Maintenance', link: '/en/device_management/equipment_maintenance' }, + { text: 'Maintenance Management', link: '/en/device_management/equipment_maintenance_management' }, + { text: 'Equipment Status', link: '/en/device_management/equipment_status_management' } + ] + } + ], + '/en/planning_production/': [ + { + text: 'Planning & Production', + items: [ + { text: 'Alert Center', link: '/en/planning_production/alert_center' }, + { text: 'Batch Defect Report', link: '/en/planning_production/batch_defect_report' }, + { text: 'Batch Management', link: '/en/planning_production/batch_management' }, + { text: 'Batch Tray', link: '/en/planning_production/batch_tray' }, + { text: 'Device Monitoring', link: '/en/planning_production/device_monitoring' }, + { text: 'Material Monitoring', link: '/en/planning_production/material_monitoring' }, + { text: 'Reject Management', link: '/en/planning_production/reject_management' }, + { text: 'Technology Process', link: '/en/planning_production/technology_process' }, + { text: 'Tray Login', link: '/en/planning_production/tray_login' }, + { text: 'Tray Management', link: '/en/planning_production/tray_management' } + ] + } + ], + '/en/quality_control/': [ + { + text: 'Quality Control', + items: [ + { text: 'First Inspection', link: '/en/quality_control/first_inspection' }, + { text: 'Inspection Management', link: '/en/quality_control/inspection_management' }, + { text: 'SPC', link: '/en/quality_control/spc' }, + { text: 'SPC Attribute Charts', link: '/en/quality_control/spc_attribute_charts' }, + { text: 'SPC Variable Charts', link: '/en/quality_control/spc_variable_charts' } + ] + } + ], + '/en/data_middleground/': [ + { + text: 'Data Middle Platform', + items: [ + { text: 'Battery Curve', link: '/en/data_middleground/battery_curve' }, + { text: 'Battery Detail Report', link: '/en/data_middleground/battery_detail_report' }, + { text: 'Battery Traceability', link: '/en/data_middleground/battery_traceability' }, + { text: 'Eagle Eyes', link: '/en/data_middleground/eagle_eyes' }, + { text: 'Equipment History Report', link: '/en/data_middleground/equipment_history_report' }, + { text: 'Forward Traceability', link: '/en/data_middleground/positive_direction_traceability' }, + { text: 'Reverse Traceability', link: '/en/data_middleground/reverse_traceability' }, + { text: 'Tray Traceability', link: '/en/data_middleground/tray_traceability' } + ] + } + ], + '/en/system_settings/': [ + { + text: 'System Settings', + items: [ + { text: 'Menu Configuration', link: '/en/system_settings/menu_configuration' }, + { text: 'System Assistant', link: '/en/system_settings/system_assistant' }, + { text: 'System Monitoring', link: '/en/system_settings/system_monitoring' }, + { text: 'User Management', link: '/en/system_settings/user_management' } + ] + } + ], + '/en/operation/': [ + { + text: 'System Operation', + items: [ + { text: 'System Operation', link: '/en/operation/system-operation' } + ] + }, + { + text: 'Technical Support', + items: [ + { text: 'Technical Support', link: '/en/operation/technical-support' } + ] + } + ], + '/en/appendix/': [ + { + text: 'Appendix', + items: [ + { text: 'Glossary', link: '/en/appendix/glossary' } + ] + } + ] + }, + + socialLinks: [ + { icon: 'github', link: 'https://github.com/vuejs/vitepress' } + ], + + footer: { + message: 'HF-MES v5.0 User Manual', + copyright: 'Copyright © 2026 All Rights Reserved' + }, + + search: { + provider: 'local' + }, + + editLink: { + pattern: 'https://github.com/vuejs/vitepress/edit/main/docs/:path', + text: 'Edit this page on GitHub' + }, + + lastUpdated: { + text: 'Last Updated', + formatOptions: { + dateStyle: 'short', + timeStyle: 'short' + } + }, + + outline: { + level: [2, 3], + label: 'On this page' + }, + + docFooter: { + prev: '← Previous', + next: 'Next →' + } + } + } }, - docFooter: { - prev: '← 上一页', - next: '下一页 →' - } - }, - - markdown: { - theme: { - light: 'github-light', - dark: 'github-dark' + markdown: { + theme: { + light: 'github-light', + dark: 'github-dark' + }, + lineNumbers: false, + config(md) { + md.use(mathjax3) + } }, - 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' }] - ] -}) + head: [ + ['link', { rel: 'icon', href: '/favicon.ico' }], + ['meta', { name: 'author', content: 'HF-MES' }], + ['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0' }] + ] + }) +) diff --git a/en/index.md b/en/index.md new file mode 100644 index 0000000..130e620 --- /dev/null +++ b/en/index.md @@ -0,0 +1,38 @@ +--- +layout: home + +hero: + name: "HF-MES v5.0" + text: "MES User Manual" + tagline: "Digital Production · Intelligent Execution · Transparent Management" + actions: + - theme: brand + text: Quick Start + link: /en/getting-started/quick-start + - theme: alt + text: System Overview + link: /en/guide/system-overview + +features: + - icon: 🏭 + title: Production Management + details: Comprehensive coverage of production planning, work order execution, and process monitoring + - icon: 📊 + title: Quality Management + details: Full-process quality control and traceability from raw materials to finished products + - icon: 📦 + title: Warehouse Logistics + details: Optimized inventory management, inbound/outbound processes, and material tracking + - icon: 🔧 + title: Equipment Management + details: Complete equipment lifecycle management, inspection, maintenance, and OEE analysis + - icon: 🔗 + title: System Integration + details: Seamless integration with ERP, SCADA, and other systems for data connectivity + - icon: 📈 + title: Report Analysis + details: Rich statistical analysis reports to support decision-making + +footer: | + HF-MES v5.0 User Manual · Copyright © 2026 All Rights Reserved +---