From 94ce59bb6e94bd5e78f32d921ce5c14d641dabc8 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 15 四月 2026 09:04:45 +0800
Subject: [PATCH] 测试完成

---
 src/views/Satisfaction/configurationmyd/index.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/Satisfaction/configurationmyd/index.vue b/src/views/Satisfaction/configurationmyd/index.vue
index 75038c3..5029a05 100644
--- a/src/views/Satisfaction/configurationmyd/index.vue
+++ b/src/views/Satisfaction/configurationmyd/index.vue
@@ -976,12 +976,16 @@
       return new Promise((resolve) => {
         getQtemplatelist({ pageSize: 1000 })
           .then((res) => {
-            if (res.code === 200) {
+            console.log(res.rows, "res.rows");
+            if (res.code == 200) {
+              console.log(res.rows, 2);
               this.questionnaireTemplates = (res.rows || []).map((item) => ({
                 id: item.svyid,
                 templateName: item.svyname,
                 isavailable: item.isavailable,
               }));
+              console.log(this.followupTemplates, 3);
+
             } else {
               this.$message.error(res.msg || "鍔犺浇闂嵎妯℃澘澶辫触");
             }
@@ -1000,12 +1004,16 @@
       return new Promise((resolve) => {
         getFollowuplist({ pageSize: 1000 })
           .then((res) => {
-            if (res.code === 200) {
+            console.log(res.rows, "res.rows");
+            if (res.code == 200) {
+              console.log(res.rows, 2);
+
               this.followupTemplates = (res.rows || []).map((item) => ({
                 id: item.id,
                 templateName: item.templateName,
                 isavailable: item.isavailable,
               }));
+              console.log(this.followupTemplates, 3);
             } else {
               this.$message.error(res.msg || "鍔犺浇璇煶妯℃澘澶辫触");
             }
@@ -1200,8 +1208,10 @@
     /** 閰嶇疆鍙樻洿澶勭悊 */
     handleConfigChange(question) {
       this.$nextTick(() => {
-        const index = this.filteredQuestionList.findIndex((q) => q.id === question.id);
-        console.log(index,'index');
+        const index = this.filteredQuestionList.findIndex(
+          (q) => q.id === question.id
+        );
+        console.log(index, "index");
 
         if (index !== -1) {
           const formRef = this.$refs.configForm && this.$refs.configForm[index];

--
Gitblit v1.9.3