Merge branch 'master' of gitee.com:starlock-cn/app-starlock
This commit is contained in:
commit
6bfba31172
@ -337,8 +337,7 @@
|
|||||||
"customSMSTemplate": "Custom SMS Template",
|
"customSMSTemplate": "Custom SMS Template",
|
||||||
"customMailTemplate": "Custom Mail Template",
|
"customMailTemplate": "Custom Mail Template",
|
||||||
"record": "Record",
|
"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",
|
"forTheFirstTime": "For the first time",
|
||||||
"onceDay": "once a day",
|
"onceDay": "once a day",
|
||||||
"weekOnce": "once a week",
|
"weekOnce": "once a week",
|
||||||
@ -855,6 +854,6 @@
|
|||||||
"异常事件":"Abnormal event",
|
"异常事件":"Abnormal event",
|
||||||
"门铃事件":"Doorbell event",
|
"门铃事件":"Doorbell event",
|
||||||
"视频事件":"Video event",
|
"视频事件":"Video event",
|
||||||
"请开启蓝牙":"Please turn on Bluetooth"
|
"请开启蓝牙":"Please turn on Bluetooth",
|
||||||
|
"请选择有效日":"Please select the effective day"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -883,5 +883,6 @@
|
|||||||
"异常事件":"异常事件",
|
"异常事件":"异常事件",
|
||||||
"门铃事件":"门铃事件",
|
"门铃事件":"门铃事件",
|
||||||
"视频事件":"视频事件",
|
"视频事件":"视频事件",
|
||||||
"请开启蓝牙":"请开启蓝牙"
|
"请开启蓝牙":"请开启蓝牙",
|
||||||
|
"请选择有效日":"请选择有效日"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -853,5 +853,6 @@
|
|||||||
"异常事件":"异常事件",
|
"异常事件":"异常事件",
|
||||||
"门铃事件":"门铃事件",
|
"门铃事件":"门铃事件",
|
||||||
"视频事件":"视频事件",
|
"视频事件":"视频事件",
|
||||||
"请开启蓝牙":"请开启蓝牙"
|
"请开启蓝牙":"请开启蓝牙",
|
||||||
|
"请选择有效日":"请选择有效日"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -70,7 +70,7 @@ class OtherTypeKeyChangeValidityDateLogic extends BaseGetXController{
|
|||||||
Storage.setStringList(saveBlueToken, saveStrList);
|
Storage.setStringList(saveBlueToken, saveStrList);
|
||||||
|
|
||||||
IoSenderManage.senderAddFaceCommand(
|
IoSenderManage.senderAddFaceCommand(
|
||||||
keyID:state.fingerprintItemData.value.cardId!.toString(),
|
keyID:state.fingerprintItemData.value.faceId!.toString(),
|
||||||
userID:await Storage.getUid(),
|
userID:await Storage.getUid(),
|
||||||
faceNo:int.parse(state.fingerprintItemData.value.faceNumber!),
|
faceNo:int.parse(state.fingerprintItemData.value.faceNumber!),
|
||||||
useCountLimit:0xffff,
|
useCountLimit:0xffff,
|
||||||
@ -119,7 +119,7 @@ class OtherTypeKeyChangeValidityDateLogic extends BaseGetXController{
|
|||||||
List<int> signKeyDataList = changeStringListToIntList(signKey!);
|
List<int> signKeyDataList = changeStringListToIntList(signKey!);
|
||||||
|
|
||||||
IoSenderManage.senderAddFaceCommand(
|
IoSenderManage.senderAddFaceCommand(
|
||||||
keyID:state.fingerprintItemData.value.cardId!.toString(),
|
keyID:state.fingerprintItemData.value.faceId!.toString(),
|
||||||
userID:await Storage.getUid(),
|
userID:await Storage.getUid(),
|
||||||
faceNo:int.parse(state.fingerprintItemData.value.faceNumber!),
|
faceNo:int.parse(state.fingerprintItemData.value.faceNumber!),
|
||||||
useCountLimit:0xffff,
|
useCountLimit:0xffff,
|
||||||
@ -426,7 +426,7 @@ class OtherTypeKeyChangeValidityDateLogic extends BaseGetXController{
|
|||||||
endDate: state.endDateTimestamp.value,
|
endDate: state.endDateTimestamp.value,
|
||||||
startTime: state.starTimeTimestamp.value,
|
startTime: state.starTimeTimestamp.value,
|
||||||
endTime: state.endTimeTimestamp.value,
|
endTime: state.endTimeTimestamp.value,
|
||||||
faceType: 2,
|
faceType: 4,
|
||||||
weekDay: state.weekDay.value,
|
weekDay: state.weekDay.value,
|
||||||
faceName: state.fingerprintItemData.value.faceName!,
|
faceName: state.fingerprintItemData.value.faceName!,
|
||||||
addType: "1",
|
addType: "1",
|
||||||
@ -435,6 +435,7 @@ class OtherTypeKeyChangeValidityDateLogic extends BaseGetXController{
|
|||||||
);
|
);
|
||||||
if (entity.errorCode!.codeIsSuccessful) {
|
if (entity.errorCode!.codeIsSuccessful) {
|
||||||
showToast("修改成功", something: () {
|
showToast("修改成功", something: () {
|
||||||
|
eventBus.fire(OtherTypeRefreshListEvent());
|
||||||
Get.back(result: {
|
Get.back(result: {
|
||||||
"starDate":state.starDateTimestamp.value.toString(),
|
"starDate":state.starDateTimestamp.value.toString(),
|
||||||
"endDate":state.endDateTimestamp.value.toString(),
|
"endDate":state.endDateTimestamp.value.toString(),
|
||||||
|
|||||||
@ -62,6 +62,11 @@ class _OtherTypeKeyChangeValidityDatePageState
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(state.weekDay.value.isEmpty){
|
||||||
|
logic.showToast("请选择有效日".tr);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (state.starTimeTimestamp.value >=
|
if (state.starTimeTimestamp.value >=
|
||||||
state.endTimeTimestamp.value) {
|
state.endTimeTimestamp.value) {
|
||||||
logic.showToast("失效时间要大于生效时间".tr);
|
logic.showToast("失效时间要大于生效时间".tr);
|
||||||
|
|||||||
@ -64,6 +64,7 @@ class DoorLockLogLogic extends BaseGetXController {
|
|||||||
var passwordData = indexList.sublist(7, 17);
|
var passwordData = indexList.sublist(7, 17);
|
||||||
var password = utf8String(passwordData);
|
var password = utf8String(passwordData);
|
||||||
indexMap["user"] = password.toString();
|
indexMap["user"] = password.toString();
|
||||||
|
}else {
|
||||||
int userNo = (indexList[1] * 256) + indexList[2];
|
int userNo = (indexList[1] * 256) + indexList[2];
|
||||||
indexMap["user"] = userNo.toString();
|
indexMap["user"] = userNo.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -105,7 +105,7 @@ class _FaceDetailPageState extends State<FaceDetailPage> with RouteAware {
|
|||||||
state.endDate.value = data["endDate"];
|
state.endDate.value = data["endDate"];
|
||||||
state.startTime.value = data["starTime"];
|
state.startTime.value = data["starTime"];
|
||||||
state.endTime.value = data["endTime"];
|
state.endTime.value = data["endTime"];
|
||||||
state.weekDay.value = data["weekDay"];
|
state.weekDay.value = data["validityValue"];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ class _FaceDetailPageState extends State<FaceDetailPage> with RouteAware {
|
|||||||
var data = await Get.toNamed(
|
var data = await Get.toNamed(
|
||||||
Routers.otherTypeKeyChangeValidityDatePage,
|
Routers.otherTypeKeyChangeValidityDatePage,
|
||||||
arguments: {
|
arguments: {
|
||||||
"pushType": 0,
|
"pushType": 3,
|
||||||
"fingerprintItemData": state.faceItemData.value,
|
"fingerprintItemData": state.faceItemData.value,
|
||||||
});
|
});
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
@ -130,7 +130,7 @@ class _FaceDetailPageState extends State<FaceDetailPage> with RouteAware {
|
|||||||
state.endDate.value = data["endDate"];
|
state.endDate.value = data["endDate"];
|
||||||
state.startTime.value = data["starTime"];
|
state.startTime.value = data["starTime"];
|
||||||
state.endTime.value = data["endTime"];
|
state.endTime.value = data["endTime"];
|
||||||
state.weekDay.value = data["weekDay"];
|
state.weekDay.value = data["validityValue"];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})))),
|
})))),
|
||||||
@ -139,13 +139,13 @@ class _FaceDetailPageState extends State<FaceDetailPage> with RouteAware {
|
|||||||
child: Obx(() => CommonItem(
|
child: Obx(() => CommonItem(
|
||||||
leftTitel: "有效时间",
|
leftTitel: "有效时间",
|
||||||
rightTitle:
|
rightTitle:
|
||||||
"${DateTool().dateToHNString(state.startDate.value)}-${DateTool().dateToHNString(state.endDate.value)}",
|
"${DateTool().dateToHNString(state.startTime.value)}-${DateTool().dateToHNString(state.endTime.value)}",
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () async {
|
action: () async {
|
||||||
var data = await Get.toNamed(
|
var data = await Get.toNamed(
|
||||||
Routers.otherTypeKeyChangeValidityDatePage,
|
Routers.otherTypeKeyChangeValidityDatePage,
|
||||||
arguments: {
|
arguments: {
|
||||||
"pushType": 0,
|
"pushType": 3,
|
||||||
"fingerprintItemData": state.faceItemData.value,
|
"fingerprintItemData": state.faceItemData.value,
|
||||||
});
|
});
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
|
|||||||
@ -44,8 +44,13 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# 1.0.34+2024051402:打包给欧阳回归测试
|
# 1.0.34+2024051402:打包给欧阳回归测试
|
||||||
# 1.0.35+2024051501:打包给欧阳回归测试
|
# 1.0.35+2024051501:打包给欧阳回归测试
|
||||||
# 1.0.36+2024051601:打包给欧阳回归测试
|
# 1.0.36+2024051601:打包给欧阳回归测试
|
||||||
|
# 1.0.37+2024051701:打包给欧阳回归测试
|
||||||
|
# 1.0.38+2024051702:打包给欧阳回归测试
|
||||||
|
# 1.0.39+2024051703:打包给欧阳回归测试
|
||||||
|
# 1.0.40+2024051704:打包给欧阳回归测试
|
||||||
|
# 1.0.41+2024051705:打包给公司测试
|
||||||
|
|
||||||
version: 1.0.36+2024051601
|
version: 1.0.41+2024051705
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.12.0 <3.0.0'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user