This commit is contained in:
闫晓茹 2024-06-17 11:40:39 +08:00
parent 4dc9184867
commit 3561f70b13
2 changed files with 691 additions and 685 deletions

View File

@ -1,4 +1,5 @@
<template> <div style="border: 1px solid #ccc">
<template>
<div style="border: 1px solid #ccc">
<Toolbar
style="border-bottom: 1px solid #ccc"
:editor="editor"
@ -51,8 +52,6 @@
:before-close="beforeClose"
class="category-cascader-panel"
>
<!-- 在这里 -->
<el-cascader-panel
:options="fieldoptions"
@ -61,16 +60,15 @@
value: 'termCode',
label: 'termContent',
children: 'children',
checkStrictly: true,
checkStrictly: false,
multiple: true,
emitPath: false,
}"
ref="cascaderAddr"
>
</el-cascader-panel>
<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">
<!-- <input type="text"> -->
<div>{{ item }}</div>
@ -200,7 +198,6 @@ methods: {
}
});
},
async handleUpload(file, insertFn) {
@ -212,8 +209,7 @@ methods: {
this.html +=
'<video poster="" controls="true" width="auto" height="auto"><source src="' +
process.env.VUE_APP_BASE_API +
+
'" type="video/mp4"/></video>';
+'" type="video/mp4"/></video>';
},
async uploadFile(form) {
let res = await richTextPictureUrl(form); //
@ -268,16 +264,16 @@ methods: {
fieldclick() {
// divBox js +=
// += divBox
var aaa = document.querySelectorAll('.divBox')
console.log(this.html,'this.html--before');
console.log(aaa,'打印dom')
var aaa = document.querySelectorAll(".divBox");
console.log(this.html, "this.html--before");
console.log(aaa, "打印dom");
if (aaa.length != 0) {
console.log(this.html,'this.html111');
aaa.remove()
console.log(this.html, "this.html111");
aaa.remove();
} else {
aaa.innerHTML = ''
this.html += `<p >${this.add}</p>`
console.log(this.html,'this.html2222');
aaa.innerHTML = "";
this.html += `<p >${this.add}</p>`;
console.log(this.html, "this.html2222");
}
this.fieldshow = false;
setTimeout(() => {
@ -305,11 +301,10 @@ methods: {
// fieldMark: "",
// fileSpan: "",
// };
this.add=[]
// this.editor.focus();
this.add = [];
this.editor.focus();
++this.isResouceShow;
}, 100);
},
onCreated(editor) {
this.editor = Object.seal(editor);
@ -332,7 +327,7 @@ methods: {
});
bankLevel("3").then((res) => {
console.log(res,'打印res值')
console.log(res, "打印res值");
// res.forEach((e) => {
// e.children.forEach((el) => {
// el.children.forEach((f) => {
@ -344,7 +339,7 @@ methods: {
// });
// });
this.fieldoptions = res;
console.log(this.fieldoptions ,'***')
console.log(this.fieldoptions, "***");
});
},
beforeClose() {
@ -616,7 +611,7 @@ const nameiconVnode = h(
click() {
that.modify = true;
that.fieldshow = true;
this.add=[]
this.add = [];
} /* 其他... */,
},
}
@ -796,8 +791,8 @@ Boot.registerModule(parseHtmlConfmodule);
.category-cascader-panel {
.el-cascader-panel {
// background-color: red !important;
li[aria-haspopup="true"] {
.el-scrollbar:first-child {
// li[aria-haspopup="true"] {
.el-checkbox {
display: none !important;
}

View File

@ -583,7 +583,7 @@ export default {
executionTime: "",
appletPushSign: "0",
officialPushSign: "0",
messagePushSign: "0",
messagePushSign: 0,
taskSubdivisiontemplateType: "",
officialRemindContent: "",
messagePreview: "",
@ -692,10 +692,21 @@ export default {
this.totalNumber = res.data.totalNumber;
res.data.specialDiseaseNodeList.forEach((e) => {
console.log(e, "eeeeeeeeeeeeeeeee");
if(e.messagePushSign){
e.messagePushSign = "" + e.messagePushSign;
}if( e.officialPushSign ){
e.officialPushSign = "" + e.officialPushSign;
}
if(e.appletPushSign){
e.appletPushSign = "" + e.appletPushSign;
e.phonePushSign = "" + e.phonePushSign;
}
if(e.phonePushSign){
e.phonePushSign = ""+e.phonePushSign
}
});
this.lists = this.handleData(
res.data.specialDiseaseNodeList,