|
@ -29,7 +29,7 @@ export function getNavItem (user, dispatch) { |
|
|
user?.username == 'SuperAdmin' || isshow ? |
|
|
user?.username == 'SuperAdmin' || isshow ? |
|
|
<SubMenu key="fillion" icon={<ReadOutlined />} title={'数据管理'}> |
|
|
<SubMenu key="fillion" icon={<ReadOutlined />} title={'数据管理'}> |
|
|
{ |
|
|
{ |
|
|
user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE' || i.resourceId === 'BUILDINGPROJECT' || i.resourceId === 'FILEMANAGE') ? |
|
|
user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE' || i.resourceId === 'BUILDINGPROJECT' || i.resourceId === 'FILEMANAGE' || i.resourceId === 'PUBLICITYVIDEO') ? |
|
|
<SubMenu key="build" title={'建设'}> |
|
|
<SubMenu key="build" title={'建设'}> |
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE') ? |
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE') ? |
|
|
<Menu.Item key="fillionpatrolroad"> |
|
|
<Menu.Item key="fillionpatrolroad"> |
|
@ -43,12 +43,16 @@ export function getNavItem (user, dispatch) { |
|
|
<Menu.Item key="fileCont"> |
|
|
<Menu.Item key="fileCont"> |
|
|
<Link to="/fillion/file">档案管理</Link> |
|
|
<Link to="/fillion/file">档案管理</Link> |
|
|
</Menu.Item> : ''} |
|
|
</Menu.Item> : ''} |
|
|
|
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'PUBLICITYVIDEO') ? |
|
|
|
|
|
<Menu.Item key="fillionpromotional"> |
|
|
|
|
|
<Link to="/fillion/promotional">宣传视频</Link> |
|
|
|
|
|
</Menu.Item> : ''} |
|
|
</SubMenu> |
|
|
</SubMenu> |
|
|
: '' |
|
|
: '' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER' || i.resourceId === 'LUZHENG' || i.resourceId === 'ROADMANAGE' || i.resourceId === 'BRIDGEMANAGE') ? |
|
|
user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER' || i.resourceId === 'LUZHENG' || i.resourceId === 'ROADMANAGE' || i.resourceId === 'BRIDGEMANAGE' || i.resourceId === 'OVERLOADMANAGE') ? |
|
|
<SubMenu key="manage" title={'管理'}> |
|
|
<SubMenu key="manage" title={'管理'}> |
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER') ? |
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER') ? |
|
|
<Menu.Item key="fillionvideoCenter"> |
|
|
<Menu.Item key="fillionvideoCenter"> |
|
@ -66,6 +70,10 @@ export function getNavItem (user, dispatch) { |
|
|
<Menu.Item key="fillionbridge"> |
|
|
<Menu.Item key="fillionbridge"> |
|
|
<Link to="/fillion/bridge">桥梁管理</Link> |
|
|
<Link to="/fillion/bridge">桥梁管理</Link> |
|
|
</Menu.Item> : ''} |
|
|
</Menu.Item> : ''} |
|
|
|
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'OVERLOADMANAGE') ? |
|
|
|
|
|
<Menu.Item key="fillioninfor"> |
|
|
|
|
|
<Link to="/fillion/infor">治超管理</Link> |
|
|
|
|
|
</Menu.Item> : ''} |
|
|
</SubMenu> |
|
|
</SubMenu> |
|
|
: '' |
|
|
: '' |
|
|
} |
|
|
} |
|
@ -120,10 +128,7 @@ export function getNavItem (user, dispatch) { |
|
|
: '' |
|
|
: '' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'OVERLOADMANAGE') ? |
|
|
|
|
|
<Menu.Item key="fillioninfor"> |
|
|
|
|
|
<Link to="/fillion/infor">治超管理</Link> |
|
|
|
|
|
</Menu.Item> : ''} |
|
|
|
|
|
{/* <Menu.Item key="filliontask"> |
|
|
{/* <Menu.Item key="filliontask"> |
|
|
<Link to="/fillion/task">任务管理</Link> |
|
|
<Link to="/fillion/task">任务管理</Link> |
|
|
</Menu.Item> */} |
|
|
</Menu.Item> */} |
|
@ -139,10 +144,7 @@ export function getNavItem (user, dispatch) { |
|
|
<Link to="/fillion/jiekouguanli">接口管理</Link> |
|
|
<Link to="/fillion/jiekouguanli">接口管理</Link> |
|
|
</Menu.Item> */} |
|
|
</Menu.Item> */} |
|
|
|
|
|
|
|
|
{user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'PUBLICITYVIDEO') ? |
|
|
|
|
|
<Menu.Item key="fillionpromotional"> |
|
|
|
|
|
<Link to="/fillion/promotional">宣传视频</Link> |
|
|
|
|
|
</Menu.Item> : ''} |
|
|
|
|
|
</SubMenu> : null |
|
|
</SubMenu> : null |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|