Repository navigation
feat: add frontend for business API integration - #4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
为后端联调提供按 v0.3 原型实现的 Nuxt/Vue 前端,连接真实经营状态、方案比较与确认、采购/到货、暂停恢复、警报、账本和简报。采购确认保留版本、hash 和幂等键,支持丢响应后的原请求恢复。
后端仅新增可选的普通用户方案修订入口,复用既有 Agent 规划逻辑;不改变算法、审批、资金或执行规则,不新增迁移。未接该接口的后端仍支持推荐方案确认和拒绝。
包含运行配套的 macOS 开发脚本、SQLAlchemy asyncio 依赖修复、非 Windows 测试循环适配和锁文件。真实凭证、个人 Agent 规则及临时测试产物未提交。
验证
交接边界
本轮用于基础联调。真实模型仍关闭,报价/整理要求仅在浏览器本地处理,不代表 A-01/L-01 完整产品验收。少买 20 后再次推荐补足的既有后端行为如实保留,留后端同学确认。接入步骤与差异见 frontend/README.md。
Windows 兼容性补验
GitHub Windows runner 已通过锁定依赖安装、前端契约/类型/生产构建、Windows SelectorEventLoop 与异步数据库依赖导入、基础业务/API测试:Windows 验证记录。
macOS本机脚本为可选入口,不进入Windows默认启动链;Windows同学沿用原有PowerShell/Docker说明。此次不宣称完成Windows数据库/模拟器/浏览器全链联调。