Skip to content

fix: 移动端合并待办列表“发起人/提交人”字段映射颠倒 #57

Description

@xlorne

场景说明

合并待办详情中,后端语义与 PC 端表格均为:createdOperator = 流程发起人、submitOperator = 流程提交人。

发现的问题

移动端 flow-mobile-form 的列表组件字段映射写反:

  • components/list/components/single-list.tsx(86-87 行)
  • components/list/components/multiple-list.tsx(92-93 行)
<span>发起人: {item.submitOperatorName}</span>   // 用了“提交人”字段
<span>提交人: {item.createdOperatorName}</span>   // 用了“发起人”字段

两级流程(发起人=提交人)时不易察觉;多级流程合并(如 发起人→经理→老板,在老板节点合并)时显示会互相颠倒。

期望实现

与后端语义、PC 端一致:发起人取 createdOperatorName,提交人取 submitOperatorName

验证场景

  • 移动端单条/批量审批列表,发起人与提交人均正确显示。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions