fix:BUG

This commit is contained in:
xuyoubin 2023-12-22 10:08:40 +08:00
parent cd59f1527a
commit 55b9d187e3

View File

@ -69,12 +69,12 @@ export default {
{ {
msg: "动力电池溯源信息接口采集", msg: "动力电池溯源信息接口采集",
color: "#73bfdd", color: "#73bfdd",
path:'batteryPort' path:'batteryPort/production'
}, },
{ {
msg: "动力电池信息总部上报", msg: "动力电池信息总部上报",
color: "#90cb75", color: "#90cb75",
path:'batteryReported' path:'batteryReported/productionReported'
}, },
{ {
msg: "动力电池溯源系统", msg: "动力电池溯源系统",
@ -145,7 +145,6 @@ export default {
initChartStatic( initChartStatic(
"chart1", "chart1",
generatePieOptions({ generatePieOptions({
backgroundColor: "#f8f8f8",
legend: { legend: {
// //
top: "center", top: "center",
@ -252,7 +251,6 @@ export default {
initChartStatic( initChartStatic(
"chart3", "chart3",
generatePieOptions({ generatePieOptions({
backgroundColor: "#f8f8f8",
legend: { legend: {
// //
show:false, show:false,
@ -301,11 +299,6 @@ export default {
fontSize: 12, fontSize: 12,
lineHeight: 33, lineHeight: 33,
}, },
per: {
color: "#252525",
fontSize: 12,
lineHeight: 33,
},
}, },
}, },
}, },
@ -390,9 +383,8 @@ export default {
], ],
grid: { grid: {
left: '10%', left: '10%',
top: '10%',
right: '10%', right: '10%',
bottom: '10%' bottom: '20%'
} }
})); }));
}, },
@ -478,14 +470,14 @@ export default {
} }
.footer { .footer {
width: 100%; width: 100%;
height: 300px; height: 400px;
display: flex; display: flex;
padding: 10px 15px; padding: 10px 15px;
justify-content: space-between; justify-content: space-between;
background: #fff;
.footer-left{ .footer-left{
width: 49.5%; width: 49.5%;
height: calc(300px - 80px); height: calc(400px - 80px);
background: #fff;
#chart3{ #chart3{
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -493,7 +485,8 @@ export default {
} }
.footer-right{ .footer-right{
width: 49.5%; width: 49.5%;
height: calc(300px - 80px); height: calc(400px - 80px);
background: #fff;
#chart4{ #chart4{
width: 100%; width: 100%;
height: 100%; height: 100%;