|
|
@ -39,11 +39,11 @@ import "./index.scss"; |
|
|
|
import Btckd from "@/assets/images/equip/home/bottom_checked.png"; |
|
|
|
import Pkhl from "@/assets/images/equip/home/pkhome_left.png"; |
|
|
|
import Pkhr from "@/assets/images/equip/home/pkhome_right.png"; |
|
|
|
import Lf1 from "@/assets/images/equip/home/left_1.png"; |
|
|
|
import Lf2 from "@/assets/images/equip/home/left_2.png"; |
|
|
|
import st from "@/assets/images/equip/home/st.png"; |
|
|
|
import nd from "@/assets/images/equip/home/nd.png"; |
|
|
|
import Lf3 from "@/assets/images/equip/home/left_3.png"; |
|
|
|
import Lf4 from "@/assets/images/equip/home/left_4.png"; |
|
|
|
import Lf5 from "@/assets/images/equip/home/left_5.png"; |
|
|
|
import rd from "@/assets/images/equip/home/rd.png"; |
|
|
|
import Lf6 from "@/assets/images/equip/home/left_6.png"; |
|
|
|
import Lf7 from "@/assets/images/equip/home/left_7.png"; |
|
|
|
import Lf8 from "@/assets/images/equip/home/ldzs.png"; |
|
|
@ -84,13 +84,15 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
const cokd = [ |
|
|
|
{ |
|
|
|
color: "rgba(234, 234, 33,.6)", |
|
|
|
show: "", |
|
|
|
img: st, |
|
|
|
}, |
|
|
|
{ |
|
|
|
color: "rgba(222, 206, 206,.6)", |
|
|
|
img: nd, |
|
|
|
}, |
|
|
|
{ |
|
|
|
color: "rgba(203, 122, 41,.6)", |
|
|
|
img: rd, |
|
|
|
}, |
|
|
|
]; |
|
|
|
//右侧时间选择 |
|
|
@ -727,7 +729,7 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
{ |
|
|
|
// name: 'Access From', |
|
|
|
type: "pie", |
|
|
|
radius: ["60%", "70%"], |
|
|
|
radius: ["50%", "70%"], |
|
|
|
avoidLabelOverlap: false, |
|
|
|
label: { |
|
|
|
show: false, |
|
|
@ -747,10 +749,10 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
}, |
|
|
|
], |
|
|
|
grid: { |
|
|
|
x: 50, |
|
|
|
y: 55, |
|
|
|
x2: 70, |
|
|
|
y2: 20, |
|
|
|
x: 20, |
|
|
|
y: 25, |
|
|
|
x2: 20, |
|
|
|
y2: 50, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}; |
|
|
@ -977,7 +979,11 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
} |
|
|
|
}; |
|
|
|
crtimer.onclose = function () { |
|
|
|
GetCar(); |
|
|
|
try { |
|
|
|
GetCar(); |
|
|
|
} catch (error) { |
|
|
|
console.log(error); |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
//获取quyu |
|
|
@ -1318,9 +1324,7 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
// onClick={() => { |
|
|
|
// navigate("/nav"); |
|
|
|
// }} |
|
|
|
> |
|
|
|
西海岸新区停车信息管理平台 |
|
|
|
</div> |
|
|
|
></div> |
|
|
|
<div className="left_home"> |
|
|
|
<div className="pkh_title">停车业务概览</div> |
|
|
|
<div className="dlex_f"> |
|
|
@ -1502,9 +1506,7 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
)} |
|
|
|
{ |
|
|
|
<div className="left_content"> |
|
|
|
<p> |
|
|
|
<SoundOutlined /> |
|
|
|
</p> |
|
|
|
<p>{/* <SoundOutlined /> */}</p> |
|
|
|
<div>{Text}</div> |
|
|
|
</div> |
|
|
|
} |
|
|
@ -1568,7 +1570,7 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
// } |
|
|
|
}} |
|
|
|
> |
|
|
|
<BellOutlined /> |
|
|
|
{/* <BellOutlined /> */} |
|
|
|
{HoShow ? <i></i> : ""} |
|
|
|
</div> |
|
|
|
<div className="right_home"> |
|
|
@ -1600,18 +1602,20 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
return ( |
|
|
|
<div className="topph" key={ele.name + index}> |
|
|
|
<div className="nol"> |
|
|
|
<p>No.{index + 1}</p> |
|
|
|
<span |
|
|
|
style={{ |
|
|
|
background: cokd[index]?.color || "", |
|
|
|
}} |
|
|
|
></span> |
|
|
|
<p className={CarRoad[CarShow]?.type == 2 ? "sfy" : "dad"}> |
|
|
|
{CarRoad[CarShow]?.type == 2 ? ( |
|
|
|
`No.${index + 1}` |
|
|
|
) : cokd[index]?.img ? ( |
|
|
|
<img src={cokd[index]?.img} alt="" /> |
|
|
|
) : ( |
|
|
|
`No.${index + 1}` |
|
|
|
)} |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
<div className="nor"> |
|
|
|
<div className="trr"> |
|
|
|
<span>{ele.name || "--"}</span> |
|
|
|
<span> |
|
|
|
{}{" "} |
|
|
|
{CarRoad[CarShow]?.type == 2 |
|
|
|
? ele.rate || 0 |
|
|
|
: `${ele.paid_amount || 0}元`} |
|
|
@ -1620,6 +1624,7 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
<Progress |
|
|
|
strokeColor={cokd[index]?.color || ""} |
|
|
|
showInfo={false} |
|
|
|
strokeWidth={6} |
|
|
|
percent={ |
|
|
|
CarRoad[CarShow]?.type == 2 |
|
|
|
? ele?.rate?.slice(0, ele.rate.length - 1) || 0 |
|
|
|