From 2c7aaec667a79579055d885cc8ccd12446e756d2 Mon Sep 17 00:00:00 2001 From: sa0ChunLuyu Date: Wed, 13 Nov 2024 14:29:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=88=86=E8=AF=8A?= =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E6=8E=92=E9=98=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/resources/views/fenzhen.blade.php | 25 +++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/Laravel/resources/views/fenzhen.blade.php b/Laravel/resources/views/fenzhen.blade.php index 8cb3160..4016118 100644 --- a/Laravel/resources/views/fenzhen.blade.php +++ b/Laravel/resources/views/fenzhen.blade.php @@ -92,7 +92,7 @@ {{ $queue[0]['item'] }} - 确认并登记 + 确认并登记 @else
未查询到排队信息
@endif @@ -121,13 +121,22 @@ } } - const doneClick = (clinic) => { - window.$box.alert(`登记成功,请前往${clinic}排队`, '提示', { - confirmButtonText: 'OK', - callback: () => { - console.log('AAAAA') - }, - }) + const doneClick = async (id) => { + const idn = '{{ $id_number }}' + if(!!idn && id){ + const response = await axios.post('/api/Fz/change',{ + id: id, + id_number: idn, + }); + console.log('response',response) + } + // + // window.$box.alert(`登记成功,请前往${clinic}排队`, '提示', { + // confirmButtonText: 'OK', + // callback: () => { + // console.log('AAAAA') + // }, + // }) } onMounted(() => {