From 70e4d2c33cc2e3af590d1816c0c703da341538cf Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 04 九月 2026 14:13:32 +0800
Subject: [PATCH] 测试完成

---
 src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue b/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue
index 42ee116..57dbaae 100644
--- a/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue
+++ b/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue
@@ -114,7 +114,12 @@
     </div>
 
     <!-- 闂嵎/璇煶璇︽儏 -->
-    <div class="content-container" v-if="templateData.length > 0">
+    <div
+      class="content-container"
+      v-if="currentRecord.templateType"
+      v-loading="contentLoading"
+      element-loading-text="璇︽儏鍔犺浇涓�..."
+    >
       <el-tabs v-model="activeName" type="border-card">
         <!-- 闂嵎闅忚璇︽儏 -->
         <el-tab-pane name="wj" v-if="currentRecord.templateType === 2">
@@ -529,6 +534,8 @@
 
       // 鍔犺浇鐘舵��
       loading: false,
+      // 闂嵎/璇煶璇︽儏鍔犺浇鐘舵��
+      contentLoading: false,
 
       // 鏉冮檺鎺у埗
       hasQualityPermission: false
@@ -737,6 +744,7 @@
 
     // 鍔犺浇闂嵎鏁版嵁
     async loadQuestionnaireData() {
+      this.contentLoading = true;
       try {
         // 杩欓噷闇�瑕佹牴鎹疄闄呮儏鍐佃皟鐢ㄦ帴鍙h幏鍙栭棶鍗锋暟鎹�
         // 濡傛灉recordData涓凡缁忓寘鍚簡闂嵎鏁版嵁锛屽彲浠ョ洿鎺ヤ娇鐢�
@@ -770,6 +778,8 @@
         }
       } catch (error) {
         console.error('鍔犺浇闂嵎鏁版嵁澶辫触:', error);
+      } finally {
+        this.contentLoading = false;
       }
     },
 
@@ -788,6 +798,7 @@
 
     // 鍔犺浇璇煶鏁版嵁
     async loadVoiceData() {
+      this.contentLoading = true;
       try {
         if (this.currentRecord.taskid && this.currentRecord.patid) {
           const params = {
@@ -814,6 +825,8 @@
         }
       } catch (error) {
         console.error('鍔犺浇璇煶鏁版嵁澶辫触:', error);
+      } finally {
+        this.contentLoading = false;
       }
     },
 

--
Gitblit v1.9.3