diff --git a/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart b/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart index 564f8d6..cefef21 100644 --- a/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart +++ b/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart @@ -2,6 +2,7 @@ import 'dart:io'; // Flutter imports: +import 'package:aku_community_manager/ui/manage_pages/inspection_manage/inspection_point_submit_page.dart'; import 'package:flutter/material.dart'; // Package imports: @@ -99,7 +100,8 @@ class _InspectionPointInputPageState extends State { await ManageFunc.getSubmitPoint(_submitModel); if (baseModel.status) { BotToast.showText(text: baseModel.message); - Get.back(); + Get.to(() => InspectionPointSubmitPage()); + } else { BotToast.showText(text: baseModel.message); } diff --git a/lib/ui/manage_pages/inspection_manage/inspection_point_submit_page.dart b/lib/ui/manage_pages/inspection_manage/inspection_point_submit_page.dart index 2269524..b40ceb6 100644 --- a/lib/ui/manage_pages/inspection_manage/inspection_point_submit_page.dart +++ b/lib/ui/manage_pages/inspection_manage/inspection_point_submit_page.dart @@ -52,6 +52,7 @@ class _InspectionPointSubmitPageState extends State { padding: EdgeInsets.symmetric(vertical: 22.w, horizontal: 76.w), onPressed: () { Get.back(); + Get.back(); }, ), ],