From 44fe7b7d69118a4d03bed8dadcf9b6bba1416f9d Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 04 九月 2024 18:08:10 +0800
Subject: [PATCH] 测试完成

---
 src/views/outsideChainxj.vue |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/views/outsideChainxj.vue b/src/views/outsideChainxj.vue
index e843090..c8a7b9e 100644
--- a/src/views/outsideChainxj.vue
+++ b/src/views/outsideChainxj.vue
@@ -6,11 +6,11 @@
         <!-- 鍗曢�� -->
         <div v-html="richText"></div>
       </div>
-      <el-form :model="formData" label-width="80px">
+      <!-- <el-form :model="formData" label-width="80px">
         <el-form-item>
           <el-button type="primary" @click="submitForm">纭鏌ョ湅</el-button>
         </el-form-item>
-      </el-form>
+      </el-form> -->
     </div>
   </div>
 </template>
@@ -41,6 +41,7 @@
         question3: "",
       },
       richText: "<p>Hello, <strong>world</strong>!</p>",
+      url:'',
     };
   },
 
@@ -65,12 +66,10 @@
       // let patids = this.encrypt(this.patid);
       getExternalfollowup({ param1: this.taskid, param2: this.patid }).then((res) => {
         if (res.code == 200) {
-          this.questionList = res.rows;
-        }
-      });
-      // 涓存椂鑾峰彇鏁版嵁
+          this.url = res.data.script[0].richText;
+          // 涓存椂鑾峰彇鏁版嵁
       axios
-        .get("http://192.168.1.10:8095/profile/upload/show/娴嬭瘯/娴嬭瘯.html")
+        .get(this.url)
         .then((response) => {
           console.log(response.data, "鏁版嵁"); // 杈撳嚭鑾峰彇鍒扮殑鏂囦欢鍐呭
           this.richText = response.data;
@@ -79,6 +78,9 @@
         .catch((error) => {
           console.error("Failed to fetch file:", error);
         });
+        }
+      });
+
     },
     addStyleToImages(html) {
       return html.replace(
@@ -104,8 +106,8 @@
       // 鎻愪氦琛ㄥ崟閫昏緫
       console.log(this.questionList);
       let form = {
-        param1: this.encrypt(this.taskid),
-        param2: this.encrypt(this.patid),
+        param1: this.taskid,
+        param2: this.patid,
         ivrTaskcalldetailList: [],
       };
       this.questionList.forEach((item) => {

--
Gitblit v1.9.3