基本信息中的有效期改为钥匙有效期,位置改到管理员开锁密码下

This commit is contained in:
sky.min 2026-02-02 11:03:10 +08:00
parent df03d58dde
commit 96f0bf7623

View File

@ -70,12 +70,6 @@ class _BasicInformationPageState extends State<BasicInformationPage> {
Get.toNamed(Routers.uploadElectricQuantityPage,
arguments: <String, LockSetInfoData>{'lockSetInfoData': state.lockSetInfoData.value});
})),
Obx(() => CommonItem(
leftTitel: '有效期'.tr,
rightTitle: logic.getUseKeyTypeStr(state.lockBasicInfo.value.startDate,
state.lockBasicInfo.value.endDate, state.lockBasicInfo.value.keyType),
allHeight: 70.h,
isHaveLine: true)),
Obx(() => Visibility(
visible: (state.lockBasicInfo.value.keyType ?? 0) == 4,
child: CommonItem(
@ -127,6 +121,12 @@ class _BasicInformationPageState extends State<BasicInformationPage> {
arguments: <String, LockSetInfoData>{'lockSetInfoData': state.lockSetInfoData.value});
}),
)),
Obx(() => CommonItem(
leftTitel: '钥匙有效期'.tr,
rightTitle: logic.getUseKeyTypeStr(state.lockBasicInfo.value.startDate,
state.lockBasicInfo.value.endDate, state.lockBasicInfo.value.keyType),
allHeight: 70.h,
isHaveLine: true)),
Obx(
() => Visibility(
visible: state.lockSetInfoData.value.lockFeature?.wifi == 1,