专病节点预览+话术

This commit is contained in:
shidongli 2024-06-18 16:01:25 +08:00
parent fa3b9c51df
commit 29ee373d22
2 changed files with 16 additions and 19 deletions

View File

@ -702,25 +702,22 @@ export default {
this.form.templateId = item.templateId
this.form.templateName = item.templateName
},
bottomclickevent(uitem, index, uindex, item) {
// console.log(uitem, item)
if (uitem.id) {
getById(uitem.id).then(res => {
this.form = res.data
if (res.data.detailInfo) {
this.lookitemnew = res.data.detailInfo
} else {
this.$refs.wangeditor.emit()
}
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
}
})
bottomclickevent(uitem, index, uindex) {
if (
this.form.taskSubdivisiontemplateType != "QUESTIONNAIRE" &&
this.form.taskSubdivisiontemplateType != "PROPAGANDA"
) {
this.$refs.wangeditor.emit();
}
// this.form = uitem
this.listindex = index
this.itemindex = uindex
setTimeout(() => {
this.form = uitem;
this.taskPartitionList = [];
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
}
this.listindex = index;
this.itemindex = uindex;
}, 150);
},
handleStep() {
this.active = 2

View File

@ -86,7 +86,7 @@
<!-- <el-button size="mini" type="text" icon="el-icon-folder-delete"
@click="norelease(scope.row)">取消发布</el-button>
<el-button size="mini" icon="el-icon-folder-checked" type="text" @click="release(scope.row)">发布</el-button> -->
<el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button>
<!-- <el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button> -->
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="see(scope.row)">话术</el-button>
<el-button size="mini" type="text" icon="el-icon-picture-outline"
@click="seescript(scope.row)">话术预览</el-button>