From e6af7e6f95fb49115bf593daff0bee48648f99cf Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 31 五月 2024 14:46:55 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/configurat/index.vue | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 38 insertions(+), 11 deletions(-) diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue index b1c97df..b021d50 100644 --- a/src/views/repositoryai/templateku/configurat/index.vue +++ b/src/views/repositoryai/templateku/configurat/index.vue @@ -546,7 +546,7 @@ </el-input> </el-form-item ></el-col> </el-row> - <el-row :gutter="10"> + <!-- <el-row :gutter="10"> <el-col :span="12" ><el-form-item label="澶勭悊"> <el-input @@ -558,7 +558,7 @@ > </el-input> </el-form-item ></el-col> - </el-row> + </el-row> --> <el-row :gutter="10"> <el-col :span="16"> @@ -593,7 +593,7 @@ </el-input> </el-form-item ></el-col> </el-row> - <el-row :gutter="10"> + <!-- <el-row :gutter="10"> <el-col :span="12" ><el-form-item label="澶勭悊"> <el-input @@ -605,7 +605,7 @@ > </el-input> </el-form-item ></el-col> - </el-row> + </el-row> --> <el-row :gutter="10"> <el-col :span="16"> @@ -640,7 +640,7 @@ </el-input> </el-form-item ></el-col> </el-row> - <el-row :gutter="10"> + <!-- <el-row :gutter="10"> <el-col :span="12" ><el-form-item label="澶勭悊"> <el-input @@ -652,7 +652,7 @@ > </el-input> </el-form-item ></el-col> - </el-row> + </el-row> --> <el-row :gutter="10"> <el-col :span="16"> @@ -867,7 +867,11 @@ indexAssortlist: [], inputValue: "", inputValueillness: "", - topicobj: {}, + topicobj: { + noMatchText: "", + noClearlyText: "", + slienceText: "", + }, total: 1, id: "", ruleForm: { @@ -964,6 +968,7 @@ this.courtyardlist = store.getters.courtyardlist; this.precedencetype = store.getters.precedencetype; }, + mounted() {}, methods: { //鍏叡鏂规硶-------------------- @@ -977,10 +982,11 @@ RoutingDataProcessing() { 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() { @@ -1024,6 +1030,18 @@ // 鍒嗙被 getFollowupclassify({}).then((res) => { this.indexAssortlist = res.rows; + this.ruleForm.assortid = Number(this.$route.query.assortid); + }); + // 绉戝 + listDept(this.queryParams).then((response) => { + this.deptList = this.handleTree(response.data, "deptId"); + }); + // 鐤剧梾 + getillnesslist({ + pageNum: 1, + pageSize: 100, + }).then((response) => { + this.optionsillness = response.rows; }); getgenerallist({ pageNum: 1, @@ -1226,6 +1244,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; @@ -1235,6 +1261,7 @@ }); this.ruleForm.ivrLibaTemplateScriptVOList.push(res.data); this.sortFn(); + this.$modal.msgSuccess("娣诲姞鎴愬姛"); }); }, handleDelete(row) { -- Gitblit v1.9.3