|
|
@ -325,7 +325,7 @@ class _VisitorAccessPageState extends State<VisitorAccessPage> {
|
|
|
|
await ManagerFunc.insertVisitorInfo(id, type, _userName.text,
|
|
|
|
await ManagerFunc.insertVisitorInfo(id, type, _userName.text,
|
|
|
|
_selectSex, tel, _userCarNum.text, dateTime);
|
|
|
|
_selectSex, tel, _userCarNum.text, dateTime);
|
|
|
|
cancel();
|
|
|
|
cancel();
|
|
|
|
Get.back();
|
|
|
|
Get.off(VisitorRecordPage());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
alignment: Alignment.center,
|
|
|
|
alignment: Alignment.center,
|
|
|
@ -367,8 +367,8 @@ class _VisitorAccessPageState extends State<VisitorAccessPage> {
|
|
|
|
return BeeScaffold(
|
|
|
|
return BeeScaffold(
|
|
|
|
title: '访客通行',
|
|
|
|
title: '访客通行',
|
|
|
|
actions: [
|
|
|
|
actions: [
|
|
|
|
InkWell(
|
|
|
|
MaterialButton(
|
|
|
|
onTap: () {
|
|
|
|
onPressed: () {
|
|
|
|
VisitorRecordPage().to();
|
|
|
|
VisitorRecordPage().to();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|