修改操作记录问题,卡指纹人脸不选择有效日提交有问题

This commit is contained in:
魏少阳 2024-05-17 18:58:21 +08:00
parent bec3c70443
commit 49352a0d97
5 changed files with 13 additions and 6 deletions

View File

@ -337,8 +337,7 @@
"customSMSTemplate": "Custom SMS Template",
"customMailTemplate": "Custom Mail Template",
"record": "Record",
"buyRealNameTip": "When an electronic key is sent to the user, the user can be required to authenticate with his real name before unlocking to ensure that he is operating. The real-name authentication calls the interface of the national Public security system. For the payment function, please purchase the number of times before using it.",
"buyRealNameSelectYouWantBuyTip": "Please select the frequency of real name authentication you want",
"forTheFirstTime": "For the first time",
"onceDay": "once a day",
"weekOnce": "once a week",
@ -854,6 +853,6 @@
"异常事件":"Abnormal event",
"门铃事件":"Doorbell event",
"视频事件":"Video event",
"请开启蓝牙":"Please turn on Bluetooth"
"请开启蓝牙":"Please turn on Bluetooth",
"请选择有效日":"Please select the effective day"
}

View File

@ -882,5 +882,6 @@
"异常事件":"异常事件",
"门铃事件":"门铃事件",
"视频事件":"视频事件",
"请开启蓝牙":"请开启蓝牙"
"请开启蓝牙":"请开启蓝牙",
"请选择有效日":"请选择有效日"
}

View File

@ -852,5 +852,6 @@
"异常事件":"异常事件",
"门铃事件":"门铃事件",
"视频事件":"视频事件",
"请开启蓝牙":"请开启蓝牙"
"请开启蓝牙":"请开启蓝牙",
"请选择有效日":"请选择有效日"
}

View File

@ -62,6 +62,11 @@ class _OtherTypeKeyChangeValidityDatePageState
return;
}
if(state.weekDay.value.isEmpty){
logic.showToast("请选择有效日".tr);
return;
}
if (state.starTimeTimestamp.value >=
state.endTimeTimestamp.value) {
logic.showToast("失效时间要大于生效时间".tr);

View File

@ -64,6 +64,7 @@ class DoorLockLogLogic extends BaseGetXController {
var passwordData = indexList.sublist(7, 17);
var password = utf8String(passwordData);
indexMap["user"] = password.toString();
}else {
int userNo = (indexList[1] * 256) + indexList[2];
indexMap["user"] = userNo.toString();
}