From b50917f4bdf0b05c028d76d8cdbde44a85ec8b91 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 27 八月 2024 16:02:53 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/index.vue | 116 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 59 insertions(+), 57 deletions(-) diff --git a/src/views/repositoryai/templateku/index.vue b/src/views/repositoryai/templateku/index.vue index 75e0cd4..db3e944 100644 --- a/src/views/repositoryai/templateku/index.vue +++ b/src/views/repositoryai/templateku/index.vue @@ -79,7 +79,7 @@ </el-form-item> <el-form-item label="閫傜敤闄㈠尯" prop="region"> <el-select - v-model="queryParams.campus" + v-model="campus" size="medium" multiple filterable @@ -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> @@ -557,6 +556,7 @@ pageNum: 1, pageSize: 10, }, + campus: [], // 琛ㄥ崟鏍¢獙 rules: {}, indexid: null, @@ -603,6 +603,7 @@ methods: { /** 鏌ヨ淇℃伅 */ getList() { + this.queryParams.campus = this.campus.join(","); getFollowuplist(this.queryParams).then((res) => { console.log(res); console.log(this.userList); @@ -622,8 +623,9 @@ downloadfn() {}, // 璺宠浆缂栬緫璇濇湳椤甸潰 compileUpdate(row) { + // this.$router.replace("/tpuconfigurat"); this.$router.push({ - path: "/knowledge/templateku/configurat/", + path: "/knowledge/tpuconfigurat/", query: { id: row.id }, }); }, @@ -679,7 +681,7 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { this.$router.push({ - path: "/knowledge/templateku/configurat/", + path: "/knowledge/tpuconfigurat/", query: { id: null, assortid: this.queryParams.assortid }, }); }, -- Gitblit v1.9.3