修改
This commit is contained in:
parent
4dc9184867
commit
3561f70b13
@ -1,4 +1,5 @@
|
|||||||
<template> <div style="border: 1px solid #ccc">
|
<template>
|
||||||
|
<div style="border: 1px solid #ccc">
|
||||||
<Toolbar
|
<Toolbar
|
||||||
style="border-bottom: 1px solid #ccc"
|
style="border-bottom: 1px solid #ccc"
|
||||||
:editor="editor"
|
:editor="editor"
|
||||||
@ -51,8 +52,6 @@
|
|||||||
:before-close="beforeClose"
|
:before-close="beforeClose"
|
||||||
class="category-cascader-panel"
|
class="category-cascader-panel"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
<!-- 在这里 -->
|
<!-- 在这里 -->
|
||||||
<el-cascader-panel
|
<el-cascader-panel
|
||||||
:options="fieldoptions"
|
:options="fieldoptions"
|
||||||
@ -61,16 +60,15 @@
|
|||||||
value: 'termCode',
|
value: 'termCode',
|
||||||
label: 'termContent',
|
label: 'termContent',
|
||||||
children: 'children',
|
children: 'children',
|
||||||
checkStrictly: true,
|
checkStrictly: false,
|
||||||
multiple: true,
|
multiple: true,
|
||||||
emitPath: false,
|
|
||||||
}"
|
}"
|
||||||
ref="cascaderAddr"
|
ref="cascaderAddr"
|
||||||
>
|
>
|
||||||
</el-cascader-panel>
|
</el-cascader-panel>
|
||||||
|
|
||||||
<div style="margin: 20px 0">结果预览:</div>
|
<div style="margin: 20px 0">结果预览:</div>
|
||||||
<div style="width: 80%;height: 100%; border: 2px solid #ECEFF7 ;">
|
<div style="width: 80%; height: 100%; border: 2px solid #eceff7">
|
||||||
<div v-for="(item, index) of add" :key="index">
|
<div v-for="(item, index) of add" :key="index">
|
||||||
<!-- <input type="text"> -->
|
<!-- <input type="text"> -->
|
||||||
<div>{{ item }}</div>
|
<div>{{ item }}</div>
|
||||||
@ -200,7 +198,6 @@ methods: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
async handleUpload(file, insertFn) {
|
async handleUpload(file, insertFn) {
|
||||||
@ -212,8 +209,7 @@ methods: {
|
|||||||
this.html +=
|
this.html +=
|
||||||
'<video poster="" controls="true" width="auto" height="auto"><source src="' +
|
'<video poster="" controls="true" width="auto" height="auto"><source src="' +
|
||||||
process.env.VUE_APP_BASE_API +
|
process.env.VUE_APP_BASE_API +
|
||||||
+
|
+'" type="video/mp4"/></video>';
|
||||||
'" type="video/mp4"/></video>';
|
|
||||||
},
|
},
|
||||||
async uploadFile(form) {
|
async uploadFile(form) {
|
||||||
let res = await richTextPictureUrl(form); //此处换为自己的上传接口地址
|
let res = await richTextPictureUrl(form); //此处换为自己的上传接口地址
|
||||||
@ -268,16 +264,16 @@ methods: {
|
|||||||
fieldclick() {
|
fieldclick() {
|
||||||
// 先判断 富文本里有没有这个名字叫divBox的标签 有的话用原生js给他删掉 然后继续走下面的+=
|
// 先判断 富文本里有没有这个名字叫divBox的标签 有的话用原生js给他删掉 然后继续走下面的+=
|
||||||
// 如果富文本里面没有这个元素 就直接走+= ‘divBox’唯一标识符 这样就第二次选择的时候 会覆盖第一次选择的
|
// 如果富文本里面没有这个元素 就直接走+= ‘divBox’唯一标识符 这样就第二次选择的时候 会覆盖第一次选择的
|
||||||
var aaa = document.querySelectorAll('.divBox')
|
var aaa = document.querySelectorAll(".divBox");
|
||||||
console.log(this.html,'this.html--before');
|
console.log(this.html, "this.html--before");
|
||||||
console.log(aaa,'打印dom')
|
console.log(aaa, "打印dom");
|
||||||
if (aaa.length != 0) {
|
if (aaa.length != 0) {
|
||||||
console.log(this.html,'this.html111');
|
console.log(this.html, "this.html111");
|
||||||
aaa.remove()
|
aaa.remove();
|
||||||
} else {
|
} else {
|
||||||
aaa.innerHTML = ''
|
aaa.innerHTML = "";
|
||||||
this.html += `<p >${this.add}</p>`
|
this.html += `<p >${this.add}</p>`;
|
||||||
console.log(this.html,'this.html2222');
|
console.log(this.html, "this.html2222");
|
||||||
}
|
}
|
||||||
this.fieldshow = false;
|
this.fieldshow = false;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -305,11 +301,10 @@ methods: {
|
|||||||
// fieldMark: "",
|
// fieldMark: "",
|
||||||
// fileSpan: "",
|
// fileSpan: "",
|
||||||
// };
|
// };
|
||||||
this.add=[]
|
this.add = [];
|
||||||
// this.editor.focus();
|
this.editor.focus();
|
||||||
++this.isResouceShow;
|
++this.isResouceShow;
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
},
|
},
|
||||||
onCreated(editor) {
|
onCreated(editor) {
|
||||||
this.editor = Object.seal(editor);
|
this.editor = Object.seal(editor);
|
||||||
@ -332,7 +327,7 @@ methods: {
|
|||||||
});
|
});
|
||||||
|
|
||||||
bankLevel("3").then((res) => {
|
bankLevel("3").then((res) => {
|
||||||
console.log(res,'打印res值')
|
console.log(res, "打印res值");
|
||||||
// res.forEach((e) => {
|
// res.forEach((e) => {
|
||||||
// e.children.forEach((el) => {
|
// e.children.forEach((el) => {
|
||||||
// el.children.forEach((f) => {
|
// el.children.forEach((f) => {
|
||||||
@ -344,7 +339,7 @@ methods: {
|
|||||||
// });
|
// });
|
||||||
// });
|
// });
|
||||||
this.fieldoptions = res;
|
this.fieldoptions = res;
|
||||||
console.log(this.fieldoptions ,'***')
|
console.log(this.fieldoptions, "***");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
beforeClose() {
|
beforeClose() {
|
||||||
@ -616,7 +611,7 @@ const nameiconVnode = h(
|
|||||||
click() {
|
click() {
|
||||||
that.modify = true;
|
that.modify = true;
|
||||||
that.fieldshow = true;
|
that.fieldshow = true;
|
||||||
this.add=[]
|
this.add = [];
|
||||||
} /* 其他... */,
|
} /* 其他... */,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -796,8 +791,8 @@ Boot.registerModule(parseHtmlConfmodule);
|
|||||||
.category-cascader-panel {
|
.category-cascader-panel {
|
||||||
.el-cascader-panel {
|
.el-cascader-panel {
|
||||||
// background-color: red !important;
|
// background-color: red !important;
|
||||||
|
.el-scrollbar:first-child {
|
||||||
li[aria-haspopup="true"] {
|
// li[aria-haspopup="true"] {
|
||||||
.el-checkbox {
|
.el-checkbox {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -583,7 +583,7 @@ export default {
|
|||||||
executionTime: "",
|
executionTime: "",
|
||||||
appletPushSign: "0",
|
appletPushSign: "0",
|
||||||
officialPushSign: "0",
|
officialPushSign: "0",
|
||||||
messagePushSign: "0",
|
messagePushSign: 0,
|
||||||
taskSubdivisiontemplateType: "",
|
taskSubdivisiontemplateType: "",
|
||||||
officialRemindContent: "",
|
officialRemindContent: "",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
@ -692,10 +692,21 @@ export default {
|
|||||||
this.totalNumber = res.data.totalNumber;
|
this.totalNumber = res.data.totalNumber;
|
||||||
res.data.specialDiseaseNodeList.forEach((e) => {
|
res.data.specialDiseaseNodeList.forEach((e) => {
|
||||||
console.log(e, "eeeeeeeeeeeeeeeee");
|
console.log(e, "eeeeeeeeeeeeeeeee");
|
||||||
|
if(e.messagePushSign){
|
||||||
e.messagePushSign = "" + e.messagePushSign;
|
e.messagePushSign = "" + e.messagePushSign;
|
||||||
|
|
||||||
|
}if( e.officialPushSign ){
|
||||||
e.officialPushSign = "" + e.officialPushSign;
|
e.officialPushSign = "" + e.officialPushSign;
|
||||||
|
|
||||||
|
}
|
||||||
|
if(e.appletPushSign){
|
||||||
e.appletPushSign = "" + e.appletPushSign;
|
e.appletPushSign = "" + e.appletPushSign;
|
||||||
e.phonePushSign = "" + e.phonePushSign;
|
|
||||||
|
}
|
||||||
|
if(e.phonePushSign){
|
||||||
|
e.phonePushSign = ""+e.phonePushSign
|
||||||
|
|
||||||
|
}
|
||||||
});
|
});
|
||||||
this.lists = this.handleData(
|
this.lists = this.handleData(
|
||||||
res.data.specialDiseaseNodeList,
|
res.data.specialDiseaseNodeList,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user