2.修改提醒方式点确定没有操作成功的提示,实际没有修改成功 3.修改开锁方式点击进去锁用户的勾应在对应的用户上,现勾都是在第一个。 4.家人详情,更改不成功,应有操作成功的提示,选了新的用户应直接刷新。
24 lines
697 B
Dart
Executable File
24 lines
697 B
Dart
Executable File
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:star_lock/main/lockDetail/messageWarn/lockUser/lockUser_entity.dart';
|
|
|
|
class LockUserState {
|
|
//锁所有用户列表
|
|
|
|
LockUserState() {
|
|
final Map map = Get.arguments;
|
|
if (map['getLockId'] != null) {
|
|
getLockId.value = map['getLockId'];
|
|
}
|
|
|
|
selectedOpenDoorId.value = map['openDoorId'];
|
|
}
|
|
TextEditingController searchController = TextEditingController(); //邮箱/手机号输入框
|
|
RxBool isSelectUser = false.obs;
|
|
RxInt selectedOpenDoorId = 0.obs;
|
|
RxInt isSelectIndex = 0.obs;
|
|
|
|
RxInt getLockId = 0.obs;
|
|
RxList<LockUserListKeys> lockUserList = <LockUserListKeys>[].obs;
|
|
}
|