diff --git a/Laravel/app/Http/Controllers/API/H5/FenzhenController.php b/Laravel/app/Http/Controllers/API/H5/FenzhenController.php index 43ba37a..6f55485 100644 --- a/Laravel/app/Http/Controllers/API/H5/FenzhenController.php +++ b/Laravel/app/Http/Controllers/API/H5/FenzhenController.php @@ -255,7 +255,7 @@ class FenzhenController extends Controller $check_tip = false; if ($error_day == -1) { $et = $info->appointment_date . strtotime($res['data']['end_time']); - $et = '2024-10-10 00:00:00'; +// $et = '2024-10-10 00:00:00'; $check_tip = (time() - strtotime($et)) > (60 * 20); } return \Yz::Return(true, "获取成功", [ diff --git a/h5/pages/user/fenzhen/fenzhen.vue b/h5/pages/user/fenzhen/fenzhen.vue index 68749ad..99d8c67 100644 --- a/h5/pages/user/fenzhen/fenzhen.vue +++ b/h5/pages/user/fenzhen/fenzhen.vue @@ -28,6 +28,19 @@ }); const fenzhen_list = ref(false); + const check_tip_show = ref(false); + const checkTipShow = () => { + check_tip_show.value = true + uni.showModal({ + title: '提示', + content: '所有项目已完成,请进行检后签到', + showCancel: false, + confirmText: '确定', + success: function(res) { + + } + }); + } const getFenzhenList = async (loading = true) => { if (!!loading) { uni.showLoading(); @@ -38,7 +51,9 @@ uni.hideLoading(); $response(response, () => { fenzhen_list.value = response.data; - console.log(window.location.href) + if (!check_tip_show.value) { + checkTipShow() + } setTimeout(() => { if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') && !window.location.href.includes('192.168.31.84:5173')) { @@ -175,6 +190,12 @@ 体检日期: {{ fenzhen_list.info.check_date + }} + + + 排队号: + {{ + fenzhen_list.info.plan_number }} @@ -282,7 +303,7 @@