From 0d340848838ef1076bb46db0154b108a24f63b87 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Wed, 30 Apr 2025 16:25:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BD=BF=E7=94=A8=E8=AE=B0?= =?UTF-8?q?=E5=BD=95/=E8=AE=BE=E7=BD=AE=E5=BA=8A=E4=BD=8D=E5=80=99?= =?UTF-8?q?=E8=AF=8A=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/userCard.vue | 7 ++- components/visitorAccount.vue | 26 ++++++++++-- pages/prebook_list/prebook_list.vue | 6 ++- pages/visit_detail/visit_detail.vue | 85 ++++++++++++++++++++++++++++++++----- pages/visitors_new/visitors_new.vue | 1 - 5 files changed, 107 insertions(+), 18 deletions(-) diff --git a/components/userCard.vue b/components/userCard.vue index 2c1b0d4..2c4b93d 100644 --- a/components/userCard.vue +++ b/components/userCard.vue @@ -72,12 +72,17 @@ export default { obj.type = this.type obj.bed_desc = '' if(this.type == 1) obj.bed_desc = this.value - this.$emit('clickEvent', obj) }, setType(typeval) { this.value = typeval }, + setTypeValue(typeval) { + setTimeout(function(){ + this.type = typeval + }.bind(this)) + // this.type = typeval + }, getData() { var obj = new Object() obj.value = this.value diff --git a/components/visitorAccount.vue b/components/visitorAccount.vue index c513c48..7d46329 100644 --- a/components/visitorAccount.vue +++ b/components/visitorAccount.vue @@ -1,5 +1,5 @@