From 23496791a5c15e636f084c37859306d7dc4547b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Fri, 14 Jun 2024 15:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=93=E7=97=85=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/components/wangEditor.vue | 5 +- src/views/system/components/message.vue | 3 + src/views/system/followupsee/index.vue | 576 ++++++++++------- src/views/system/specialDiseaseNode/index.vue | 583 ++++++++++++++---- 4 files changed, 814 insertions(+), 353 deletions(-) diff --git a/src/views/manage/components/wangEditor.vue b/src/views/manage/components/wangEditor.vue index 9d5cc64..4f542ac 100644 --- a/src/views/manage/components/wangEditor.vue +++ b/src/views/manage/components/wangEditor.vue @@ -317,6 +317,7 @@ Boot.registerPlugin(withAttachment) function renderAttachment(elem, children, editor) { // JS 语法 // 获取“附件”的数据,参考上文 myResume 数据结构 const { fileName = '', link = '', fileSpan = '', fieldMark = '' } = elem + // const { add=[]} // 附件 icon 图标 vnode const iconVnode = h( // HTML tag @@ -359,7 +360,7 @@ function renderAttachment(elem, children, editor) { on: { click() { }, /* 其他... */ } }, // img 没有子节点,所以第三个参数不用写 - [fileSpan] + [add] ) const nameVnode = h( // HTML tag @@ -367,7 +368,7 @@ function renderAttachment(elem, children, editor) { // HTML 属性 { props: { contentEditable: false }, // HTML 属性,驼峰式写法 - style: { color: '#fff', background: '#009A82', padding: '5px 10px' /* 其他... */ }, // style ,驼峰式写法 + style: { color: '#fff', background: 'red', padding: '5px 10px' /* 其他... */ }, // style ,驼峰式写法 on: { click() { }, /* 其他... */ } }, // img 没有子节点,所以第三个参数不用写 diff --git a/src/views/system/components/message.vue b/src/views/system/components/message.vue index e2ca408..f60ece6 100644 --- a/src/views/system/components/message.vue +++ b/src/views/system/components/message.vue @@ -161,6 +161,9 @@ export default { this.Departmentlist(); }, methods: { + listDisease(){ + this.$emit("on-template", { templateId: '', templateName: '', templateContent: '' }); + }, nohandleselect() { this.handleselectId = '' this.handleselectName = '' diff --git a/src/views/system/followupsee/index.vue b/src/views/system/followupsee/index.vue index b01736d..bc4e7e7 100644 --- a/src/views/system/followupsee/index.vue +++ b/src/views/system/followupsee/index.vue @@ -2,8 +2,18 @@
-
+
+