3.27修改入参及数据获取字段变更

This commit is contained in:
2026-03-30 08:49:16 +08:00
parent 9b0a768216
commit b05d42cfc8
18 changed files with 84 additions and 44 deletions

View File

@@ -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,