fix : 审批人和当前节点合并

This commit is contained in:
2024-08-05 20:56:43 +08:00
parent 173b928412
commit ab191e940b
4 changed files with 59 additions and 33 deletions

View File

@@ -137,12 +137,7 @@ const tableConfig = reactive({
align: 'center',
// width: 200
},
{
prop: 'approveName',
label: '审批人',
align: 'center',
// width: 100,
},
{
prop: 'deadline',
label: '需求上报截止时间',
@@ -150,11 +145,25 @@ const tableConfig = reactive({
// width: 150,
},
{
prop: 'taskNode',
label: '当前节点',
prop: 'approveName',
label: '当前审批节点',
align: 'center',
// width: 300
// width: 100,
currentRender: ({row, index}) => {
if(row.state=='1'){
return <span>{row.approveName}</span>
}else {
return <span>{row.taskNode}</span>
}
}
},
// {
// prop: 'taskNode',
// label: '当前审批节点',
// align: 'center',
// // width: 300
//
// },
{
prop: 'state',
label: '状态',