设备分享

This commit is contained in:
czz
2025-06-30 20:35:02 +08:00
parent ee88290dfe
commit 8a69c90572
18 changed files with 908 additions and 207 deletions

View File

@@ -20,7 +20,7 @@ class ShareUserWidget extends GetView {
onTap: () {
repairListController.model.mainShare =
repairListController.model.shareUser![index];
Get.toNamed('/share_device_user_detail');
Get.toNamed('/shareDeviceDetail');
},
child: Container(
width: MediaQuery.sizeOf(context).width,
@@ -77,9 +77,9 @@ class ShareUserWidget extends GetView {
child: Align(
alignment: const AlignmentDirectional(-1, 0),
child: Text(
info['opType'] == 1
info['op_type'] == 1
? '允许对方控制该设备'.tr
: info['opType'] == 2
: info['op_type'] == 2
? '仅允许对方查看该设备'.tr
: '',
style: TextStyle(