基本信息中的有效期改为钥匙有效期,位置改到管理员开锁密码下
This commit is contained in:
parent
df03d58dde
commit
96f0bf7623
@ -70,12 +70,6 @@ class _BasicInformationPageState extends State<BasicInformationPage> {
|
|||||||
Get.toNamed(Routers.uploadElectricQuantityPage,
|
Get.toNamed(Routers.uploadElectricQuantityPage,
|
||||||
arguments: <String, LockSetInfoData>{'lockSetInfoData': state.lockSetInfoData.value});
|
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(
|
Obx(() => Visibility(
|
||||||
visible: (state.lockBasicInfo.value.keyType ?? 0) == 4,
|
visible: (state.lockBasicInfo.value.keyType ?? 0) == 4,
|
||||||
child: CommonItem(
|
child: CommonItem(
|
||||||
@ -127,6 +121,12 @@ class _BasicInformationPageState extends State<BasicInformationPage> {
|
|||||||
arguments: <String, LockSetInfoData>{'lockSetInfoData': state.lockSetInfoData.value});
|
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(
|
Obx(
|
||||||
() => Visibility(
|
() => Visibility(
|
||||||
visible: state.lockSetInfoData.value.lockFeature?.wifi == 1,
|
visible: state.lockSetInfoData.value.lockFeature?.wifi == 1,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user