|
|
@ -74,19 +74,28 @@ const Rest = (props) => { |
|
|
|
render: (text, record, index) => { |
|
|
|
return record?.pomsNeedData?.title?.value || '' |
|
|
|
} |
|
|
|
}, { |
|
|
|
title: '关联项目', |
|
|
|
}, |
|
|
|
// { |
|
|
|
// title: '关联项目', |
|
|
|
// dataIndex: 'pomsProject', |
|
|
|
// render: (text, record, index) => { |
|
|
|
// const pomsProjectId = record?.pomsNeedData?.pomsProjectId?.value |
|
|
|
// if (pomsProjectId) { |
|
|
|
// const corProject = pomsProjectBasicAll.find(p => p.value == pomsProjectId) |
|
|
|
// return corProject?.label || '' |
|
|
|
// } else { |
|
|
|
// return '' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// }, |
|
|
|
{ |
|
|
|
title: '项目名称', |
|
|
|
dataIndex: 'pomsProject', |
|
|
|
render: (text, record, index) => { |
|
|
|
const pomsProjectId = record?.pomsNeedData?.pomsProjectId?.value |
|
|
|
if (pomsProjectId) { |
|
|
|
const corProject = pomsProjectBasicAll.find(p => p.value == pomsProjectId) |
|
|
|
return corProject?.label || '' |
|
|
|
} else { |
|
|
|
return '' |
|
|
|
} |
|
|
|
return record?.pomsNeedData?.projectName?.value || '' |
|
|
|
} |
|
|
|
}, { |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '申请人', |
|
|
|
dataIndex: 'applyerName', |
|
|
|
}, { |
|
|
|