|
|
hai 16 horas | |
|---|---|---|
| public | hai 16 horas | |
| src | hai 16 horas | |
| .editorconfig | hai 2 meses | |
| .env.development | hai 1 mes | |
| .env.production | hai 1 mes | |
| .eslintignore | hai 2 meses | |
| .eslintrc.js | hai 2 meses | |
| .gitignore | hai 16 horas | |
| .prettierrc.cjs | hai 2 meses | |
| CLAUDE.md | hai 1 mes | |
| README.md | hai 16 horas | |
| agents.md | hai 2 meses | |
| index.html | hai 1 mes | |
| jest.config.js | hai 2 meses | |
| package-lock.json | hai 1 mes | |
| package.json | hai 16 horas | |
| tsconfig.json | hai 16 horas | |
| tsconfig.node.json | hai 2 meses | |
| vite.config.ts | hai 16 horas |
企业政策匹配与办事咨询的前端。Vue 3 + TypeScript + Vite。
用户提问后,对话走 POST /api/chat(SSE)。src/components/api-chat-coordinator.ts 把事件翻译成内容标记,再交给消息组件渲染正文、政策卡片、参考资料和补问。
npm install
npm run dev
npm run build
npm run preview
部署后的接口与栏目配置在 public/config.js,可直接修改,不必重新打包。
src/components/BusinessAssistantPC.vue、BusinessAssistantMobile.vue:页面主壳src/components/api-chat-coordinator.ts:聊天协议适配src/components/Chat/:回答渲染src/asr/:语音识别public/merchant-agent/:惠企政策库