修改
This commit is contained in:
parent
56b0f452cc
commit
da6c980a09
@ -149,6 +149,7 @@
|
|||||||
prop="templateContent"
|
prop="templateContent"
|
||||||
label="模板内容"
|
label="模板内容"
|
||||||
align="center"
|
align="center"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
>
|
>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@ -388,9 +388,9 @@
|
|||||||
form.templateId
|
form.templateId
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
<div class="titletop">文章模板:{{ formview.propagandaTitle }}</div>
|
||||||
<div class="bodytop">
|
<div class="bodytop">
|
||||||
<div class="titledata">{{ formview.propagandaTitle }}</div>
|
<div class="titledata">{{ formview.propagandaTitle }}</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
|
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
|
||||||
<div class="know">知识卡片</div>
|
<div class="know">知识卡片</div>
|
||||||
@ -1132,7 +1132,6 @@ export default indexjs;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -49,7 +49,7 @@ export default {
|
|||||||
lookNodeContent: false,
|
lookNodeContent: false,
|
||||||
lookquestionname: false,
|
lookquestionname: false,
|
||||||
lookquestionlist: false,//问卷
|
lookquestionlist: false,//问卷
|
||||||
imageScriptpreviews:false,//宣教
|
imageScriptpreviews: false,//宣教
|
||||||
formview: {},
|
formview: {},
|
||||||
lookitemnew: {},
|
lookitemnew: {},
|
||||||
baseUrl: process.env.VUE_APP_BASE_API,
|
baseUrl: process.env.VUE_APP_BASE_API,
|
||||||
@ -161,9 +161,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
// this.form = this.lists[0].list[0];
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
// 短信提醒
|
// 短信提醒
|
||||||
infolistword() {
|
infolistword() {
|
||||||
@ -626,10 +623,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 话术
|
// 话术
|
||||||
messageontemplateword(item) {
|
messageontemplateword(item) {
|
||||||
console.log(item, 'item')
|
|
||||||
this.form.phoneTemplateId = item.templateId;
|
this.form.phoneTemplateId = item.templateId;
|
||||||
this.form.phoneTemplateName = item.templateName;
|
this.form.phoneTemplateName = item.templateName;
|
||||||
|
|
||||||
this.phoneNodeContent = item.phoneNodeContent;
|
this.phoneNodeContent = item.phoneNodeContent;
|
||||||
},
|
},
|
||||||
// 预览话术图
|
// 预览话术图
|
||||||
@ -641,14 +636,14 @@ export default {
|
|||||||
this.lookquestionname = true
|
this.lookquestionname = true
|
||||||
},
|
},
|
||||||
// 宣教预览
|
// 宣教预览
|
||||||
imagepreviews(){
|
imagepreviews() {
|
||||||
this.imageScriptpreviews=true
|
this.imageScriptpreviews = true
|
||||||
},
|
},
|
||||||
// 问卷库模板选择
|
// 问卷库模板选择
|
||||||
looklist() {
|
looklist() {
|
||||||
this.lookquestionlist = true
|
this.lookquestionlist = true
|
||||||
},
|
},
|
||||||
|
// 切换人工电话和自动外呼
|
||||||
changephoneDialMethod(e) {
|
changephoneDialMethod(e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
if (e == 'AI') {
|
if (e == 'AI') {
|
||||||
@ -659,21 +654,15 @@ export default {
|
|||||||
// 清空话术和问卷
|
// 清空话术和问卷
|
||||||
this.phoneNodeContent = ''
|
this.phoneNodeContent = ''
|
||||||
this.lookitemnew = ''
|
this.lookitemnew = ''
|
||||||
|
|
||||||
|
|
||||||
} else if (e == 'COMMON') {
|
} else if (e == 'COMMON') {
|
||||||
// 清空问卷id话术id和对应名字
|
// 清空问卷id话术id和对应名字
|
||||||
|
|
||||||
this.form.templateId = ''
|
this.form.templateId = ''
|
||||||
this.form.templateName = ''
|
this.form.templateName = ''
|
||||||
|
|
||||||
this.form.phoneTemplateId = ''
|
this.form.phoneTemplateId = ''
|
||||||
this.form.phoneTemplateName = ''
|
this.form.phoneTemplateName = ''
|
||||||
// 清空话术和问卷
|
// 清空话术和问卷
|
||||||
this.phoneNodeContent = ''
|
this.phoneNodeContent = ''
|
||||||
this.lookitemnew = ''
|
this.lookitemnew = ''
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//短信传值
|
//短信传值
|
||||||
@ -748,8 +737,6 @@ export default {
|
|||||||
// !e.taskStatus
|
// !e.taskStatus
|
||||||
// );
|
// );
|
||||||
// return
|
// return
|
||||||
|
|
||||||
|
|
||||||
specialDiseaseNode(this.itemlist).then((res) => {
|
specialDiseaseNode(this.itemlist).then((res) => {
|
||||||
this.info();
|
this.info();
|
||||||
loading.close();
|
loading.close();
|
||||||
@ -787,33 +774,20 @@ export default {
|
|||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.form = uitem;
|
this.form = uitem;
|
||||||
// console.log( this.form,'this.form')
|
|
||||||
// console.log(this.form, ' this.form')
|
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
if (this.form.templateType == "PROPAGANDA" && this.form.templateId) {
|
if (this.form.templateType == "PROPAGANDA" && this.form.templateId) {
|
||||||
getPropaganda(this.form.templateId).then((response) => {
|
getPropaganda(this.form.templateId).then((response) => {
|
||||||
// console.log(response.data, 'this.formview')
|
|
||||||
|
|
||||||
this.formview = response.data;
|
this.formview = response.data;
|
||||||
|
|
||||||
});
|
});
|
||||||
} else if (this.form.templateType == "QUESTIONNAIRE" && this.form.templateId) {
|
} else if (this.form.templateType == "QUESTIONNAIRE" && this.form.templateId) {
|
||||||
|
|
||||||
questionname(this.form.templateId).then((res) => {
|
questionname(this.form.templateId).then((res) => {
|
||||||
// console.log(res, "res");
|
|
||||||
this.lookitemnew = res.data;
|
this.lookitemnew = res.data;
|
||||||
});
|
});
|
||||||
// this.loading=true
|
|
||||||
|
|
||||||
} else if (this.form.templateType == 'SCRIPT' && this.form.flowScheme) {
|
} else if (this.form.templateType == 'SCRIPT' && this.form.flowScheme) {
|
||||||
|
|
||||||
this.phoneNodeContent = this.form.flowScheme
|
this.phoneNodeContent = this.form.flowScheme
|
||||||
console.log(this.phoneNodeContent, 'this.phoneNodeContent11')
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.taskPartitionList = [];
|
this.taskPartitionList = [];
|
||||||
if (this.form.taskType) {
|
if (this.form.taskType) {
|
||||||
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
|
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
|
||||||
|
|||||||
@ -204,6 +204,7 @@
|
|||||||
form.templateId
|
form.templateId
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
<div class="titletop">文章模板:{{ formview.propagandaTitle }}</div>
|
||||||
<div class="bodytop">
|
<div class="bodytop">
|
||||||
<div class="titledata">{{ formview.propagandaTitle }}</div>
|
<div class="titledata">{{ formview.propagandaTitle }}</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user