From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +0800
Subject: [PATCH] 测试完成
---
src/views/repositoryai/templateku/index.vue | 137 ++++++++++++++++++++++++---------------------
1 files changed, 72 insertions(+), 65 deletions(-)
diff --git a/src/views/repositoryai/templateku/index.vue b/src/views/repositoryai/templateku/index.vue
index 17d49f3..bc38fb5 100644
--- a/src/views/repositoryai/templateku/index.vue
+++ b/src/views/repositoryai/templateku/index.vue
@@ -3,8 +3,8 @@
<!-- 宸︿晶鏍� -->
<div class="sidecolumn">
<div class="sidecolumn-top">
- <div class="top-wj">妯$増绫诲瀷</div>
- <div class="top-tj" @click="dialogFormVisible = true">+娣诲姞</div>
+ <div class="top-wj">妯℃澘绫诲瀷</div>
+ <div class="top-tj" @click="Newcategory">+娣诲姞</div>
</div>
<div class="center-ss">
<el-input
@@ -68,7 +68,7 @@
v-show="showSearch"
label-width="98px"
>
- <el-form-item label="妯$増鏍囬" prop="templateName">
+ <el-form-item label="妯℃澘鏍囬" prop="templateName">
<el-input
v-model="queryParams.templateName"
placeholder="璇疯緭鍏�"
@@ -151,7 +151,7 @@
</el-col>
<!-- <el-col :span="1.5"> </el-col> -->
</el-row>
- <!-- 鏍囧噯妯$増 -->
+ <!-- 鏍囧噯妯℃澘 -->
<el-table
v-loading="loading"
:data="userList"
@@ -167,7 +167,7 @@
prop="id"
/>
<el-table-column
- label="妯$増鍚嶇О"
+ label="妯℃澘鍚嶇О"
fixed
align="center"
key="templateName"
@@ -313,7 +313,7 @@
</template>
</el-table-column>
</el-table>
- <!-- 閫氱敤妯$増 -->
+ <!-- 閫氱敤妯℃澘 -->
<!-- 搴曢儴鍒嗛〉 -->
<pagination
@@ -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>
@@ -531,7 +530,7 @@
// 琛ㄦ牸鏁版嵁
userList: [],
// 寮瑰嚭灞傛爣棰�
- title: "鏂板绫诲埆",
+ title: "绫诲埆缂栬緫",
// 鏄惁鏄剧ず寮瑰嚭灞�
open: false,
// 鏃ユ湡鑼冨洿
@@ -618,14 +617,15 @@
});
},
- // 澶嶅埗妯$増
+ // 澶嶅埗妯℃澘
copyfn() {},
- // 涓嬭浇妯$増
+ // 涓嬭浇妯℃澘
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