fix : 审批人和当前节点合并
This commit is contained in:
@@ -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: '状态',
|
||||
|
||||
Reference in New Issue
Block a user