修改
This commit is contained in:
parent
63aa83cccf
commit
0d6659f9e8
@ -938,7 +938,7 @@ export default {
|
||||
// this.parentDictCodelist = res.rows;
|
||||
res.rows.forEach((e) => {
|
||||
this.lists.forEach((el) => {
|
||||
el.routeNodeName = e.dictLabel;
|
||||
el.routeNodeName = e.dictValue;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
>
|
||||
<div class="top">
|
||||
<div class="toptop">
|
||||
<el-select v-model="item.routeNodeName" style="width: 100px">
|
||||
<el-select v-model="item.routeNodeName" style="width: 100px" >
|
||||
<el-option
|
||||
v-for="item in parentDictCodelist"
|
||||
:key="item.dictValue"
|
||||
@ -246,7 +246,6 @@
|
||||
form.taskSubdivisiontemplateType != 'PROPAGANDA' &&
|
||||
form.taskSubdivisiontemplateType != 'SCRIPT'
|
||||
"
|
||||
v-cloak
|
||||
style="width: 100%"
|
||||
:nodeContent="form.nodeContent"
|
||||
:taskPartitionDictId="taskPartitionDictId"
|
||||
@ -798,6 +797,8 @@ export default {
|
||||
changelisy() {
|
||||
list(this.parentDictCode).then((res) => {
|
||||
this.parentDictCodelist = res.rows;
|
||||
console.log( this.parentDictCodelist,' this.parentDictCodelist')
|
||||
|
||||
});
|
||||
},
|
||||
infolist() {
|
||||
@ -940,6 +941,17 @@ export default {
|
||||
},
|
||||
//wangeditor传值
|
||||
onNodeContent(item) {
|
||||
if (item.nodeContent) {
|
||||
// console.log(555)
|
||||
this.form.nodeContent = item.nodeContent;
|
||||
console.log(this.form.nodeContent, 'this.form.nodeContentthis.form.nodeContentthis.form.nodeContent')
|
||||
|
||||
var abc = new RegExp("<br>", "g");
|
||||
var bbb = this.form.nodeContent.replace(abc, "");
|
||||
this.form.nodeContent = bbb;
|
||||
console.log(this.form.nodeContent, 'this.form.nodeContent')
|
||||
|
||||
}
|
||||
// console.log(item, 'items')
|
||||
let wangeditorlist = [];
|
||||
if (localStorage.getItem("wangeditorlist")) {
|
||||
@ -953,14 +965,7 @@ export default {
|
||||
wangeditorlist.push(item);
|
||||
// console.log(wangeditorlist, 'wangeditorlist')
|
||||
localStorage.setItem("wangeditorlist", JSON.stringify(wangeditorlist));
|
||||
if (item.nodeContent) {
|
||||
// console.log(555)
|
||||
this.form.nodeContent = item.nodeContent;
|
||||
// console.log(this.form.nodeContent, 'this.form.nodeContentthis.form.nodeContentthis.form.nodeContent')
|
||||
var abc = new RegExp("<br>", "g");
|
||||
var bbb = this.form.nodeContent.replace(abc, "");
|
||||
this.form.nodeContent = bbb;
|
||||
}
|
||||
|
||||
},
|
||||
//小程序传值
|
||||
miniProgramtemplate(item) {
|
||||
@ -993,6 +998,7 @@ export default {
|
||||
this.form.officialTemplateName = item.templateName;
|
||||
this.form.officialRemindContent = item.templateContent;
|
||||
},
|
||||
|
||||
//暂存
|
||||
TemporaryStorage() {
|
||||
if (
|
||||
@ -1236,7 +1242,7 @@ export default {
|
||||
// this.parentDictCodelist = res.rows;
|
||||
res.rows.forEach((e) => {
|
||||
this.lists.forEach((el) => {
|
||||
el.routeNodeName = e.dictLabel;
|
||||
el.routeNodeName = e.dictValue;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user