From b33fce1b1bbad04a2a6b4812e0fb438b8a52b8e5 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 12 六月 2024 11:55:35 +0800
Subject: [PATCH] 测试完成
---
src/views/repositoryai/templateku/configurat/index.vue | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index d17d4c3..4d9059c 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/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: "",
@@ -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) {
--
Gitblit v1.9.3