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: [ columnsAudit: [
{ {
title: "审核", title: "HRBP 审核",
dataIndex: "createName", dataIndex: "createName",
key: "createName", key: "createName",
align: "center", 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, ellipsis: true,
}, },
@@ -150,7 +168,7 @@ export default {
dataIndex: "status", dataIndex: "status",
key: "status", key: "status",
align: "center", align: "center",
width: "20%", // width: "20%",
customRender: ({ record: { status } }) => ( customRender: ({ record: { status } }) => (
<div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div> <div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div>
), ),
@@ -161,18 +179,11 @@ export default {
dataIndex: "createTime", dataIndex: "createTime",
key: "createTime", key: "createTime",
align: "center", align: "center",
width: "20%", // width: "20%",
ellipsis: true, ellipsis: true,
}, },
{
title: "备注",
dataIndex: "description",
key: "description",
align: "center",
width: "30%",
ellipsis: true,
},
], ],
columns1: [ columns1: [
// { // {

View File

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