From 9bc27231d681cbc1bae6d8f199521d332c9c23f7 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 19 八月 2024 11:14:23 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/configurat/index.vue | 13 ++++++++----- src/views/patient/patient/index.vue | 2 +- src/views/patient/propaganda/Missioncreation.vue | 2 +- src/views/patient/propaganda/particty.vue | 9 ++++++--- src/components/SFtable/index.vue | 1 + src/views/patient/propaganda/QuestionnaireTask.vue | 2 +- src/views/repositoryai/templateku/index.vue | 4 ++-- 7 files changed, 20 insertions(+), 13 deletions(-) diff --git a/src/components/SFtable/index.vue b/src/components/SFtable/index.vue index 95e5108..723207c 100644 --- a/src/components/SFtable/index.vue +++ b/src/components/SFtable/index.vue @@ -209,6 +209,7 @@ clearSelection() { // 鍦ㄨ繖閲岀紪鍐欐竻闄ら�夋嫨鐨勯�昏緫 this.$refs.multipleTableson.clearSelection(); + }, }, }; diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue index c46f861..52ac782 100644 --- a/src/views/patient/patient/index.vue +++ b/src/views/patient/patient/index.vue @@ -799,7 +799,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css"; export default { - name: "Userhuanze", + name: "Patient", dicts: ["sys_normal_disable", "task_status", "sys_user_sex"], components: { Treeselect }, data() { diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue index 4f1e2d8..39ed15a 100644 --- a/src/views/patient/propaganda/Missioncreation.vue +++ b/src/views/patient/propaganda/Missioncreation.vue @@ -1268,7 +1268,7 @@ // 鏌ョ湅妯$増 previewGo() { this.$router.push({ - path: "/knowledge/templateku/configurat/", + path: "/knowledge/tpuconfigurat/", query: { id: this.previewid, task: true, data: this.form }, }); }, diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue index 0428fb8..441b241 100644 --- a/src/views/patient/propaganda/QuestionnaireTask.vue +++ b/src/views/patient/propaganda/QuestionnaireTask.vue @@ -1266,7 +1266,7 @@ // 鏌ョ湅妯$増 previewGo() { this.$router.push({ - path: "/knowledge/templateku/configurat/", + path: "/knowledge/tpuconfigurat/", query: { id: this.previewid, task: true, data: this.form }, }); }, diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue index d668ffe..9c8925b 100644 --- a/src/views/patient/propaganda/particty.vue +++ b/src/views/patient/propaganda/particty.vue @@ -1139,15 +1139,18 @@ // 鏌ョ湅妯$増 previewGo() { this.$router.push({ - path: "/knowledge/templateku/configurat/", + path: "/knowledge/tpuconfigurat/", query: { id: this.previewid, task: true, data: this.form }, }); }, previewFn() { let id = this.Tasktemplate.id; this.Tasktemplate.id = null; - this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrTaskScriptTargetoptionList = - this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrLibaScriptTargetoptionList; + this.Tasktemplate.ivrLibaTemplateScriptVOList.forEach((item) => { + item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList; + }); + console.log(this.Tasktemplate.ivrLibaTemplateScriptVOList); + this.Tasktemplate.ivrTaskTemplateScriptVOList = this.Tasktemplate.ivrLibaTemplateScriptVOList; this.Tasktemplate.ivrLibaTemplateTagList = null; diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue index 5109013..1d68f79 100644 --- a/src/views/repositoryai/templateku/configurat/index.vue +++ b/src/views/repositoryai/templateku/configurat/index.vue @@ -825,7 +825,7 @@ </el-option> </el-select> </el-form-item ></el-col> - <el-col :span="12" + <!-- <el-col :span="12" ><el-form-item label="鍙栧�肩被鍨�"> <el-select v-model="indexform.valueType" @@ -840,7 +840,7 @@ > </el-option> </el-select> </el-form-item - ></el-col> + ></el-col> --> </el-row> <el-row> <el-col :span="6"> @@ -864,7 +864,7 @@ </el-col> <el-col :span="6"> <span - style="font-size: 12px" + style="font-size: 18px; margin-top: 10px" v-if="indexform.scriptVoice" >{{ indexform.scriptVoice.substring( @@ -1169,7 +1169,7 @@ import { getToken } from "@/utils/auth"; export default { - name: "SpeechTemplates", + name: "Tpuconfigurat", components: { Regular, OptionalForm }, data() { return { @@ -1511,8 +1511,10 @@ //鎺у埗璇煶鏂囦欢 handleChange(response, file, additionalParam) { console.log(response); + console.log(additionalParam); if (additionalParam == 1) { this.indexform.scriptVoice = response.url; + console.log(this.indexform.scriptVoice); } else if (additionalParam == 2) { this.indexform.nomatchvoice = response.url; console.log(this.indexform.nomatchvoice); @@ -1521,6 +1523,7 @@ } else if (additionalParam == 4) { this.indexform.noclearlyvoice = response.url; } + this.$forceUpdate(); }, // 鏂囦欢瓒呭嚭涓暟闄愬埗鏃剁殑閽╁瓙 handleExceed(files, fileList) { @@ -1726,7 +1729,7 @@ .confirm("鍗冲皢鍓嶅線妯$増娴嬭瘯椤甸潰锛岃纭妯$増鏁版嵁宸蹭繚瀛樸��") .then((res) => { this.$router.push({ - path: "/knowledge/templateku/configurat/measurement", + path: "/knowledge/tpuconfigurat/measurement", query: { id: this.id, name: this.ruleForm.templateName }, }); }) diff --git a/src/views/repositoryai/templateku/index.vue b/src/views/repositoryai/templateku/index.vue index 17d49f3..6d0590b 100644 --- a/src/views/repositoryai/templateku/index.vue +++ b/src/views/repositoryai/templateku/index.vue @@ -625,7 +625,7 @@ // 璺宠浆缂栬緫璇濇湳椤甸潰 compileUpdate(row) { 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 }, }); }, -- Gitblit v1.9.3