From fc7d3a6fe77b68d91712c911bf38ccb3105089de Mon Sep 17 00:00:00 2001
From: zq <136432190602163.com>
Date: Mon, 19 May 2025 18:32:07 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/userCard.vue | 7 -------
pages/visit_detail/visit_detail.vue | 22 +++-------------------
2 files changed, 3 insertions(+), 26 deletions(-)
diff --git a/components/userCard.vue b/components/userCard.vue
index 0ca0951..6e3ea35 100644
--- a/components/userCard.vue
+++ b/components/userCard.vue
@@ -29,10 +29,6 @@ export default {
name: "visitorList",
options: { styleIsolation: "shared" },
props: {
- add: {
- type: Boolean,
- default: () => false
- },
showuinfo: {
type: Boolean,
default: () => true
@@ -61,8 +57,6 @@ export default {
}
},
methods: {
- confirm() {
- },
inputevent(e) {
var obj = new Object()
obj.key = this.index
@@ -85,7 +79,6 @@ export default {
setTimeout(function () {
this.type = typeval
}.bind(this))
- // this.type = typeval
},
getData() {
var obj = new Object()
diff --git a/pages/visit_detail/visit_detail.vue b/pages/visit_detail/visit_detail.vue
index e7900f8..dba6f0a 100644
--- a/pages/visit_detail/visit_detail.vue
+++ b/pages/visit_detail/visit_detail.vue
@@ -21,7 +21,6 @@
返回
取消预约
-
@@ -53,10 +52,7 @@
return {
statusList:{'9':'text_wait', '1':'text_ing', '2':'text_down', '3':'text_out_num', '4':'text_expire', '5':'text_cancle'},
statusStyleList:{'0':'status_wait', '1':'status_ing', '2':'status_down', '3':'status_out_num', '4':'status_expire','5':'status_cancle'},
- statusDescList:['候诊', '就诊中', '已完成','过号', '已过期', '已取消'],
status:'',
- queueNum:88,
- bookDate:"2024.01.09 周二 09:30-12:00",
notice:"",
visit_id:0,
hasRecord:false,
@@ -71,7 +67,6 @@
{'leftTitle':'就诊时间','custom':"",show:true,edit:false}
],
showCancelBook:false,
- redirect:'/pages/prebook_list/prebook_list',
bookId:false,
visitor_id:0,
depart_id:false,
@@ -87,7 +82,6 @@
}
},
onLoad(option) {
- // if(option.index) this.redirect = '/pages/index/index'
if(option.id) this.bookId = option.id
if(option.depart_id) this.depart_id = option.depart_id
if(option.visitor_id) this.visitor_id = option.visitor_id
@@ -135,8 +129,6 @@
}
})
});
-
- console.log(obj)
},
closepop(){
this.$refs.popup.close()
@@ -203,11 +195,6 @@
}
var bookInfo = data
- // if(bookInfo && bookInfo.length <= 0){
- // this.$pop.modelShow('预约信息为空')
- // return
- // }
- bookInfo = data
this.bookInfo = bookInfo
this.status = this.statusStyleList[bookInfo.status]
if(bookInfo.status==0 || bookInfo.status==2){
@@ -219,15 +206,15 @@
var status_desc = bookInfo.status_desc;
if(bookInfo.status == 0) {
if(bookInfo.bed_desc) {
- bookInfo.status_desc = "床位候诊"
+ status_desc = "床位候诊"
this.wait_type = 1
}else{
- bookInfo.status_desc = "等待叫号"
+ status_desc = "等待叫号"
this.wait_type = 0
}
}
- this.list[0].custom = ""+bookInfo.status_desc+""
+ this.list[0].custom = ""+status_desc+""
this.list[1].custom = ""+bookInfo.bed_desc+""
if(bookInfo.bed_desc) {
this.list[1].show = true
@@ -251,10 +238,7 @@
this.list[3].rightTitle = bookInfo.hospital_name
this.list[4].rightTitle = bookInfo.depart_name
this.list[5].rightTitle = bookInfo.doctor_name ? bookInfo.doctor_name : '无'
- // this.list[5].custom = "前方"+bookInfo.wait_visit_count+"人"
- // if(bookInfo.wait_visit_count<=0 || bookInfo.status!=0) this.list[5].show = false
this.list[6].show = false
- // this.list[7].custom = ""+bookInfo.visit_date+' '+bookInfo.week_desc+' '+bookInfo.visit_time+""
this.list[7].custom = ""+bookInfo.visit_date+' '+bookInfo.week_desc+' '+bookInfo.visit_time+""
this.notice = bookInfo.notice;
});