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