专病节点预览+话术

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

View File

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