修复错别字 selet
This commit is contained in:
parent
8718ffed35
commit
e970a961e9
@ -63,7 +63,7 @@ import 'main/lockDetail/face/addFace/addFace_page.dart';
|
||||
import 'main/lockDetail/face/addFaceType/addFaceTypeManage/addFaceTypeManage_page.dart';
|
||||
import 'main/lockDetail/face/faceList/faceList_page.dart';
|
||||
import 'main/lockDetail/fingerprint/addFingerprint/addFingerprint_page.dart';
|
||||
import 'main/lockDetail/fingerprint/addFingerprintSeletType/addFingerprintManage/addFingerprintTypeManage_page.dart';
|
||||
import 'main/lockDetail/fingerprint/addFingerprintSelectType/addFingerprintManage/addFingerprintTypeManage_page.dart';
|
||||
import 'main/lockDetail/fingerprint/addFingerprintTip/addFingerprintTip_page.dart';
|
||||
import 'main/lockDetail/fingerprint/fingerprintDetail/fingerprintDetail_page.dart';
|
||||
import 'main/lockDetail/fingerprint/fingerprintList/fingerprintList_page.dart';
|
||||
@ -71,7 +71,7 @@ import 'main/lockDetail/lcokSet/automaticBlocking/automaticBlocking_page.dart';
|
||||
import 'main/lockDetail/lcokSet/basicInformation/adminOpenLockPassword/adminOpenLockPassword_page.dart';
|
||||
import 'main/lockDetail/lcokSet/basicInformation/basicInformation/basicInformation_page.dart';
|
||||
import 'main/lockDetail/lcokSet/basicInformation/editLockName/editLockName_page.dart';
|
||||
import 'main/lockDetail/lcokSet/basicInformation/lockSeletGrouping/lockSeletGrouping_page.dart';
|
||||
import 'main/lockDetail/lcokSet/basicInformation/lockSelectGrouping/lockSelectGrouping_page.dart';
|
||||
import 'main/lockDetail/lcokSet/basicInformation/uploadElectricQuantity/uploadElectricQuantity_page.dart';
|
||||
import 'main/lockDetail/lcokSet/burglarAlarm/burglarAlarm_page.dart';
|
||||
import 'main/lockDetail/lcokSet/catEyeSet/catEyeWorkMode/catEyeWorkMode_page.dart';
|
||||
@ -131,7 +131,7 @@ import 'main/lockDetail/passwordKey/passwordKeyDetail/passwordKeyDetail_page.dar
|
||||
import 'main/lockDetail/passwordKey/passwordKeyList/passwordKeyList_page.dart';
|
||||
import 'main/lockDetail/passwordKey/passwordKeyManage/passwordKeyManage_page.dart';
|
||||
import 'main/lockMian/lockMain/lockMain_page.dart';
|
||||
import 'mine/addLock/addLockSeletCountry/addLockSeletCountry_page.dart';
|
||||
import 'mine/addLock/addLockSelectCountry/addLockSelectCountry_page.dart';
|
||||
import 'mine/addLock/lockAddress/gaode/lockAddressGaoDe_page.dart';
|
||||
import 'mine/addLock/lockAddress/lockAddress/lockAddress_page.dart';
|
||||
import 'mine/addLock/nearbyLock/nearbyLock_page.dart';
|
||||
@ -183,7 +183,7 @@ abstract class Routers {
|
||||
static const initial = '/'; // 加载页
|
||||
static const starLockMain = '/StarLockMain'; // 首页
|
||||
static const starLockMinePage = '/StarLockMinePage'; // 我的
|
||||
static const seletLockTypePage = '/SeletLockTypePage'; // 选择锁类型
|
||||
static const seletLockTypePage = '/SelectLockTypePage'; // 选择锁类型
|
||||
static const LockMallPage = '/LockMallPage'; // 商城页面
|
||||
static const addLockPage = '/AddLockPage'; // 选择锁类型
|
||||
static const nearbyLockPage = '/NearbyLockPage'; // 附近的锁
|
||||
@ -230,7 +230,7 @@ abstract class Routers {
|
||||
static const uploadElectricQuantityPage =
|
||||
'/UploadElectricQuantityPage'; // 更新锁电量
|
||||
static const editLockNamePage = '/EditLockNamePage'; // 修改锁名字
|
||||
static const lockSeletGroupingPage = '/LockSeletGroupingPage'; // 锁选择分组
|
||||
static const lockSelectGroupingPage = '/LockSelectGroupingPage'; // 锁选择分组
|
||||
static const groupEditLockPage = '/GroupEditLockPage'; // 编辑锁分组里面的锁
|
||||
static const adminOpenLockPasswordPage =
|
||||
'/AdminOpenLockPasswordPage'; // 管理员开锁密码
|
||||
@ -239,7 +239,7 @@ abstract class Routers {
|
||||
static const addWirelessKeyboardScreenNotLightOnPage =
|
||||
'/AddWirelessKeyboardScreenNotLightOnPage'; // 添加蓝牙键盘屏幕不亮时提示
|
||||
static const seletWirelessKeyboardPage =
|
||||
'/SeletWirelessKeyboardPage'; // 选择蓝牙键盘
|
||||
'/SelectWirelessKeyboardPage'; // 选择蓝牙键盘
|
||||
static const doorMagneticPage = '/DoorMagneticPage'; // 门磁列表
|
||||
static const addDoorMagneticPage = '/AddDoorMagneticPage'; // 添加门磁
|
||||
static const nearbyDoorMagneticPage = '/NearbyDoorMagneticPage'; // 附近的门磁
|
||||
@ -296,10 +296,10 @@ abstract class Routers {
|
||||
static const gatewayDetailPage = '/GatewayDetailPage'; // 我的-网关详情
|
||||
static const gatewayConnectionLockPage =
|
||||
'/GatewayConnectionLockPage'; // 我的-网关网关链接的锁
|
||||
static const seletGatewayTypePage = '/SeletGatewayTypePage'; // 我的-选择网关类型
|
||||
static const seletGatewayTypePage = '/SelectGatewayTypePage'; // 我的-选择网关类型
|
||||
static const seletGatewayTypeNextTipPage =
|
||||
'/SeletGatewayTypeNextTipPage'; // 我的-选择网关类型下一步
|
||||
static const seletGatewayPage = '/SeletGatewayPage'; // 我的-选择网关
|
||||
'/SelectGatewayTypeNextTipPage'; // 我的-选择网关类型下一步
|
||||
static const seletGatewayPage = '/SelectGatewayPage'; // 我的-选择网关
|
||||
static const gatewayConfigurationWifiPage =
|
||||
'/GatewayConfigurationWifiPage'; // 我的-网关配置wifi
|
||||
|
||||
@ -350,7 +350,7 @@ abstract class Routers {
|
||||
static const starLockRegisterPage = '/StarLockRegisterPage'; // 注册
|
||||
static const starLockForgetPasswordPage =
|
||||
'/StarLockForgetPasswordPage'; // 忘记密码
|
||||
static const seletCountryRegionPage = '/SeletCountryRegionPage'; // 选择国家和地区
|
||||
static const seletCountryRegionPage = '/SelectCountryRegionPage'; // 选择国家和地区
|
||||
static const safetyVerificationPage = '/SafetyVerificationPage'; // 安全验证
|
||||
|
||||
static const keyOperationRecordPage = '/keyOperationRecordPage'; //钥匙详情-操作记录
|
||||
@ -372,7 +372,7 @@ abstract class Routers {
|
||||
static const webviewShowPage = '/webviewShowPage'; //网页
|
||||
static const demoModeLockDetailPage = '/DemoModeLockDetailPage'; // 演示模式锁详情页
|
||||
static const demoModeLockSetPage = '/DemoModeLockSetPage'; // 演示模式锁设置页
|
||||
static const addLockSeletCountryPage = '/AddLockSeletCountryPage'; // 演示模式锁设置页
|
||||
static const addLockSelectCountryPage = '/AddLockSelectCountryPage'; // 演示模式锁设置页
|
||||
static const faceUnlockPage = '/faceUnlockPage'; //面容开锁设置
|
||||
static const motorPowerPage = '/motorPowerPage'; //电机功率设置
|
||||
static const openDoorDirectionPage = '/openDoorDirectionPage'; //开门方向设置
|
||||
@ -436,7 +436,7 @@ abstract class AppRouters {
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.seletLockTypePage,
|
||||
page: () => const SeletLockTypePage(),
|
||||
page: () => const SelectLockTypePage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.LockMallPage,
|
||||
@ -552,7 +552,7 @@ abstract class AppRouters {
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.seletCountryRegionPage,
|
||||
page: () => const SeletCountryRegionPage(),
|
||||
page: () => const SelectCountryRegionPage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.lockSetPage,
|
||||
@ -571,8 +571,8 @@ abstract class AppRouters {
|
||||
page: () => const EditLockNamePage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.lockSeletGroupingPage,
|
||||
page: () => const LockSeletGroupingPage(),
|
||||
name: Routers.lockSelectGroupingPage,
|
||||
page: () => const LockSelectGroupingPage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.adminOpenLockPasswordPage,
|
||||
@ -592,7 +592,7 @@ abstract class AppRouters {
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.seletWirelessKeyboardPage,
|
||||
page: () => const SeletWirelessKeyboardPage(),
|
||||
page: () => const SelectWirelessKeyboardPage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.doorMagneticPage,
|
||||
@ -760,15 +760,15 @@ abstract class AppRouters {
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.seletGatewayTypePage,
|
||||
page: () => const SeletGatewayTypePage(),
|
||||
page: () => const SelectGatewayTypePage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.seletGatewayTypeNextTipPage,
|
||||
page: () => const SeletGatewayTypeNextTipPage(),
|
||||
page: () => const SelectGatewayTypeNextTipPage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.seletGatewayPage,
|
||||
page: () => const SeletGatewayListPage(),
|
||||
page: () => const SelectGatewayListPage(),
|
||||
),
|
||||
GetPage(
|
||||
name: Routers.gatewayConfigurationWifiPage,
|
||||
@ -924,8 +924,8 @@ abstract class AppRouters {
|
||||
name: Routers.demoModeLockDetailPage,
|
||||
page: () => const DemoModeLockDetailPage()),
|
||||
GetPage(
|
||||
name: Routers.addLockSeletCountryPage,
|
||||
page: () => const AddLockSeletCountryPage()),
|
||||
name: Routers.addLockSelectCountryPage,
|
||||
page: () => const AddLockSelectCountryPage()),
|
||||
GetPage(name: Routers.faceUnlockPage, page: () => const FaceUnlockPage()),
|
||||
GetPage(name: Routers.motorPowerPage, page: () => const MotorPowerPage()),
|
||||
GetPage(
|
||||
|
||||
@ -90,7 +90,7 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
|
||||
state.agree.value = !state.agree.value;
|
||||
logic.changeAgreeState();
|
||||
},
|
||||
child: Image.asset(state.agree.value ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png', width: 30.w, height: 30.w,)
|
||||
child: Image.asset(state.agree.value ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png', width: 30.w, height: 30.w,)
|
||||
)),
|
||||
SizedBox(width: 15.w,),
|
||||
Flexible(
|
||||
|
||||
@ -41,7 +41,7 @@ class _StarLockRegisterPageState extends State<StarLockRegisterPage> {
|
||||
body: ListView(
|
||||
padding: EdgeInsets.only(top: 40.h, left: 40.w, right: 40.w),
|
||||
children: [
|
||||
topSeletCountryAndRegionWidget(),
|
||||
topSelectCountryAndRegionWidget(),
|
||||
middleTFWidget(),
|
||||
Obx(() {
|
||||
return SubmitBtn(
|
||||
@ -65,7 +65,7 @@ class _StarLockRegisterPageState extends State<StarLockRegisterPage> {
|
||||
));
|
||||
}
|
||||
|
||||
Widget topSeletCountryAndRegionWidget() {
|
||||
Widget topSelectCountryAndRegionWidget() {
|
||||
return Column(
|
||||
children: [
|
||||
SizedBox(height: 50.h),
|
||||
|
||||
@ -11,14 +11,14 @@ import '../../tools/titleAppBar.dart';
|
||||
import '../../translations/trans_lib.dart';
|
||||
import 'common/index.dart';
|
||||
|
||||
class SeletCountryRegionPage extends StatefulWidget {
|
||||
const SeletCountryRegionPage({Key? key}) : super(key: key);
|
||||
class SelectCountryRegionPage extends StatefulWidget {
|
||||
const SelectCountryRegionPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<SeletCountryRegionPage> createState() => _SeletCountryRegionPageState();
|
||||
State<SelectCountryRegionPage> createState() => _SelectCountryRegionPageState();
|
||||
}
|
||||
|
||||
class _SeletCountryRegionPageState extends State<SeletCountryRegionPage> {
|
||||
class _SelectCountryRegionPageState extends State<SelectCountryRegionPage> {
|
||||
List<CountryRegionModel> countriesList = [];
|
||||
|
||||
@override
|
||||
|
||||
@ -203,7 +203,7 @@ class _VolumeAuthorizationLockPageState
|
||||
CommonItem(
|
||||
leftTitel: TranslationLoader.lanKeys!.lock!.tr,
|
||||
rightTitle: _lockIdList.isEmpty
|
||||
? TranslationLoader.lanKeys!.pleaseSelet!.tr
|
||||
? TranslationLoader.lanKeys!.pleaseSelect!.tr
|
||||
: _lockIdList.length.toString(),
|
||||
isHaveDirection: true,
|
||||
action: () {
|
||||
|
||||
@ -147,7 +147,7 @@ class _CheckingInAddHolidaysPageState extends State<CheckingInAddHolidaysPage> {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'images/icon_round_unSelet.png',
|
||||
'images/icon_round_unSelect.png',
|
||||
width: 40.w,
|
||||
height: 40.w,
|
||||
),
|
||||
|
||||
@ -33,8 +33,8 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
|
||||
body: ListView(
|
||||
children: [
|
||||
topBtnWidget(),
|
||||
Obx(() => Visibility(visible: state.isCustom.value, child: bottomCustomSeletBtn())),
|
||||
Obx(() => Visibility(visible: !state.isCustom.value, child: bottomOddOrEvenDaysOffSeletBtn())),
|
||||
Obx(() => Visibility(visible: state.isCustom.value, child: bottomCustomSelectBtn())),
|
||||
Obx(() => Visibility(visible: !state.isCustom.value, child: bottomOddOrEvenDaysOffSelectBtn())),
|
||||
SizedBox(height: 50.h,),
|
||||
Container(
|
||||
margin: EdgeInsets.only(left: 20.w, right: 20.w),
|
||||
@ -113,7 +113,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget bottomOddOrEvenDaysOffSeletBtn() {
|
||||
Widget bottomOddOrEvenDaysOffSelectBtn() {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(left: 10.w, right: 10.w),
|
||||
child: Column(
|
||||
@ -138,7 +138,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
|
||||
},
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(state.isSingledayWeekend.value == 0 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png', width: 30.w, height: 30.w,),
|
||||
Image.asset(state.isSingledayWeekend.value == 0 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png', width: 30.w, height: 30.w,),
|
||||
],
|
||||
),
|
||||
)
|
||||
@ -158,7 +158,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
|
||||
},
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(state.isSingledayWeekend.value == 1 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png', width: 30.w, height: 30.w,),
|
||||
Image.asset(state.isSingledayWeekend.value == 1 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png', width: 30.w, height: 30.w,),
|
||||
],
|
||||
),
|
||||
)
|
||||
@ -168,7 +168,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget bottomCustomSeletBtn() {
|
||||
Widget bottomCustomSelectBtn() {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(left: 10.w, right: 10.w),
|
||||
height: 420.h,
|
||||
@ -224,7 +224,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
|
||||
},
|
||||
child: Obx(() => Row(
|
||||
children: [
|
||||
Image.asset(state.weekDays.value.contains(index) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png', width: 30.w, height: 30.w,),
|
||||
Image.asset(state.weekDays.value.contains(index) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png', width: 30.w, height: 30.w,),
|
||||
],
|
||||
)))
|
||||
);
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
|
||||
class CheckingInAddStaffSeletKeyEntity {
|
||||
class CheckingInAddStaffSelectKeyEntity {
|
||||
int? errorCode;
|
||||
String? description;
|
||||
String? errorMsg;
|
||||
List<CheckingInAddStaffKeyEntity>? data;
|
||||
|
||||
CheckingInAddStaffSeletKeyEntity(
|
||||
CheckingInAddStaffSelectKeyEntity(
|
||||
{this.errorCode, this.description, this.errorMsg, this.data});
|
||||
|
||||
CheckingInAddStaffSeletKeyEntity.fromJson(Map<String, dynamic> json) {
|
||||
CheckingInAddStaffSelectKeyEntity.fromJson(Map<String, dynamic> json) {
|
||||
errorCode = json['errorCode'];
|
||||
description = json['description'];
|
||||
errorMsg = json['errorMsg'];
|
||||
@ -49,4 +49,4 @@ class CheckingInAddStaffKeyEntity {
|
||||
data['staffName'] = staffName;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4,7 +4,7 @@ import 'package:get/get.dart';
|
||||
import 'package:star_lock/tools/baseGetXController.dart';
|
||||
import '../../../../../network/api_repository.dart';
|
||||
import '../../../../../tools/eventBusEventManage.dart';
|
||||
import 'checkingInAddStaffSeletKey_entity.dart';
|
||||
import 'checkingInAddStaffSelectKey_entity.dart';
|
||||
import 'checkingInAddStaff_state.dart';
|
||||
|
||||
typedef KeyClickCallback = void Function(List<CheckingInAddStaffKeyEntity> seletKeyList);
|
||||
@ -78,8 +78,8 @@ class CheckingInAddStaffLogic extends BaseGetXController{
|
||||
}
|
||||
|
||||
// 考勤设置添加员工-选择钥匙 1为APP,2为密码,3为卡,4为指纹,返回数据中,attendanceWay分别为用户名、密码、卡号、指纹号
|
||||
void addStaffSeletKey(KeyClickCallback kyClickCallback) async{
|
||||
var entity = await ApiRepository.to.addStaffSeletKeyData(
|
||||
void addStaffSelectKey(KeyClickCallback kyClickCallback) async{
|
||||
var entity = await ApiRepository.to.addStaffSelectKeyData(
|
||||
companyId: state.companyId.value,
|
||||
type:state.seletPrintingMethodType.value,
|
||||
);
|
||||
@ -212,4 +212,4 @@ class CheckingInAddStaffLogic extends BaseGetXController{
|
||||
_getNumberEvent!.cancel();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
|
||||
isHaveDirection: true,
|
||||
action: () {
|
||||
var list = ["APP", "密码", "卡", "指纹"];
|
||||
_showSeletClockInType(list, "1");
|
||||
_showSelectClockInType(list, "1");
|
||||
})),
|
||||
SizedBox(
|
||||
height: 10.h,
|
||||
@ -143,7 +143,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: AppColors.mainColor,
|
||||
),
|
||||
child: Text(addStaffSeletKeyType(),
|
||||
child: Text(addStaffSelectKeyType(),
|
||||
style: TextStyle(
|
||||
color: Colors.white, fontSize: 22.sp)),
|
||||
onPressed: () async {
|
||||
@ -210,12 +210,12 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
|
||||
isHaveLine: false,
|
||||
isHaveDirection: true,
|
||||
action: () {
|
||||
logic.addStaffSeletKey((v) {
|
||||
logic.addStaffSelectKey((v) {
|
||||
var list = [];
|
||||
for (var element in v) {
|
||||
list.add(element.attendanceWay);
|
||||
}
|
||||
_showSeletClockInType(list, "2");
|
||||
_showSelectClockInType(list, "2");
|
||||
});
|
||||
}),
|
||||
)),
|
||||
@ -279,7 +279,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
|
||||
}
|
||||
|
||||
// type 1 打卡方式 2选择钥匙
|
||||
void _showSeletClockInType(List list, String type) {
|
||||
void _showSelectClockInType(List list, String type) {
|
||||
ShowBottomSheetTool().showSingleRowPicker(
|
||||
//上下文
|
||||
context,
|
||||
@ -317,7 +317,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
|
||||
Image.asset(
|
||||
appUnHaveAccount
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 26.w,
|
||||
height: 26.w,
|
||||
),
|
||||
@ -373,7 +373,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
|
||||
return title;
|
||||
}
|
||||
|
||||
String addStaffSeletKeyType() {
|
||||
String addStaffSelectKeyType() {
|
||||
String title = "";
|
||||
switch (int.parse(state.seletPrintingMethodType.value)) {
|
||||
case 1:
|
||||
|
||||
@ -4,7 +4,7 @@ import 'package:get/get.dart';
|
||||
|
||||
import '../../../../lockMian/entity/lockListInfo_entity.dart';
|
||||
import '../checkingInSetStaffList/checkingInStaffList_entity.dart';
|
||||
import 'checkingInAddStaffSeletKey_entity.dart';
|
||||
import 'checkingInAddStaffSelectKey_entity.dart';
|
||||
|
||||
class CheckingInAddStaffState{
|
||||
final getKeyInfosData = LockListInfoItemEntity().obs;
|
||||
@ -62,4 +62,4 @@ class CheckingInAddStaffState{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -260,7 +260,7 @@ class _MassSendElectronicKeyPageState extends State<MassSendElectronicKeyPage> {
|
||||
CommonItem(
|
||||
leftTitel: TranslationLoader.lanKeys!.lock!.tr,
|
||||
rightTitle: _lockIdList.isEmpty
|
||||
? TranslationLoader.lanKeys!.pleaseSelet!.tr
|
||||
? TranslationLoader.lanKeys!.pleaseSelect!.tr
|
||||
: _lockIdList.length.toString(),
|
||||
isHaveDirection: true,
|
||||
action: () {
|
||||
|
||||
@ -202,7 +202,7 @@ class _LockUserListPageState extends State<LockUserListPage> {
|
||||
child: Image.asset(
|
||||
itemData.isCheck!
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
)),
|
||||
|
||||
@ -67,7 +67,7 @@ class massSendLockGroupCell extends StatelessWidget {
|
||||
Image.asset(
|
||||
itemData.isChecked
|
||||
? "images/icon_round_selet.png"
|
||||
: "images/icon_round_unSelet.png",
|
||||
: "images/icon_round_unSelect.png",
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -97,7 +97,7 @@ class _BasicInformationPageState extends State<BasicInformationPage> {
|
||||
isHaveLine: true,
|
||||
isHaveDirection: true,
|
||||
action: () async {
|
||||
Get.toNamed(Routers.lockSeletGroupingPage, arguments: {
|
||||
Get.toNamed(Routers.lockSelectGroupingPage, arguments: {
|
||||
'lockSetInfoData': state.lockSetInfoData.value
|
||||
})!
|
||||
.then((val) {
|
||||
|
||||
@ -3,10 +3,10 @@ import '../../../../../network/api_repository.dart';
|
||||
import '../../../../../tools/baseGetXController.dart';
|
||||
import '../../../../../tools/eventBusEventManage.dart';
|
||||
import '../../../electronicKey/massSendElectronicKey/massSendLockGroupList/massSendLockGroupListEntity.dart';
|
||||
import 'lockSeletGrouping_state.dart';
|
||||
import 'lockSelectGrouping_state.dart';
|
||||
|
||||
class LockSeletGroupingLogic extends BaseGetXController {
|
||||
final LockSeletGroupingState state = LockSeletGroupingState();
|
||||
class LockSelectGroupingLogic extends BaseGetXController {
|
||||
final LockSelectGroupingState state = LockSelectGroupingState();
|
||||
|
||||
//创建锁分组请求
|
||||
Future<void> addLockGroupRequest() async {
|
||||
@ -64,4 +64,4 @@ class LockSeletGroupingLogic extends BaseGetXController {
|
||||
// TODO: implement onClose
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -10,18 +10,18 @@ import '../../../../../tools/noData.dart';
|
||||
import '../../../../../tools/submitBtn.dart';
|
||||
import '../../../../../tools/titleAppBar.dart';
|
||||
import '../../../../../translations/trans_lib.dart';
|
||||
import 'lockSeletGrouping_logic.dart';
|
||||
import 'lockSelectGrouping_logic.dart';
|
||||
|
||||
class LockSeletGroupingPage extends StatefulWidget {
|
||||
const LockSeletGroupingPage({Key? key}) : super(key: key);
|
||||
class LockSelectGroupingPage extends StatefulWidget {
|
||||
const LockSelectGroupingPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<LockSeletGroupingPage> createState() => _LockSeletGroupingPageState();
|
||||
State<LockSelectGroupingPage> createState() => _LockSelectGroupingPageState();
|
||||
}
|
||||
|
||||
class _LockSeletGroupingPageState extends State<LockSeletGroupingPage> {
|
||||
final logic = Get.put(LockSeletGroupingLogic());
|
||||
final state = Get.find<LockSeletGroupingLogic>().state;
|
||||
class _LockSelectGroupingPageState extends State<LockSelectGroupingPage> {
|
||||
final logic = Get.put(LockSelectGroupingLogic());
|
||||
final state = Get.find<LockSelectGroupingLogic>().state;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@ -6,16 +6,16 @@ import 'package:get/get.dart';
|
||||
import '../../../electronicKey/massSendElectronicKey/massSendLockGroupList/massSendLockGroupListEntity.dart';
|
||||
import '../../lockSet/lockSetInfo_entity.dart';
|
||||
|
||||
class LockSeletGroupingState {
|
||||
class LockSelectGroupingState {
|
||||
var lockSetInfoData = LockSetInfoData().obs;
|
||||
var lockBasicInfo = LockBasicInfo().obs;
|
||||
|
||||
var groupList = <GroupListItem>[].obs;
|
||||
final TextEditingController changeNameController = TextEditingController();
|
||||
|
||||
LockSeletGroupingState() {
|
||||
LockSelectGroupingState() {
|
||||
var map = Get.arguments;
|
||||
lockSetInfoData.value = map["lockSetInfoData"];
|
||||
lockBasicInfo.value = lockSetInfoData.value.lockBasicInfo!;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -105,7 +105,7 @@ class _ImportOtherLockDataPageState extends State<ImportOtherLockDataPage> {
|
||||
return ListView.separated(
|
||||
itemCount: 2,
|
||||
itemBuilder: (c, index) {
|
||||
return _electronicKeyItem('images/icon_round_unSelet.png', "张三",
|
||||
return _electronicKeyItem('images/icon_round_unSelect.png', "张三",
|
||||
"2023.6.21 11.15", "2023.6.21 11.15", index,() {
|
||||
// Navigator.pushNamed(context, Routers.electronicKeyDetailPage);
|
||||
});
|
||||
|
||||
@ -70,7 +70,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
|
||||
children: [
|
||||
CommonItem(
|
||||
leftTitel: TranslationLoader
|
||||
.lanKeys!.pleaseSeletLockVolume!.tr,
|
||||
.lanKeys!.pleaseSelectLockVolume!.tr,
|
||||
rightTitle: "",
|
||||
isHaveLine: true),
|
||||
CommonItem(
|
||||
@ -87,7 +87,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.lockSoundLevel.value == 1 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.lockSoundLevel.value == 1 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -108,7 +108,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.lockSoundLevel.value == 2 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.lockSoundLevel.value == 2 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -129,7 +129,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.lockSoundLevel.value == 3 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.lockSoundLevel.value == 3 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -150,7 +150,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.lockSoundLevel.value == 4 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.lockSoundLevel.value == 4 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -171,7 +171,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.lockSoundLevel.value == 5 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.lockSoundLevel.value == 5 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -157,7 +157,7 @@ class _LockUserPageState extends State<LockUserPage> {
|
||||
Obx(() => Image.asset(
|
||||
state.isCheck.value == true
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
)),
|
||||
|
||||
@ -44,7 +44,7 @@ class _MarkedHouseStatePageState extends State<MarkedHouseStatePage> {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.roomStatus.value == 0 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.roomStatus.value == 0 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -65,7 +65,7 @@ class _MarkedHouseStatePageState extends State<MarkedHouseStatePage> {
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.roomStatus.value == 1 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.roomStatus.value == 1 ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -159,7 +159,7 @@ class _CoerceFingerprintListPageState extends State<CoerceFingerprintListPage> {
|
||||
Obx(() => Image.asset(
|
||||
state.isCheck.value == true
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
)),
|
||||
|
||||
@ -254,7 +254,7 @@ class _NormallyOpenModePageState extends State<NormallyOpenModePage> with RouteA
|
||||
Image.asset(
|
||||
state.isAllDay.value == 1
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -7,15 +7,15 @@ import '../../../../../app_settings/app_colors.dart';
|
||||
import '../../../../../tools/titleAppBar.dart';
|
||||
import '../../../../../translations/trans_lib.dart';
|
||||
|
||||
class SeletWirelessKeyboardPage extends StatefulWidget {
|
||||
const SeletWirelessKeyboardPage({Key? key}) : super(key: key);
|
||||
class SelectWirelessKeyboardPage extends StatefulWidget {
|
||||
const SelectWirelessKeyboardPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<SeletWirelessKeyboardPage> createState() =>
|
||||
_SeletWirelessKeyboardPageState();
|
||||
State<SelectWirelessKeyboardPage> createState() =>
|
||||
_SelectWirelessKeyboardPageState();
|
||||
}
|
||||
|
||||
class _SeletWirelessKeyboardPageState extends State<SeletWirelessKeyboardPage> {
|
||||
class _SelectWirelessKeyboardPageState extends State<SelectWirelessKeyboardPage> {
|
||||
List dataList = [];
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
@ -33,7 +33,7 @@ class _EditVideoLogPageState extends State<EditVideoLogPage> {
|
||||
style: TextStyle(color: Colors.white, fontSize: 24.sp),
|
||||
),
|
||||
onPressed: () async {
|
||||
state.isSeletAll.value = !state.isSeletAll.value;
|
||||
state.isSelectAll.value = !state.isSelectAll.value;
|
||||
},
|
||||
),
|
||||
],
|
||||
@ -115,7 +115,7 @@ class _EditVideoLogPageState extends State<EditVideoLogPage> {
|
||||
onTap: (){
|
||||
|
||||
},
|
||||
child: Image(width: 40.w, height: 40.w, image: state.isSeletAll.value ? const AssetImage("images/icon_round_selet.png") : const AssetImage("images/icon_round_unSelet.png"))
|
||||
child: Image(width: 40.w, height: 40.w, image: state.isSelectAll.value ? const AssetImage("images/icon_round_selet.png") : const AssetImage("images/icon_round_unSelect.png"))
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
@ -5,6 +5,6 @@ import 'package:get/get.dart';
|
||||
class EditVideoLogState{
|
||||
|
||||
var seletVideoLog = 0.obs;
|
||||
var isSeletAll = false.obs;
|
||||
var isSelectAll = false.obs;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
|
||||
import '../../../tools/baseGetXController.dart';
|
||||
import 'addLockSelectCountry_state.dart';
|
||||
|
||||
class AddLockSelectCountryLogic extends BaseGetXController {
|
||||
AddLockSelectCountryState state = AddLockSelectCountryState();
|
||||
|
||||
}
|
||||
@ -13,18 +13,18 @@ import '../../../network/api_repository.dart';
|
||||
import '../../../tools/commonItem.dart';
|
||||
import '../../../tools/titleAppBar.dart';
|
||||
import '../../../translations/trans_lib.dart';
|
||||
import 'addLockSeletCountry_logic.dart';
|
||||
import 'addLockSelectCountry_logic.dart';
|
||||
|
||||
class AddLockSeletCountryPage extends StatefulWidget {
|
||||
const AddLockSeletCountryPage({Key? key}) : super(key: key);
|
||||
class AddLockSelectCountryPage extends StatefulWidget {
|
||||
const AddLockSelectCountryPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<AddLockSeletCountryPage> createState() => _AddLockSeletCountryPageState();
|
||||
State<AddLockSelectCountryPage> createState() => _AddLockSelectCountryPageState();
|
||||
}
|
||||
|
||||
class _AddLockSeletCountryPageState extends State<AddLockSeletCountryPage> {
|
||||
final logic = Get.put(AddLockSeletCountryLogic());
|
||||
final state = Get.find<AddLockSeletCountryLogic>().state;
|
||||
class _AddLockSelectCountryPageState extends State<AddLockSelectCountryPage> {
|
||||
final logic = Get.put(AddLockSelectCountryLogic());
|
||||
final state = Get.find<AddLockSelectCountryLogic>().state;
|
||||
|
||||
List<CountryRegionModel> countriesList = [];
|
||||
int seletindex = 10000;
|
||||
@ -104,7 +104,7 @@ class _AddLockSeletCountryPageState extends State<AddLockSeletCountryPage> {
|
||||
},
|
||||
rightWidget: Row(
|
||||
children: [
|
||||
Image.asset((seletindex == index) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png', width: 30.w, height: 30.w,),
|
||||
Image.asset((seletindex == index) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png', width: 30.w, height: 30.w,),
|
||||
],
|
||||
)
|
||||
);
|
||||
@ -1,14 +1,14 @@
|
||||
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class AddLockSeletCountryState{
|
||||
class AddLockSelectCountryState{
|
||||
|
||||
var pwdTimestamp= 0.obs;
|
||||
var lockInfo = {};
|
||||
var featureValue = '';
|
||||
var featureSettingValue = '';
|
||||
var featureSettingParams = [];
|
||||
AddLockSeletCountryState() {
|
||||
AddLockSelectCountryState() {
|
||||
Map map = Get.arguments;
|
||||
pwdTimestamp.value = map["pwdTimestamp"];
|
||||
lockInfo = map["lockInfo"];
|
||||
@ -1,8 +0,0 @@
|
||||
|
||||
import '../../../tools/baseGetXController.dart';
|
||||
import 'addLockSeletCountry_state.dart';
|
||||
|
||||
class AddLockSeletCountryLogic extends BaseGetXController {
|
||||
AddLockSeletCountryState state = AddLockSeletCountryState();
|
||||
|
||||
}
|
||||
@ -245,7 +245,7 @@ class _LockAddressGaoDePageState extends State<LockAddressGaoDePage> with RouteA
|
||||
style: TextStyle(color: Colors.black, fontSize: 24.sp),
|
||||
),
|
||||
onPressed: () {
|
||||
Get.toNamed(Routers.addLockSeletCountryPage, arguments: {
|
||||
Get.toNamed(Routers.addLockSelectCountryPage, arguments: {
|
||||
"addressInfo": {},
|
||||
"pwdTimestamp": state.pwdTimestamp.value,
|
||||
"lockInfo": state.lockInfo,
|
||||
|
||||
@ -11,14 +11,14 @@ import '../../../baseWidget.dart';
|
||||
import '../../../tools/titleAppBar.dart';
|
||||
import '../../../translations/trans_lib.dart';
|
||||
|
||||
class SeletLockTypePage extends StatefulWidget {
|
||||
const SeletLockTypePage({Key? key}) : super(key: key);
|
||||
class SelectLockTypePage extends StatefulWidget {
|
||||
const SelectLockTypePage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<SeletLockTypePage> createState() => _SeletLockTypePageState();
|
||||
State<SelectLockTypePage> createState() => _SelectLockTypePageState();
|
||||
}
|
||||
|
||||
class _SeletLockTypePageState extends State<SeletLockTypePage> with BaseWidget {
|
||||
class _SelectLockTypePageState extends State<SelectLockTypePage> with BaseWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
|
||||
@ -7,14 +7,14 @@ import '../../../../app_settings/app_colors.dart';
|
||||
import '../../../../tools/titleAppBar.dart';
|
||||
import '../../../../translations/trans_lib.dart';
|
||||
|
||||
class SeletGatewayListPage extends StatefulWidget {
|
||||
const SeletGatewayListPage({Key? key}) : super(key: key);
|
||||
class SelectGatewayListPage extends StatefulWidget {
|
||||
const SelectGatewayListPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<SeletGatewayListPage> createState() => _SeletGatewayListPageState();
|
||||
State<SelectGatewayListPage> createState() => _SelectGatewayListPageState();
|
||||
}
|
||||
|
||||
class _SeletGatewayListPageState extends State<SeletGatewayListPage> {
|
||||
class _SelectGatewayListPageState extends State<SelectGatewayListPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
|
||||
@ -7,14 +7,14 @@ import '../../../../app_settings/app_colors.dart';
|
||||
import '../../../../tools/titleAppBar.dart';
|
||||
import '../../../../translations/trans_lib.dart';
|
||||
|
||||
class SeletGatewayTypePage extends StatefulWidget {
|
||||
const SeletGatewayTypePage({Key? key}) : super(key: key);
|
||||
class SelectGatewayTypePage extends StatefulWidget {
|
||||
const SelectGatewayTypePage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<SeletGatewayTypePage> createState() => _SeletGatewayTypePageState();
|
||||
State<SelectGatewayTypePage> createState() => _SelectGatewayTypePageState();
|
||||
}
|
||||
|
||||
class _SeletGatewayTypePageState extends State<SeletGatewayTypePage> {
|
||||
class _SelectGatewayTypePageState extends State<SelectGatewayTypePage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
|
||||
@ -8,16 +8,16 @@ import '../../../../tools/submitBtn.dart';
|
||||
import '../../../../tools/titleAppBar.dart';
|
||||
import '../../../../translations/trans_lib.dart';
|
||||
|
||||
class SeletGatewayTypeNextTipPage extends StatefulWidget {
|
||||
const SeletGatewayTypeNextTipPage({Key? key}) : super(key: key);
|
||||
class SelectGatewayTypeNextTipPage extends StatefulWidget {
|
||||
const SelectGatewayTypeNextTipPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<SeletGatewayTypeNextTipPage> createState() =>
|
||||
_SeletGatewayTypeNextTipPageState();
|
||||
State<SelectGatewayTypeNextTipPage> createState() =>
|
||||
_SelectGatewayTypeNextTipPageState();
|
||||
}
|
||||
|
||||
class _SeletGatewayTypeNextTipPageState
|
||||
extends State<SeletGatewayTypeNextTipPage> {
|
||||
class _SelectGatewayTypeNextTipPageState
|
||||
extends State<SelectGatewayTypeNextTipPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
|
||||
@ -134,7 +134,7 @@ class _AddAuthorizedAdministratorPageState extends State<AddAuthorizedAdministra
|
||||
CommonItem(
|
||||
leftTitel: TranslationLoader.lanKeys!.lock!.tr,
|
||||
rightTitle: _lockIdList.isEmpty
|
||||
? TranslationLoader.lanKeys!.pleaseSelet!.tr
|
||||
? TranslationLoader.lanKeys!.pleaseSelect!.tr
|
||||
: _lockIdList.length.toString(),
|
||||
isHaveDirection: true,
|
||||
action: () {
|
||||
@ -183,7 +183,7 @@ class _AddAuthorizedAdministratorPageState extends State<AddAuthorizedAdministra
|
||||
CommonItem(
|
||||
leftTitel: TranslationLoader.lanKeys!.lock!.tr,
|
||||
rightTitle: _lockIdList.isEmpty
|
||||
? TranslationLoader.lanKeys!.pleaseSelet!.tr
|
||||
? TranslationLoader.lanKeys!.pleaseSelect!.tr
|
||||
: _lockIdList.length.toString(),
|
||||
isHaveDirection: true,
|
||||
action: () {
|
||||
|
||||
@ -85,7 +85,7 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State<APPUnlockNeedMob
|
||||
child: Obx(() => Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
state.isCheckAll.value ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
state.isCheckAll.value ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -157,7 +157,7 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State<APPUnlockNeedMob
|
||||
Image.asset(
|
||||
itemData.isCheck == true
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -100,7 +100,7 @@ class _GetDeviceListPageState extends State<GetDeviceListPage> {
|
||||
),
|
||||
Image.asset(
|
||||
isNameSelect == false
|
||||
? 'images/icon_round_unSelet.png'
|
||||
? 'images/icon_round_unSelect.png'
|
||||
: 'images/icon_round_selet.png',
|
||||
width: 30.sp,
|
||||
height: 30.sp,
|
||||
|
||||
@ -117,7 +117,7 @@ class _GetNameListPageState extends State<GetNameListPage> {
|
||||
)),
|
||||
Image.asset(
|
||||
isNameSelect == false
|
||||
? 'images/icon_round_unSelet.png'
|
||||
? 'images/icon_round_unSelect.png'
|
||||
: 'images/icon_round_selet.png',
|
||||
width: 30.sp,
|
||||
height: 30.sp,
|
||||
|
||||
@ -98,7 +98,7 @@ class _GroupEditLockPageState extends State<GroupEditLockPage> {
|
||||
child: Image.asset(
|
||||
itemData.isChecked
|
||||
? 'images/icon_round_selet.png'
|
||||
: 'images/icon_round_unSelet.png',
|
||||
: 'images/icon_round_unSelect.png',
|
||||
width: 35.w,
|
||||
height: 35.w,
|
||||
),
|
||||
|
||||
@ -34,11 +34,11 @@ class _SelectGetewayListPageState extends State<SelectGetewayListPage> {
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
for (var element in state.getewayListData.value) {
|
||||
if(state.isSeletAll == true){
|
||||
state.isSeletAll = false;
|
||||
if(state.isSelectAll == true){
|
||||
state.isSelectAll = false;
|
||||
element.selet = 0;
|
||||
}else{
|
||||
state.isSeletAll = true;
|
||||
state.isSelectAll = true;
|
||||
element.selet = 1;
|
||||
}
|
||||
}
|
||||
@ -105,7 +105,7 @@ class _SelectGetewayListPageState extends State<SelectGetewayListPage> {
|
||||
),
|
||||
GestureDetector(
|
||||
child: Image.asset(
|
||||
(getewayItemData.selet == 1) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png',
|
||||
(getewayItemData.selet == 1) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -7,5 +7,5 @@ import 'selectGetewayList_entity.dart';
|
||||
class SelectGetewayListState{
|
||||
var getewayListData = <GetewayItemData>[].obs;
|
||||
final TextEditingController searchController = TextEditingController();
|
||||
bool isSeletAll = false;
|
||||
}
|
||||
bool isSelectAll = false;
|
||||
}
|
||||
|
||||
@ -34,17 +34,17 @@ class _TransferSmartLockPageState extends State<TransferSmartLockPage> {
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
for (var element in state.transferSmartLockListData.value) {
|
||||
if(state.isSeletAll == true){
|
||||
state.isSeletAll = false;
|
||||
if(state.isSelectAll == true){
|
||||
state.isSelectAll = false;
|
||||
element.selet = 0;
|
||||
}else{
|
||||
state.isSeletAll = true;
|
||||
state.isSelectAll = true;
|
||||
element.selet = 1;
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
child: Text(state.isSeletAll == true ? TranslationLoader.lanKeys!.checkAll!.tr : TranslationLoader.lanKeys!.cancel!.tr, style: TextStyle(color: Colors.white, fontSize: 24.sp)))
|
||||
child: Text(state.isSelectAll == true ? TranslationLoader.lanKeys!.checkAll!.tr : TranslationLoader.lanKeys!.cancel!.tr, style: TextStyle(color: Colors.white, fontSize: 24.sp)))
|
||||
],
|
||||
),
|
||||
body: Column(
|
||||
@ -149,7 +149,7 @@ class _TransferSmartLockPageState extends State<TransferSmartLockPage> {
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
SizedBox(width: 20.w),
|
||||
Image.asset((transferSmartLockItemData.selet == 1) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelet.png', width: 30.w, height: 30.w),
|
||||
Image.asset((transferSmartLockItemData.selet == 1) ? 'images/icon_round_selet.png' : 'images/icon_round_unSelect.png', width: 30.w, height: 30.w),
|
||||
SizedBox(width: 16.w),
|
||||
Image.asset('images/icon_lockGroup_item.png', width: 50.h, height: 50.h, fit: BoxFit.fill),
|
||||
SizedBox(width: 10.w),
|
||||
|
||||
@ -7,5 +7,5 @@ import 'transferSmartLock_entity.dart';
|
||||
class TransferSmartLockState{
|
||||
var transferSmartLockListData = <TransferSmartLockItemData>[].obs;
|
||||
final TextEditingController searchController = TextEditingController();
|
||||
bool isSeletAll = false;
|
||||
}
|
||||
bool isSelectAll = false;
|
||||
}
|
||||
|
||||
@ -151,7 +151,7 @@ class _ValueAddedServicesAddEmailTemplatePageState
|
||||
rightTitle: TranslationLoader.lanKeys!.password!.tr,
|
||||
isHaveLine: false,
|
||||
action: () {
|
||||
_showSeletTemplateType();
|
||||
_showSelectTemplateType();
|
||||
}),
|
||||
],
|
||||
);
|
||||
@ -306,7 +306,7 @@ class _ValueAddedServicesAddEmailTemplatePageState
|
||||
);
|
||||
}
|
||||
|
||||
void _showSeletTemplateType() {
|
||||
void _showSelectTemplateType() {
|
||||
var list = [
|
||||
TranslationLoader.lanKeys!.electronicKey!.tr,
|
||||
TranslationLoader.lanKeys!.password!.tr
|
||||
|
||||
@ -125,7 +125,7 @@ class _ValueAddedServicesRealNamePageState
|
||||
padding: EdgeInsets.only(top: 20.h, bottom: 20.h, left: 30.w),
|
||||
child: Text(
|
||||
TranslationLoader
|
||||
.lanKeys!.buyRealNameSeletYouWantBuyTip!.tr,
|
||||
.lanKeys!.buyRealNameSelectYouWantBuyTip!.tr,
|
||||
style:
|
||||
TextStyle(fontSize: 24.sp, fontWeight: FontWeight.w600),
|
||||
)),
|
||||
@ -142,7 +142,7 @@ class _ValueAddedServicesRealNamePageState
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'images/icon_round_unSelet.png',
|
||||
'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -160,7 +160,7 @@ class _ValueAddedServicesRealNamePageState
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'images/icon_round_unSelet.png',
|
||||
'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -178,7 +178,7 @@ class _ValueAddedServicesRealNamePageState
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'images/icon_round_unSelet.png',
|
||||
'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
@ -196,7 +196,7 @@ class _ValueAddedServicesRealNamePageState
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'images/icon_round_unSelet.png',
|
||||
'images/icon_round_unSelect.png',
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -124,7 +124,7 @@ class _ValueAddedServicesAddSMSTemplatePageState
|
||||
rightTitle: TranslationLoader.lanKeys!.password!.tr,
|
||||
isHaveLine: false,
|
||||
action: () {
|
||||
_showSeletTemplateType();
|
||||
_showSelectTemplateType();
|
||||
}),
|
||||
],
|
||||
);
|
||||
@ -250,7 +250,7 @@ class _ValueAddedServicesAddSMSTemplatePageState
|
||||
child: Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'images/icon_round_unSelet.png',
|
||||
'images/icon_round_unSelect.png',
|
||||
width: 26.w,
|
||||
height: 26.w,
|
||||
),
|
||||
@ -466,7 +466,7 @@ class _ValueAddedServicesAddSMSTemplatePageState
|
||||
);
|
||||
}
|
||||
|
||||
void _showSeletTemplateType() {
|
||||
void _showSelectTemplateType() {
|
||||
var list = [
|
||||
TranslationLoader.lanKeys!.electronicKey!.tr,
|
||||
TranslationLoader.lanKeys!.password!.tr
|
||||
|
||||
@ -88,7 +88,7 @@ abstract class Api {
|
||||
final String getStaffListURL = '/staff/list'; // 获取员工列表
|
||||
final String addStaffURL = '/staff/add'; // 添加员工
|
||||
final String editStaffURL = '/staff/update'; // 编辑员工
|
||||
final String addStaffSeletKeyURL = '/staff/attendanceList'; // 考勤设置添加员工-选择钥匙
|
||||
final String addStaffSelectKeyURL = '/staff/attendanceList'; // 考勤设置添加员工-选择钥匙
|
||||
final String addHolidaysURL = '/vacation/add'; // 添加假期
|
||||
final String holidaysListURL = '/vacation/list'; // 假期列表
|
||||
final String holidaysDeleteURL = '/vacation/delete'; // 假期删除
|
||||
|
||||
@ -807,8 +807,8 @@ class ApiProvider extends BaseProvider {
|
||||
}));
|
||||
|
||||
// 添加员工选择钥匙
|
||||
Future<Response> addStaffSeletKeyData(String companyId, String type) => post(
|
||||
addStaffSeletKeyURL.toUrl,
|
||||
Future<Response> addStaffSelectKeyData(String companyId, String type) => post(
|
||||
addStaffSelectKeyURL.toUrl,
|
||||
jsonEncode({
|
||||
'companyId': companyId,
|
||||
'type': type,
|
||||
|
||||
@ -28,7 +28,7 @@ import '../main/lockDetail/checkingIn/checkingInHolidays/checkingInSetHolidays/c
|
||||
import '../main/lockDetail/checkingIn/checkingInList/checkingInListDay_entity.dart';
|
||||
import '../main/lockDetail/checkingIn/checkingInList/checkingInListMonth_entity.dart';
|
||||
import '../main/lockDetail/checkingIn/checkingInSet/checkingInSet_entity.dart';
|
||||
import '../main/lockDetail/checkingIn/checkingInStaff/checkingInSetAddStaff/checkingInAddStaffSeletKey_entity.dart';
|
||||
import '../main/lockDetail/checkingIn/checkingInStaff/checkingInSetAddStaff/checkingInAddStaffSelectKey_entity.dart';
|
||||
import '../main/lockDetail/checkingIn/checkingInStaff/checkingInSetStaffList/checkingInStaffList_entity.dart';
|
||||
import '../main/lockDetail/fingerprint/addFingerprint/addFingerprint_entity.dart';
|
||||
import '../main/lockDetail/fingerprint/fingerprintList/fingerprintListData_entity.dart';
|
||||
@ -1041,12 +1041,12 @@ class ApiRepository {
|
||||
}
|
||||
|
||||
// 添加员工选择钥匙
|
||||
Future<CheckingInAddStaffSeletKeyEntity> addStaffSeletKeyData({
|
||||
Future<CheckingInAddStaffSelectKeyEntity> addStaffSelectKeyData({
|
||||
required String companyId,
|
||||
required String type,
|
||||
}) async {
|
||||
final res = await apiProvider.addStaffSeletKeyData(companyId, type);
|
||||
return CheckingInAddStaffSeletKeyEntity.fromJson(res.body);
|
||||
final res = await apiProvider.addStaffSelectKeyData(companyId, type);
|
||||
return CheckingInAddStaffSelectKeyEntity.fromJson(res.body);
|
||||
}
|
||||
|
||||
// 添加假期
|
||||
|
||||
@ -65,7 +65,7 @@ class _ExpandedListTileState extends State<ExpandedListTile> {
|
||||
Image.asset(
|
||||
_isCheck
|
||||
? "images/icon_round_selet.png"
|
||||
: "images/icon_round_unSelet.png",
|
||||
: "images/icon_round_unSelect.png",
|
||||
width: 30.w,
|
||||
height: 30.w,
|
||||
),
|
||||
|
||||
@ -7,7 +7,7 @@ import 'package:image_picker/image_picker.dart';
|
||||
|
||||
typedef BlockImgCallback = void Function(dynamic imgStr);
|
||||
|
||||
class SeletImageTool {
|
||||
class SelectImageTool {
|
||||
// 实例化ImagePicker
|
||||
final ImagePicker _picker = ImagePicker();
|
||||
ImageProvider? _imageProvider;
|
||||
@ -53,4 +53,4 @@ class SeletImageTool {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
|
||||
typedef SeletDateCallback(DateTime dateTime);
|
||||
typedef SelectDateCallback(DateTime dateTime);
|
||||
|
||||
class ShowCalendar extends StatelessWidget {
|
||||
SeletDateCallback? seletAction;
|
||||
SelectDateCallback? seletAction;
|
||||
DatePickerMode? datePickerMode;
|
||||
|
||||
ShowCalendar({Key? key, this.seletAction, this.datePickerMode}) : super(key: key);
|
||||
|
||||
@ -7,7 +7,7 @@ import '../translations/trans_lib.dart';
|
||||
|
||||
typedef DateValueCallback(DateTime dateTime, List<int> selectedIndex);
|
||||
|
||||
class ShowSeletDateTime {
|
||||
class ShowSelectDateTime {
|
||||
|
||||
void showDatePicker(BuildContext context, String maxT, String minT, String nowDate, String formatStr, DateValueCallback onConfirm,) {
|
||||
// String MIN_DATETIME = '1900-01-01 00:00';
|
||||
|
||||
@ -49,7 +49,7 @@ class LanKeyEntity {
|
||||
this.sendGroupKey,
|
||||
this.lock,
|
||||
this.pleaseAdd,
|
||||
this.pleaseSelet,
|
||||
this.pleaseSelect,
|
||||
this.remoteUnlockingAllowed,
|
||||
this.pleaseEnter,
|
||||
this.getPassword,
|
||||
@ -135,7 +135,7 @@ class LanKeyEntity {
|
||||
this.allDay,
|
||||
this.save,
|
||||
this.normallyOpenModeTip,
|
||||
this.pleaseSeletLockVolume,
|
||||
this.pleaseSelectLockVolume,
|
||||
this.lockSoundTip,
|
||||
this.low,
|
||||
this.lower,
|
||||
@ -337,7 +337,7 @@ class LanKeyEntity {
|
||||
this.customMailTemplate,
|
||||
this.record,
|
||||
this.buyRealNameTip,
|
||||
this.buyRealNameSeletYouWantBuyTip,
|
||||
this.buyRealNameSelectYouWantBuyTip,
|
||||
this.forTheFirstTime,
|
||||
this.onceDay,
|
||||
this.weekOnce,
|
||||
@ -509,7 +509,7 @@ class LanKeyEntity {
|
||||
sendGroupKey = json['sendGroupKey'];
|
||||
lock = json['lock'];
|
||||
pleaseAdd = json['pleaseAdd'];
|
||||
pleaseSelet = json['pleaseSelet'];
|
||||
pleaseSelect = json['pleaseSelect'];
|
||||
remoteUnlockingAllowed = json['remoteUnlockingAllowed'];
|
||||
pleaseEnter = json['pleaseEnter'];
|
||||
getPassword = json['getPassword'];
|
||||
@ -553,7 +553,7 @@ class LanKeyEntity {
|
||||
allDay = json['allDay'];
|
||||
save = json['save'];
|
||||
normallyOpenModeTip = json['normallyOpenModeTip'];
|
||||
pleaseSeletLockVolume = json['pleaseSeletLockVolume'];
|
||||
pleaseSelectLockVolume = json['pleaseSelectLockVolume'];
|
||||
lockSoundTip = json['lockSoundTip'];
|
||||
low = json['low'];
|
||||
lower = json['lower'];
|
||||
@ -817,7 +817,7 @@ class LanKeyEntity {
|
||||
record = json['record'];
|
||||
|
||||
buyRealNameTip = json['buyRealNameTip'];
|
||||
buyRealNameSeletYouWantBuyTip = json['buyRealNameSeletYouWantBuyTip'];
|
||||
buyRealNameSelectYouWantBuyTip = json['buyRealNameSelectYouWantBuyTip'];
|
||||
forTheFirstTime = json['forTheFirstTime'];
|
||||
onceDay = json['onceDay'];
|
||||
weekOnce = json['weekOnce'];
|
||||
@ -1000,7 +1000,7 @@ class LanKeyEntity {
|
||||
String? sendGroupKey;
|
||||
String? lock;
|
||||
String? pleaseAdd;
|
||||
String? pleaseSelet;
|
||||
String? pleaseSelect;
|
||||
String? remoteUnlockingAllowed;
|
||||
String? pleaseEnter;
|
||||
String? getPassword;
|
||||
@ -1044,7 +1044,7 @@ class LanKeyEntity {
|
||||
String? allDay;
|
||||
String? save;
|
||||
String? normallyOpenModeTip;
|
||||
String? pleaseSeletLockVolume;
|
||||
String? pleaseSelectLockVolume;
|
||||
String? lockSoundTip;
|
||||
String? low;
|
||||
String? lower;
|
||||
@ -1299,7 +1299,7 @@ class LanKeyEntity {
|
||||
String? record;
|
||||
|
||||
String? buyRealNameTip;
|
||||
String? buyRealNameSeletYouWantBuyTip;
|
||||
String? buyRealNameSelectYouWantBuyTip;
|
||||
String? forTheFirstTime;
|
||||
String? onceDay;
|
||||
String? weekOnce;
|
||||
@ -1480,7 +1480,7 @@ class LanKeyEntity {
|
||||
map['sendGroupKey'] = sendGroupKey;
|
||||
map['lock'] = lock;
|
||||
map['pleaseAdd'] = pleaseAdd;
|
||||
map['pleaseSelet'] = pleaseSelet;
|
||||
map['pleaseSelect'] = pleaseSelect;
|
||||
map['remoteUnlockingAllowed'] = remoteUnlockingAllowed;
|
||||
map['pleaseEnter'] = pleaseEnter;
|
||||
map['getPassword'] = getPassword;
|
||||
@ -1525,7 +1525,7 @@ class LanKeyEntity {
|
||||
map['allDay'] = allDay;
|
||||
map['save'] = save;
|
||||
map['normallyOpenModeTip'] = normallyOpenModeTip;
|
||||
map['pleaseSeletLockVolume'] = pleaseSeletLockVolume;
|
||||
map['pleaseSelectLockVolume'] = pleaseSelectLockVolume;
|
||||
map['lockSoundTip'] = lockSoundTip;
|
||||
map['low'] = low;
|
||||
map['lower'] = lower;
|
||||
@ -1785,7 +1785,7 @@ class LanKeyEntity {
|
||||
map['record'] = record;
|
||||
|
||||
map['buyRealNameTip'] = buyRealNameTip;
|
||||
map['buyRealNameSeletYouWantBuyTip'] = buyRealNameSeletYouWantBuyTip;
|
||||
map['buyRealNameSelectYouWantBuyTip'] = buyRealNameSelectYouWantBuyTip;
|
||||
map['forTheFirstTime'] = forTheFirstTime;
|
||||
map['onceDay'] = onceDay;
|
||||
map['weekOnce'] = weekOnce;
|
||||
|
||||
@ -19,6 +19,7 @@ import path_provider_foundation
|
||||
import shared_preferences_foundation
|
||||
import sqflite
|
||||
import url_launcher_macos
|
||||
import video_player_avfoundation
|
||||
|
||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||
AjCaptchaFlutterPlugin.register(with: registry.registrar(forPlugin: "AjCaptchaFlutterPlugin"))
|
||||
@ -35,4 +36,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
|
||||
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
|
||||
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
|
||||
FVPVideoPlayerPlugin.register(with: registry.registrar(forPlugin: "FVPVideoPlayerPlugin"))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user