|  | @ -18,7 +18,9 @@ const Right = (props) => { | 
			
		
	
		
		
			
				
					|  |  |             setNums(res.payload.data.reportCount.filter((item, index) => { |  |  |             setNums(res.payload.data.reportCount.filter((item, index) => { | 
			
		
	
		
		
			
				
					|  |  |                 return item.projectType == "culvert" |  |  |                 return item.projectType == "culvert" | 
			
		
	
		
		
			
				
					|  |  |             })) |  |  |             })) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             // console.log(nums);
 | 
			
		
	
		
		
			
				
					|  |  |         }) |  |  |         }) | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     }, []) |  |  |     }, []) | 
			
		
	
		
		
			
				
					|  |  |     useEffect(() => { |  |  |     useEffect(() => { | 
			
		
	
		
		
			
				
					|  |  |         const daolus = dispatch(getdaolutongji()).then((res) => { |  |  |         const daolus = dispatch(getdaolutongji()).then((res) => { | 
			
		
	
	
		
		
			
				
					|  | @ -34,6 +36,8 @@ const Right = (props) => { | 
			
		
	
		
		
			
				
					|  |  |             <div style={{ width: "100%", height: "100%" }}> |  |  |             <div style={{ width: "100%", height: "100%" }}> | 
			
		
	
		
		
			
				
					|  |  |                 { |  |  |                 { | 
			
		
	
		
		
			
				
					|  |  |                     list.map((item, index) => { |  |  |                     list.map((item, index) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                         console.log(list); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |                         return ( |  |  |                         return ( | 
			
		
	
		
		
			
				
					|  |  |                             <li className={index} style={{ |  |  |                             <li className={index} style={{ | 
			
		
	
		
		
			
				
					|  |  |                                 height: "20px", position: "relative", width: "100%", color: "#FFFFFF", marginTop: index == 0 ? "4px" : "5px", listStyle: "none", fontSize: "14px" |  |  |                                 height: "20px", position: "relative", width: "100%", color: "#FFFFFF", marginTop: index == 0 ? "4px" : "5px", listStyle: "none", fontSize: "14px" | 
			
		
	
	
		
		
			
				
					|  | @ -43,12 +47,13 @@ const Right = (props) => { | 
			
		
	
		
		
			
				
					|  |  |                             }} onMouseLeave={() => { |  |  |                             }} onMouseLeave={() => { | 
			
		
	
		
		
			
				
					|  |  |                                 setBeijing() |  |  |                                 setBeijing() | 
			
		
	
		
		
			
				
					|  |  |                             }}> |  |  |                             }}> | 
			
		
	
		
		
			
				
					
					|  |  |                                 {beijing == index ? <img src='/assets/images/leadership/shezhi.png' style={{ width: "2%", height: "80%", position: "absolute", top: "12%", left: "6%" }} /> : ""} |  |  |                                 {beijing == index ? <img src='/assets/images/leadership/shezhi.png' style={{ width: "2%", height: "80%", position: "absolute", top: "12%", left: "1%" }} /> : ""} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                                 {beijing == index ? <img src='/assets/images/leadership/lan.png' style={{ width: "100%", height: "120%", position: "absolute", right: "5%" }} /> : ""} |  |  |                                 {beijing == index ? <img src='/assets/images/leadership/lan.png' style={{ width: "100%", height: "120%", position: "absolute", right: "5%" }} /> : ""} | 
			
		
	
		
		
			
				
					
					|  |  |                                 <p style={{ textAlign: "center", width: "20%", position: "absolute", left: "25%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >日常养护</p> |  |  |                                 <p style={{ textAlign: "center", width: "25%", position: "absolute", left: "18%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "———" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}</p> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                                 {item.user?.name ? <p style={{ textAlign: "center", width: "25%", position: "absolute", right: "35%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >{item.user.name}</p> : <p style={{ textAlign: "center", width: "25%", position: "absolute", right: "35%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >--</p>} |  |  |                                 <p style={{ textAlign: "center", width: "10%", position: "absolute", left: "43%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >日常养护</p> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                                 <p style={{ textAlign: "center", width: "25%", position: "absolute", left: "5%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >{item.road ? item.road : "--"}</p> |  |  |                                 {item.user?.name ? <p style={{ textAlign: "center", width: "10%", position: "absolute", right: "28.5%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >{item.user.name}</p> : <p style={{ textAlign: "center", width: "10%", position: "absolute", right: "28.5%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >--</p>} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                                 <p style={{ textAlign: "center", width: "30%", position: "absolute", right: "5%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }}>{moment(item.time).format("YYYY-MM-Do  HH:mm:ss") ? moment(item.time).format("YYYY-MM-Do  HH:mm:ss") : "--"}</p></li> |  |  |                                 <p style={{ textAlign: "left", width: "25%", position: "absolute", left: "5%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }} >{item.road ? item.road : "--"}</p> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                                 <p style={{ textAlign: "right", width: "30%", position: "absolute", right: "3%", color: beijing == index ? "#ffffff" : "rgba(216,240,255,0.8)" }}>{moment(item.time).format("YYYY-MM-Do  HH:mm:ss") ? moment(item.time).format("YYYY-MM-Do  HH:mm:ss") : "--"}</p></li> | 
			
		
	
		
		
			
				
					|  |  |                         ) |  |  |                         ) | 
			
		
	
		
		
			
				
					|  |  |                     }) |  |  |                     }) | 
			
		
	
		
		
			
				
					|  |  |                 } |  |  |                 } | 
			
		
	
	
		
		
			
				
					|  | @ -61,7 +66,7 @@ const Right = (props) => { | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |                 <div style={{ width: "100%", height: "43%", position: "relative", left: "1%" }}> |  |  |                 <div style={{ width: "100%", height: "43%", position: "relative", left: "1%" }}> | 
			
		
	
		
		
			
				
					|  |  |                     <div style={{ width: "96%", position: "relative", left: "2%" }}> |  |  |                     <div style={{ width: "96%", position: "relative", left: "2%" }}> | 
			
		
	
		
		
			
				
					
					|  |  |                         <p style={{ position: "absolute", color: "rgba(216,240,255,0.8)" }}>占比<span style={{ fontFamily: " PingFangSC-Regular, PingFang SC" }}>{(roads?.["县"] / (roads?.["乡"] + roads?.["村"] + roads?.["县"])).toFixed(4) * 100}</span>%</p> |  |  |                         <p style={{ position: "absolute", color: "rgba(216,240,255,0.8)" }}>占比<span style={{ fontFamily: " PingFangSC-Regular, PingFang SC" }}>{((roads?.["县"] / (roads?.["乡"] + roads?.["村"] + roads?.["县"])) * 100).toFixed(2)}</span>%</p> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                         <p style={{ width: "50%", position: "absolute", right: "0%", textAlign: "right", fontFamily: "YouSheBiaoTiHei", fontSize: "24px", color: "#F5FCFF", marginLeft: "10%" }}>{roads?.["县"].toFixed(0)}<span style={{ color: "#F5FCFF", fontSize: "16px", fontFamily: "PingFangSC-Regular, PingFang SC", marginLeft: "5%" }}>个</span><span style={{ fontSize: "18px", color: "rgba(216,240,255,0.8)", fontFamily: "PingFangSC-Regular, PingFang SC", marginLeft: "5%" }}>县涵洞</span></p> |  |  |                         <p style={{ width: "50%", position: "absolute", right: "0%", textAlign: "right", fontFamily: "YouSheBiaoTiHei", fontSize: "24px", color: "#F5FCFF", marginLeft: "10%" }}>{roads?.["县"].toFixed(0)}<span style={{ color: "#F5FCFF", fontSize: "16px", fontFamily: "PingFangSC-Regular, PingFang SC", marginLeft: "5%" }}>个</span><span style={{ fontSize: "18px", color: "rgba(216,240,255,0.8)", fontFamily: "PingFangSC-Regular, PingFang SC", marginLeft: "5%" }}>县涵洞</span></p> | 
			
		
	
		
		
			
				
					|  |  |                     </div> |  |  |                     </div> | 
			
		
	
		
		
			
				
					|  |  |                     <div style={{ width: "96%", position: "relative", left: "2%", height: "50%" }}> |  |  |                     <div style={{ width: "96%", position: "relative", left: "2%", height: "50%" }}> | 
			
		
	
	
		
		
			
				
					|  | @ -75,7 +80,7 @@ const Right = (props) => { | 
			
		
	
		
		
			
				
					|  |  |                     </div> |  |  |                     </div> | 
			
		
	
		
		
			
				
					|  |  |                     <div style={{ width: "96%", position: "relative", left: "2%" }}> |  |  |                     <div style={{ width: "96%", position: "relative", left: "2%" }}> | 
			
		
	
		
		
			
				
					|  |  |                         <p style={{ width: "50%", position: "absolute", color: "rgba(216,240,255,0.8)", fontSize: "18px" }}>乡村涵洞<span style={{ marginLeft: "4%", fontFamily: "YouSheBiaoTiHei", fontSize: "24px", color: "#F5FCFF" }}>{(roads?.["乡"] + roads?.["村"]).toFixed(0)}</span><span style={{ marginLeft: "4%" }}>个</span></p> |  |  |                         <p style={{ width: "50%", position: "absolute", color: "rgba(216,240,255,0.8)", fontSize: "18px" }}>乡村涵洞<span style={{ marginLeft: "4%", fontFamily: "YouSheBiaoTiHei", fontSize: "24px", color: "#F5FCFF" }}>{(roads?.["乡"] + roads?.["村"]).toFixed(0)}</span><span style={{ marginLeft: "4%" }}>个</span></p> | 
			
		
	
		
		
			
				
					
					|  |  |                         <p style={{ position: "absolute", right: "0", color: "rgba(216,240,255,0.8)" }}>占比<span>{((roads?.["乡"] + roads?.["村"]) / (roads?.["乡"] + roads?.["村"] + roads?.["县"])).toFixed(4) * 100}</span><span>%</span></p> |  |  |                         <p style={{ position: "absolute", right: "0", color: "rgba(216,240,255,0.8)" }}>占比<span>{(((roads?.["乡"] + roads?.["村"]) / (roads?.["乡"] + roads?.["村"] + roads?.["县"])) * 100).toFixed(2)}</span><span>%</span></p> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                     </div> |  |  |                     </div> | 
			
		
	
		
		
			
				
					|  |  |                 </div> |  |  |                 </div> | 
			
		
	
		
		
			
				
					|  |  |                 <div style={{ height: "80%", width: "100%", position: "relative", left: "5%", top: "-8%" }}> |  |  |                 <div style={{ height: "80%", width: "100%", position: "relative", left: "5%", top: "-8%" }}> | 
			
		
	
	
		
		
			
				
					|  | 
 |