|
|
@ -1,8 +1,4 @@
|
|
|
|
// Flutter imports:
|
|
|
|
// Flutter imports:
|
|
|
|
import 'package:aku_community_manager/models/manager/facilities/facilities_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/key_manage/key_manage_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/packages_manage/packages_manage_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/rules_manage/rules_manage_page.dart';
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
|
|
// Package imports:
|
|
|
|
// Package imports:
|
|
|
@ -12,12 +8,16 @@ import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
// Project imports:
|
|
|
|
// Project imports:
|
|
|
|
import 'package:aku_community_manager/const/resource.dart';
|
|
|
|
import 'package:aku_community_manager/const/resource.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/models/manager/facilities/facilities_page.dart';
|
|
|
|
import 'package:aku_community_manager/provider/app_provider.dart';
|
|
|
|
import 'package:aku_community_manager/provider/app_provider.dart';
|
|
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
|
|
import 'package:aku_community_manager/tools/screen_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/screen_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/widget_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/widget_tool.dart';
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/green_manage/green_manage_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/green_manage/green_manage_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/inspection_manage/inspection_manage_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/inspection_manage/inspection_manage_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/key_manage/key_manage_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/packages_manage/packages_manage_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/rules_manage/rules_manage_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/activity_manager/activity_manager_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/activity_manager/activity_manager_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/borrow_manager/borrow_manager_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/borrow_manager/borrow_manager_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/business_and_fix/business_and_fix_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/business_and_fix/business_and_fix_page.dart';
|
|
|
@ -54,27 +54,37 @@ class _ApplicationPageState extends State<ApplicationPage>
|
|
|
|
|
|
|
|
|
|
|
|
List<AppApplication> _recommandApplications = [
|
|
|
|
List<AppApplication> _recommandApplications = [
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ()=>ActivityManagerPage()),
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, () => ActivityManagerPage()),
|
|
|
|
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, ()=>VisitorManagerPage()),
|
|
|
|
AppApplication(
|
|
|
|
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, ()=>BorrowManagerPage()),
|
|
|
|
'访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, () => VisitorManagerPage()),
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, ()=>WarningPage()),
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'借还管理', R.ASSETS_HOME_IC_BORROW_PNG, () => BorrowManagerPage()),
|
|
|
|
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, () => WarningPage()),
|
|
|
|
];
|
|
|
|
];
|
|
|
|
List<AppApplication> _wisdomApplications = [
|
|
|
|
List<AppApplication> _wisdomApplications = [
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, ()=>WarningPage()),
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, () => WarningPage()),
|
|
|
|
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, ()=>VisitorManagerPage()),
|
|
|
|
AppApplication(
|
|
|
|
AppApplication('报事报修', R.ASSETS_HOME_IC_SERVICE_PNG, ()=>BusinessAndFixPage()),
|
|
|
|
'访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, () => VisitorManagerPage()),
|
|
|
|
AppApplication('物品出户', R.ASSETS_HOME_IC_ARTICLE_PNG, ()=>ItemsOutdoorPage()),
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'报事报修', R.ASSETS_HOME_IC_SERVICE_PNG, () => BusinessAndFixPage()),
|
|
|
|
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'物品出户', R.ASSETS_HOME_IC_ARTICLE_PNG, () => ItemsOutdoorPage()),
|
|
|
|
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'装修管理', R.ASSETS_HOME_IC_DECORATION_PNG, () => DecorationManagerPage()),
|
|
|
|
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, () => ActivityManagerPage()),
|
|
|
|
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'借还管理', R.ASSETS_HOME_IC_BORROW_PNG, () => BorrowManagerPage()),
|
|
|
|
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'巡检管理', R.ASSETS_HOME_IC_PATROL_PNG, () => InspectionManagePage()),
|
|
|
|
|
|
|
|
AppApplication(
|
|
|
|
|
|
|
|
'绿化管理', R.ASSETS_HOME_IC_GREENING_PNG, () => GreenManagePage()),
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
'装修管理', R.ASSETS_HOME_IC_DECORATION_PNG, ()=> DecorationManagerPage()),
|
|
|
|
'设施检查', R.ASSETS_HOME_IC_FACILITIES_PNG, () => FacilitiesPage()),
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ()=> ActivityManagerPage()),
|
|
|
|
'包裹管理', R.ASSETS_HOME_PACKAGE_PNG, () => PackagesManagePage()),
|
|
|
|
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, ()=>BorrowManagerPage()),
|
|
|
|
AppApplication('钥匙管理', R.ASSETS_HOME_KEY_PNG, () => KeyManagePage()),
|
|
|
|
AppApplication('巡检管理', R.ASSETS_HOME_IC_PATROL_PNG, ()=>InspectionManagePage()),
|
|
|
|
AppApplication('规程管理', R.ASSETS_HOME_RULES_PNG, () => RulesManagePage())
|
|
|
|
AppApplication('绿化管理', R.ASSETS_HOME_IC_GREENING_PNG, ()=>GreenManagePage()),
|
|
|
|
|
|
|
|
AppApplication('设施检查', R.ASSETS_HOME_IC_FACILITIES_PNG, ()=> FacilitiesPage()),
|
|
|
|
|
|
|
|
AppApplication('包裹管理', R.ASSETS_HOME_PACKAGE_PNG, ()=> PackagesManagePage()),
|
|
|
|
|
|
|
|
AppApplication('钥匙管理', R.ASSETS_HOME_KEY_PNG, ()=> KeyManagePage()),
|
|
|
|
|
|
|
|
AppApplication('规程管理', R.ASSETS_HOME_RULES_PNG, ()=> RulesManagePage())
|
|
|
|
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|