chore: 导入旧记忆备份供恢复

This commit is contained in:
2026-09-23 22:38:40 +08:00
parent 5313fcee7a
commit 6a6a895eaf
638 changed files with 29816 additions and 1 deletions
@@ -0,0 +1,22 @@
---
title: CapacityReport 数据表字段搜索实现
type: experience
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/capacity-report-数据表字段搜索实现
stable_id: 6d022bb5-053d-45b0-b091-0ca110358827
scope: project
memory_type: experience
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
usage_profile_id: 7aee455b-24cc-4008-bdaf-443721e6f939
status: active
revision: 1
request_id: cap-search-experience-20260826-001
created_at: '2026-08-26T08:29:22.851080+00:00'
updated_at: '2026-08-26T08:29:22.851080+00:00'
tags:
- CapacityReport
- database
- search
- frontend
---
CapacityReport 的 DatabasePanel.vue 可直接复用 POST /api/database/table/query 实现字段关键字搜索。前端维护草稿字段/关键字与已应用筛选两组状态,提交搜索时回到第 1 页,分页、刷新、编辑和删除后的重载继续携带已应用 filters,清除时恢复完整数据。后端直连 MySQL 和 MetrixWarehouse 均使用 LIKE %keyword% 并返回筛选后的 total,无需新增接口或依赖。