3.27修改入参及数据获取字段变更
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="kpi-content" style="padding: 14px 16px; display: flex; width: 100%;">
|
||||
<!-- 新增:topItem 专属包裹容器,统一控制样式和布局(原有行内样式不变) -->
|
||||
<div class="topItem-container" style="display: flex; gap: 8px;">
|
||||
<div class="dashboard left" @click="handleDashboardClick('备品丶机物料')">
|
||||
<div class="dashboard left" @click="handleDashboardClick('备件、机物料')">
|
||||
<div class="title">
|
||||
备件、机物料·元/㎡
|
||||
</div>
|
||||
@@ -76,7 +76,7 @@ export default {
|
||||
computed: {
|
||||
// 1. 备件丶机物料数据:精准筛选对应名称数据,兜底值统一
|
||||
sparePartsData() {
|
||||
return this.relatedData.find(item => (item.name || '').includes('备品丶机物料')) || {
|
||||
return this.relatedData.find(item => (item.name || '').includes('备件、机物料')) || {
|
||||
targetValue: 0,
|
||||
value: 0,
|
||||
completed: 0,
|
||||
|
||||
Reference in New Issue
Block a user