修改
This commit is contained in:
parent
2aa010c4e8
commit
8bfe0a4431
@ -7,7 +7,7 @@
|
|||||||
:mode="mode"
|
:mode="mode"
|
||||||
/>
|
/>
|
||||||
<Editor
|
<Editor
|
||||||
style="height: 500px; overflow-y: hidden"
|
style="height: 500px; overflow-y: hidden; line-height: 32px;"
|
||||||
v-model="html"
|
v-model="html"
|
||||||
:defaultConfig="editorConfig"
|
:defaultConfig="editorConfig"
|
||||||
:mode="mode"
|
:mode="mode"
|
||||||
@ -367,7 +367,7 @@ export default {
|
|||||||
|
|
||||||
taskPartitionDictId(newValue, oldValue) {
|
taskPartitionDictId(newValue, oldValue) {
|
||||||
console.log(newValue, "taskPartitionDictId");
|
console.log(newValue, "taskPartitionDictId");
|
||||||
this.labeloptions = [];
|
// this.labeloptions = [];
|
||||||
this.taskPartitionDictId = newValue;
|
this.taskPartitionDictId = newValue;
|
||||||
this.info();
|
this.info();
|
||||||
},
|
},
|
||||||
@ -833,6 +833,42 @@ Boot.registerModule(parseHtmlConfmodule);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
::v-deep .el-textarea__inner {
|
||||||
|
color: black !important;
|
||||||
|
background-color: #fff !important;
|
||||||
|
cursor: default !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.path-tag-wrap {
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 32px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .el-textarea__inner {
|
||||||
|
color: black !important;
|
||||||
|
background-color: #fff !important;
|
||||||
|
cursor: default !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.path-tag-wrap {
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 32px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep .el-textarea__inner {
|
||||||
|
color: black !important;
|
||||||
|
background-color: #fff !important;
|
||||||
|
cursor: default !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.path-tag-wrap {
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 32px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
// ::v-deep .el-textarea__inner {
|
// ::v-deep .el-textarea__inner {
|
||||||
// color: black !important;
|
// color: black !important;
|
||||||
|
|||||||
@ -241,17 +241,18 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
<div class="bottomform">
|
<div class="bottomform">
|
||||||
<wangeditor
|
<wangeditor
|
||||||
|
v-show="
|
||||||
|
form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' &&
|
||||||
|
form.taskSubdivisiontemplateType != 'PROPAGANDA' &&
|
||||||
|
form.taskSubdivisiontemplateType != 'SCRIPT'
|
||||||
|
"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:nodeContent="form.nodeContent"
|
:nodeContent="form.nodeContent"
|
||||||
:taskPartitionDictId="taskPartitionDictId"
|
:taskPartitionDictId="taskPartitionDictId"
|
||||||
:taskSubdivision="form.taskSubdivision"
|
:taskSubdivision="form.taskSubdivision"
|
||||||
:specialDiseaseNodeId="form.specialDiseaseNodeId"
|
:specialDiseaseNodeId="form.specialDiseaseNodeId"
|
||||||
@on-nodeContent="onNodeContent"
|
@on-nodeContent="onNodeContent"
|
||||||
v-show="
|
|
||||||
form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' &&
|
|
||||||
form.taskSubdivisiontemplateType != 'PROPAGANDA' &&
|
|
||||||
form.taskSubdivisiontemplateType != 'SCRIPT'
|
|
||||||
"
|
|
||||||
ref="wangeditor"
|
ref="wangeditor"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -363,7 +364,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="card"
|
class="card"
|
||||||
style="height: 250px"
|
style="margin-top: -30px;"
|
||||||
v-show="form.taskSubdivisiontemplateType == 'SCRIPT'"
|
v-show="form.taskSubdivisiontemplateType == 'SCRIPT'"
|
||||||
>
|
>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
@ -807,6 +808,7 @@ export default {
|
|||||||
this.taskinfo();
|
this.taskinfo();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 回显
|
||||||
info() {
|
info() {
|
||||||
const loading = this.$loading({
|
const loading = this.$loading({
|
||||||
lock: true,
|
lock: true,
|
||||||
@ -1091,67 +1093,28 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击
|
// 点击
|
||||||
async bottomclickevent(uitem, index, uindex) {
|
async bottomclickevent(uitem, index, uindex) {
|
||||||
// console.log(uitem, index, uindex,'uitem, index, uindex')
|
console.log(uitem, index, uindex,'uitem, index, uindex')
|
||||||
|
|
||||||
await this.onemit()
|
await this.onemit()
|
||||||
this.listindex = index;
|
this.listindex = index;
|
||||||
this.itemindex = uindex;
|
this.itemindex = uindex;
|
||||||
if (uitem.templateType == "PROPAGANDA" && uitem.templateId) {
|
if (uitem.taskSubdivisiontemplateType == "PROPAGANDA" && uitem.templateId) {
|
||||||
getPropaganda(uitem.templateId).then((response) => {
|
getPropaganda(uitem.templateId).then((response) => {
|
||||||
this.formview = response.data;
|
this.formview = response.data;
|
||||||
});
|
});
|
||||||
} else if (uitem.templateType == "QUESTIONNAIRE" && uitem.templateId) {
|
} else if (uitem.taskSubdivisiontemplateType == "QUESTIONNAIRE" && uitem.templateId) {
|
||||||
questionname(uitem.templateId).then((res) => {
|
questionname(uitem.templateId).then((res) => {
|
||||||
// console.log( this.lookitemnew,' this.lookitemnew')
|
|
||||||
|
|
||||||
this.lookitemnew = res.data;
|
this.lookitemnew = res.data;
|
||||||
});
|
});
|
||||||
} else if (uitem.templateType == 'SCRIPT' && uitem.flowScheme) {
|
} else if (uitem.taskSubdivisiontemplateType == 'SCRIPT' && uitem.flowScheme) {
|
||||||
this.phoneNodeContent = uitem.flowScheme
|
this.phoneNodeContent = uitem.flowScheme
|
||||||
}
|
}
|
||||||
this.taskPartitionList = [];
|
this.taskPartitionList = [];
|
||||||
if (uitem.taskType) {
|
if (uitem.taskType) {
|
||||||
|
|
||||||
this.changeTaskType(uitem.taskType, uitem.taskSubdivision);
|
this.changeTaskType(uitem.taskType, uitem.taskSubdivision);
|
||||||
}
|
}
|
||||||
this.form = uitem;
|
this.form = uitem;
|
||||||
// this.form.
|
|
||||||
},
|
},
|
||||||
// bottomclickevent(uitem, index, uindex) {
|
|
||||||
// // this.phoneNodeContent = "";
|
|
||||||
// // this.lookitemnew = "";
|
|
||||||
// if (
|
|
||||||
// this.form.taskSubdivisiontemplateType != "QUESTIONNAIRE" &&
|
|
||||||
// this.form.taskSubdivisiontemplateType != "PROPAGANDA"
|
|
||||||
// ) {
|
|
||||||
// this.$refs.wangeditor.emit();
|
|
||||||
// }
|
|
||||||
// setTimeout(() => {
|
|
||||||
// this.form = uitem;
|
|
||||||
// if (this.form.templateType == "PROPAGANDA" && this.form.templateId) {
|
|
||||||
// getPropaganda(this.form.templateId).then((response) => {
|
|
||||||
// // 宣教
|
|
||||||
// this.formview = response.data;
|
|
||||||
// });
|
|
||||||
// } else if (
|
|
||||||
// this.form.templateType == "QUESTIONNAIRE" &&
|
|
||||||
// this.form.templateId
|
|
||||||
// ) {
|
|
||||||
// questionname(this.form.templateId).then((res) => {
|
|
||||||
// // 问卷
|
|
||||||
// this.lookitemnew = res.data;
|
|
||||||
// });
|
|
||||||
// } else if (this.form.templateType == "SCRIPT" && this.form.flowScheme) {
|
|
||||||
// // 话术
|
|
||||||
// this.phoneNodeContent = this.form.flowScheme;
|
|
||||||
// }
|
|
||||||
// this.taskPartitionList = [];
|
|
||||||
// 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;
|
||||||
},
|
},
|
||||||
@ -1164,6 +1127,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//任务类型
|
//任务类型
|
||||||
changeTaskType(code, taskSubdivision) {
|
changeTaskType(code, taskSubdivision) {
|
||||||
|
console.log(code,)
|
||||||
this.taskPartitionDictId = ''
|
this.taskPartitionDictId = ''
|
||||||
|
|
||||||
let id = this.selectTaskTypeList?.find((e) => e.taskTypeCode == code)?.id;
|
let id = this.selectTaskTypeList?.find((e) => e.taskTypeCode == code)?.id;
|
||||||
@ -1452,6 +1416,7 @@ export default {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 130px;
|
height: 130px;
|
||||||
|
|
||||||
margin: 20px 0 0;
|
margin: 20px 0 0;
|
||||||
padding: 20px 50px 0px 20px;
|
padding: 20px 50px 0px 20px;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user