Files
ai-kefu-admin/admin
浅念 ce668eaf2f feat: 会话与线索(列表/筛选/租户切换/详情消息流/推送日志/删除)
- 会话列表页签:分页表格 + 筛选(意向三值/站点精确/日期区间 daterange,
  筛选变化重置第一页)+ 行操作(详情抽屉/删除确认框,级联消息画像评估
  推送日志,末页删空自动回退一页)
- 租户切换器:超管专用(fetchTenantList 下拉,默认第一个,切换联动双页签
  并关抽屉);租户管理员固定登录态 tenant_slug,无切换器只有标签
- 详情抽屉:元数据(状态/来源/站点/IP 归国/session/设备)+ 画像 chips
  (ElTag 键值)+ 评估块(意向/理由/联系方式/更正次数)+ 消息流气泡
  (user 右 assistant 左,时间直显库内 naive UTC 不换算,与筛选同口径)
- 推送日志页签(列表平行):状态筛选(pending/success/failed/skipped)
  + 分页表格(类型/状态/尝试/outcome/HTTP/payload 大小/会话/错误)——
  列表接口不回大 payload,仅服务端 payload_size
- api/conversations.ts 实装调用函数并按 data_routes.py 实际响应修正类型
  (IntentLevel 三值/messages.time/详情扁平 evaluation+profile 块/
  PushLogItem 全字段),新增枚举中文映射(intentLabel 等,未知值回退原样)
- vitest +9(conversations API 契约:URL/参数/白名单/映射),总 45;
  后端不动(pytest 577 基线复核)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-13 17:31:12 +08:00
..


Art Design Pro

A backend system template that combines design aesthetics with efficient development, helping you quickly build professional-grade applications

English | 简体中文

license github stars github forks


What makes this project special?

Interface Design: Modern UI design with smooth interactions, focusing on user experience and visual design

Quick Start: Clean architecture + comprehensive documentation, easy for backend developers to use

Rich Components: Built-in high-quality components for data display, forms, and more to meet different business scenarios

Smooth Interactions: Button clicks, theme switching, page transitions, chart animations - experience comparable to commercial products

Efficient Development: Built-in practical APIs like useTable and ArtForm to significantly improve development efficiency

Clean Scripts: Built-in one-click cleanup script to quickly remove demo data and get a ready-to-develop base project

Tech Stack

Development Framework: Vue3, TypeScript, Vite, Element-Plus, Tailwind CSS

Code Standards: Eslint, Prettier, Stylelint, Husky, Lint-staged, cz-git

Preview

Light Theme

Light Theme

Dark Theme

Dark Theme

Quick Access

Live Demo | Official Documentation | Changelog

Installation & Setup

# Install dependencies
pnpm install

# If pnpm install fails, try using the command below
pnpm install --ignore-scripts

# Start local development environment
pnpm dev

# Build for production
pnpm build

Clean Version

The project includes a cleanup script to quickly remove demo data and provide developers with a ready-to-develop base project

pnpm clean:dev

Technical Support

QQ Group: 1038930070 (Click the link to join the group chat)

Browser Compatibility

Supports modern mainstream browsers including Chrome, Safari, Firefox, and more.

Contributing

We sincerely welcome and appreciate the support of every contributor! Whether you have new ideas, feature suggestions, or code optimizations, you can participate in the following ways:

Submit Pull Requests: Share your code and help the project grow.

Create GitHub Issues: Provide bug feedback or new feature suggestions to help us improve together.

Every contribution you make takes this project one step further! Come join our open source community!

Continuous Optimization & Extension

The project maintains active updates, supports the latest frontend tech stack, is compatible with mainstream frameworks, and ensures long-term stability and extensibility. Community-driven feedback mechanisms allow your needs to be quickly integrated into project iterations.

Donation

If you feel this project has reduced your development costs and solved problems in your work/life, you can support us through the following ways:

Donation QR Code

Star History

Star History Chart