From a346cfbcb03a303dca252d910d2181f00e7adc20 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 03 九月 2024 10:39:10 +0800
Subject: [PATCH] 测试完成
---
src/views/repositoryai/templateku/index.vue | 121 +++++++++++++++++++++-------------------
1 files changed, 64 insertions(+), 57 deletions(-)
diff --git a/src/views/repositoryai/templateku/index.vue b/src/views/repositoryai/templateku/index.vue
index 17d49f3..1cd37ef 100644
--- a/src/views/repositoryai/templateku/index.vue
+++ b/src/views/repositoryai/templateku/index.vue
@@ -4,7 +4,7 @@
<div class="sidecolumn">
<div class="sidecolumn-top">
<div class="top-wj">妯$増绫诲瀷</div>
- <div class="top-tj" @click="dialogFormVisible = true">+娣诲姞</div>
+ <div class="top-tj" @click="Newcategory">+娣诲姞</div>
</div>
<div class="center-ss">
<el-input
@@ -416,62 +416,61 @@
<!-- 闅忚棰樼洰棰勮 -->
<el-dialog title="闅忚棰樼洰棰勮" :visible.sync="topicVisible" width="50%">
<div class="preview-left">
- <!-- 鍗曢�� -->
- <div
- class="scriptTopic-dev"
- v-for="item in topicform.ivrLibaTemplateScriptVOList"
- :key="item.targetid"
- v-if="item.valueType == 1"
- >
- <div class="dev-text">
- {{ item.targetid }}銆乕鍗曢�塢<span>{{ item.scriptContent }}</span>
+ <div v-for="item in topicform.ivrLibaTemplateScriptVOList">
+ <!-- 鍗曢�� -->
+ <div
+ class="scriptTopic-dev"
+ :key="item.targetid"
+ v-if="item.valueType == 1"
+ >
+ <div class="dev-text">
+ {{ item.targetid }}銆乕鍗曢�塢<span>{{ item.scriptContent }}</span>
+ </div>
+ <div class="dev-xx">
+ <el-radio-group v-model="item.remark">
+ <el-radio
+ v-for="(items, index) in item.ivrLibaScriptTargetoptionList"
+ :key="index"
+ :label="index"
+ >{{ items.targetvalue }}</el-radio
+ >
+ </el-radio-group>
+ </div>
</div>
- <div class="dev-xx">
- <el-radio-group v-model="item.remark">
- <el-radio
- v-for="(items, index) in item.ivrLibaScriptTargetoptionList"
- :key="index"
- :label="index"
- >{{ items.targetvalue }}</el-radio
- >
- </el-radio-group>
+ <!-- 澶氶�� -->
+ <div
+ class="scriptTopic-dev"
+ :key="item.targetid"
+ v-if="item.valueType == 2"
+ >
+ <div class="dev-text">
+ {{ item.targetid }}銆乕澶氶�塢<span>{{ item.scriptContent }}</span>
+ </div>
+ <div class="dev-xx">
+ <el-checkbox-group v-model="item.remark">
+ <el-checkbox
+ v-for="(items, index) in item.ivrLibaScriptTargetoptionList"
+ :key="index"
+ :label="index"
+ >
+ {{ items.targetvalue }}
+ </el-checkbox>
+ </el-checkbox-group>
+ </div>
</div>
- </div>
- <!-- 澶氶�� -->
- <div
- class="scriptTopic-dev"
- v-for="item in topicform.ivrLibaTemplateScriptVOList"
- :key="item.targetid"
- v-if="item.valueType == 2"
- >
- <div class="dev-text">
- {{ item.targetid }}銆乕澶氶�塢<span>{{ item.scriptContent }}</span>
- </div>
- <div class="dev-xx">
- <el-checkbox-group v-model="item.remark">
- <el-checkbox
- v-for="(items, index) in item.ivrLibaScriptTargetoptionList"
- :key="index"
- :label="index"
- >
- {{ items.targetvalue }}
- </el-checkbox>
- </el-checkbox-group>
- </div>
- </div>
- <!-- 濉┖ -->
- <div
- class="scriptTopic-dev"
- v-for="item in topicform.ivrLibaTemplateScriptVOList"
- :key="item.targetid"
- v-if="item.valueType == 3"
- >
- <div class="dev-text">
- {{ item.targetid }}銆乕濉┖]<span>{{ item.scriptContent }}</span>
- </div>
- <div class="dev-xx">
- <el-input placeholder="璇疯緭鍏ョ瓟妗�" v-model="radioas" clearable>
- </el-input>
+ <!-- 濉┖ -->
+ <div
+ class="scriptTopic-dev"
+ :key="item.targetid"
+ v-if="item.valueType == 3"
+ >
+ <div class="dev-text">
+ {{ item.targetid }}銆乕濉┖]<span>{{ item.scriptContent }}</span>
+ </div>
+ <div class="dev-xx">
+ <el-input placeholder="璇疯緭鍏ョ瓟妗�" v-model="radioas" clearable>
+ </el-input>
+ </div>
</div>
</div>
</div>
@@ -624,8 +623,9 @@
downloadfn() {},
// 璺宠浆缂栬緫璇濇湳椤甸潰
compileUpdate(row) {
+ // this.$router.replace("/tpuconfigurat");
this.$router.push({
- path: "/knowledge/templateku/configurat/",
+ path: "/knowledge/tpuconfigurat/",
query: { id: row.id },
});
},
@@ -681,7 +681,7 @@
/** 鏂板鎸夐挳鎿嶄綔 */
handleAdd() {
this.$router.push({
- path: "/knowledge/templateku/configurat/",
+ path: "/knowledge/tpuconfigurat/",
query: { id: null, assortid: this.queryParams.assortid },
});
},
@@ -793,6 +793,13 @@
this.classifyform = b;
this.dialogFormVisible = true;
},
+ Newcategory() {
+ this.classifyform = {}; //绫诲埆琛ㄥ崟
+ this.radio = "涓诲垎绫�";
+ this.dialogFormVisible = true;
+ this.zifon = true;
+ this.zufon = true;
+ },
// 棰勮
preview(row) {
getvFollowup({ id: row.id }).then((res) => {
--
Gitblit v1.9.3