修改
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
|
||||
<sidebar v-if="!sidebar.hide" class="sidebar-container" />
|
||||
<ReportHeader size="psi" @timeRangeChange="handleTimeChange" top-title="制造费用成本分析" :is-full-screen="isFullScreen"
|
||||
@screenfullChange="screenfullChange" />
|
||||
@screenfullChange="screenfullChange" />
|
||||
<div class="main-body" style="
|
||||
margin-top: -20px;
|
||||
flex: 1;
|
||||
@@ -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: 'singleProductionCostsAnalysis'
|
||||
}
|
||||
})
|
||||
this.trendData = res.data[0]
|
||||
this.trendData = res.data[1]
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user