/*
 * @Author: XianKaiQun
 * @Date: 2020-07-28 10:02:18
 * @LastEditors: XianKaiQun
 * @LastEditTime: 2020-08-17 17:22:41
 * @Description: 
 */
import 'package:flutter/widgets.dart';
import 'package:qrcode_package/src/pages/clean/index.dart';
import 'package:qrcode_package/src/pages/clean_detail/index.dart';
import 'package:qrcode_package/src/pages/clean_list/index.dart';
import 'package:qrcode_package/src/pages/norm_picker/detail.dart';
import 'package:qrcode_package/src/pages/norm_picker/index.dart';
import 'package:qrcode_package/src/pages/register/index.dart';
import 'package:qrcode_package/src/pages/register_form/index.dart';
import 'package:qrcode_package/src/pages/repair/index.dart';
import 'package:qrcode_package/src/pages/repair_detail/index.dart';
import 'package:qrcode_package/src/pages/repair_detail_item/index.dart';
import 'package:qrcode_package/src/pages/repair_handle/index.dart';
import 'package:qrcode_package/src/pages/repair_maintain/index.dart';
import 'package:qrcode_package/src/pages/security/index.dart';
import 'package:qrcode_package/src/pages/security_detail/index.dart';
import 'package:qrcode_package/src/pages/security_list/index.dart';

Map<String, WidgetBuilder> routes = {
  'qrcode/clean': (context) => CleanPage(), //保洁清洁
  'qrcode/clean_list': (context) => CleanListPage(), //保洁位置详情
  'qrcode/clean_detail': (context) => CleanDetailPage(), //保洁点详情

  'qrcode/security': (context) => SecurityPage(), //安保巡检
  'qrcode/security_list': (context) => SecurityListPage(), //安保巡检位置详情
  'qrcode/security_detail': (context) => SecurityDetailPage(), //安保巡检点详情

  'qrcode/register': (context) => RegisterPage(), //二维码登记
  'qrcode/register_form': (context) => RegisterFormPage(), //二维码登记表单页
  'qrcode/norm_picker': (context) => NormPickerPage(), //二维码登记表单页
  'qrcode/norm_picker/detail': (context) => NormDetailPage(),

  'qrcode/repair': (context) => RepairPage(), //养护检修
  'qrcode/repair_detail': (context) => RepairDetailPage(), //设备详情
  'qrcode/repair_detail_item': (context) => RepairDetailItemPage(), //操作内容(二级详情)
  'qrcode/repair_handle': (context) => RepairHandlePage(), //巡检养护操作
  'qrcode/repair_maintain': (context) => RepairMaintainPage(), //设备维修
};
