实现处理工作台前端:列表、详情与处理动作

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

@linuxsuren-fs is already working on this.

Since Nov 14, 2026.

  • #23 by @linuxsuren-fs — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Domain
frontend

Research direction

Read the referenced frontend architecture issue #5 and inspect the implementations and contracts from #9, #13, #14, and #16 first. Then map the list, detail, timeline, state actions, assignments, attachments, and notification requirements to the existing frontend entry points. Done means both agent and tenant_admin can complete the specified workflow, and vue-tsc -b && vite build passes.

Written by the indexing model from the issue text.

Description

help wanted P0

Background

处理工作台是 agent / tenant_admin 的主战场。前端架构见 #5,模板包机制见 #4,权限矩阵见 #6。

Technical requirement

  • 工单列表:
    • 列按当前类型的 view_config list_columns 渲染(内置字段 + 自定义字段);
    • 筛选区:类型 / 状态(按该类型 workflow 的状态名渲染)/ 处理人 / 关键词;查询条件变化 page 重置为 1;
    • 分页遵循契约;空态与 loading 态齐全;
  • 工单详情:
    • 表单值与内置字段按 detail_groups 分组展示;
    • TimelineList:时间线全量可见,对外回复与内部备注双入口(内部备注视觉上区分);
    • StateActions:按当前 state 的可用 transitions 渲染操作按钮(受理 / 解决 / 关闭等),越权动作不渲染;
    • 分派 / 转交:成员选择器(agent 与 tenant_admin),调 assignments 端点;
    • 附件上传与下载入口;
  • 通知:顶栏铃铛接入 #16 的通知组件,点击跳转对应工单;
  • 布局:管理台骨架(.page 1200px 居中、卡片分块、正文 14px),窄屏自适应可后置 P1;
  • 文案遵循 #5 规范(全中文、动词一致、无后置括号)。

Expect

  • 以 agent 与 tenant_admin 两种角色分别走通:受理 → 处理(内部备注 + 回复)→ 解决 → 关单 → 重开全链路;
  • vue-tsc -b && vite build 通过。

Potential TODO list

  • 列表页(动态列 + 筛选 + 分页)
  • 详情页(分组展示 + 时间线 + 双入口)
  • StateActions 与分派
  • 通知接入
  • 端到端自测(两角色)

依赖

#9(骨架);#13、#14(工单与时间线端点);#16(通知组件)。

Dominant language
No language data
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from LinuxSuRen/tick-flow

All issues in LinuxSuRen/tick-flow

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.