From 5041f085db17d808fdd914a9829a80007b12dbde Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 04 六月 2024 17:00:34 +0800
Subject: [PATCH] 测试完成

---
 src/views/repositoryai/templateku/configurat/index.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index d17d4c3..b021d50 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/src/views/repositoryai/templateku/configurat/index.vue
@@ -868,9 +868,9 @@
       inputValue: "",
       inputValueillness: "",
       topicobj: {
-        noMatchText:'',
-        noClearlyText:'',
-        slienceText:'',
+        noMatchText: "",
+        noClearlyText: "",
+        slienceText: "",
       },
       total: 1,
       id: "",
@@ -1244,6 +1244,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 +1261,7 @@
         });
         this.ruleForm.ivrLibaTemplateScriptVOList.push(res.data);
         this.sortFn();
+        this.$modal.msgSuccess("娣诲姞鎴愬姛");
       });
     },
     handleDelete(row) {

--
Gitblit v1.9.3