|
|
@ -280,15 +280,15 @@ const BuildingTable = (props) => { |
|
|
|
activeKey, |
|
|
|
onChange: (key) => setActiveKey(key), |
|
|
|
items: [ |
|
|
|
{ |
|
|
|
key: 'tab1', |
|
|
|
label: <span onClick={() => { |
|
|
|
setWhichofits('在建项目') |
|
|
|
setDifferentiate('project') |
|
|
|
setGrade('在建项目') |
|
|
|
// {
|
|
|
|
// key: 'tab1',
|
|
|
|
// label: <span onClick={() => {
|
|
|
|
// setWhichofits('在建项目')
|
|
|
|
// setDifferentiate('project')
|
|
|
|
// setGrade('在建项目')
|
|
|
|
|
|
|
|
}}>在建项目{activeKey === 'tab1'}</span>, |
|
|
|
}, |
|
|
|
// }}>在建项目{activeKey === 'tab1'}</span>,
|
|
|
|
// },
|
|
|
|
], |
|
|
|
}, |
|
|
|
}} |
|
|
@ -328,10 +328,10 @@ const BuildingTable = (props) => { |
|
|
|
optionRender: (searchConfig, formProps, dom) => [ |
|
|
|
...dom.reverse(), |
|
|
|
<Popconfirm title="确认导出?" onConfirm={() => { props.exports(rowSelected, grade, differentiate) }} |
|
|
|
disabled={user?.username !== 'SuperAdmin' && user?.userResources?.find(i => i.resourceId === 'BUILDINGPROJECT').isshow === "true" ? true : ''} |
|
|
|
disabled={user?.username !== 'SuperAdmin' && user?.userResources?.find(i => i.resourceId === 'BUILDINGPROJECT')?.isshow === "true" ? true : ''} |
|
|
|
> |
|
|
|
<Button |
|
|
|
disabled={user?.username !== 'SuperAdmin' && user?.userResources?.find(i => i.resourceId === 'BUILDINGPROJECT').isshow === "true" ? true : ''} |
|
|
|
disabled={user?.username !== 'SuperAdmin' && user?.userResources?.find(i => i.resourceId === 'BUILDINGPROJECT')?.isshow === "true" ? true : ''} |
|
|
|
> |
|
|
|
导出 |
|
|
|
</Button> |
|
|
|