From 8d2e62da290ba8c40101f282a60efcdb29b22cd2 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 20 六月 2024 16:17:00 +0800
Subject: [PATCH] 测试完成
---
src/views/repositoryai/templateku/configurat/index.vue | 50 ++++++++++++++++++++++++++++++++++----------------
1 files changed, 34 insertions(+), 16 deletions(-)
diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index 4794e5e..85636ae 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/src/views/repositoryai/templateku/configurat/index.vue
@@ -535,10 +535,11 @@
<!-- 鏃犲尮閰嶇被鍨� -->
<div class="topicxq">
<el-row :gutter="10">
- <el-col :span="12"
+ <el-col :span="20"
><el-form-item label="鏃犲尮閰嶈瘽鏈�">
<el-input
- type="text"
+ type="textarea"
+ style="width: 400px;"
placeholder="璇疯緭鍏�"
v-model="topicobj.noMatchText"
show-word-limit
@@ -582,10 +583,11 @@
</div>
<div class="topicxq">
<el-row :gutter="10">
- <el-col :span="12"
+ <el-col :span="20"
><el-form-item label="鍚笉娓呰瘽鏈�">
<el-input
- type="text"
+ style="width: 400px;"
+ type="textarea"
placeholder="璇疯緭鍏�"
v-model="topicobj.noClearlyText"
show-word-limit
@@ -629,10 +631,11 @@
</div>
<div class="topicxq">
<el-row :gutter="10">
- <el-col :span="12"
+ <el-col :span="20"
><el-form-item label="闈欓粯璇濇湳">
<el-input
- type="text"
+ type="textarea"
+ style="width: 400px;"
placeholder="璇疯緭鍏�"
v-model="topicobj.slienceText"
show-word-limit
@@ -715,7 +718,7 @@
</div>
</div>
<!-- 澶氶�� -->
- <div
+ <!-- <div
class="topic-dev"
v-for="(item, index) in valssu"
:key="item.aaa"
@@ -734,7 +737,7 @@
</el-checkbox>
</el-checkbox-group>
</div>
- </div>
+ </div> -->
<!-- 濉┖
<div class="topic-dev" v-for="item in valssu" :key="item.aaa">
<div class="dev-text">
@@ -756,7 +759,7 @@
title="娣诲姞棰樼洰"
:visible.sync="drawer"
custom-class="demo-drawer"
- width="50%"
+ size="50%"
>
<div class="preview-left">
<el-form
@@ -820,6 +823,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 +877,9 @@
inputValue: "",
inputValueillness: "",
topicobj: {
- noMatchText:'',
- noClearlyText:'',
- slienceText:'',
+ noMatchText: "",
+ noClearlyText: "",
+ slienceText: "",
},
total: 1,
id: "",
@@ -983,10 +992,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 +1253,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 +1270,7 @@
});
this.ruleForm.ivrLibaTemplateScriptVOList.push(res.data);
this.sortFn();
+ this.$modal.msgSuccess("娣诲姞鎴愬姛");
});
},
handleDelete(row) {
--
Gitblit v1.9.3