巡检完跳转完成页面

hmxc
张萌 4 years ago
parent dce67e28f3
commit 2315d03044

@ -2,6 +2,7 @@
import 'dart:io'; import 'dart:io';
// Flutter imports: // Flutter imports:
import 'package:aku_community_manager/ui/manage_pages/inspection_manage/inspection_point_submit_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// Package imports: // Package imports:
@ -99,7 +100,8 @@ class _InspectionPointInputPageState extends State<InspectionPointInputPage> {
await ManageFunc.getSubmitPoint(_submitModel); await ManageFunc.getSubmitPoint(_submitModel);
if (baseModel.status) { if (baseModel.status) {
BotToast.showText(text: baseModel.message); BotToast.showText(text: baseModel.message);
Get.back(); Get.to(() => InspectionPointSubmitPage());
} else { } else {
BotToast.showText(text: baseModel.message); BotToast.showText(text: baseModel.message);
} }

@ -52,6 +52,7 @@ class _InspectionPointSubmitPageState extends State<InspectionPointSubmitPage> {
padding: EdgeInsets.symmetric(vertical: 22.w, horizontal: 76.w), padding: EdgeInsets.symmetric(vertical: 22.w, horizontal: 76.w),
onPressed: () { onPressed: () {
Get.back(); Get.back();
Get.back();
}, },
), ),
], ],

Loading…
Cancel
Save