diff --git a/h5/pages/buy/done/done.vue b/h5/pages/buy/done/done.vue index b6c59d9..606ba0f 100644 --- a/h5/pages/buy/done/done.vue +++ b/h5/pages/buy/done/done.vue @@ -100,6 +100,9 @@ import DraggableButton from "@/pages/components/goHome.vue"; 恭喜您,支付成功! + + 请您的配偶在15分钟内完成预约,否则本次预约将会失效,如有支付金额会原路退回 + {{ order_info.title }} diff --git a/h5/pages/main/selectDoctor/selectDoctor.vue b/h5/pages/main/selectDoctor/selectDoctor.vue index f80ad5c..49a841d 100755 --- a/h5/pages/main/selectDoctor/selectDoctor.vue +++ b/h5/pages/main/selectDoctor/selectDoctor.vue @@ -113,8 +113,12 @@ yytjInfo.value.nmrIndex = -1; $store.setYytjInfo(yytjInfo.value); if ($props.month == 'all') { + let riqiurl='' + if(dqDate.value){ + riqiurl='?date='+dqDate.value; + } uni.navigateTo({ - url: '/pages/main/ysdate/ysdate_new' + url: '/pages/main/ysdate/ysdate_new'+riqiurl }) } else { // 关闭当前页面携带医生名称返回上一个,,并且携带item.name diff --git a/h5/pages/main/ysdate/ysdate_new.vue b/h5/pages/main/ysdate/ysdate_new.vue index ad95e61..1b99a34 100644 --- a/h5/pages/main/ysdate/ysdate_new.vue +++ b/h5/pages/main/ysdate/ysdate_new.vue @@ -56,6 +56,12 @@ } getnmrList() } + const $props = defineProps({ + date: { + type: String, + default: "", + } + }); const getUserInfo = async () => { uni.showLoading({ title: "加载中", @@ -83,7 +89,11 @@ date = yytjInfo.value.doctor_date currentDate.value = yytjInfo.value.doctor_date } else { - currentDate.value = getToday(); + if($props.date){ + currentDate.value=$props.date + }else{ + currentDate.value = getToday(); + } yytjInfo.value.doctor_date = currentDate.value; } moreTime(date, 1); @@ -200,6 +210,7 @@ onShow(() => { if (!!config_ref.value) { + mountedAction(); } });