From da6c980a091f040b933b594e4e6a4bc0119d22b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Thu, 4 Jul 2024 11:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/template/index.vue | 1 + .../system/ManageNodeInformation/index.vue | 3 +- .../system/ManageNodeInformation/indexjs.js | 34 +++---------------- src/views/system/specialDiseaseNode/index.vue | 1 + 4 files changed, 7 insertions(+), 32 deletions(-) diff --git a/src/views/manage/template/index.vue b/src/views/manage/template/index.vue index 52c9f38..c8cfe4a 100644 --- a/src/views/manage/template/index.vue +++ b/src/views/manage/template/index.vue @@ -149,6 +149,7 @@ prop="templateContent" label="模板内容" align="center" + :show-overflow-tooltip="true" > diff --git a/src/views/system/ManageNodeInformation/index.vue b/src/views/system/ManageNodeInformation/index.vue index d4307f4..bc77055 100644 --- a/src/views/system/ManageNodeInformation/index.vue +++ b/src/views/system/ManageNodeInformation/index.vue @@ -388,9 +388,9 @@ form.templateId " > +
文章模板:{{ formview.propagandaTitle }}
{{ formview.propagandaTitle }}
-
知识卡片
@@ -1132,7 +1132,6 @@ export default indexjs; } } } - } } diff --git a/src/views/system/ManageNodeInformation/indexjs.js b/src/views/system/ManageNodeInformation/indexjs.js index e511b18..6b346d7 100644 --- a/src/views/system/ManageNodeInformation/indexjs.js +++ b/src/views/system/ManageNodeInformation/indexjs.js @@ -49,7 +49,7 @@ export default { lookNodeContent: false, lookquestionname: false, lookquestionlist: false,//问卷 - imageScriptpreviews:false,//宣教 + imageScriptpreviews: false,//宣教 formview: {}, lookitemnew: {}, baseUrl: process.env.VUE_APP_BASE_API, @@ -161,9 +161,6 @@ export default { }, }, - mounted() { - // this.form = this.lists[0].list[0]; - }, methods: { // 短信提醒 infolistword() { @@ -626,10 +623,8 @@ export default { }, // 话术 messageontemplateword(item) { - console.log(item, 'item') this.form.phoneTemplateId = item.templateId; this.form.phoneTemplateName = item.templateName; - this.phoneNodeContent = item.phoneNodeContent; }, // 预览话术图 @@ -641,14 +636,14 @@ export default { this.lookquestionname = true }, // 宣教预览 - imagepreviews(){ - this.imageScriptpreviews=true + imagepreviews() { + this.imageScriptpreviews = true }, // 问卷库模板选择 looklist() { this.lookquestionlist = true }, - + // 切换人工电话和自动外呼 changephoneDialMethod(e) { console.log(e) if (e == 'AI') { @@ -659,21 +654,15 @@ export default { // 清空话术和问卷 this.phoneNodeContent = '' this.lookitemnew = '' - - } else if (e == 'COMMON') { // 清空问卷id话术id和对应名字 - this.form.templateId = '' this.form.templateName = '' - this.form.phoneTemplateId = '' this.form.phoneTemplateName = '' // 清空话术和问卷 this.phoneNodeContent = '' this.lookitemnew = '' - - } }, //短信传值 @@ -748,8 +737,6 @@ export default { // !e.taskStatus // ); // return - - specialDiseaseNode(this.itemlist).then((res) => { this.info(); loading.close(); @@ -787,33 +774,20 @@ export default { } setTimeout(() => { this.form = uitem; - // console.log( this.form,'this.form') - // console.log(this.form, ' this.form') this.$forceUpdate() if (this.form.templateType == "PROPAGANDA" && this.form.templateId) { getPropaganda(this.form.templateId).then((response) => { - // console.log(response.data, 'this.formview') - this.formview = response.data; }); } else if (this.form.templateType == "QUESTIONNAIRE" && this.form.templateId) { questionname(this.form.templateId).then((res) => { - // console.log(res, "res"); this.lookitemnew = res.data; }); - // this.loading=true - } else if (this.form.templateType == 'SCRIPT' && this.form.flowScheme) { - this.phoneNodeContent = this.form.flowScheme - console.log(this.phoneNodeContent, 'this.phoneNodeContent11') - - } - - this.taskPartitionList = []; if (this.form.taskType) { this.changeTaskType(this.form.taskType, this.form.taskSubdivision); diff --git a/src/views/system/specialDiseaseNode/index.vue b/src/views/system/specialDiseaseNode/index.vue index ac47aec..f71f05a 100644 --- a/src/views/system/specialDiseaseNode/index.vue +++ b/src/views/system/specialDiseaseNode/index.vue @@ -204,6 +204,7 @@ form.templateId " > +
文章模板:{{ formview.propagandaTitle }}
{{ formview.propagandaTitle }}