From d6e92e0074e2469b2620906fd2f390080dc1f7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 17 Jun 2024 15:12:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/components/wangEditor.vue | 81 +-- src/views/system/followup/index.vue | 18 +- src/views/system/followupdetails/index.vue | 630 ++++++++++++------ src/views/system/followupsee/index.vue | 52 +- src/views/system/specialDiseaseNode/index.vue | 67 +- src/views/system/taskExecuteRecord/index.vue | 12 +- 6 files changed, 506 insertions(+), 354 deletions(-) diff --git a/src/views/system/components/wangEditor.vue b/src/views/system/components/wangEditor.vue index c9bcc25..c6f8286 100644 --- a/src/views/system/components/wangEditor.vue +++ b/src/views/system/components/wangEditor.vue @@ -207,7 +207,7 @@ export default { console.log(res); const videoUrl = URL.createObjectURL(file); this.html += - ''; }, @@ -234,6 +234,7 @@ export default { } }, labelclick() { + console.log(this.html, "this.html--before11111"); this.labelshow = false; setTimeout(() => { this.editor.focus(); @@ -262,49 +263,51 @@ export default { }, 100); }, fieldclick() { - // 先判断 富文本里有没有这个名字叫divBox的标签 有的话用原生js给他删掉 然后继续走下面的+= - // 如果富文本里面没有这个元素 就直接走+= ‘divBox’唯一标识符 这样就第二次选择的时候 会覆盖第一次选择的 + var aaa = document.querySelectorAll(".divBox"); - console.log(this.html, "this.html--before"); + // console.log(this.html, "this.html--before"); console.log(aaa, "打印dom"); - if (aaa.length != 0) { - console.log(this.html, "this.html111"); - aaa.remove(); - } else { - aaa.innerHTML = ""; - this.html += `

${this.add}

`; + // if (aaa.length != 0) { + // console.log(this.html, "this.html111"); + // aaa.remove(); + // } + // else + if(aaa.length==0){ + // aaa.innerHTML = ""; + this.html += `${this.add}`; console.log(this.html, "this.html2222"); } this.fieldshow = false; - setTimeout(() => { - this.editor.focus(); - }, 30); - setTimeout(() => { - if (this.modify) { - this.modify = false; - this.editor.deleteBackward(); - } - const resume = { - // JS 语法 - type: "attachmenttwo", - link: "", - add: this.add, - // fileName: this.add.forEach((e) => e), - // fileSpan: this.addnode.fileSpan, - // fieldMark: this.addnode.fieldMark, - // children: [{ text: "" }], // void 元素必须有一个 children ,其中只有一个空字符串,重要!!! - }; - this.editor.insertNode(resume); - console.log(this.html, "add是是是是是是所所所所所所"); - // this.addnode = { - // fileName: "", - // fieldMark: "", - // fileSpan: "", - // }; - this.add = []; - this.editor.focus(); - ++this.isResouceShow; - }, 100); +setTimeout(() => { + this.editor.focus(); +}, 30); + + // setTimeout(() => { + // if (this.modify) { + // this.modify = false; + // this.editor.deleteBackward(); + // } + // const resume = { + // // JS 语法 + // type: "attachmenttwo", + // link: "", + // add: this.add, + // // fileName: this.add.forEach((e) => e), + // // fileSpan: this.addnode.fileSpan, + // // fieldMark: this.addnode.fieldMark, + // // children: [{ text: "" }], // void 元素必须有一个 children ,其中只有一个空字符串,重要!!! + // }; + // this.editor.insertNode(resume); + // console.log(this.html, "add是是是是是是所所所所所所"); + // // this.addnode = { + // // fileName: "", + // // fieldMark: "", + // // fileSpan: "", + // // }; + // this.add = []; + // this.editor.focus(); + // ++this.isResouceShow; + // }, 100); }, onCreated(editor) { this.editor = Object.seal(editor); diff --git a/src/views/system/followup/index.vue b/src/views/system/followup/index.vue index 87d180b..4f5c474 100644 --- a/src/views/system/followup/index.vue +++ b/src/views/system/followup/index.vue @@ -97,10 +97,10 @@
- - + + - + - + - + - + @@ -602,7 +602,7 @@ export default { taskType: row.taskType, templateId: row.templateId, manageRouteId: row.manageRouteId, - + manageRouteNodeId: row.manageRouteNodeId, visitRecordId: row.visitRecordId, taskExecuteRecordId: row.taskExecuteRecordId, routeHandleRemark: row.routeHandleRemark ? row.routeHandleRemark : null, diff --git a/src/views/system/followupdetails/index.vue b/src/views/system/followupdetails/index.vue index b984a7e..fb4d470 100644 --- a/src/views/system/followupdetails/index.vue +++ b/src/views/system/followupdetails/index.vue @@ -237,7 +237,7 @@
-
+ +
+
电话外呼
+ +
+ + + + 已接通 + 未接通 + +
+ + + + +
+ + + + + +
+ + + + + + 已开启 + 未开启 + +
+ + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + +
+
+ + + + + + +
+ +
+
- + ::v-deep .el-textarea.is-disabled .el-textarea__inner { + color: #606266; + background: #fff; + } + .tk { + ::v-deep .el-textarea__inner { + margin: 20px 0 10px 30px; + } + } + + ::v-deep .el-radio { + padding: 10px; + } + ::v-deep .el-checkbox-group { + display: flex; + flex-direction: column; + padding: 10px 0px 10px 24px; + } + ::v-deep .el-checkbox { + padding: 10px 0 10px 0px; + // padding: 10px; + } + .custom-radio-group { + display: flex; + flex-direction: column; + padding: 10px 0 10px 10px; + .custom { + padding: 10px 0 10px 10px; + } + } + .bodytop { + position: relative; + top: 20px; + // height: 500px; + width: 400px; + margin: 0 auto; + // background: red;f + overflow: auto; + border: 1px solid #e2e2e2; + .titledata { + margin: 30px 0px 15px 30px; + top: 14px; + font-size: 20px; + } + .audiotop { + margin: 10px 0px 10px 30px; + } + img { + // width: 362px; + // height: 127px; + margin: 0px 0px 0px 30px; + } + .know { + margin: 11px 0px 10px 30px; + font-size: 20px; + font-weight: 550; + } + .knowlist { + margin: 10px 0px 10px 30px; + font-size: 16px; + } + } + .right { + width: 100%; + height: 500px; + // background: yellow; + } + .header { + background-color: #f1f3f5; + padding-top: 10px; + + ::v-deep .el-tabs__header { + margin: 0 !important; + width: 100%; + // overflow: auto; + // height: 500px; + // background: red; + } + + .bottomheader { + overflow: scroll; + width: 99%; + height: 100vh; + background-color: #fff; + margin: 10px auto; + padding: 10px 20px; + .sport { + padding: 10px 50px 10px 10px; + font-size: 20px; + font-weight: 600; + } + .words { + font-size: 15px; + padding: 10px 50px 10px 10px; + } + .sports { + position: absolute; + left: 50%; + transform: translate(-50%); + font-size: 18px; + font-weight: 600; + } + .word { + font-size: 14px; + font-weight: 550; + padding: 50px 50px 10px 10px; + } + .videoleft { + width: 40%; + height: 200px; + background: red; + } + .time { + font-size: 20px; + font-weight: 550; + padding: 10px 50px 10px 10px; + } + .number { + width: 25px; + height: 25px; + text-align: center; + display: inline-block; + color: white; + background: blue; + border-radius: 50%; + } + .nexttime { + font-size: 15px; + padding: 10px 50px 10px 10px; + } + .images { + width: 53%; + height: 241px; + margin: 0 auto; + background: red; + } + .attention { + font-size: 14px; + font-weight: 550; + padding: 10px 50px 10px 10px; + } + // .videobottom + // { + // font-size: 14px; + // font-weight: 550; + // padding: 10px 50px 10px 10px; + // } + } + + .topheader { + width: 99%; + background-color: #fff; + margin: 0 auto; + + .information { + display: flex; + flex-wrap: wrap; + padding: 10px 20px; + height: 110px; + + .top, + .bottom { + color: #666666; + width: 100%; + display: flex; + + div { + width: 25%; + } + } + } + + .user { + width: 100%; + padding: 0 20px; + display: flex; + height: 80px; + align-items: center; + line-height: 80px; + + .source { + display: flex; + position: relative; + right: 59px; + position: absolute; + .item { + margin-left: 20px; + } + } + + .name { + font-size: 20px; + padding-left: 12px; + } + + .gender { + padding-left: 10px; + } + + .age { + padding-left: 10px; + } + + .headsculpture { + border-radius: 50%; + width: 40px; + height: 40px; + } + } + } + } + + \ No newline at end of file diff --git a/src/views/system/followupsee/index.vue b/src/views/system/followupsee/index.vue index d66d287..da7a559 100644 --- a/src/views/system/followupsee/index.vue +++ b/src/views/system/followupsee/index.vue @@ -246,11 +246,11 @@ > - 已接通 - 未接通
@@ -311,10 +311,10 @@ inactive-value="0" > --> - 已开启 - 未开启 @@ -366,16 +366,7 @@ /> -->
- - - - -
- +
- +
+
+ + + +
@@ -692,6 +692,8 @@ export default { (this.form.diseaseTypeId = this.formlist.diseaseTypeId), (this.form.diseaseTypeName = this.formlist.diseaseTypeName), (this.form.routeHandleRemark = this.formlist.routeHandleRemark); + (this.form.phoneConnectStatus= this.formlist.phoneConnectStatus); + (this.form.visitRecordId = this.$route.query.visitRecordId), // console.log(this.form, 'this.form') // return @@ -731,13 +733,23 @@ export default { };