This commit is contained in:
‘937886381’
2025-11-13 13:29:46 +08:00
parent bff6efbaa8
commit 5ddab768ef
33 changed files with 153 additions and 251 deletions

View File

@@ -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]
});
},