WXL
2025-07-23 f93c1fb5efcb2dfb06141e83624374ab5bb14e0b
测试完成
已修改1个文件
26 ■■■■■ 文件已修改
src/views/outsideChainxj.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainxj.vue
@@ -10,7 +10,9 @@
    <div class="CONTENT" >
      <div class="preview-left">
        <div class="toptitle">
          <div class="title">{{ taskname ? taskname : "无锡儿童医院医护知识宣教" }}</div>
          <div class="title">
            {{ taskname ? taskname : "无锡儿童医院医护知识宣教" }}
          </div>
          <div style="font-size: 22px; margin-bottom: 20px; line-height: 1.5">
            {{
              kcb
@@ -36,7 +38,8 @@
            jsy
              ? jsy
              : "生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次宣教内容就到这里,祝您身体健康!"
          }}        </div>
          }}
        </div>
        <!-- <div style="font-size: 20px">
          {{
            jsy
@@ -76,15 +79,16 @@
        question3: "",
      },
      richText: "<p>Hello, <strong>world</strong>!</p>",
      url:'',
      taskname:'',
      kcb:'',
      jsy:'',
      url: "",
      taskname: "",
      kcb: "",
      jsy: "",
    };
  },
  created() {
      this.geturlinfo();  },
    this.geturlinfo();
  },
  methods: {
    // 解析urlid
    geturlinfo() {
@@ -119,7 +123,8 @@
      // // this.$modal.msgSuccess("任务id为" + this.taskid);
      // let taskids = this.encrypt(this.taskid);
      // let patids = this.encrypt(this.patid);
      getExternalfollowup({ param1: this.taskid, param2: this.patid }).then((res) => {
      getExternalfollowup({ param1: this.taskid, param2: this.patid }).then(
        (res) => {
        if (res.code == 200) {
          this.url = res.data.script[0].richText;
          this.jsy = res.data.jsy;
@@ -136,8 +141,8 @@
          console.error("Failed to fetch file:", error);
        });
        }
      });
        }
      );
    },
    addStyleToImages(html) {
      return html.replace(
@@ -194,7 +199,6 @@
</script>
<style lang="scss" scoped>
.questionnaire {
  background-image: url("../assets/images/chainbackground1.jpg");
  background-color: #f9f9fb;