croak_happy_logic.dart
965 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import 'package:cp_offline_manage/router/route_config.dart';
import 'package:cp_offline_manage/utils/log.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class Croak_happyLogic extends GetxController {
var touchedIndex = -1;
var data_list = [
{
'title': '人员管理',
'key': RouteConfig.croak_happy_personnel_key
},
{
'title': '拿票登记',
'key': RouteConfig.croak_happy_get_ticket_key
},
{
'title': '回收登记',
'key': RouteConfig.croak_happy_in_ticket_key
},
{
'title': '销售查询',
'key': RouteConfig.croak_happy_sale_key
},
{
'title': '提成统计',
'key': RouteConfig.croak_happy_commission_key
}
];
@override
void onReady() {
// TODO: implement onReady
super.onReady();
}
void updateIndex(index) {
touchedIndex = index;
update();
}
void jumpPage(url) {
Get.toNamed(url);
}
}