From a49ce34b34915aaa940b969fc42ade4845cd2222 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期六, 07 九月 2024 20:05:25 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/Missioncreation.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue
index bf53714..81d336e 100644
--- a/src/views/patient/propaganda/Missioncreation.vue
+++ b/src/views/patient/propaganda/Missioncreation.vue
@@ -437,7 +437,7 @@
     <el-dialog title="妯℃澘棰勮" :visible.sync="previewtf" width="60%">
       <div class="preview-left">
         <!-- 鍗曢�� -->
-        <div v-html="richText"></div>
+        <div v-html="htmlRichText"></div>
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="previewGo">鍓嶅線妯℃澘璇︽儏淇敼</el-button>
@@ -599,7 +599,7 @@
       checkboxlist: [],
       tableLabel: [],
       questionList: [],
-      richText: "<p>Hello, <strong>world</strong>!</p>",
+      htmlRichText: "<p>Hello, <strong>world</strong>!</p>",
       // 鎮h�呰〃鍗�
       tableLabelhz: [
         // { label: "搴忓彿", width: "", prop: "patid" },
@@ -899,7 +899,7 @@
     selectfn(row, type) {
       // 妯℃澘鎯呭喌涓嬭幏鍙栨ā鏉夸俊鎭�
       this.libName = row.preachname;
-      this.richText = null;
+      this.htmlRichText = null;
       this.libId = row.id;
       console.log(row, "row");
       this.Tasktemplate = row;
@@ -907,13 +907,13 @@
       this.previewid = row.svyid;
       console.log(this.questionList, "questionList");
       // this.Variablehandling(row.svyLibScripts, 1);
-      console.log(row.richText);
+      console.log(row.htmlRichText);
       axios
-        .get(row.richText)
+        .get(row.htmlRichText)
         .then((response) => {
           console.log(response.data, "鏁版嵁"); // 杈撳嚭鑾峰彇鍒扮殑鏂囦欢鍐呭
-          this.richText = response.data;
-          this.richText = this.addStyleToImages(this.richText);
+          this.htmlRichText = response.data;
+          this.htmlRichText = this.addStyleToImages(this.htmlRichText);
         })
         .catch((error) => {
           this.$modal.msgError("鑾峰彇瀵屾枃鏈け璐�");

--
Gitblit v1.9.3