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(() => {