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

@@ -41,7 +41,7 @@
</div>
</div>
<div class="lineBottom" style="height: 100%; width: 1590px">
<costBaseBarChart style="height: 99%; width: 1590px" />
<costBaseBarChart :yName="yName" style="height: 99%; width: 1590px" />
</div>
</div>
</template>
@@ -51,18 +51,12 @@ import costBaseBarChart from './costBaseBarChart.vue';
export default {
name: "Container",
components: { costBaseBarChart },
props: ["name", "size", "icon"],
props: ['dateData','yName'],
data() {
return {
isDropdownShow: false,
selectedProfit: '原料', // 默认选中"原料"
profitOptions: ['原料', '其他选项1', '其他选项2'], // 可根据实际需求修改选项
itemList: [
{ unit: "单价·元/m²", targetValue: 16, currentValue: 14.5, progress: 90 },
{ unit: "净价·元/m²", targetValue: 16, currentValue: 15.2, progress: 85 },
{ unit: "销量·万m²", targetValue: 20, currentValue: 16, progress: 80 },
{ unit: "双镀面板·万m²", targetValue: 15, currentValue: 13.8, progress: 92 },
],
};
},
computed: {},