获取通话记录
This commit is contained in:
@@ -77,7 +77,9 @@ class ReserveView extends BaseUI {
|
||||
width: 5,
|
||||
),
|
||||
InkWell(
|
||||
onTap: () {},
|
||||
onTap: () {
|
||||
provider.loadCallLog();
|
||||
},
|
||||
child: const SizedBox(
|
||||
width: 40,
|
||||
height: 40,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import 'package:cashier_reserve/common/base/ui_model.dart';
|
||||
import 'package:cashier_reserve/common/channel/channel_manager.dart';
|
||||
|
||||
class ReserveViewModel extends BaseUIModel {
|
||||
Map<int, String> weekdayMap = {
|
||||
@@ -16,6 +17,14 @@ class ReserveViewModel extends BaseUIModel {
|
||||
1: "明",
|
||||
2: "后",
|
||||
};
|
||||
|
||||
// ReserveViewModel() {
|
||||
// loadData();
|
||||
// }
|
||||
|
||||
void loadCallLog() {
|
||||
ChannelManager.getCallLog("getCallLog");
|
||||
}
|
||||
|
||||
String getCurrentDate() {
|
||||
DateTime now = DateTime.now();
|
||||
|
||||
Reference in New Issue
Block a user