diff --git a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/Advertisement/index.tsx b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/Advertisement/index.tsx
index b3a9eda8b6e170033af506b400c401ac88b2ba8d..12d12811811060922c72728217d1a711c2c7e129 100644
--- a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/Advertisement/index.tsx
+++ b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/Advertisement/index.tsx
@@ -10,12 +10,13 @@ import { useModel } from '@umijs/max';
import { Flex } from 'antd';
import React, { useEffect, useState } from 'react';
import styles from './index.less';
-
+import { useDashboard } from '@/pages/Home_v_2504/components/context';
const Advertisement: React.FC = () => {
const { initialState } = useModel('@@initialState');
const { areaId } = initialState;
const { dispatch } = useGlobalModalServices();
const [eventCount, setEventCount] = useState(0);
+ const { navigateTo } = useDashboard();
const commonValueStyle = {
background: 'linear-gradient(180deg, #9CF8F7 0%, #25BBFF 100%)',
@@ -65,7 +66,7 @@ const Advertisement: React.FC = () => {
}, []);
return (
-
+
navigateTo('cityAppearance')}>
![]()
{
const { dispatch } = useGlobalModalServices();
+ const { navigateTo } = useDashboard();
const commonValueStyle = {
background: 'linear-gradient(180deg, #9CF8F7 0%, #25BBFF 100%)',
WebkitBackgroundClip: 'text',
@@ -81,7 +82,7 @@ const CityLighting: React.FC = () => {
}, []);
return (
-
+
navigateTo('landscapeLighting')}>
![]()
{
return (
navigateTo('environment')}
+ onClick={() => navigateTo('constructionWaste')}
// style={{ cursor: 'pointer' }}
>
{/* 数据展示区 */}
diff --git a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/HouseholdWaste/index.tsx b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/HouseholdWaste/index.tsx
index c46d8c4059c23b4c8b4f71173c7baea9db02e059..753995dc7df1f3dcdc121d7c1d20d01a48c76b8c 100644
--- a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/HouseholdWaste/index.tsx
+++ b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/HouseholdWaste/index.tsx
@@ -72,7 +72,7 @@ const HouseholdWaste: React.FC = () => {
return (
navigateTo('environment')}
+ onClick={() => navigateTo('domesticWaste')}
// style={{ cursor: 'pointer' }}
>
{/* 数据展示区 */}
diff --git a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/LawEnforcement/index.tsx b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/LawEnforcement/index.tsx
index dc70f5f6829cfe058041230385a14f658394a016..0b432dcd670c3c8229c91473ba18c25822278ea1 100644
--- a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/LawEnforcement/index.tsx
+++ b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/LawEnforcement/index.tsx
@@ -9,9 +9,10 @@ import { useRequest } from 'ahooks';
import { Flex } from 'antd';
import React from 'react';
import styles from './index.less';
-
+import { useDashboard } from '@/pages/Home_v_2504/components/context';
const LawEnforcement: React.FC = () => {
const { dispatch } = useGlobalModalServices();
+ const { navigateTo } = useDashboard();
const commonValueStyle = {
background: 'linear-gradient(180deg, #9CF8F7 0%, #25BBFF 100%)',
WebkitBackgroundClip: 'text',
@@ -44,7 +45,7 @@ const LawEnforcement: React.FC = () => {
};
return (
-
+
navigateTo('lawEnforcementPunishment')}>

diff --git a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/MunicipalFacilities/index.tsx b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/MunicipalFacilities/index.tsx
index f5de666e9c97257d52594963b71238cfd693a4c5..9e27bfdaccd58ca6845310c472c1829b9f9a27e5 100644
--- a/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/MunicipalFacilities/index.tsx
+++ b/src/pages/Home_v_2504/components/RightContent/IndustryOverview/components/MunicipalFacilities/index.tsx
@@ -10,9 +10,11 @@ import { Flex } from 'antd';
import dayjs from 'dayjs';
import React from 'react';
import styles from './index.less';
+import { useDashboard } from '@/pages/Home_v_2504/components/context';
const MunicipalFacilities: React.FC = () => {
const { dispatch } = useGlobalModalServices();
+ const { navigateTo } = useDashboard();
const commonValueStyle = {
background: 'linear-gradient(180deg, #9CF8F7 0%, #25BBFF 100%)',
@@ -110,7 +112,7 @@ const MunicipalFacilities: React.FC = () => {
);
return (
-
+
navigateTo('municipal')}>