WXL (wul)
2025-11-17 566660a85a8950a9c671b750db6d1ebdbc7741ad
src/views/followvisit/record/detailpage/index.vue
@@ -54,7 +54,6 @@
          :row-class-name="tableRowClassName"
          :max-height="350"
          style="width: 100%"
           height="350"
          @selection-change="handleSelectionChange"
        >
          <el-table-column
@@ -319,7 +318,6 @@
                        </div>
                        <div
                          v-if="item.showAppendInput || item.answerps"
                          v-if="item.showAppendInput || item.answerps"
                          class="append-input-container"
                        >
                          <el-input
@@ -572,7 +570,7 @@
                    >保存基础信息</el-button
                  >
                </div>
                <!-- <div>
                <div>
                  <el-button
                    type="primary"
                    round
@@ -1799,7 +1797,6 @@
    yuyingetdetail() {
      const dataToSubmit = JSON.parse(JSON.stringify(this.tableDatatop));
      console.log(dataToSubmit, "dataToSubmit");
      return;
      dataToSubmit.forEach((item, index) => {
        // 对拷贝的数据进行操作,不影响原始的 scriptResult 数组
        item.scriptResult = item.scriptResult.join("&");
@@ -1899,8 +1896,6 @@
        pageSize: 100,
      }).then((res) => {
        if (res.code == 200) {
          console.log(11);
          this.form = res.rows[0].serviceSubtaskList.find(
            (item) => item.id == this.id
          );
@@ -2063,17 +2058,17 @@
    },
    aahandleOptionChange(a, b, c) {
      const result = c.find((item) => item.optioncontent == a);
      // if (result.nextQuestion == 0) {
      //   this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
      //     acc.push(i > b ? { ...item, astrict: 1 } : item);
      //     return acc;
      //   }, []);
      // } else {
      //   this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
      //     acc.push(i > b ? { ...item, astrict: 0 } : item);
      //     return acc;
      //   }, []);
      // }
      if (result.nextQuestion == 0) {
        this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
          acc.push(i > b ? { ...item, astrict: 1 } : item);
          return acc;
        }, []);
      } else {
        this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
          acc.push(i > b ? { ...item, astrict: 0 } : item);
          return acc;
        }, []);
      }
      if (this.Voicetype) {
        var obj = this.tableDatatop[b].ivrTaskScriptTargetoptionList.find(
          (item) => item.optioncontent == a