From 0733833340a773ec9ea4d3acee3d37526161bfd9 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 22 八月 2024 16:51:03 +0800
Subject: [PATCH] 测试完成
---
src/views/outsideChainxj.vue | 43 ++++++++++++++++++++-----------------------
1 files changed, 20 insertions(+), 23 deletions(-)
diff --git a/src/views/outsideChainxj.vue b/src/views/outsideChainxj.vue
index 75e80ad..b6db656 100644
--- a/src/views/outsideChainxj.vue
+++ b/src/views/outsideChainxj.vue
@@ -1,7 +1,7 @@
<template>
<div class="questionnaire">
<div class="CONTENT">
- <div class="title">鏆戞湡涓�鍙峰鏁�</div>
+ <div class="title">鏂板崕鍖婚櫌鍖绘姢鐭ヨ瘑瀹f暀</div>
<div class="preview-left">
<!-- 鍗曢�� -->
<div v-html="richText"></div>
@@ -50,33 +50,30 @@
methods: {
// 鑾峰彇鏁版嵁
getQuestionnaire() {
- let taskid = this.$route.query.param1;
- let patid = this.$route.query.param2;
- // let taskid =
- // "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
- // let patid =
- // "CVk0j8O86AeCqhV5WPsBBYDg9fec0wDoDlP9imYK4wDBNIkxywZzMJEGlPagOxnq6qr2WYZo0U8MUGWRGnq8ZA==";
- this.taskid = this.decrypt(taskid);
- this.patid = this.decrypt(patid);
+ // let taskid = this.$route.query.param1;
+ // let patid = this.$route.query.param2;
+ // // let taskid =
+ // // "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
+ // // let patid =
+ // // "CVk0j8O86AeCqhV5WPsBBYDg9fec0wDoDlP9imYK4wDBNIkxywZzMJEGlPagOxnq6qr2WYZo0U8MUGWRGnq8ZA==";
+ // this.taskid = this.decrypt(taskid);
+ // this.patid = this.decrypt(patid);
- // this.$modal.msgSuccess("鐢ㄦ埛id涓�" + this.patid);
- // this.$modal.msgSuccess("浠诲姟id涓�" + this.taskid);
- let taskids = this.encrypt(this.taskid);
- let patids = this.encrypt(this.patid);
- getExternalfollowup({ param1: taskids, param2: patids }).then((res) => {
- if (res.code == 200) {
- this.questionList = res.rows;
- }
- });
+ // // this.$modal.msgSuccess("鐢ㄦ埛id涓�" + this.patid);
+ // // this.$modal.msgSuccess("浠诲姟id涓�" + this.taskid);
+ // let taskids = this.encrypt(this.taskid);
+ // let patids = this.encrypt(this.patid);
+ // getExternalfollowup({ param1: taskids, param2: patids }).then((res) => {
+ // if (res.code == 200) {
+ // this.questionList = res.rows;
+ // }
+ // });
// 涓存椂鑾峰彇鏁版嵁
axios
- .get("http://localhost:8089/profile/upload/show/娴嬭瘯/娴嬭瘯.html")
+ .get("http://192.168.1.10:8095/profile/upload/show/娴嬭瘯/娴嬭瘯.html")
.then((response) => {
console.log(response.data, "鏁版嵁"); // 杈撳嚭鑾峰彇鍒扮殑鏂囦欢鍐呭
this.richText = response.data;
- // this.richText =
- // '<p>This is an image: <img src="https://example.com/image.jpg"></p>';
- // })
this.richText = this.addStyleToImages(this.richText);
})
.catch((error) => {
@@ -119,7 +116,7 @@
let ivrTaskcalldetail = {
asrtext: item.asrtext,
valueType: item.valueType,
- questiontext: item.questionText,
+ scriptContent: item.scriptContent,
targetoptions: optionarr.join(","),
};
form.ivrTaskcalldetailList.push(ivrTaskcalldetail);
--
Gitblit v1.9.3