fix:评估管理创建人显示修改

This commit is contained in:
wyx
2023-02-17 10:37:13 +08:00
parent 9429f27c73
commit 1e6002d7d4
2 changed files with 25 additions and 14 deletions

View File

@@ -137,11 +137,29 @@ export default {
//审核记录的表
columnsAudit: [
{
title: "审核",
title: "HRBP 审核",
dataIndex: "createName",
key: "createName",
align: "center",
width: "20%",
// width: "20%",
ellipsis: true,
customRender: (text) => (
<div>
{text.record.createName}
<br/>
{/* <a-tag color="green">通过</a-tag> */}
{{ 2: "审核通过", "-2": "审核拒绝" }[text.record.status + ""]}
<br/>
{text.record.createTime}
</div>
),
},
{
title: "HRBP 备注",
dataIndex: "description",
key: "description",
align: "center",
// width: "30%",
ellipsis: true,
},
@@ -150,7 +168,7 @@ export default {
dataIndex: "status",
key: "status",
align: "center",
width: "20%",
// width: "20%",
customRender: ({ record: { status } }) => (
<div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div>
),
@@ -161,18 +179,11 @@ export default {
dataIndex: "createTime",
key: "createTime",
align: "center",
width: "20%",
// width: "20%",
ellipsis: true,
},
{
title: "备注",
dataIndex: "description",
key: "description",
align: "center",
width: "30%",
ellipsis: true,
},
],
columns1: [
// {

View File

@@ -367,8 +367,8 @@ export default {
},
{
title: "创建人",
dataIndex: "creater",
key: "creater",
dataIndex: "createName",
key: "createName",
width: "10%",
align: "center",
className: "h",