修改
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user