chengkai3
|
06c23e5ff0
|
[fix]:[FL-152][补齐角色管理页面一致性细节]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-20 02:17:21 +08:00 |
|
chengkai3
|
2c1a4cd361
|
[feat]:[FL-152][角色管理页面一致性优化]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-20 01:04:52 +08:00 |
|
chengkai3
|
763a7814e1
|
[fix]:[FL-151][菜单管理页面一致性优化]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-20 00:52:07 +08:00 |
|
chengkai3
|
fcc8dfc01e
|
feat:[FL-122][杆塔模型管理页面对齐用户管理页面风格样式交互]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 23:27:00 +08:00 |
|
chengkai3
|
4834a567a8
|
[feat]:[FL-120][角色管理页面对齐用户管理分页交互]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 23:26:20 +08:00 |
|
chengkai3
|
455b7c54bb
|
[feat]:[FL-118][菜单管理页对齐用户管理页规范]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 23:18:45 +08:00 |
|
chengkai3
|
22ef1f0055
|
[fix]:[FL-125][系统参数管理页面继续对齐用户管理页面交互与移动端样式]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 23:13:00 +08:00 |
|
chengkai3
|
0a776c1cf8
|
fix:[FL-119][菜单管理状态切换接口统一]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 23:06:15 +08:00 |
|
chengkai3
|
8084561d10
|
[fix]:[FL-210][修复系统消息菜单类型错误]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 22:41:19 +08:00 |
|
chengkai3
|
1309251017
|
[fix]:[FL-89][杆塔模型管理页面:统一初始化加载状态展示]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:15:32 +08:00 |
|
chengkai3
|
cb87f3832b
|
[feat]:[FL-108][系统日志页面:实现关键词防抖搜索,对齐用户管理页面交互]
实现系统日志页面的防抖搜索功能,提升交互体验与用户管理页面保持一致
改动内容:
- 添加 actionDebounceTimeoutRef 和 userIdDebounceTimeoutRef 用于防抖管理
- 新增 handleActionChange 和 handleUserIdChange 处理器,实现500ms防抖逻辑
- 输入框变化时自动重置 offset、cardViewPage 和 allLoadedLogs
- 添加 useEffect 清理函数,组件卸载时清理 timeout
- 更新表格和卡片视图的 Input onChange 使用新的防抖处理器
- 保留"查询"和"重置筛选"按钮作为快捷操作
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:14:53 +08:00 |
|
chengkai3
|
7772ac163c
|
[feat]:[FL-99][ATP模型管理页面搜索表单布局与交互优化]
- 实现实时搜索(debounce 500ms),移除搜索和重置按钮
- 添加 keywordDebounceTimeoutRef 管理防抖定时器
- 添加 handleKeywordChange 处理输入变化并触发防抖
- 添加 cleanup effect 防止内存泄漏
- 与用户管理页面交互模式保持一致
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:13:34 +08:00 |
|
chengkai3
|
58bb284a09
|
[feat]:[FL-98][杆塔模型管理页面:实现卡片视图的无限滚动加载]
- 添加 Spin 组件导入用于加载提示
- 新增状态变量: cardViewPage, allLoadedModels, isLoadingMore
- 添加 pageCardRef 引用到主 Card 组件
- 实现累积加载逻辑: 监听数据变化并累积已加载模型
- 实现滚动监听: 滚动到底部时自动加载下一页
- 卡片视图使用 allLoadedModels 替代 pagedItems
- 添加加载状态指示器: 加载更多时显示 Spin,全部加载完成时显示提示
- 移除卡片视图下的 Pagination 组件,仅在列表视图显示
- 添加筛选条件变化时重置卡片视图状态的逻辑
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:13:10 +08:00 |
|
chengkai3
|
e60b303ba9
|
[feat]:[FL-93][菜单管理页面添加分页状态管理]
- 新增 pagination 状态管理当前页和每页条数
- loadMenus 函数添加 limit 和 offset 参数到 API 请求
- 更新表格分页配置使用状态值并添加 onChange 回调
- 筛选条件变化时重置分页到第一页
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:12:43 +08:00 |
|
chengkai3
|
2b1aef77ab
|
feat:[FL-95][角色管理页面对齐用户管理页面风格样式交互]
主要改动:
1. 数据管理:迁移到 React Query(useQuery/useMutation),替换手动的 useState + fetchWithAuth
2. 错误和成功提示:添加 success 状态,useToastFeedback 同时处理成功和错误消息
3. 卡片视图:实现无限滚动加载,替换分页模式
4. 表单布局:卡片视图时使用 vertical 布局,去掉"关键词"标签和"搜索"按钮
5. 关键词搜索:实现 500ms 防抖自动搜索,无需手动点击
6. 卡片样式:添加 admin-roles-role-card 和 admin-roles-role-card-field CSS 类
7. Modal 标题:包含角色名称和编码,如"编辑角色:运营管理员(admin.operator)"
8. 按钮样式:与用户管理页面保持一致
技术细节:
- 使用 @tanstack/react-query 管理数据状态和缓存
- 卡片视图累积已加载数据,滚动到底部自动加载更多
- 防抖搜索避免频繁请求
- 统一的成功/错误反馈机制
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:12:15 +08:00 |
|
chengkai3
|
1d180f5040
|
[fix]:[FL-101][系统参数管理页面对齐用户管理页面风格样式交互]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:11:52 +08:00 |
|
chengkai3
|
ee62b12393
|
feat:[FL-94][ATP模型管理页面添加Dropdown组件支持]
- 添加 Dropdown、MenuProps 和 MoreOutlined 导入
- 更新操作列宽度从 200px 到 240px
- 引入 rowBusy 状态管理
- 添加空的 moreMenuItems 菜单项数组(预留扩展)
- 操作列和卡片视图同步添加条件渲染的 Dropdown 按钮
- 对齐用户管理页面的交互模式
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:10:08 +08:00 |
|
chengkai3
|
f3843df6c5
|
[feat]:[FL-82][菜单管理页面添加防抖定时器清理逻辑]
在组件卸载时清理防抖定时器,防止内存泄漏。
改动说明:
- 添加 useEffect 清理函数,在组件卸载时清除 keywordDebounceTimeoutRef
备注:
菜单管理页面的防抖搜索功能已在之前的提交中实现(FL-85),本次补充缺失的清理逻辑,使其与用户管理页面完全一致。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:09:08 +08:00 |
|
chengkai3
|
c16b1d9fc1
|
[feat]:[FL-85][菜单管理页面卡片视图添加无限滚动加载功能]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:07:17 +08:00 |
|
chengkai3
|
810674b389
|
fix:[FL-87][杆塔模型管理页面:统一未授权页面展示样式]
将杆塔模型管理页面的未授权和未登录展示从 Ant Design Card 组件改为语义化 HTML 结构,与用户管理页面保持一致。
- 替换 Card/Space/Button/Typography 组件为 <main> 容器和原生 HTML 元素
- 使用与用户管理页面完全相同的 CSS 类和布局结构
- 保持居中布局和响应式效果一致
- 提升页面状态展示的用户体验统一性
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:06:54 +08:00 |
|
chengkai3
|
18eb053ff1
|
fix:[FL-81][菜单管理页面卡片视图搜索表单布局不符合用户管理页面规范]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:06:20 +08:00 |
|
chengkai3
|
c48a1f9bcb
|
fix:[FL-83][杆塔模型管理页面:统一页面容器结构]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:06:07 +08:00 |
|
chengkai3
|
81e56893da
|
fix:[FL-84][ATP模型管理页面缺少Modal组件导入]
在 web/src/app/admin/atp-models/page.tsx 的 antd 导入中添加 Modal 组件。
变更:
- 在第13行添加 Modal 导入,保持与 users/page.tsx 一致的导入风格
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:05:40 +08:00 |
|
chengkai3
|
aeabdab275
|
[fix]:[FL-86][ATP模型管理页面缺少Empty组件导入]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:05:05 +08:00 |
|
chengkai3
|
3a03cf54ed
|
fix:[FL-88][菜单管理页面卡片删除按钮引用未定义函数导致运行时错误]
- 修复删除按钮 onClick 引用未定义的 requestDeleteMenu 函数
- 改为使用 Modal.confirm 进行二次确认,与用户管理页面保持一致
- 移除 loading 属性,确认对话框内的按钮会显示 loading
- 确认后调用正确的 removeMenu 函数
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 17:03:55 +08:00 |
|
chengkai3
|
7614f134b5
|
feat:[FL-70][ATP模型管理页面:添加移动端响应式支持(卡片视图)]
- 引入useMobileDetection hook检测移动设备
- 实现卡片布局,包含模型名称、编码、业务维度、版本信息和操作按钮
- 添加视图切换逻辑,移动端自动使用卡片视图
- 新增CSS样式支持卡片视图和暗色模式
- 与用户管理页面保持一致的移动端体验
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:45:51 +08:00 |
|
chengkai3
|
c4b2794119
|
fix:[FL-66][杆塔模型管理页面:表格滚动高度计算逻辑不一致]
对齐杆塔模型管理页面的表格滚动高度计算逻辑,使其与用户管理页面保持一致。
主要改动:
1. 重命名常量:TOWER_MODEL_VIEWPORT_BOTTOM_GAP → TOWER_MODEL_VIEWPORT_GAP
2. 新增常量:TOWER_MODEL_FALLBACK_RESERVE (220)
3. 移除常量:TOWER_MODEL_MAX_GROW_STEP(不再需要)
4. 重构 updateTableScrollY 函数,采用用户管理页面的精确计算逻辑:
- 基于 anchor 元素的 top 位置计算
- 考虑 table wrapper 和 table body 的高度差
- 使用 FALLBACK_RESERVE 和 VIEWPORT_GAP 进行精确计算
5. 将 useLayoutEffect 改为 useEffect,并使用 requestAnimationFrame
6. 移除对 paginationRef 的依赖,计算逻辑不再依赖分页元素
7. 清理未使用的 useLayoutEffect import
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:45:19 +08:00 |
|
chengkai3
|
7814318d13
|
fix:[FL-40][系统参数管理页面Card样式属性配置不规范]
移除系统参数管理页面 Card 组件的内联 style={{ height: '100%' }} 配置,
使其与用户管理页面保持一致的配置规范。
- 移除 Card 组件的 style 属性
- 保持组件配置简洁性
- 确保布局行为与用户管理页面一致
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:44:39 +08:00 |
|
chengkai3
|
31e701d3c7
|
[fix]:[FL-62][杆塔模型管理页面:空状态提示文案不一致]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:44:11 +08:00 |
|
chengkai3
|
4fb7846ee2
|
[feat]:[FL-64][系统日志页面:添加移动端响应式卡片视图]
- 导入 useMobileDetection hook 进行设备检测
- 添加 viewMode 状态,根据设备自动切换表格/卡片视图
- 实现 renderLogCard 函数,渲染日志卡片组件
- 添加卡片视图的无限滚动加载支持
- 实现响应式筛选表单(移动端纵向,桌面端横向)
- 在 globals.css 添加卡片视图样式和暗色主题支持
- 修复 system-messages 页面的 git merge 冲突
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:43:36 +08:00 |
|
chengkai3
|
a83ce7013b
|
fix:[FL-68][杆塔模型管理页面:表格列宽度未设置固定布局]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:42:37 +08:00 |
|
chengkai3
|
87d0c2f956
|
[feat]:[FL-37][系统参数管理页面添加Dropdown更多操作菜单]
- 在表格操作列添加Dropdown更多菜单,包含"复制参数键"功能
- 在移动端卡片视图的更多菜单中也添加"复制参数键"功能
- 统一操作列交互模式,与用户管理页面保持一致
- 将操作列宽度从150px调整为180px以容纳新增的Dropdown按钮
- 所有操作按钮根据rowBusy状态统一控制禁用,确保交互一致性
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:40:46 +08:00 |
|
chengkai3
|
4872a6e13d
|
[fix]:[FL-71][统一Card组件导入来源]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:40:24 +08:00 |
|
chengkai3
|
cfa6a1337e
|
[fix]:[FL-45][杆塔模型管理页面:缺少Card组件包装]
- 移除自定义Card导入,改用Ant Design原生Card
- 添加类型转换:const AntCard = Card as unknown as ComponentType<CardProps>
- 主Card组件改用AntCard并添加className="admin-tower-models-page-card"
- 保留内部Card组件(卡片视图内的小卡片)继续使用Card
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:39:39 +08:00 |
|
chengkai3
|
59d3bf2e18
|
[fix]:[FL-72][统一外层容器className规范]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:37:51 +08:00 |
|
chengkai3
|
5c80337ec1
|
fix:[FL-79][统一表格操作列为Button组件而非Typography.Link]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:36:05 +08:00 |
|
chengkai3
|
35ec198d7e
|
feat:[FL-76][统一搜索交互为防抖自动触发模式]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:35:46 +08:00 |
|
chengkai3
|
d9134ab8e7
|
[fix]:[FL-67][系统消息页面:统一Card组件高度样式]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:34:31 +08:00 |
|
chengkai3
|
9f741baf27
|
[fix]:[FL-73][统一Card组件属性配置规范]
为高程数据管理页面的主Card组件添加标准属性:
- 添加 ref={pageCardRef}
- 添加 className="admin-elevation-page-card"
- 移除内联 style={{ height: '100%' }}
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:34:00 +08:00 |
|
chengkai3
|
97e9800ca7
|
[fix]:[FL-75][统一筛选表单样式控制方式]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:33:30 +08:00 |
|
chengkai3
|
9e8e069705
|
fix:[FL-77][移除独立的重置筛选按钮]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:33:06 +08:00 |
|
chengkai3
|
9eb0a909ed
|
feat:[FL-47][系统消息页面:添加移动端响应式卡片视图]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:12:16 +08:00 |
|
chengkai3
|
800cbf4d75
|
fix:[FL-60][ATP模型管理页面:统一Table列定义和操作按钮样式]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:10:07 +08:00 |
|
chengkai3
|
af8a928978
|
[feat]:[FL-30][系统参数管理页面添加移动端响应式卡片视图]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:08:16 +08:00 |
|
chengkai3
|
bf91ebf09f
|
fix:[FL-50][ATP模型管理页面:修复Card布局和样式不一致问题]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:07:47 +08:00 |
|
chengkai3
|
76bd5c8221
|
fix:[FL-25][菜单管理页面:修复移动端卡片视图缺失]
- 将 viewMode 从 state 改为直接根据 isMobile 计算
- 移除不必要的 useEffect 监听
- 实现条件渲染:移动端显示卡片视图,桌面端显示表格视图
- 实现移动端垂直布局搜索表单,桌面端水平布局
- 调整卡片样式,使用响应式网格布局(xs=24, sm=24, md=12, lg=8, xl=6)
- 移除 renderMenuCard 中的 marginBottom,改用网格间距
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:07:31 +08:00 |
|
chengkai3
|
75748925c7
|
feat:[FL-51][系统消息页面:实现动态表格高度自适应]
- 添加 MESSAGES_TABLE_MIN_SCROLL_Y、MESSAGES_TABLE_VIEWPORT_GAP、MESSAGES_TABLE_FALLBACK_RESERVE 常量
- 添加 tableScrollY 状态和 tableScrollAnchorRef 引用
- 实现 updateTableScrollY 函数,动态计算表格滚动高度
- 添加 useEffect 监听窗口 resize 事件
- 添加 useEffect 监听表格容器 ResizeObserver
- 添加 useEffect 监听依赖项变化(消息数量、加载状态、过滤条件)
- 在 Table 组件应用 scroll={{ y: tableScrollY }}
- 外层 div 使用 ref 和 CSS 变量
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:07:19 +08:00 |
|
chengkai3
|
5e191741a6
|
feat:[FL-49][杆塔模型管理页面添加移动端自适应视图模式]
- 导入 useMobileDetection hook
- 根据设备类型自动选择默认视图模式(移动端默认卡片视图,桌面端默认列表视图)
- 移动端隐藏视图切换控件
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:06:41 +08:00 |
|
chengkai3
|
b5b6124261
|
[fix]:[FL-54][ATP模型管理页面:统一搜索表单布局和间距]
将ATP模型管理页面的搜索表单布局统一为与用户管理页面一致的样式:
- 将关键词输入框从 className="min-w-[240px]" 改为 style={{ width: 260 }}
- 保持 Form 的 layout="inline" 和 style={{ rowGap: 12 }} 配置
- 确保表单与表格的间距(mt-4)保持一致
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 16:06:10 +08:00 |
|
chengkai3
|
b50850219f
|
fix:[FL-36][系统参数管理页面模态框Footer配置方式不规范]
移除自定义footer,使用标准Modal props配置:
- 使用okText和cancelText配置按钮文本
- 使用confirmLoading自动显示加载状态
- 使用onOk触发表单提交
- 移除footer中的"重置"按钮
- 与用户管理页面保持一致的交互体验
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-19 15:57:55 +08:00 |
|