修改
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
gap: 12px;
|
||||
grid-template-columns: 1624px;
|
||||
">
|
||||
<profitLineChart :trendData="trendData" />
|
||||
<profitLineChart :yName="'元/㎡'" :trendData="trendData" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -180,13 +180,13 @@ export default {
|
||||
};
|
||||
// 调用接口
|
||||
getCostAnalysisXXCostList(requestParams).then((res) => {
|
||||
this.itemData = res.data[1].map((item) => {
|
||||
this.itemData = res.data[0].map((item) => {
|
||||
return {
|
||||
...item,
|
||||
route: 'singlecombustionPowerAnalysis'
|
||||
}
|
||||
})
|
||||
this.trendData = res.data[0]
|
||||
this.trendData = res.data[1]
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user