Files
MemRelay/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/CapacityReport 数据表字段搜索实现.md
T

1001 B

title, type, permalink, stable_id, scope, project_id, memory_type, status, revision, restored_from_commit, created_at, updated_at, tags
title type permalink stable_id scope project_id memory_type status revision restored_from_commit created_at updated_at tags
CapacityReport 数据表字段搜索实现 experience main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/capacity-report-数据表字段搜索实现 6d022bb5-053d-45b0-b091-0ca110358827 project d5a7f581-c442-4554-87b9-ee723b8b0258 experience active 1 6a6a895eaf 2026-09-23T15:08:29.507077+00:00 2026-09-23T15:08:29.507129+00:00
CapacityReport
database
search
frontend

CapacityReport 的 DatabasePanel.vue 可直接复用 POST /api/database/table/query 实现字段关键字搜索。前端维护草稿字段/关键字与已应用筛选两组状态,提交搜索时回到第 1 页,分页、刷新、编辑和删除后的重载继续携带已应用 filters,清除时恢复完整数据。后端直连 MySQL 和 MetrixWarehouse 均使用 LIKE %keyword% 并返回筛选后的 total,无需新增接口或依赖。