From 7726b6cdab80596d2e2f7dd3fe1ec3dfbdeee155 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 12 六月 2026 09:42:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_pro_河南鹤壁' into dev_pro_河南鹤壁

---
 src/views/customerService/feedbackRegistration/index.vue |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/src/views/customerService/feedbackRegistration/index.vue b/src/views/customerService/feedbackRegistration/index.vue
index 4fd469b..bcbb326 100644
--- a/src/views/customerService/feedbackRegistration/index.vue
+++ b/src/views/customerService/feedbackRegistration/index.vue
@@ -112,6 +112,7 @@
     </div>
     <form-dia ref="formDia"
               @close="handleQuery"></form-dia>
+    <view-dia ref="viewDia"></view-dia>
   </div>
 </template>
 
@@ -126,6 +127,7 @@
     nextTick,
   } from "vue";
   import FormDia from "@/views/customerService/feedbackRegistration/components/formDia.vue";
+  import ViewDia from "@/views/customerService/components/viewDia.vue";
   import { ElMessageBox } from "element-plus";
   import {
     afterSalesServiceDelete,
@@ -149,14 +151,14 @@
     {
       icon: markRaw(FolderOpened),
       count: 0,
-      label: "宸插鐞�",
+      label: "寰呭鐞�",
       color: "#ff9a2e",
       bgColor: "#fff5e6",
     },
     {
       icon: markRaw(UserFilled),
       count: 0,
-      label: "宸插畬鎴�",
+      label: "宸插鐞�",
       color: "#00b42a",
       bgColor: "#e6f7ed",
     },
@@ -255,6 +257,15 @@
       align: "center",
     },
     {
+      label: "鏁伴噺",
+      prop: "productModelQuantities",
+      align: "center",
+      formatData: params => {
+        if (!params) return "0";
+        return String(params).split(',').reduce((sum, val) => sum + (Number(val) || 0), 0);
+      }
+    },
+    {
       label: "瀹㈡埛璇夋眰",
       prop: "proDesc",
       width: 300,
@@ -269,7 +280,16 @@
       dataType: "action",
       label: "鎿嶄綔",
       fixed: "right",
+      width: 180,
+      align: "center",
       operation: [
+        {
+          name: "璇︽儏",
+          type: "text",
+          clickFun: row => {
+            viewDia.value?.openDialog(row);
+          },
+        },
         {
           name: "缂栬緫",
           type: "text",
@@ -307,6 +327,7 @@
     selectedRows.value = selection;
   };
   const formDia = ref();
+  const viewDia = ref();
 
   // 瀛楀吀鑾峰彇
   /* 
@@ -424,8 +445,8 @@
       if (res.code === 200) {
         const statsData = Array.isArray(res.data) ? res.data : [];
         statsList.value[0].count = getStatsCountByStatus(statsData, 3);
-        statsList.value[1].count = getStatsCountByStatus(statsData, 2);
-        statsList.value[2].count = getStatsCountByStatus(statsData, 1);
+        statsList.value[1].count = getStatsCountByStatus(statsData, 1);
+        statsList.value[2].count = getStatsCountByStatus(statsData, 2);
       }
     });
   };

--
Gitblit v1.9.3