|
|
@ -217,7 +217,7 @@ const DetailList = (props) => { |
|
|
|
dataIndex: 'projectType', |
|
|
|
align: 'center', |
|
|
|
render: (text, record) => { |
|
|
|
return record.projectType.length > 0 ? reportTypeText(text) : record.codeRoad.length > 0 ? record.codeRoad[0] === 'X' ? '县道' |
|
|
|
return record.projectType.length > 0 ? reportTypeText(text) : record.codeRoad?.length > 0 ? record.codeRoad[0] === 'X' ? '县道' |
|
|
|
: record.codeRoad[0] === 'Y' ? '乡道' : '村道' : '' |
|
|
|
} |
|
|
|
}, { |
|
|
|