diff --git a/.env.dev b/.env.dev
index 1a3e9c4f..7c7b6af3 100644
--- a/.env.dev
+++ b/.env.dev
@@ -10,11 +10,11 @@ VUE_APP_TITLE = 洛玻集团驾驶舱
# VUE_APP_BASE_API = 'http://172.16.33.83:7070'
# 杨姗姗
-VUE_APP_BASE_API = 'http://172.16.20.218:7070'
+# VUE_APP_BASE_API = 'http://172.16.20.218:7070'
# 小田
# VUE_APP_BASE_API = 'http://172.16.19.232:7070'
# 测试
-# VUE_APP_BASE_API = 'http://192.168.0.35:8080'
+VUE_APP_BASE_API = 'http://192.168.0.35:8080'
# 路由懒加载
diff --git a/src/views/home/components/core-bottom-leftItem.vue b/src/views/home/components/core-bottom-leftItem.vue
index 557cb893..81f4d777 100644
--- a/src/views/home/components/core-bottom-leftItem.vue
+++ b/src/views/home/components/core-bottom-leftItem.vue
@@ -84,7 +84,7 @@ export default {
return dataMap.map(itemInfo => {
const rawItem = rawData[itemInfo.key] || {};
- const progress = Math.max(0, Math.round((rawItem.rate || 0)));
+ const progress = rawItem.rate || 0;
return {
unit: itemInfo.unit,
diff --git a/src/views/home/components/top-item.vue b/src/views/home/components/top-item.vue
index 80529402..1c501f42 100644
--- a/src/views/home/components/top-item.vue
+++ b/src/views/home/components/top-item.vue
@@ -89,7 +89,7 @@ export default {
unit: mappingItem.unit,
targetValue: indicatorData.target, // 目标值
currentValue: indicatorData.real, // 实际值
- progress: indicatorData.rate ? Math.round(indicatorData.rate) : 0, // 完成率(百分比,四舍五入)
+ progress: indicatorData.rate || 0, // 完成率
path: mappingItem.path // 路由路径
};
});
diff --git a/src/views/home/components/top-product-item.vue b/src/views/home/components/top-product-item.vue
index f0806b70..cec822af 100644
--- a/src/views/home/components/top-product-item.vue
+++ b/src/views/home/components/top-product-item.vue
@@ -101,7 +101,7 @@ export default {
return dataMap.map(itemInfo => {
const rawItem = rawData[itemInfo.key] || {};
// 计算进度百分比,确保不小于0
- const progress = Math.max(0, Math.round((rawItem.rate || 0)));
+ const progress = rawItem.rate || 0;
return {
unit: itemInfo.unit,
diff --git a/src/views/home/expenseAnalysisComponents/electricityGauge.vue b/src/views/home/expenseAnalysisComponents/electricityGauge.vue
index 7c01d243..2e9f6dd0 100644
--- a/src/views/home/expenseAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/expenseAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.rate || 0 }}
+ {{ detailData.rate || 0 }}%
diff --git a/src/views/home/expenseAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/expenseAnalysisComponents/operatingLineBarSaleSingle.vue
index a20dc065..50dbf1d1 100644
--- a/src/views/home/expenseAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/expenseAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 30,
- bottom: 50,
- right: 20,
- left: 40,
+ top: 25,
+ bottom: 30,
+ right: 0,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/expenseAnalysisComponents/operatingLineChart.vue b/src/views/home/expenseAnalysisComponents/operatingLineChart.vue
index 6a7b3c07..d8603c81 100644
--- a/src/views/home/expenseAnalysisComponents/operatingLineChart.vue
+++ b/src/views/home/expenseAnalysisComponents/operatingLineChart.vue
@@ -95,7 +95,7 @@ export default {
if (rate >= 100) return 1;
// 2. 完成率 = 0 且 (目标值=0 或 实际值=目标值=0) => 达标
- if (rate === 0 && target === 0) return 1;
+ if (real <= target) return 1;
// 其他情况 => 未达标
return 0;
diff --git a/src/views/home/expenseAnalysisComponents/operatingLineChartCumulative.vue b/src/views/home/expenseAnalysisComponents/operatingLineChartCumulative.vue
index 66932b1a..b65cd75b 100644
--- a/src/views/home/expenseAnalysisComponents/operatingLineChartCumulative.vue
+++ b/src/views/home/expenseAnalysisComponents/operatingLineChartCumulative.vue
@@ -90,7 +90,7 @@ export default {
if (rate >= 100) return 1;
// 2. 完成率 = 0 且 (目标值=0 或 实际值=目标值=0) => 达标
- if (rate === 0 && target === 0) return 1;
+ if (real <= target) return 1;
// 其他情况 => 未达标
return 0;
diff --git a/src/views/home/fullCostAnalysisComponents/electricityGauge.vue b/src/views/home/fullCostAnalysisComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/fullCostAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/fullCostAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/fullCostAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/fullCostAnalysisComponents/operatingLineBarSaleSingle.vue
index 049df841..25ae0f68 100644
--- a/src/views/home/fullCostAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/fullCostAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -83,11 +83,12 @@ export default {
// return html;
// }
},
- grid: {
- top: 30,
- bottom: 60,
- right: 30,
- left: 50,
+ grid: {
+ top: 25,
+ bottom: 20,
+ right: 10,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/fullCostAnalysisComponents/operatingLineChart.vue b/src/views/home/fullCostAnalysisComponents/operatingLineChart.vue
index 805db584..dd6383d5 100644
--- a/src/views/home/fullCostAnalysisComponents/operatingLineChart.vue
+++ b/src/views/home/fullCostAnalysisComponents/operatingLineChart.vue
@@ -88,8 +88,8 @@ getRateFlag(rate, real, target) {
// 1. 完成率 >= 100 => 达标
if (rate >= 100) return 1;
- // 2. 完成率 = 0 且 (目标值=0 或 实际值=目标值=0) => 达标
- if (rate === 0 && target === 0) return 1;
+ // 2. 实际小于等于目标) => 达标
+ if (real <= target) return 1;
// 其他情况 => 未达标
return 0;
diff --git a/src/views/home/fullCostAnalysisComponents/operatingTopBar.vue b/src/views/home/fullCostAnalysisComponents/operatingTopBar.vue
index a7f47ca6..4802d65c 100644
--- a/src/views/home/fullCostAnalysisComponents/operatingTopBar.vue
+++ b/src/views/home/fullCostAnalysisComponents/operatingTopBar.vue
@@ -163,7 +163,7 @@ export default {
// const flags = flags || [];
const currentDiff = diff || 0;
- const currentFlag = flags[0] || 0;
+ const currentFlag = data?.flags[0] || 0;
// const prefix = currentFlag === 1 ? '+' : '';
// 根据标志位选择不同的样式类
if (currentFlag === 1) {
diff --git a/src/views/home/grossMarginComponents/electricityGauge.vue b/src/views/home/grossMarginComponents/electricityGauge.vue
index 7c01d243..2e9f6dd0 100644
--- a/src/views/home/grossMarginComponents/electricityGauge.vue
+++ b/src/views/home/grossMarginComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.rate || 0 }}
+ {{ detailData.rate || 0 }}%
diff --git a/src/views/home/grossMarginComponents/operatingLineBarSaleSingle.vue b/src/views/home/grossMarginComponents/operatingLineBarSaleSingle.vue
index 049df841..50dbf1d1 100644
--- a/src/views/home/grossMarginComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/grossMarginComponents/operatingLineBarSaleSingle.vue
@@ -83,11 +83,12 @@ export default {
// return html;
// }
},
- grid: {
- top: 30,
- bottom: 60,
- right: 30,
- left: 50,
+ grid: {
+ top: 25,
+ bottom: 30,
+ right: 0,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/inputOutputRatioComponents/electricityGauge.vue b/src/views/home/inputOutputRatioComponents/electricityGauge.vue
index 7c01d243..2e9f6dd0 100644
--- a/src/views/home/inputOutputRatioComponents/electricityGauge.vue
+++ b/src/views/home/inputOutputRatioComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.rate || 0 }}
+ {{ detailData.rate || 0 }}%
diff --git a/src/views/home/inputOutputRatioComponents/operatingLineBarSaleSingle.vue b/src/views/home/inputOutputRatioComponents/operatingLineBarSaleSingle.vue
index 049df841..a3a9d34b 100644
--- a/src/views/home/inputOutputRatioComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/inputOutputRatioComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 30,
- bottom: 60,
- right: 30,
- left: 50,
+ top: 25,
+ bottom: 30,
+ right: 0,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/netPriceAnalysisComponents/electricityGauge.vue b/src/views/home/netPriceAnalysisComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/netPriceAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/netPriceAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/netPriceAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/netPriceAnalysisComponents/operatingLineBarSaleSingle.vue
index 049df841..25ae0f68 100644
--- a/src/views/home/netPriceAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/netPriceAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -83,11 +83,12 @@ export default {
// return html;
// }
},
- grid: {
- top: 30,
- bottom: 60,
- right: 30,
- left: 50,
+ grid: {
+ top: 25,
+ bottom: 20,
+ right: 10,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/operatingComponents/electricityGauge.vue b/src/views/home/operatingComponents/electricityGauge.vue
index 17bce4a3..05e898fa 100644
--- a/src/views/home/operatingComponents/electricityGauge.vue
+++ b/src/views/home/operatingComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.rate || 0 }}
+ {{ detailData.rate || 0 }}%
diff --git a/src/views/home/operatingComponents/operatingLineBarSaleSingle.vue b/src/views/home/operatingComponents/operatingLineBarSaleSingle.vue
index b7e18f99..bb1e00b0 100644
--- a/src/views/home/operatingComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/operatingComponents/operatingLineBarSaleSingle.vue
@@ -92,10 +92,11 @@ export default {
// }
},
grid: {
- top: 20,
- bottom: 60,
- right: 20,
- left: 40,
+ top: 25,
+ bottom: 30,
+ right: 0,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/operatingComponents/operatingSingleBar.vue b/src/views/home/operatingComponents/operatingSingleBar.vue
index f07a102e..910b05e2 100644
--- a/src/views/home/operatingComponents/operatingSingleBar.vue
+++ b/src/views/home/operatingComponents/operatingSingleBar.vue
@@ -23,6 +23,7 @@ export default {
chartD() {
// 背景图片路径(若不需要可注释)
// const bgImageUrl = require('@/assets/img/labelBg.png');
+ console.log('this.detailData', this.detailData);
const rate = this.detailData?.rate || 0
const diff = this.detailData?.diff || 0
console.log('diff', diff);
diff --git a/src/views/home/operatingProfitComponents/electricityGauge.vue b/src/views/home/operatingProfitComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/operatingProfitComponents/electricityGauge.vue
+++ b/src/views/home/operatingProfitComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/operatingProfitComponents/operatingLineBarSaleSingle.vue b/src/views/home/operatingProfitComponents/operatingLineBarSaleSingle.vue
index 4ec0699e..0da76fdc 100644
--- a/src/views/home/operatingProfitComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/operatingProfitComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 30,
- bottom: 60,
- right: 20,
- left: 40,
+ top: 25,
+ bottom: 40,
+ right: 5,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/procurementGainAnalysisComponents/electricityGauge.vue b/src/views/home/procurementGainAnalysisComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/procurementGainAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/procurementGainAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/procurementGainAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/procurementGainAnalysisComponents/operatingLineBarSaleSingle.vue
index 049df841..25ae0f68 100644
--- a/src/views/home/procurementGainAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/procurementGainAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -83,11 +83,12 @@ export default {
// return html;
// }
},
- grid: {
- top: 30,
- bottom: 60,
- right: 30,
- left: 50,
+ grid: {
+ top: 25,
+ bottom: 20,
+ right: 10,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/productionCostAnalysis/singleProcessingFuel.vue b/src/views/home/productionCostAnalysis/singleProcessingFuel.vue
index d9991696..072ffa31 100644
--- a/src/views/home/productionCostAnalysis/singleProcessingFuel.vue
+++ b/src/views/home/productionCostAnalysis/singleProcessingFuel.vue
@@ -215,20 +215,20 @@ export default {
// 调用接口
getSingleMaterialAnalysis(requestParams).then((res) => {
this.monData = res.data.currentMonthData.find(item => {
- return item.name === "电成本";
+ return item.name === "原片电成本";
});
console.log('this.monData', this.monData);
this.totalData = res.data.totalMonthData.find(item => {
- return item.name === "电成本";
+ return item.name === "原片电成本";
});
// this.relatedMon = res.data.relatedMon
this.relatedData = {
relatedMon: res.data.currentMonthData.filter(item => {
- return item.name !== "电成本";
+ return item.name !== "原片电成本";
}), // 兜底月度数据
relatedTotal: res.data.totalMonthData.filter(item => {
- return item.name !== "电成本";
+ return item.name !== "原片电成本";
}) // 兜底累计数据
}
diff --git a/src/views/home/productionCostAnalysisComponents/electricityGauge.vue b/src/views/home/productionCostAnalysisComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/productionCostAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/productionCostAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/productionCostAnalysisComponents/monthlyOverview.vue b/src/views/home/productionCostAnalysisComponents/monthlyOverview.vue
index 53f46643..f0839d8c 100644
--- a/src/views/home/productionCostAnalysisComponents/monthlyOverview.vue
+++ b/src/views/home/productionCostAnalysisComponents/monthlyOverview.vue
@@ -74,7 +74,7 @@ export default {
target: this.monData.targetValue,
thb: this.monData.thb,
// ...rawData,
- flag: this.getRateFlag(this.monData.completed) // 新增flag字段
+ flag: this.monData.completed
};
}
},
@@ -87,15 +87,6 @@ export default {
return 0;
}
return value;
- },
- /**
- * 判断完成率对应的flag值(<100为0,≥100为1)
- * @param {number} rate 完成率(原始值,如89代表89%)
- * @returns {0|1} flag值
- */
- getRateFlag(rate) {
- if (isNaN(rate) || rate === null || rate === undefined) return 0;
- return rate >= 100 ? 1 : 0;
}
}
}
diff --git a/src/views/home/productionCostAnalysisComponents/monthlyRelatedMetricsProcessingFuel.vue b/src/views/home/productionCostAnalysisComponents/monthlyRelatedMetricsProcessingFuel.vue
index 6cabce79..f4f838ec 100644
--- a/src/views/home/productionCostAnalysisComponents/monthlyRelatedMetricsProcessingFuel.vue
+++ b/src/views/home/productionCostAnalysisComponents/monthlyRelatedMetricsProcessingFuel.vue
@@ -10,7 +10,7 @@
电·万元
-
+
@@ -18,7 +18,7 @@
水·元/㎡
-
+
diff --git a/src/views/home/productionCostAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/productionCostAnalysisComponents/operatingLineBarSaleSingle.vue
index 9e43b522..6f192752 100644
--- a/src/views/home/productionCostAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/productionCostAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 40,
- bottom: 60,
- right: 70,
- left: 60,
+ top: 25,
+ bottom: 30,
+ right: 10,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/productionCostAnalysisComponents/operatingSingleBar.vue b/src/views/home/productionCostAnalysisComponents/operatingSingleBar.vue
index 5bddb83a..73efc9ec 100644
--- a/src/views/home/productionCostAnalysisComponents/operatingSingleBar.vue
+++ b/src/views/home/productionCostAnalysisComponents/operatingSingleBar.vue
@@ -23,7 +23,7 @@ export default {
return ['预算', '实际'];
},
chartD() {
- console.log(this.detailData,'detailData');
+ console.log(this.detailData,'detailData==========');
// 背景图片路径(若不需要可注释)
// const bgImageUrl = require('@/assets/img/labelBg.png');
diff --git a/src/views/home/productionCostAnalysisComponents/yearRelatedMetricsFuel.vue b/src/views/home/productionCostAnalysisComponents/yearRelatedMetricsFuel.vue
index 5381753c..70aaef02 100644
--- a/src/views/home/productionCostAnalysisComponents/yearRelatedMetricsFuel.vue
+++ b/src/views/home/productionCostAnalysisComponents/yearRelatedMetricsFuel.vue
@@ -10,7 +10,7 @@
电·万元
-
+
@@ -18,7 +18,7 @@
水·元/㎡
-
+
diff --git a/src/views/home/rawSheetYieldComponents/electricityGauge.vue b/src/views/home/rawSheetYieldComponents/electricityGauge.vue
index 7c01d243..2e9f6dd0 100644
--- a/src/views/home/rawSheetYieldComponents/electricityGauge.vue
+++ b/src/views/home/rawSheetYieldComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.rate || 0 }}
+ {{ detailData.rate || 0 }}%
diff --git a/src/views/home/rawSheetYieldComponents/operatingLineBarSaleSingle.vue b/src/views/home/rawSheetYieldComponents/operatingLineBarSaleSingle.vue
index 5bc6e420..50dbf1d1 100644
--- a/src/views/home/rawSheetYieldComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/rawSheetYieldComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 30,
- bottom: 60,
- right: 30,
- left: 50,
+ top: 25,
+ bottom: 30,
+ right: 0,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/salesVolumeAnalysisComponents/electricityGauge.vue b/src/views/home/salesVolumeAnalysisComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/salesVolumeAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/salesVolumeAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/salesVolumeAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/salesVolumeAnalysisComponents/operatingLineBarSaleSingle.vue
index 0f0f60a4..cc80b85b 100644
--- a/src/views/home/salesVolumeAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/salesVolumeAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 20,
- bottom: 40,
- right:20,
- left: 40,
+ top: 25,
+ bottom: 20,
+ right: 10,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/totalProfitComponents/electricityGauge.vue b/src/views/home/totalProfitComponents/electricityGauge.vue
index 17a1ba1d..b3ce9c3c 100644
--- a/src/views/home/totalProfitComponents/electricityGauge.vue
+++ b/src/views/home/totalProfitComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate ? detailData.completeRate : 0 }}
+ {{ detailData.completeRate ? detailData.completeRate : 0 }}%
diff --git a/src/views/home/totalProfitComponents/operatingLineBarSaleSingle.vue b/src/views/home/totalProfitComponents/operatingLineBarSaleSingle.vue
index 89479bab..cc80b85b 100644
--- a/src/views/home/totalProfitComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/totalProfitComponents/operatingLineBarSaleSingle.vue
@@ -83,11 +83,12 @@ export default {
// return html;
// }
},
- grid: {
- top: 20,
- bottom: 40,
- right: 20,
- left: 40,
+ grid: {
+ top: 25,
+ bottom: 20,
+ right: 10,
+ left: 2,
+ containLabel: true
},
xAxis: [
{
diff --git a/src/views/home/unitPriceAnalysisComponents/electricityGauge.vue b/src/views/home/unitPriceAnalysisComponents/electricityGauge.vue
index 92d73f5e..2e6f324d 100644
--- a/src/views/home/unitPriceAnalysisComponents/electricityGauge.vue
+++ b/src/views/home/unitPriceAnalysisComponents/electricityGauge.vue
@@ -4,7 +4,7 @@
- {{ detailData.completeRate || 0 }}
+ {{ detailData.completeRate || 0 }}%
diff --git a/src/views/home/unitPriceAnalysisComponents/operatingLineBarSaleSingle.vue b/src/views/home/unitPriceAnalysisComponents/operatingLineBarSaleSingle.vue
index 06ad778e..343aef96 100644
--- a/src/views/home/unitPriceAnalysisComponents/operatingLineBarSaleSingle.vue
+++ b/src/views/home/unitPriceAnalysisComponents/operatingLineBarSaleSingle.vue
@@ -84,10 +84,11 @@ export default {
// }
},
grid: {
- top: 20,
- bottom: 55,
- right: 20,
- left: 40,
+ top: 25,
+ bottom: 30,
+ right: 0,
+ left: 2,
+ containLabel: true
},
xAxis: [
{