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 | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue b/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue
index d25ddf7..57dbaae 100644
--- a/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue
+++ b/src/views/Satisfaction/configurationmyd/components/DetailsAnomaly.vue
@@ -73,12 +73,6 @@
<span class="value">{{ currentRecord.handleBy || '鏈鐞�' }}</span>
</div>
</el-col>
- <el-col :span="24" v-if="currentRecord.patdesc">
- <div class="info-item">
- <span class="label">鎮h�呬俊鎭細</span>
- <span class="value">{{ currentRecord.patdesc }}</span>
- </div>
- </el-col>
<el-col :span="8" v-if="currentRecord.handleresult">
<div class="info-item">
<span class="label">澶勭悊缁撴灉锛�</span>
@@ -120,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">
@@ -140,7 +139,7 @@
v-if="item.scriptType == 1 && !item.astrict"
>
<div class="dev-text">
- {{ index + 1 }}銆乕鍗曢�塢<span>{{ item.scriptContent }}</span>
+ {{ index + 1 }}. [鍗曢�塢<span>{{ item.scriptContent }}</span>
</div>
<div class="dev-xx">
<el-radio-group v-model="item.scriptResult" disabled>
@@ -175,7 +174,7 @@
v-if="item.scriptType == 2 && !item.astrict"
>
<div class="dev-text">
- {{ index + 1 }}銆乕澶氶�塢<span>{{ item.scriptContent }}</span>
+ {{ index + 1 }}. [澶氶�塢<span>{{ item.scriptContent }}</span>
</div>
<div class="dev-xx">
<el-checkbox-group v-model="item.scriptResult" disabled>
@@ -200,7 +199,7 @@
v-if="item.scriptType == 4 && !item.astrict"
>
<div class="dev-text">
- {{ index + 1 }}銆乕闂瓟]<span>{{ item.scriptContent }}</span>
+ {{ index + 1 }}. [闂瓟]<span>{{ item.scriptContent }}</span>
<span v-if="item.valueType == 3">(鍙兘杈撳叆鏁板瓧)</span>
</div>
<div class="dev-xx" v-if="item.valueType == 3">
@@ -535,6 +534,8 @@
// 鍔犺浇鐘舵��
loading: false,
+ // 闂嵎/璇煶璇︽儏鍔犺浇鐘舵��
+ contentLoading: false,
// 鏉冮檺鎺у埗
hasQualityPermission: false
@@ -743,6 +744,7 @@
// 鍔犺浇闂嵎鏁版嵁
async loadQuestionnaireData() {
+ this.contentLoading = true;
try {
// 杩欓噷闇�瑕佹牴鎹疄闄呮儏鍐佃皟鐢ㄦ帴鍙h幏鍙栭棶鍗锋暟鎹�
// 濡傛灉recordData涓凡缁忓寘鍚簡闂嵎鏁版嵁锛屽彲浠ョ洿鎺ヤ娇鐢�
@@ -776,6 +778,8 @@
}
} catch (error) {
console.error('鍔犺浇闂嵎鏁版嵁澶辫触:', error);
+ } finally {
+ this.contentLoading = false;
}
},
@@ -794,6 +798,7 @@
// 鍔犺浇璇煶鏁版嵁
async loadVoiceData() {
+ this.contentLoading = true;
try {
if (this.currentRecord.taskid && this.currentRecord.patid) {
const params = {
@@ -820,6 +825,8 @@
}
} catch (error) {
console.error('鍔犺浇璇煶鏁版嵁澶辫触:', error);
+ } finally {
+ this.contentLoading = false;
}
},
--
Gitblit v1.9.3