Browse Source

光伏盈利单位修改;停车分析名称修改

Bella 2 years ago
parent
commit
632ce9be68

+ 4 - 1
src/components/dashboard/more/pv/pvPowerProfitChart.vue

@@ -7,7 +7,9 @@ export default {
       dataIndexes: ["subsidy", "saving","earning"],
       option: {
         tooltip: {
-          trigger: "item",
+          formatter:function(params){
+            return params.seriesName + " :  " + params.value + '元';
+          }
         },
         legend: {
           bottom: "8%",
@@ -18,6 +20,7 @@ export default {
           {
             name: "金额",
             type: "pie",
+            unit:"元",
             center: ["50%", "40%"],
             data: [
               { value: 0, name: "补贴金额" },

+ 1 - 1
src/components/life/parking/lifeParking.vue

@@ -150,7 +150,7 @@ export default {
       <a-row :gutter="[12, 12]">
         <a-col :span="18">
           <div class="lifeParking-trend ioc-card-content">
-            <Card title="车流态势">
+            <Card title="停车分析">
               <LifeParkTrendChart
                 ref="LifeParkTrendChart"
                 :queryData="queryData"