- 列头本为「提交人」,但 render 回落 assigneeName ⇒ 每行显示的都是当前办理人(=用户自己) - 去掉错误兜底改取 submitterName(后端本次补齐该字段),空值显示 "-"
This commit is contained in:
@@ -25,7 +25,7 @@ const todoColumns = [
|
||||
{ title: "序号", type: "index", width: 70, align: "center" },
|
||||
{ title: "办件标题", key: "bizTitle", minWidth: 220 },
|
||||
{ title: "当前节点", key: "nodeName", width: 160 },
|
||||
{ title: "提交人", width: 100, render: (h: any, p: any) => h("span", p.row.submitterName || p.row.assigneeName || "-") },
|
||||
{ title: "提交人", width: 100, render: (h: any, p: any) => h("span", p.row.submitterName || "-") },
|
||||
{ title: "到达时间", width: 170, render: (h: any, p: any) => h("span", (p.row.arriveTime || "").replace("T", " ")) },
|
||||
actionColumn([{ key: "handle", label: "办理", icon: "icon-edit", on: (r: any) => goHandle(r) }], { mode: "text", width: 100, fixed: "right" }),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user