WXL
2024-08-27 c4f2875b50f07e6f375cd9c9ec4d8fbc2494d35d
src/views/outsideChain.vue
@@ -1,7 +1,7 @@
<template>
  <div class="questionnaire">
    <div class="CONTENT">
      <div class="title">暑期问卷</div>
      <div class="title">随访问卷</div>
      <div class="preview-left">
        <!-- 单选 -->
        <div
@@ -10,7 +10,7 @@
          :key="item.aaa"
        >
          <div class="dev-text">
            {{ index + 1 }}、<span>{{ item.questionText }}</span>
            {{ index + 1 }}、<span>{{ item.scriptContent }}</span>
          </div>
          <div class="dev-xx" v-if="item.valueType == 1">
@@ -76,6 +76,13 @@
    getQuestionnaire() {
      let taskid = this.$route.query.param1;
      let patid = this.$route.query.param2;
      let taskname = this.$route.query.param3;
      let routertf = this.$route.query.param5;
      console.log(taskid, "taskid");
      console.log(patid, "patid");
      console.log(taskname, "taskname");
      console.log(routertf, "routertf");
      // let taskid =
      //   "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
      // let patid =
@@ -83,8 +90,13 @@
      this.taskid = this.decrypt(taskid);
      this.patid = this.decrypt(patid);
      // this.$modal.msgSuccess("用户id为" + this.patid);
      // this.$modal.msgSuccess("任务id为" + this.taskid);
      // this.taskid = taskid;
      // this.patid = patid;
      console.log(this.taskid, "this.taskid");
      console.log(this.patid, "this.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) => {
@@ -123,7 +135,7 @@
        let ivrTaskcalldetail = {
          asrtext: item.asrtext,
          valueType: item.valueType,
          questiontext: item.questionText,
          scriptContent: item.scriptContent,
          targetoptions: optionarr.join(","),
        };
        form.ivrTaskcalldetailList.push(ivrTaskcalldetail);