From f3f5a0c0db0b782401a9a0fcf6176312f420d941 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 25 三月 2026 14:01:19 +0800
Subject: [PATCH] 军泰伟业 1.不要树形结构。根据图纸编号为唯一索引添加产品并可以导入 2.要求可以上传图纸 3.产品可以绑定工艺路线 4.工艺路线改成由工序组成,新增编辑是工序可以挪动顺序 5.工序添加报工权限字段,可以多选人员

---
 src/views/reportAnalysis/reportManagement/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/reportAnalysis/reportManagement/index.vue b/src/views/reportAnalysis/reportManagement/index.vue
index 343a2c2..dc9d486 100644
--- a/src/views/reportAnalysis/reportManagement/index.vue
+++ b/src/views/reportAnalysis/reportManagement/index.vue
@@ -302,17 +302,17 @@
 };
 
 const getYearlyStatValue = (type, field) => {
-  const stat = yearlyPassRateData.value.find(item => item.inspectType === type);
+  const stat = yearlyPassRateData.value.find(item => item.modelType === type);
   return stat ? stat[field] : 0;
 };
 
 const getInspectStatValue = (type, field) => {
-  const stat = inspectStatisticsData.value.find(item => item.inspectType === type);
+  const stat = inspectStatisticsData.value.find(item => item.modelType === type);
   return stat ? stat[field] : 0;
 };
 
 const getPassRateStatValue = (type, field) => {
-  const stat = passRateStatisticsData.value.find(item => item.inspectType === type);
+  const stat = passRateStatisticsData.value.find(item => item.modelType === type);
   if (stat) {
     if (field === 'completionRate' || field === 'passRate') {
       return stat[field] ? Number(stat[field]).toFixed(0) + '%' : '0%';
@@ -387,7 +387,7 @@
 
 const fetchTopParametersData = async () => {
   try {
-    const typeMap = { raw: 0, semi: 1, final: 2 };
+    const typeMap = { raw: 1, semi: 2, final: 3 };
     const res = await getTopParameters(typeMap[activeTab.value]);
     if (res.code === 200) {
       topParametersData.value = res.data;

--
Gitblit v1.9.3