Commit Graph

94 Commits

Author SHA1 Message Date
db1ca7ba22 feat: 新增Revit和PDMS模型分析、优化与结果展示功能。 2026-03-08 18:48:03 +08:00
4762e2f39a feat: introduce ReportLogViewer page for displaying analysis reports and execution logs with detailed views and comparison functionality. 2026-03-03 19:12:17 +08:00
a60f841462 feat: 添加批量处理任务管理页面及报告日志查看器 2026-03-03 18:20:58 +08:00
e1f745cf21 feat: 新增批量处理任务管理页面,包含任务概览、列表及创建向导。 2026-03-03 16:34:28 +08:00
0c17093e59 feat: 初始化核心UI布局并引入3D模型处理与转换所需的外部库文件。 2026-03-03 14:30:03 +08:00
15ec017e60 feat: add ReportLogViewer component for displaying logs and model comparison, along with a new CAD store. 2026-03-02 18:55:01 +08:00
aa9d283706 feat: 添加Revit分析仪表板和批处理作业管理器组件。 2026-03-02 18:24:15 +08:00
e01376de57 feat: 新增 Revit 模型查看器组件、报告日志页面及 CAD 状态管理模块。 2026-03-02 16:34:57 +08:00
b53f9d37e5 feat: 实现批量任务管理页面,包含任务创建向导、任务列表、状态展示、报告日志查看器及Revit模型查看器,并新增CAD数据存储。 2026-03-02 16:34:37 +08:00
a837baef95 feat: 新增通用转换器组件,支持STP转GLTF、IFC转STP及IFC批量转STP功能,并添加批量任务管理器和相关文档。 2026-03-01 19:32:25 +08:00
ce85d70758 feat: introduce UniversalConverter组件,支持STP转GLTF和IFC转STP文件转换功能。 2026-02-28 19:51:24 +08:00
3cdb7298e6 feat: 新增PDMS模型简化、分析仪表盘和收缩包裹功能页面。 2026-02-28 17:30:17 +08:00
090cf8b3cb feat: add ReportLogViewer and UniversalConverter components for displaying analysis reports and handling universal conversions. 2026-02-28 14:14:13 +08:00
0073eb3a6f feat: 新增PDMS模型导出工具页面及相关配置与API服务。 2026-02-28 13:44:47 +08:00
3315486514 feat: 新增 CAD 侧边栏,支持 Creo、Revit 和 PDMS 软件连接与模型管理功能。 2026-02-28 10:38:45 +08:00
1e4cdc55b7 revit open model 2026-02-28 08:11:04 +08:00
b7e98af8ba feat: 更新批处理模型路径输入功能,增加模型路径管理和验证 2026-02-27 16:48:59 +08:00
3417462710 feat: 添加 cad.js 文件,用于集中管理CAD软件和API配置。 2026-02-27 15:20:59 +08:00
1b02c46e19 feat: add MultiAlgorithmFusion, PdmsExportTools, and ReportLogViewer components
- Implemented MultiAlgorithmFusion.vue for multi-algorithm weight analysis and result fusion.
- Created PdmsExportTools.vue for exporting PDMS models in various formats with configurable options.
- Developed ReportLogViewer.vue to display analysis reports and execution logs with detailed views and export functionality.
2026-02-27 13:12:25 +08:00
863d717638 feat: Add management module design documentation for model viewing, analysis, and batch processing
- Implemented detailed design documents for model viewing and 3D interaction, including features like model loading, basic interactions, and performance metrics.
- Added documentation for model statistics, focusing on structured output during the viewing process, including part counts and assembly hierarchy.
- Developed design notes for multi-visualization of model analysis results, covering classification statistics, feature analysis, and report export capabilities.
- Introduced batch processing functionality documentation, detailing task creation, scheduling, and historical tracking.
- Created logs generation documentation for operation execution, emphasizing traceability and auditability of actions taken.
- Compiled a list of undeveloped features based on current project progress, outlining requirements and technical specifications for future implementation.
2026-02-26 18:03:13 +08:00
721ea10c66 feat: 新增PDMS模型轻量化处理页面。 2026-02-23 17:52:58 +08:00
d70a881bd3 feat: 新增PDMS模型轻量化处理功能及相关分析工具页面和配置。 2026-02-23 17:22:41 +08:00
29904d4479 feat: 添加Revit模型轻量化处理功能,包括专用界面、API服务和分析仪表盘。 2026-02-23 17:10:27 +08:00
fd4c9fefa1 feat: 实现CAD文件管理页面,包含文件列表、搜索、下载、重命名和配置功能 2026-02-04 16:13:58 +08:00
3137928d0d feat: 实现文件管理页面及其配套的 WebSocket 服务。 2026-02-04 15:18:21 +08:00
ec7c5a1e23 feat: 实现初始应用结构,包含主导航、仪表盘、文件管理页面和WebSocket服务。 2026-02-04 11:37:44 +08:00
3f42c0c675 几何优化分析优化和解决图标不显示 2026-01-05 12:09:19 +08:00
b177cd1396 改为win7可以打包的exe 2025-12-22 10:18:21 +08:00
c53d92262a 增加了tauri的打包方式 2025-12-22 09:52:00 +08:00
642c9a3891 feat: add geometric optimization support for selected subassembly 2025-12-08 14:00:44 +08:00
04532fd42a feat: support fetching hierarchy stats for subassemblies 2025-12-08 13:37:24 +08:00
45add06fa9 feat: implement subassembly hierarchy deletion logic 2025-12-08 11:58:07 +08:00
35afdef50f fix: resolve scrolling issue in Hierarchy Analysis Result page by using flex layout 2025-12-08 11:18:44 +08:00
f44244fec8 refactor: 使用KeepAlive和动态组件重构页面切换逻辑
## 问题修复
- 修复点击标签按钮出现竖向滚动条的问题
- 修复滚动到底部会显示多个页面内容堆叠的问题
- 修复条件渲染链条被v-show打断导致的逻辑错误

## 主要改动

### 1. MainLayout.vue
- 移除work-content的overflow-y: auto和padding
- 改为overflow: hidden,让各页面组件自己控制滚动

### 2. 创建独立页面组件 (7个新文件)
- WelcomePage.vue - 欢迎首页
- ConnectionPage.vue - CAD连接页面
- SettingsPage.vue - 配置管理页面
- MonitoringPage.vue - 状态监控页面
- ModelViewerPage.vue - 模型查看器页面容器
- AnalysisToolsPage.vue - 分析工具页面容器
- ExportToolsPage.vue - 导出工具页面容器

### 3. DashboardView.vue 重构
- 使用<component :is>动态组件替代大量v-if/v-else
- 使用<KeepAlive :include="['ModelGalleryPage']">缓存模型库状态
- 创建pageComponentMap组件映射表
- 创建currentComponent和currentComponentProps计算属性
- 统一事件传递机制,简化代码结构

### 4. 其他修改
- 修复ModelGalleryPage.vue的ESLint unused variable错误
- 新增ModelTreeNode.vue组件(用于模型结构树显示)

## 技术亮点
- 使用Vue 3 KeepAlive保持模型库页面的3D模型状态
- 动态组件实现清晰的页面切换逻辑
- 组件化设计,每个页面独立管理样式和逻辑
- 符合Vue官方最佳实践

## 效果
-  页面切换无滚动条
-  不会出现多个页面内容堆叠
-  模型库的3D模型状态在切换页面后保持不变
-  代码结构更清晰,易于维护和扩展

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 14:55:47 +08:00
5ba9231473 feat: 模型库页面添加拖拽打开模型功能并优化提示文字显示
- 添加拖拽文件到界面打开模型功能
- 添加拖拽时的视觉反馈效果(蓝色虚线边框和背景高亮)
- 重构文件加载逻辑,提取loadModelFiles函数复用代码
- 支持拖拽和点击两种方式打开模型文件
- 优化空状态提示文字颜色,从次要文字色改为主文字色,提升可读性
- 添加文件格式验证,只加载支持的3D模型格式

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 14:33:35 +08:00
a8cf0d1329 fix: 修复模型分析页面显示逻辑错误
- 修复PDMS连接时错误显示PdmsModelViewer(模型查看器)的问题,改为显示"PDMS分析功能开发中"提示
- 修复未连接CAD时错误显示CreoModelAnalysis的问题,改为显示"请先连接CAD软件"提示
- 移除首页项目描述文字段落及对应CSS样式
- 统一各分析结果页面的条件渲染指令(v-else-if改为v-if)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 10:04:16 +08:00
6141986249 feat: 添加模型库页面和导航按钮
- 在页面配置中新增MODEL_GALLERY页面类型
- 创建ModelGalleryPage空白页面组件,使用标准结构和CSS变量系统
- 在头部导航栏"导出"按钮旁添加"模型库"按钮
- 在DashboardView中集成新页面
- 模型库页面不需要CAD连接即可访问

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 16:20:51 +08:00
2c2002d261 refactor: 全面优化编码规范并修复连接状态检查
## 主要改进

### 🎨 编码规范统一化
- 消除硬编码颜色值,统一使用CSS变量系统
- 替换所有rgba硬编码为预定义的主题变量
- 统一通知duration配置,从配置文件读取

### 🐛 连接状态检查修复
- 修复Creo模型分析页面未检查连接状态的bug
- 添加checkCreoConnection()函数验证连接状态
- 未连接时显示友好的警告提示

### 📝 调试输出管理
- 创建统一Logger工具类管理所有console输出
- 替换apiClient.js和websocketService.js中的console调用
- 实现开发/生产环境的日志级别控制

### 🔧 配置管理优化
- 修复组件中硬编码的duration值
- 新增SUCCESS_LONG_DURATION配置项
- 确保所有配置统一从config/cad.js读取

### 📚 开发文档
- 更新CSS_THEME_GUIDE.md主题使用指南
- 添加统一Logger工具类文档

## 技术细节
- 影响文件: 24个核心文件
- 新增工具: src/utils/logger.js
- 配置优化: 通知时长统一管理
- 主题变量: 完全消除硬编码颜色值

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 10:30:06 +08:00
c0892dcfc8 fix: 修复Creo模型查看器中零件数量和文件数量显示问题
- 恢复零件数量显示为原始值,不再减1
- 修复文件大小显示中的文件数量,自动将"(from N files)"中的数量减1
- 添加formattedFileSize计算属性处理文件大小格式化逻辑

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 17:27:05 +08:00
3601d8a2a1 fix: 修复层级删除和模型信息显示数值问题
- 层级删除loading显示的层级编号现在从1开始,与层级统计页面保持一致
- 修复Creo模型查看器中零件数量显示,现在显示正确的文件数量

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 17:07:51 +08:00
3c2aab553b feat: 实现层级分析动态树形展开和子组件加载功能
主要功能:
• 实现层级分析初始请求使用target_level=0获取顶层模型
• 新增getChildrenComponents API方法支持动态加载子组件
• 重构层级分析结果页面使用响应式数组直接管理组件数据
• 实现点击展开按钮动态加载并插入子组件到正确位置
• 修复子组件层级计算逻辑,确保父组件level+1
• 修复组件选择使用路径作为唯一标识,避免多选问题
• 优化界面显示,移除文件大小列,调整总组件数显示
• 添加componentChildren端点配置支持子组件查询

技术改进:
• 从computed改为ref数组提升响应性能
• 使用component.path作为唯一标识解决ID重复问题
• 简化树形视图逻辑,移除复杂的展开状态管理
• 优化API参数处理,支持可选componentId参数

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 13:15:09 +08:00
8bbbcb5383 fix: 修复build后刷新页面空白问题
- 将Vue Router改为Hash模式,解决SPA路由在简单HTTP服务器下的兼容性问题
- 设置Vite base为相对路径,支持任意目录部署
- 确保dist文件夹可直接用于演示和分发

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 11:07:31 +08:00
4f1666e7d2 feat: 添加层级分析结果页面删除选中组件功能
- 在HierarchyAnalysisResult组件中集成删除选中组件功能
- 复用现有的creoApi.deleteComponentsByPath API
- 遵循系统钩子机制,通知由apiClient自动处理
- 添加删除按钮到底部操作区域,使用现有action-btn样式
- 实现选中状态清理和用户确认对话框

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 09:14:11 +08:00
ad1d4fe2a1 feat: 信息面板增加日志导出JSON功能
- 在操作日志页面添加导出按钮
- 实现exportLogs方法,导出所有过滤后的日志
- 导出文件包含导出时间、筛选条件和完整日志数据
- 文件名使用时间戳格式:logs_export_YYYY-MM-DD.json

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 08:58:31 +08:00
c1cb907ab4 fix: 修复层级分析树形视图显示问题
- 修复父子关系判断逻辑,支持parent_id和path推断
- 改用路径优先排序,确保子组件紧跟父组件显示
- 添加多层级展开检查,确保所有祖先节点展开才显示
- 添加缩进显示层级关系

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 08:54:24 +08:00
fe2276259d fix: 修复智能薄壳分析体积减少值显示问题
将volumeReduction字段直接显示,保留6位小数精度

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 15:41:31 +08:00
68ad6acc61 refactor: 优化层级分析API一次性加载所有数据
- 移除startHierarchyAnalysis的target_level参数
- 去掉懒加载机制,一次性获取所有层级数据
- 保留树形视图展开/收缩功能仅用于UI控制
- 清理不必要的懒加载相关代码

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 13:32:21 +08:00
8a180e735c fix: 修改层级分析结果展示页面显示组件ID而非名称
将树形视图中的组件显示从name改为id,便于精确识别组件

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 12:22:21 +08:00
211f2a34e5 fix: 修复智能薄壳分析和几何复杂度分析删除后列表不清理问题
智能薄壳分析修复:
- 添加deletedParts响应式变量跟踪已删除零件
- 在filteredParts中过滤掉已删除零件
- 删除成功后将零件ID添加到删除集合

几何复杂度分析修复:
- 添加deletedParts跟踪机制
- 使用uniqueId替代基于索引的ID管理,避免删除后ID错乱
- 在partsData中过滤已删除零件,确保统计数据实时更新
- 修复全选和删除逻辑使用新的ID系统

现在两个页面删除后零件都会从列表中消失,统计数据同步更新

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 13:39:09 +08:00
cf1c92bf0d fix: 修复智能薄壳分析全选功能ID重复导致的选择数量不匹配问题
- 重构零件数据合并逻辑,抽取addUniqueIdAndCategory函数遵循DRY原则
- 为每个零件生成唯一ID,保留原始ID作为originalId字段
- 解决不同类别零件ID重复导致Set去重的问题
- 现在全选功能能正确选择所有筛选类别的零件

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 11:58:11 +08:00