This commit is contained in:
ljx
2025-09-12 19:28:43 +08:00
parent 6a07a25c2e
commit ae21698e5f
15 changed files with 1489 additions and 22 deletions

View File

@ -53,7 +53,7 @@
</div>
</div>
<div class="output">
<Title title="实际产值与预期产值对比" style="font-size: 22px" />
<Title title="实际进度与计划进度对比" style="font-size: 22px" />
<div class="chart_container">
<div ref="lineChartRef" class="echart" />
</div>
@ -155,8 +155,8 @@ const initPieChart = () => {
const getOutputData = async () => {
const res = await outpuProgress();
if (res.code == 200) {
designAreaData.value = res.data.map((item: any) => Number(item.planValue));
transferAreaData.value = res.data.map((item: any) => Number(item.actualValue));
designAreaData.value = res.data.map((item: any) => Number(item.plannedCapacity * item.progressPercentage));
transferAreaData.value = res.data.map((item: any) => Number(item.plannedCapacity));
barNames.value = res.data.map((item: any) => item.projectName);
initLineChart();
}