|
|
@ -1,5 +1,6 @@ |
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/activity.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/activity.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/findMiNiGroupList.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/findMiNiGroupList.dart'; |
|
|
@ -14,6 +15,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:huixiang/view_widget/round_button.dart'; |
|
|
|
import 'package:huixiang/view_widget/round_button.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import '../../utils/flutter_utils.dart'; |
|
|
|
|
|
|
|
|
|
|
|
class StoreOrderListPage extends StatefulWidget { |
|
|
|
class StoreOrderListPage extends StatefulWidget { |
|
|
|
final Map arguments; |
|
|
|
final Map arguments; |
|
|
|
final List<Activity> activitys; |
|
|
|
final List<Activity> activitys; |
|
|
@ -94,6 +97,8 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
"id": widget.arguments["id"], |
|
|
|
"id": widget.arguments["id"], |
|
|
|
}).catchError((error) { |
|
|
|
}).catchError((error) { |
|
|
|
// refreshController.refreshFailed(); |
|
|
|
// refreshController.refreshFailed(); |
|
|
|
|
|
|
|
SmartDialog.showToast(AppUtils.dioErrorTypeToString(error.type), |
|
|
|
|
|
|
|
alignment: Alignment.center); |
|
|
|
debugPrint(error); |
|
|
|
debugPrint(error); |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (baseData != null && baseData.isSuccess) { |
|
|
|
if (baseData != null && baseData.isSuccess) { |
|
|
|