From e5f42011a1979d51a0eb4102a7242c31947a2987 Mon Sep 17 00:00:00 2001 From: sa0ChunLuyu Date: Mon, 25 Nov 2024 14:31:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=9B=9E=E8=AF=8A?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/resources/views/fenzhen.blade.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Laravel/resources/views/fenzhen.blade.php b/Laravel/resources/views/fenzhen.blade.php index 93bb797..325e67c 100644 --- a/Laravel/resources/views/fenzhen.blade.php +++ b/Laravel/resources/views/fenzhen.blade.php @@ -121,6 +121,15 @@ } } + const searchCountZero = () => { + window.$box.alert(`未查询到排队信息`, '提示', { + confirmButtonText: '确定', + callback: () => { + window.location.reload() + }, + }) + } + const doneClick = async (id) => { const idn = '{{ $id_number }}' if (!!idn && id) { @@ -152,6 +161,9 @@ } onMounted(() => { + @if($id_number != '' && count($queue) == 0) + searchCountZero() + @endif }) return {