Files
biz_xfj_cloud/lib/common/routers/names.dart
T
2026-09-04 16:23:30 +08:00

93 lines
3.1 KiB
Dart

/// 应用全部命名路由的稳定名称集合,字符串会被导航守卫和嵌套 Navigator 共同使用。
class RouteNames {
/// 加载页面
static const load = '/load';
/// 登录
static const login = '/login';
/// 登录后为尚未绑定的安装实例输入服务端设备 ID。
static const deviceSetup = '/device-setup';
/// 顾客屏全窗口预览,不装载终端侧栏和顶栏。
static const customer = '/customer';
/// 欢迎副屏全窗口预览。
static const customerWelcome = '/customer-welcome';
/// 预约查询副屏全窗口预览。
static const menuQueryCustomer = '/menu-query-customer';
/// 终端工作台一级路由,顶部状态栏和左侧菜单在该路由内常驻。
static const terminal = '/terminal';
/// 收银二级路由;根据设备类型装载超市或食堂业务实现。
static const cashier = '$terminal/cashier';
/// 本人预约菜单查询。
static const menuQuery = '$terminal/menu_query';
/// 取餐
static const takeFood = '$terminal/take_food';
/// 食堂预定
static const canteenReserve = '$terminal/canteen_reserve';
/// 食堂交易统计
static const canteenOrderTotal = '$terminal/canteen_order_total';
/// 交易查询
static const orderHistory = '$terminal/order_history';
/// 当前设备的远端核销记录。
static const verificationRecords = '$terminal/verification_records';
/// 设置
static const setting = '$terminal/setting';
/// 设置模块默认的基本信息子路由。
static const settingBaseInfo = '$setting/base-info';
/// 设置模块的同步任务子路由。
static const settingSync = '$setting/sync';
/// 设置模块的早餐、中餐和晚餐时间配置子路由。
static const settingMealPeriods = '$setting/meal-periods';
/// 设置模块的资源备份子路由。
static const settingBackup = '$setting/backup';
/// 设置模块的人脸管理子路由。
static const settingFace = '$setting/face';
/// 设置模块的人脸插件配置子路由。
static const settingFacePlugin = '$setting/face-plugin';
/// 设置模块的终端页面配置子路由。
static const settingPage = '$setting/page';
/// 设置模块的本地商品管理子路由。
static const settingProduct = '$setting/product';
/// 设置模块的终端文件日志预览子路由。
static const settingLogPreview = '$setting/log-preview';
/// 设置模块的 USB 打印机发现、上报与测试子路由。
static const settingPrinterInfo = '$setting/printer-info';
/// 设置模块的副屏路由调试子路由。
static const settingSubScreenRoutes = '$setting/sub-screen-routes';
/// 设置模块的终端版本管理子路由。
static const settingVersion = '$setting/version';
/// 设置模块的读写卡配置子路由。
static const settingCardReader = '$setting/card-reader';
/// 设置模块的结构化定时任务日志详情路由,任务类型通过路由参数传递。
static const settingSyncLogs = '$setting/sync/logs';
/// 饭卡
static const cardActive = '$terminal/card_active';
}