diff --git a/src/views/astatistics/components/PurchaseContracts.vue b/src/views/astatistics/components/PurchaseContracts.vue index b12c1f2..ebeb665 100644 --- a/src/views/astatistics/components/PurchaseContracts.vue +++ b/src/views/astatistics/components/PurchaseContracts.vue @@ -107,7 +107,7 @@ const setHistogramOption = (legend, xAxisData, series) => { const getCustom = async () => { showChart.value = false - let res = await apistatisticsprocurementContract({ yaer: year.value }) + let res = await apistatisticsprocurementContract({ year: year.value }) showChart.value = true await nextTick() initChart("PurchaseContracts", setHistogramOption({ data: [res.series.name] }, res.column