6 Commits

Author SHA1 Message Date
Misaka_Company
ca8aa782da feat: add column visibility toggle with localStorage persistence
Add a "列设置" dropdown next to the results header that lets users
check/uncheck columns to show or hide them. Preferences persist across
page refreshes via localStorage. Also add allowedDevOrigins to
next.config.ts for LAN access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-04 10:31:58 +08:00
Misaka_Company
7d6de48df3 chore: add env example and fix default sort order
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-04 09:53:50 +08:00
Misaka_Company
086ad62614 feat: implement warehouse query dashboard with live SQL Server data
Convert the Demo UI component into a working Next.js TypeScript page
that fetches live data from the API routes with debounced search,
loading/error states, server-side filtering, sorting, and pagination.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-04 09:47:55 +08:00
Misaka_Company
425fbbea28 feat: add main warehouse query API with server-side filtering
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-04 09:40:47 +08:00
Misaka_Company
baa339025a feat: add filter options API endpoint
Add GET /api/warehouse/filters endpoint that returns distinct workshop
codes/names and handler names from both pressure gauge and thermometer
contract tables, filtering out noise values from the workshop column.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-04 09:39:59 +08:00
Misaka_Company
9c64dd557b Initial commit from Create Next App 2026-06-03 15:38:19 +08:00