From 5597b5d1fd3cac640fb2903b8e573c9b705893a7 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 29 Mar 2023 16:57:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/XyDialog/index.vue | 8 ++- src/components/XyTinymce/index.vue | 5 +- src/views/visit/check.vue | 2 +- src/views/visit/component/addCommon.vue | 7 +- src/views/visit/component/showVisit.vue | 86 ++++++++++++++++--------- 5 files changed, 71 insertions(+), 37 deletions(-) diff --git a/src/components/XyDialog/index.vue b/src/components/XyDialog/index.vue index b8ce259..67b2604 100644 --- a/src/components/XyDialog/index.vue +++ b/src/components/XyDialog/index.vue @@ -144,8 +144,10 @@ export default { } } return ( +
+
+ {$scopedSlots.logs ? $scopedSlots.logs() : ''} +
+
) }else{ return ( diff --git a/src/components/XyTinymce/index.vue b/src/components/XyTinymce/index.vue index 63f8c5f..627b47f 100644 --- a/src/components/XyTinymce/index.vue +++ b/src/components/XyTinymce/index.vue @@ -31,6 +31,7 @@ import "tinymce/plugins/wordcount"; import "tinymce/plugins/colorpicker"; import "tinymce/plugins/textcolor"; import "tinymce/icons/default" +import 'tinymce/plugins/code' export default { components: { Editor, @@ -52,11 +53,11 @@ export default { plugins: { type: [String, Array], default: - "paste preview searchreplace autolink directionality visualblocks visualchars fullscreen image template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave ", + "code paste preview searchreplace autolink directionality visualblocks visualchars fullscreen image template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave ", }, toolbar: { type: [String, Array], - default: ` undo redo restoredraft | assignment | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough anchor | alignleft aligncenter alignright alignjustify outdent indent | + default: ` undo redo restoredraft | code | assignment | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough anchor | alignleft aligncenter alignright alignjustify outdent indent | styleselect formatselect fontselect fontsizeselect | table image charmap emoticons hr pagebreak |bullist numlist | blockquote subscript superscript removeformat | insertdatetime print preview | fullscreen | bdmap indent2em lineheight formatpainter axupimgs`, }, diff --git a/src/views/visit/check.vue b/src/views/visit/check.vue index 9693a22..2658846 100644 --- a/src/views/visit/check.vue +++ b/src/views/visit/check.vue @@ -254,7 +254,7 @@ }) }, checkRecords(row){ - this.$refs['showVisit'].form = row + this.$refs['showVisit'].id = row.id this.$refs['showVisit'].formDataType='checkrecord' this.$refs['showVisit'].isShow = true // this.$refs['checkRecord'].id = row.id diff --git a/src/views/visit/component/addCommon.vue b/src/views/visit/component/addCommon.vue index 10a461d..b56ae2b 100644 --- a/src/views/visit/component/addCommon.vue +++ b/src/views/visit/component/addCommon.vue @@ -362,7 +362,7 @@ customFn: (row) => { return ( (row.credent_name = e.value, row.credent = e.id), @@ -510,7 +510,10 @@ this.visitTimeList = res.data const resarea = await getAreaList() this.visitAreaList = resarea.data - const resuser = await listCommonuser() + const resuser = await listCommonuser({ + page:1, + page_zise:99 + }) this.adminList = resuser.data const reason = await getparameter({ diff --git a/src/views/visit/component/showVisit.vue b/src/views/visit/component/showVisit.vue index 702f95f..0b820b1 100644 --- a/src/views/visit/component/showVisit.vue +++ b/src/views/visit/component/showVisit.vue @@ -1,18 +1,26 @@