# QueryDatames **Repository Path**: xiaohaner009/query-datames ## Basic Information - **Project Name**: QueryDatames - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-29 - **Last Updated**: 2026-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 数据查询 - Vue3 + Element Plus 按 Lotno、时间范围、站位查询接口数据,表格展示,支持导出 Excel。 ## 运行 ```bash npm install npm run dev ``` 访问 http://localhost:5173 ## 接入真实接口 1. 修改 `src/api/query.js`: - `USE_MOCK = false` - `API_BASE` 改为你的接口基础路径 2. 接口需支持 GET,参数:`lotno`、`startTime`、`endTime`、`station` 3. 返回格式:JSON 数组,或 `{ data: [] }` / `{ list: [] }` ## 代理配置 开发时可在 `vite.config.js` 的 `server.proxy` 中配置 `/api` 代理到后端服务。