From 838c91755cbddca94fd4703b9ac15f0f309994ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 24 May 2024 11:25:37 +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/partition/index.vue | 2 +- src/views/system/specialDiseaseNode/index.vue | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/system/partition/index.vue b/src/views/system/partition/index.vue index 1d57fb1..6f32e5a 100644 --- a/src/views/system/partition/index.vue +++ b/src/views/system/partition/index.vue @@ -87,7 +87,7 @@ - + diff --git a/src/views/system/specialDiseaseNode/index.vue b/src/views/system/specialDiseaseNode/index.vue index 13aa9ea..ed0d6aa 100644 --- a/src/views/system/specialDiseaseNode/index.vue +++ b/src/views/system/specialDiseaseNode/index.vue @@ -104,6 +104,7 @@
@@ -514,7 +515,9 @@ export default { }, //暂存 TemporaryStorage() { - this.$refs.wangeditor.emit(); + if (this.form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && this.form.taskSubdivisiontemplateType != 'PROPAGANDA') { + this.$refs.wangeditor.emit(); + } this.$confirm( "确认暂存时将过滤掉部分内容未填写完成的子节点,是否确认暂存?", "提示", @@ -569,8 +572,9 @@ export default { this.form.templateName = item.templateName; }, bottomclickevent(uitem, index, uindex) { - console.log(this.form, uitem, index, uindex) - this.$refs.wangeditor.emit(); + if (this.form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && this.form.taskSubdivisiontemplateType != 'PROPAGANDA') { + this.$refs.wangeditor.emit(); + } setTimeout(() => { this.form = uitem; this.taskPartitionList = []; @@ -579,7 +583,7 @@ export default { } this.listindex = index; this.itemindex = uindex; - }, 100); + }, 150); }, handleStep() { this.active = 2;