From 14441c4fdec8694f6925819a8cf6d581dc529a32 Mon Sep 17 00:00:00 2001 From: yxq Date: Wed, 25 Sep 2024 11:29:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitorMobile/components/selectSearch.vue | 23 ++++++++++++++++++-- monitorMobile/pages/login.vue | 1 + monitorMobile/pages/work/rollCall/detail.vue | 9 ++++++-- monitorMobile/pages/work/rollCall/index.vue | 2 +- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/monitorMobile/components/selectSearch.vue b/monitorMobile/components/selectSearch.vue index d03c81c..aacf9f4 100644 --- a/monitorMobile/components/selectSearch.vue +++ b/monitorMobile/components/selectSearch.vue @@ -21,9 +21,13 @@ v-for="(item, index) in options" :key="index" :label="item.label" :name="item.value"> - + + + @@ -135,6 +139,21 @@ } this.close() }, + cancel(){ + if (!this.multiple) { + this.value_ = '' + this.$emit("input", this.value_) + this.$emit("change", this.value_) + let obj = this.options.find(e1 => e1.value == this.value_) + if (obj) { + this.$emit("update:title", this.title_) + } else { + this.$emit("update:title", '') + } + } else { + this.value_ = [] + } + } } } diff --git a/monitorMobile/pages/login.vue b/monitorMobile/pages/login.vue index 6bdd2e8..38d37c4 100644 --- a/monitorMobile/pages/login.vue +++ b/monitorMobile/pages/login.vue @@ -162,6 +162,7 @@ height: calc(100% - 880rpx); margin-top: 46rpx; padding: 60rpx 60rpx 0 60rpx; + min-height: 450rpx; .title { color: #333; diff --git a/monitorMobile/pages/work/rollCall/detail.vue b/monitorMobile/pages/work/rollCall/detail.vue index f77ed52..33f36cf 100644 --- a/monitorMobile/pages/work/rollCall/detail.vue +++ b/monitorMobile/pages/work/rollCall/detail.vue @@ -15,6 +15,9 @@ + + 暂无数据 +