From 7d77cffcb35dc8ea73eab1de0501840728cdbd87 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期日, 28 四月 2024 15:38:26 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index 2d92d79..53d590a 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/src/views/repositoryai/templateku/configurat/index.vue
@@ -1225,7 +1225,6 @@
       this.getaddtopiclist();
     },
     getaddtopiclist() {
-      console.log(12);
       this.drawer = true;
       getverbaltricklist(this.queryParams).then((res) => {
         this.loading = false;
@@ -1248,13 +1247,18 @@
       });
     },
     handleDelete(row) {
-      let index = this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row);
-      this.ruleForm.ivrLibaTemplateScriptVOList.splice(
-        this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row),
-        1
-      );
-      row.isoperation = 3;
-      this.delScriptVOList.push(row);
+      this.$modal
+        .confirm('鏄惁纭鍒犻櫎闂锛�"' + row.questiontitle + '"锛�')
+        .then(() => {
+          this.ruleForm.ivrLibaTemplateScriptVOList.splice(
+            this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row),
+            1
+          );
+          row.isoperation = 3;
+          this.delScriptVOList.push(row);
+          this.$modal.msgSuccess("宸插垹闄わ紝淇濆瓨妯$増鐢熸晥");
+        })
+        .catch(() => {});
     },
     handleUpdate(row) {
       console.log(row);

--
Gitblit v1.9.3