8 Commits

Author SHA1 Message Date
yin
7958f0fd12 feat(inbox): 自动回复/会话页面改版,权限管理迁移 UpperTable,统一状态文本样式
自动回复(inbox/autoReply)
- 页面改为「左侧类型/子类型树 + 右侧配置区」两栏布局,树支持按类型名/子类型搜索
- 右侧类型信息与子类型列表重排:子类型改用 UpperTable,操作收敛为「配置 / 编辑 / 删除」链接按钮
- FunctionPanel / GroupPanel / NumberRulePanel 改用 UpperTable(统一 table-id、行 key 与列定义)
- KeywordPanel 关键词编辑改为 task-panel 弹窗,补充字段说明文案
- panel.scss 增补共享面板样式,减少各面板重复定义

会话消息(inbox/message)
- 会话链路由行内展开改为 task-panel 弹窗,时间线重做(收发方向标签、时间右对齐、
  消息卡片悬停态),支持直接「回复」并在弹窗内展示收发条数统计

品牌 Logo(frontBrand / Navbar / login)
- 新增 DEFAULT_BRAND_LOGO 常量与 isBrandExemptHost 计算属性
- 品牌豁免域名(主域名)恒用前端默认 Logo,不再消费后端 logo_url
- 登录页与顶栏统一改用该常量,修正兜底路径 '../../../public/logo/1.png'

权限管理(setting/permission)
- 列表迁移到 UpperTable(permissionColumns 抽到 permission-config)
- 新增「路径 / 名称 / 标题」关键字过滤、客户端分页、工具栏按钮组与批量删除(按勾选态置灰)

通用组件
- UpperTable 新增 selectionMode='native':树形表格使用原生勾选列,展开箭头不再挤占勾选列,
  并统一勾选框尺寸与行高
- 消息模块 DocSearchPicker 改为「单行筛选 + 表格填满高度 + 底部内嵌分页」,
  新增重置、已选提示(多选时提示只取第一条)

样式与交互统一
- 售后类型列表/详情、账号角色列的状态标签改为 ut-status-text 彩色文本(去掉 el-tag 色块)
- 售后列表、拣货车、打印电脑/工作台模板配置的工具栏按钮统一为
  refresh / setting / action / cancel 四类,批量操作按 noSelection 置灰
- ExpressWaybillPanel 表格内容居中;绑定包材弹窗成功后直接关闭并移除结果展示区
- 隐藏拣货车「详情」入口与角色树面板头部
2026-11-01 18:07:39 +08:00
liufumingren
9aa6e4ca0d fix(login): surface business failures and localize the login panel art
- request interceptor: treat flag=failure / success=false as a business error
  even when code is 0 (the gateway returns code 0 for login failures), so the
  backend message is shown instead of being swallowed
- tag already-notified errors so callers do not toast twice
- user store: throw a readable error when the login response has no token
  (previously crashed on null.token and the login page silently ignored it)
- login page: show an error message for errors the interceptor did not report
- replace the remote gw.alipayobjects.com decoration with a local svg

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-27 00:20:48 +08:00
yin
1d29952e22 1 2026-09-09 18:02:17 +08:00
yin
90bd48b2f9 1 2026-09-08 18:04:27 +08:00
yin
6c8d1f5014 1 2026-07-21 18:21:00 +08:00
yin
c52355ad8c 4月15 2026-04-15 21:01:12 +08:00
yin
6b2c2f9f16 3月28日更新 2026-03-28 17:55:54 +08:00
yin
0ecacb9a21 初始化项目文件 2026-03-16 14:21:04 +08:00