mobile_skt/lib/screens/workbench/workbench_controller.dart

21 lines
952 B
Dart
Raw Normal View History

import 'package:get/get.dart';
2024-04-10 17:08:26 +08:00
import 'package:sk_base_mobile/constants/constants.dart';
2024-04-01 08:41:52 +08:00
import 'package:sk_base_mobile/models/workbench.model.dart';
class WorkBenchController extends GetxController {
2024-04-01 08:41:52 +08:00
final List<WorkBenchModel> menus = [
2024-04-10 17:38:23 +08:00
WorkBenchModel(
title: '库存', route: RouteConfig.inventory, icon: 'inventory.svg'),
2024-04-01 08:41:52 +08:00
WorkBenchModel(title: '产品', route: '/product', icon: 'product.svg'),
WorkBenchModel(title: '合同', route: '/contract', icon: 'contract.svg'),
2024-04-10 17:08:26 +08:00
WorkBenchModel(title: '人事', route: RouteConfig.hrManage, icon: 'hr.svg'),
2024-04-01 08:41:52 +08:00
WorkBenchModel(title: '公车', route: '/vehicle', icon: 'vehicle.svg'),
WorkBenchModel(title: '任务', route: '/task_manage', icon: 'task_manage.svg'),
WorkBenchModel(title: '报表', route: '/report', icon: 'report.svg'),
WorkBenchModel(
2024-04-10 17:08:26 +08:00
title: '报价计算',
route: RouteConfig.saleQuotation,
icon: 'sale_quotation.svg'),
2024-04-01 08:41:52 +08:00
];
}