|
|
@ -37,6 +37,7 @@ const Rest = (props) => { |
|
|
|
}) |
|
|
|
.then(res => { |
|
|
|
let nextTableData = (res?.data || []).map(r => { |
|
|
|
console.log('11111112222',res?.data) |
|
|
|
let pomsNeedData = {} |
|
|
|
if (r?.formData?.submitFormData && r?.formData?.workflowProcessVersion?.workflowProcessForm?.formSchema) { |
|
|
|
pomsNeedData = parseProcessData({ |
|
|
@ -62,10 +63,19 @@ const Rest = (props) => { |
|
|
|
title: '序号', |
|
|
|
dataIndex: 'index', |
|
|
|
render: (text, record, index) => index + 1 |
|
|
|
}, { |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '事项名称', |
|
|
|
dataIndex: 'fsFormItemName', |
|
|
|
render: (text, record, index) => { |
|
|
|
return record?.name || '' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '项目名称', |
|
|
|
dataIndex: 'pomsProject', |
|
|
|
render: (text, record, index) => { |
|
|
|
console.log('record1111',record) |
|
|
|
return record?.pomsNeedData?.projectName?.value || '' |
|
|
|
} |
|
|
|
}, { |
|
|
@ -118,13 +128,7 @@ const Rest = (props) => { |
|
|
|
// return record?.pomsNeedData?.handlingResult?.value || '' |
|
|
|
// } |
|
|
|
// }, |
|
|
|
{ |
|
|
|
title: '事项名称', |
|
|
|
dataIndex: 'fsFormItemName', |
|
|
|
render: (text, record, index) => { |
|
|
|
return record?.name || '' |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
title: '问题类型', |
|
|
|
dataIndex: 'issueType', |
|
|
|