From 0208372eed3e808595fadd2ac9432a5d5b4cbfd2 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Fri, 8 Apr 2022 13:22:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/management/epidemic.scss | 7 ++ .../base/epidemic/natFocus/natFocusAdd.vue | 16 ++-- .../base/epidemic/natFocus/nfSendNotice.vue | 12 ++- .../modules/base/epidemic/natInfo/natForm.vue | 76 ++++++++++--------- .../base/epidemic/veroFocus/veroFocusAdd.vue | 16 ++-- .../base/epidemic/veroFocus/vfSendNotice.vue | 11 +-- 6 files changed, 74 insertions(+), 64 deletions(-) diff --git a/src/assets/scss/modules/management/epidemic.scss b/src/assets/scss/modules/management/epidemic.scss index 46189c05..644e30ac 100644 --- a/src/assets/scss/modules/management/epidemic.scss +++ b/src/assets/scss/modules/management/epidemic.scss @@ -102,7 +102,14 @@ } } .div-mult-table { + position: relative; padding: 0 20px; + + .div_selcount{ + position: absolute; + bottom:10px; + left:30px; + } } .div_dialog_table { diff --git a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue index 569dbc0d..fa2e8e78 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue @@ -201,7 +201,7 @@ @@ -216,7 +216,11 @@ :total="total"> +
+ 已选择人数: + {{selectionAll.length}} +
@@ -239,11 +243,7 @@ :model="formData2" ref="ref_form2" :label-width="'90px'"> - - {{selectionAll.length}} - + - - - - 小程序通知 - - - - - - - + + + + + +
@@ -378,15 +378,17 @@ export default { const { data, code, msg } = await requestPost(url, params) if (code === 0) { this.formData = data - if (data.channel && data.channel.length > 0) { - this.$set(this.formData, 'isSelChannel', true) - // this.formData.isSelChannel = true - } else { - this.$set(this.formData, 'isSelChannel', false) - // this.formData.isSelChannel = false - this.formData.channel = [] - this.formData.content = '' - } + this.formData.channel = [] + this.formData.content = '' + // if (data.channel && data.channel.length > 0) { + // this.$set(this.formData, 'isSelChannel', true) + // // this.formData.isSelChannel = true + // } else { + // this.$set(this.formData, 'isSelChannel', false) + // // this.formData.isSelChannel = false + // this.formData.channel = [] + // this.formData.content = '' + // } console.log(this.formData.isSelChannel) this.formData.icNatId = this.icNatId diff --git a/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue b/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue index 3dd3413a..ca1f2b4e 100644 --- a/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue +++ b/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue @@ -84,7 +84,7 @@ style="display: block"> +
+ 已选择人数: + {{selectionAll.length}} + +
+
@@ -213,11 +219,7 @@ :model="formData2" ref="ref_form2" :label-width="'90px'"> - - {{selectionAll.length}} - +