WXL
2024-06-05 711c995d7307b4a2d56e55095e3f81ffbdfc4d39
src/views/repositoryai/templateku/configurat/index.vue
@@ -756,7 +756,7 @@
      title="添加题目"
      :visible.sync="drawer"
      custom-class="demo-drawer"
      width="50%"
      size="50%"
    >
      <div class="preview-left">
        <el-form
@@ -820,6 +820,12 @@
            </template>
          </el-table-column>
        </el-table>
        <pagination
          :total="total"
          :page.sync="queryParams.pageNum"
          :limit.sync="queryParams.pageSize"
          @pagination="getaddtopiclist"
        />
      </div>
    </el-drawer>
  </div>
@@ -868,9 +874,9 @@
      inputValue: "",
      inputValueillness: "",
      topicobj: {
        noMatchText:'',
        noClearlyText:'',
        slienceText:'',
        noMatchText: "",
        noClearlyText: "",
        slienceText: "",
      },
      total: 1,
      id: "",
@@ -983,10 +989,10 @@
      this.id = this.$route.query.id;
      this.task = this.$route.query.task;
      console.log(this.task, "task");
      if (this.task) {
        this.id = this.$route.query.id;
      }
      // console.log(this.task, "task");
      // if (this.task) {
      //   this.id = this.$route.query.id;
      // }
    },
    // 获取表单数据
    getvFollowup() {
@@ -1244,6 +1250,14 @@
    },
    addtopic(row) {
      console.log(row);
      if (
        this.ruleForm.ivrLibaTemplateScriptVOList.some(
          (obj) => obj.questiontitle == row.questiontitle
        )
      ) {
        this.$modal.msgError("该题目已存在");
        return;
      }
      getverbaltrick({ id: row.id }).then((res) => {
        console.log(res, "详情");
        res.data.isoperation = 1;
@@ -1253,6 +1267,7 @@
        });
        this.ruleForm.ivrLibaTemplateScriptVOList.push(res.data);
        this.sortFn();
        this.$modal.msgSuccess("添加成功");
      });
    },
    handleDelete(row) {