修复错别字 selet

This commit is contained in:
葛佳祥 2024-01-23 17:29:18 +08:00
parent 8718ffed35
commit e970a961e9
63 changed files with 187 additions and 185 deletions

View File

@ -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/addFaceType/addFaceTypeManage/addFaceTypeManage_page.dart';
import 'main/lockDetail/face/faceList/faceList_page.dart'; import 'main/lockDetail/face/faceList/faceList_page.dart';
import 'main/lockDetail/fingerprint/addFingerprint/addFingerprint_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/addFingerprintTip/addFingerprintTip_page.dart';
import 'main/lockDetail/fingerprint/fingerprintDetail/fingerprintDetail_page.dart'; import 'main/lockDetail/fingerprint/fingerprintDetail/fingerprintDetail_page.dart';
import 'main/lockDetail/fingerprint/fingerprintList/fingerprintList_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/adminOpenLockPassword/adminOpenLockPassword_page.dart';
import 'main/lockDetail/lcokSet/basicInformation/basicInformation/basicInformation_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/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/basicInformation/uploadElectricQuantity/uploadElectricQuantity_page.dart';
import 'main/lockDetail/lcokSet/burglarAlarm/burglarAlarm_page.dart'; import 'main/lockDetail/lcokSet/burglarAlarm/burglarAlarm_page.dart';
import 'main/lockDetail/lcokSet/catEyeSet/catEyeWorkMode/catEyeWorkMode_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/passwordKeyList/passwordKeyList_page.dart';
import 'main/lockDetail/passwordKey/passwordKeyManage/passwordKeyManage_page.dart'; import 'main/lockDetail/passwordKey/passwordKeyManage/passwordKeyManage_page.dart';
import 'main/lockMian/lockMain/lockMain_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/gaode/lockAddressGaoDe_page.dart';
import 'mine/addLock/lockAddress/lockAddress/lockAddress_page.dart'; import 'mine/addLock/lockAddress/lockAddress/lockAddress_page.dart';
import 'mine/addLock/nearbyLock/nearbyLock_page.dart'; import 'mine/addLock/nearbyLock/nearbyLock_page.dart';
@ -183,7 +183,7 @@ abstract class Routers {
static const initial = '/'; // static const initial = '/'; //
static const starLockMain = '/StarLockMain'; // static const starLockMain = '/StarLockMain'; //
static const starLockMinePage = '/StarLockMinePage'; // static const starLockMinePage = '/StarLockMinePage'; //
static const seletLockTypePage = '/SeletLockTypePage'; // static const seletLockTypePage = '/SelectLockTypePage'; //
static const LockMallPage = '/LockMallPage'; // static const LockMallPage = '/LockMallPage'; //
static const addLockPage = '/AddLockPage'; // static const addLockPage = '/AddLockPage'; //
static const nearbyLockPage = '/NearbyLockPage'; // static const nearbyLockPage = '/NearbyLockPage'; //
@ -230,7 +230,7 @@ abstract class Routers {
static const uploadElectricQuantityPage = static const uploadElectricQuantityPage =
'/UploadElectricQuantityPage'; // '/UploadElectricQuantityPage'; //
static const editLockNamePage = '/EditLockNamePage'; // static const editLockNamePage = '/EditLockNamePage'; //
static const lockSeletGroupingPage = '/LockSeletGroupingPage'; // static const lockSelectGroupingPage = '/LockSelectGroupingPage'; //
static const groupEditLockPage = '/GroupEditLockPage'; // static const groupEditLockPage = '/GroupEditLockPage'; //
static const adminOpenLockPasswordPage = static const adminOpenLockPasswordPage =
'/AdminOpenLockPasswordPage'; // '/AdminOpenLockPasswordPage'; //
@ -239,7 +239,7 @@ abstract class Routers {
static const addWirelessKeyboardScreenNotLightOnPage = static const addWirelessKeyboardScreenNotLightOnPage =
'/AddWirelessKeyboardScreenNotLightOnPage'; // '/AddWirelessKeyboardScreenNotLightOnPage'; //
static const seletWirelessKeyboardPage = static const seletWirelessKeyboardPage =
'/SeletWirelessKeyboardPage'; // '/SelectWirelessKeyboardPage'; //
static const doorMagneticPage = '/DoorMagneticPage'; // static const doorMagneticPage = '/DoorMagneticPage'; //
static const addDoorMagneticPage = '/AddDoorMagneticPage'; // static const addDoorMagneticPage = '/AddDoorMagneticPage'; //
static const nearbyDoorMagneticPage = '/NearbyDoorMagneticPage'; // static const nearbyDoorMagneticPage = '/NearbyDoorMagneticPage'; //
@ -296,10 +296,10 @@ abstract class Routers {
static const gatewayDetailPage = '/GatewayDetailPage'; // - static const gatewayDetailPage = '/GatewayDetailPage'; // -
static const gatewayConnectionLockPage = static const gatewayConnectionLockPage =
'/GatewayConnectionLockPage'; // - '/GatewayConnectionLockPage'; // -
static const seletGatewayTypePage = '/SeletGatewayTypePage'; // - static const seletGatewayTypePage = '/SelectGatewayTypePage'; // -
static const seletGatewayTypeNextTipPage = static const seletGatewayTypeNextTipPage =
'/SeletGatewayTypeNextTipPage'; // - '/SelectGatewayTypeNextTipPage'; // -
static const seletGatewayPage = '/SeletGatewayPage'; // - static const seletGatewayPage = '/SelectGatewayPage'; // -
static const gatewayConfigurationWifiPage = static const gatewayConfigurationWifiPage =
'/GatewayConfigurationWifiPage'; // -wifi '/GatewayConfigurationWifiPage'; // -wifi
@ -350,7 +350,7 @@ abstract class Routers {
static const starLockRegisterPage = '/StarLockRegisterPage'; // static const starLockRegisterPage = '/StarLockRegisterPage'; //
static const starLockForgetPasswordPage = static const starLockForgetPasswordPage =
'/StarLockForgetPasswordPage'; // '/StarLockForgetPasswordPage'; //
static const seletCountryRegionPage = '/SeletCountryRegionPage'; // static const seletCountryRegionPage = '/SelectCountryRegionPage'; //
static const safetyVerificationPage = '/SafetyVerificationPage'; // static const safetyVerificationPage = '/SafetyVerificationPage'; //
static const keyOperationRecordPage = '/keyOperationRecordPage'; //- static const keyOperationRecordPage = '/keyOperationRecordPage'; //-
@ -372,7 +372,7 @@ abstract class Routers {
static const webviewShowPage = '/webviewShowPage'; // static const webviewShowPage = '/webviewShowPage'; //
static const demoModeLockDetailPage = '/DemoModeLockDetailPage'; // static const demoModeLockDetailPage = '/DemoModeLockDetailPage'; //
static const demoModeLockSetPage = '/DemoModeLockSetPage'; // static const demoModeLockSetPage = '/DemoModeLockSetPage'; //
static const addLockSeletCountryPage = '/AddLockSeletCountryPage'; // static const addLockSelectCountryPage = '/AddLockSelectCountryPage'; //
static const faceUnlockPage = '/faceUnlockPage'; // static const faceUnlockPage = '/faceUnlockPage'; //
static const motorPowerPage = '/motorPowerPage'; // static const motorPowerPage = '/motorPowerPage'; //
static const openDoorDirectionPage = '/openDoorDirectionPage'; // static const openDoorDirectionPage = '/openDoorDirectionPage'; //
@ -436,7 +436,7 @@ abstract class AppRouters {
), ),
GetPage( GetPage(
name: Routers.seletLockTypePage, name: Routers.seletLockTypePage,
page: () => const SeletLockTypePage(), page: () => const SelectLockTypePage(),
), ),
GetPage( GetPage(
name: Routers.LockMallPage, name: Routers.LockMallPage,
@ -552,7 +552,7 @@ abstract class AppRouters {
), ),
GetPage( GetPage(
name: Routers.seletCountryRegionPage, name: Routers.seletCountryRegionPage,
page: () => const SeletCountryRegionPage(), page: () => const SelectCountryRegionPage(),
), ),
GetPage( GetPage(
name: Routers.lockSetPage, name: Routers.lockSetPage,
@ -571,8 +571,8 @@ abstract class AppRouters {
page: () => const EditLockNamePage(), page: () => const EditLockNamePage(),
), ),
GetPage( GetPage(
name: Routers.lockSeletGroupingPage, name: Routers.lockSelectGroupingPage,
page: () => const LockSeletGroupingPage(), page: () => const LockSelectGroupingPage(),
), ),
GetPage( GetPage(
name: Routers.adminOpenLockPasswordPage, name: Routers.adminOpenLockPasswordPage,
@ -592,7 +592,7 @@ abstract class AppRouters {
), ),
GetPage( GetPage(
name: Routers.seletWirelessKeyboardPage, name: Routers.seletWirelessKeyboardPage,
page: () => const SeletWirelessKeyboardPage(), page: () => const SelectWirelessKeyboardPage(),
), ),
GetPage( GetPage(
name: Routers.doorMagneticPage, name: Routers.doorMagneticPage,
@ -760,15 +760,15 @@ abstract class AppRouters {
), ),
GetPage( GetPage(
name: Routers.seletGatewayTypePage, name: Routers.seletGatewayTypePage,
page: () => const SeletGatewayTypePage(), page: () => const SelectGatewayTypePage(),
), ),
GetPage( GetPage(
name: Routers.seletGatewayTypeNextTipPage, name: Routers.seletGatewayTypeNextTipPage,
page: () => const SeletGatewayTypeNextTipPage(), page: () => const SelectGatewayTypeNextTipPage(),
), ),
GetPage( GetPage(
name: Routers.seletGatewayPage, name: Routers.seletGatewayPage,
page: () => const SeletGatewayListPage(), page: () => const SelectGatewayListPage(),
), ),
GetPage( GetPage(
name: Routers.gatewayConfigurationWifiPage, name: Routers.gatewayConfigurationWifiPage,
@ -924,8 +924,8 @@ abstract class AppRouters {
name: Routers.demoModeLockDetailPage, name: Routers.demoModeLockDetailPage,
page: () => const DemoModeLockDetailPage()), page: () => const DemoModeLockDetailPage()),
GetPage( GetPage(
name: Routers.addLockSeletCountryPage, name: Routers.addLockSelectCountryPage,
page: () => const AddLockSeletCountryPage()), page: () => const AddLockSelectCountryPage()),
GetPage(name: Routers.faceUnlockPage, page: () => const FaceUnlockPage()), GetPage(name: Routers.faceUnlockPage, page: () => const FaceUnlockPage()),
GetPage(name: Routers.motorPowerPage, page: () => const MotorPowerPage()), GetPage(name: Routers.motorPowerPage, page: () => const MotorPowerPage()),
GetPage( GetPage(

View File

@ -90,7 +90,7 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
state.agree.value = !state.agree.value; state.agree.value = !state.agree.value;
logic.changeAgreeState(); 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,), SizedBox(width: 15.w,),
Flexible( Flexible(

View File

@ -41,7 +41,7 @@ class _StarLockRegisterPageState extends State<StarLockRegisterPage> {
body: ListView( body: ListView(
padding: EdgeInsets.only(top: 40.h, left: 40.w, right: 40.w), padding: EdgeInsets.only(top: 40.h, left: 40.w, right: 40.w),
children: [ children: [
topSeletCountryAndRegionWidget(), topSelectCountryAndRegionWidget(),
middleTFWidget(), middleTFWidget(),
Obx(() { Obx(() {
return SubmitBtn( return SubmitBtn(
@ -65,7 +65,7 @@ class _StarLockRegisterPageState extends State<StarLockRegisterPage> {
)); ));
} }
Widget topSeletCountryAndRegionWidget() { Widget topSelectCountryAndRegionWidget() {
return Column( return Column(
children: [ children: [
SizedBox(height: 50.h), SizedBox(height: 50.h),

View File

@ -11,14 +11,14 @@ import '../../tools/titleAppBar.dart';
import '../../translations/trans_lib.dart'; import '../../translations/trans_lib.dart';
import 'common/index.dart'; import 'common/index.dart';
class SeletCountryRegionPage extends StatefulWidget { class SelectCountryRegionPage extends StatefulWidget {
const SeletCountryRegionPage({Key? key}) : super(key: key); const SelectCountryRegionPage({Key? key}) : super(key: key);
@override @override
State<SeletCountryRegionPage> createState() => _SeletCountryRegionPageState(); State<SelectCountryRegionPage> createState() => _SelectCountryRegionPageState();
} }
class _SeletCountryRegionPageState extends State<SeletCountryRegionPage> { class _SelectCountryRegionPageState extends State<SelectCountryRegionPage> {
List<CountryRegionModel> countriesList = []; List<CountryRegionModel> countriesList = [];
@override @override

View File

@ -203,7 +203,7 @@ class _VolumeAuthorizationLockPageState
CommonItem( CommonItem(
leftTitel: TranslationLoader.lanKeys!.lock!.tr, leftTitel: TranslationLoader.lanKeys!.lock!.tr,
rightTitle: _lockIdList.isEmpty rightTitle: _lockIdList.isEmpty
? TranslationLoader.lanKeys!.pleaseSelet!.tr ? TranslationLoader.lanKeys!.pleaseSelect!.tr
: _lockIdList.length.toString(), : _lockIdList.length.toString(),
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {

View File

@ -147,7 +147,7 @@ class _CheckingInAddHolidaysPageState extends State<CheckingInAddHolidaysPage> {
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(
'images/icon_round_unSelet.png', 'images/icon_round_unSelect.png',
width: 40.w, width: 40.w,
height: 40.w, height: 40.w,
), ),

View File

@ -33,8 +33,8 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
body: ListView( body: ListView(
children: [ children: [
topBtnWidget(), topBtnWidget(),
Obx(() => Visibility(visible: state.isCustom.value, child: bottomCustomSeletBtn())), Obx(() => Visibility(visible: state.isCustom.value, child: bottomCustomSelectBtn())),
Obx(() => Visibility(visible: !state.isCustom.value, child: bottomOddOrEvenDaysOffSeletBtn())), Obx(() => Visibility(visible: !state.isCustom.value, child: bottomOddOrEvenDaysOffSelectBtn())),
SizedBox(height: 50.h,), SizedBox(height: 50.h,),
Container( Container(
margin: EdgeInsets.only(left: 20.w, right: 20.w), margin: EdgeInsets.only(left: 20.w, right: 20.w),
@ -113,7 +113,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
); );
} }
Widget bottomOddOrEvenDaysOffSeletBtn() { Widget bottomOddOrEvenDaysOffSelectBtn() {
return Container( return Container(
padding: EdgeInsets.only(left: 10.w, right: 10.w), padding: EdgeInsets.only(left: 10.w, right: 10.w),
child: Column( child: Column(
@ -138,7 +138,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
}, },
child: Row( child: Row(
children: [ 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( child: Row(
children: [ 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( return Container(
padding: EdgeInsets.only(left: 10.w, right: 10.w), padding: EdgeInsets.only(left: 10.w, right: 10.w),
height: 420.h, height: 420.h,
@ -224,7 +224,7 @@ class _CheckingInSetWorkdaySetState extends State<CheckingInSetWorkdaySet> {
}, },
child: Obx(() => Row( child: Obx(() => Row(
children: [ 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,),
], ],
))) )))
); );

View File

@ -1,14 +1,14 @@
class CheckingInAddStaffSeletKeyEntity { class CheckingInAddStaffSelectKeyEntity {
int? errorCode; int? errorCode;
String? description; String? description;
String? errorMsg; String? errorMsg;
List<CheckingInAddStaffKeyEntity>? data; List<CheckingInAddStaffKeyEntity>? data;
CheckingInAddStaffSeletKeyEntity( CheckingInAddStaffSelectKeyEntity(
{this.errorCode, this.description, this.errorMsg, this.data}); {this.errorCode, this.description, this.errorMsg, this.data});
CheckingInAddStaffSeletKeyEntity.fromJson(Map<String, dynamic> json) { CheckingInAddStaffSelectKeyEntity.fromJson(Map<String, dynamic> json) {
errorCode = json['errorCode']; errorCode = json['errorCode'];
description = json['description']; description = json['description'];
errorMsg = json['errorMsg']; errorMsg = json['errorMsg'];

View File

@ -4,7 +4,7 @@ import 'package:get/get.dart';
import 'package:star_lock/tools/baseGetXController.dart'; import 'package:star_lock/tools/baseGetXController.dart';
import '../../../../../network/api_repository.dart'; import '../../../../../network/api_repository.dart';
import '../../../../../tools/eventBusEventManage.dart'; import '../../../../../tools/eventBusEventManage.dart';
import 'checkingInAddStaffSeletKey_entity.dart'; import 'checkingInAddStaffSelectKey_entity.dart';
import 'checkingInAddStaff_state.dart'; import 'checkingInAddStaff_state.dart';
typedef KeyClickCallback = void Function(List<CheckingInAddStaffKeyEntity> seletKeyList); typedef KeyClickCallback = void Function(List<CheckingInAddStaffKeyEntity> seletKeyList);
@ -78,8 +78,8 @@ class CheckingInAddStaffLogic extends BaseGetXController{
} }
// - 1APP234attendanceWay分别为用户名 // - 1APP234attendanceWay分别为用户名
void addStaffSeletKey(KeyClickCallback kyClickCallback) async{ void addStaffSelectKey(KeyClickCallback kyClickCallback) async{
var entity = await ApiRepository.to.addStaffSeletKeyData( var entity = await ApiRepository.to.addStaffSelectKeyData(
companyId: state.companyId.value, companyId: state.companyId.value,
type:state.seletPrintingMethodType.value, type:state.seletPrintingMethodType.value,
); );

View File

@ -49,7 +49,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {
var list = ["APP", "密码", "", "指纹"]; var list = ["APP", "密码", "", "指纹"];
_showSeletClockInType(list, "1"); _showSelectClockInType(list, "1");
})), })),
SizedBox( SizedBox(
height: 10.h, height: 10.h,
@ -143,7 +143,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
backgroundColor: AppColors.mainColor, backgroundColor: AppColors.mainColor,
), ),
child: Text(addStaffSeletKeyType(), child: Text(addStaffSelectKeyType(),
style: TextStyle( style: TextStyle(
color: Colors.white, fontSize: 22.sp)), color: Colors.white, fontSize: 22.sp)),
onPressed: () async { onPressed: () async {
@ -210,12 +210,12 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
isHaveLine: false, isHaveLine: false,
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {
logic.addStaffSeletKey((v) { logic.addStaffSelectKey((v) {
var list = []; var list = [];
for (var element in v) { for (var element in v) {
list.add(element.attendanceWay); list.add(element.attendanceWay);
} }
_showSeletClockInType(list, "2"); _showSelectClockInType(list, "2");
}); });
}), }),
)), )),
@ -279,7 +279,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
} }
// type 1 2 // type 1 2
void _showSeletClockInType(List list, String type) { void _showSelectClockInType(List list, String type) {
ShowBottomSheetTool().showSingleRowPicker( ShowBottomSheetTool().showSingleRowPicker(
// //
context, context,
@ -317,7 +317,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
Image.asset( Image.asset(
appUnHaveAccount appUnHaveAccount
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 26.w, width: 26.w,
height: 26.w, height: 26.w,
), ),
@ -373,7 +373,7 @@ class _CheckingInAddStaffPageState extends State<CheckingInAddStaffPage> {
return title; return title;
} }
String addStaffSeletKeyType() { String addStaffSelectKeyType() {
String title = ""; String title = "";
switch (int.parse(state.seletPrintingMethodType.value)) { switch (int.parse(state.seletPrintingMethodType.value)) {
case 1: case 1:

View File

@ -4,7 +4,7 @@ import 'package:get/get.dart';
import '../../../../lockMian/entity/lockListInfo_entity.dart'; import '../../../../lockMian/entity/lockListInfo_entity.dart';
import '../checkingInSetStaffList/checkingInStaffList_entity.dart'; import '../checkingInSetStaffList/checkingInStaffList_entity.dart';
import 'checkingInAddStaffSeletKey_entity.dart'; import 'checkingInAddStaffSelectKey_entity.dart';
class CheckingInAddStaffState{ class CheckingInAddStaffState{
final getKeyInfosData = LockListInfoItemEntity().obs; final getKeyInfosData = LockListInfoItemEntity().obs;

View File

@ -260,7 +260,7 @@ class _MassSendElectronicKeyPageState extends State<MassSendElectronicKeyPage> {
CommonItem( CommonItem(
leftTitel: TranslationLoader.lanKeys!.lock!.tr, leftTitel: TranslationLoader.lanKeys!.lock!.tr,
rightTitle: _lockIdList.isEmpty rightTitle: _lockIdList.isEmpty
? TranslationLoader.lanKeys!.pleaseSelet!.tr ? TranslationLoader.lanKeys!.pleaseSelect!.tr
: _lockIdList.length.toString(), : _lockIdList.length.toString(),
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {

View File

@ -202,7 +202,7 @@ class _LockUserListPageState extends State<LockUserListPage> {
child: Image.asset( child: Image.asset(
itemData.isCheck! itemData.isCheck!
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
)), )),

View File

@ -67,7 +67,7 @@ class massSendLockGroupCell extends StatelessWidget {
Image.asset( Image.asset(
itemData.isChecked itemData.isChecked
? "images/icon_round_selet.png" ? "images/icon_round_selet.png"
: "images/icon_round_unSelet.png", : "images/icon_round_unSelect.png",
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -97,7 +97,7 @@ class _BasicInformationPageState extends State<BasicInformationPage> {
isHaveLine: true, isHaveLine: true,
isHaveDirection: true, isHaveDirection: true,
action: () async { action: () async {
Get.toNamed(Routers.lockSeletGroupingPage, arguments: { Get.toNamed(Routers.lockSelectGroupingPage, arguments: {
'lockSetInfoData': state.lockSetInfoData.value 'lockSetInfoData': state.lockSetInfoData.value
})! })!
.then((val) { .then((val) {

View File

@ -3,10 +3,10 @@ import '../../../../../network/api_repository.dart';
import '../../../../../tools/baseGetXController.dart'; import '../../../../../tools/baseGetXController.dart';
import '../../../../../tools/eventBusEventManage.dart'; import '../../../../../tools/eventBusEventManage.dart';
import '../../../electronicKey/massSendElectronicKey/massSendLockGroupList/massSendLockGroupListEntity.dart'; import '../../../electronicKey/massSendElectronicKey/massSendLockGroupList/massSendLockGroupListEntity.dart';
import 'lockSeletGrouping_state.dart'; import 'lockSelectGrouping_state.dart';
class LockSeletGroupingLogic extends BaseGetXController { class LockSelectGroupingLogic extends BaseGetXController {
final LockSeletGroupingState state = LockSeletGroupingState(); final LockSelectGroupingState state = LockSelectGroupingState();
// //
Future<void> addLockGroupRequest() async { Future<void> addLockGroupRequest() async {

View File

@ -10,18 +10,18 @@ import '../../../../../tools/noData.dart';
import '../../../../../tools/submitBtn.dart'; import '../../../../../tools/submitBtn.dart';
import '../../../../../tools/titleAppBar.dart'; import '../../../../../tools/titleAppBar.dart';
import '../../../../../translations/trans_lib.dart'; import '../../../../../translations/trans_lib.dart';
import 'lockSeletGrouping_logic.dart'; import 'lockSelectGrouping_logic.dart';
class LockSeletGroupingPage extends StatefulWidget { class LockSelectGroupingPage extends StatefulWidget {
const LockSeletGroupingPage({Key? key}) : super(key: key); const LockSelectGroupingPage({Key? key}) : super(key: key);
@override @override
State<LockSeletGroupingPage> createState() => _LockSeletGroupingPageState(); State<LockSelectGroupingPage> createState() => _LockSelectGroupingPageState();
} }
class _LockSeletGroupingPageState extends State<LockSeletGroupingPage> { class _LockSelectGroupingPageState extends State<LockSelectGroupingPage> {
final logic = Get.put(LockSeletGroupingLogic()); final logic = Get.put(LockSelectGroupingLogic());
final state = Get.find<LockSeletGroupingLogic>().state; final state = Get.find<LockSelectGroupingLogic>().state;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View File

@ -6,14 +6,14 @@ import 'package:get/get.dart';
import '../../../electronicKey/massSendElectronicKey/massSendLockGroupList/massSendLockGroupListEntity.dart'; import '../../../electronicKey/massSendElectronicKey/massSendLockGroupList/massSendLockGroupListEntity.dart';
import '../../lockSet/lockSetInfo_entity.dart'; import '../../lockSet/lockSetInfo_entity.dart';
class LockSeletGroupingState { class LockSelectGroupingState {
var lockSetInfoData = LockSetInfoData().obs; var lockSetInfoData = LockSetInfoData().obs;
var lockBasicInfo = LockBasicInfo().obs; var lockBasicInfo = LockBasicInfo().obs;
var groupList = <GroupListItem>[].obs; var groupList = <GroupListItem>[].obs;
final TextEditingController changeNameController = TextEditingController(); final TextEditingController changeNameController = TextEditingController();
LockSeletGroupingState() { LockSelectGroupingState() {
var map = Get.arguments; var map = Get.arguments;
lockSetInfoData.value = map["lockSetInfoData"]; lockSetInfoData.value = map["lockSetInfoData"];
lockBasicInfo.value = lockSetInfoData.value.lockBasicInfo!; lockBasicInfo.value = lockSetInfoData.value.lockBasicInfo!;

View File

@ -105,7 +105,7 @@ class _ImportOtherLockDataPageState extends State<ImportOtherLockDataPage> {
return ListView.separated( return ListView.separated(
itemCount: 2, itemCount: 2,
itemBuilder: (c, index) { 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,() { "2023.6.21 11.15", "2023.6.21 11.15", index,() {
// Navigator.pushNamed(context, Routers.electronicKeyDetailPage); // Navigator.pushNamed(context, Routers.electronicKeyDetailPage);
}); });

View File

@ -70,7 +70,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
children: [ children: [
CommonItem( CommonItem(
leftTitel: TranslationLoader leftTitel: TranslationLoader
.lanKeys!.pleaseSeletLockVolume!.tr, .lanKeys!.pleaseSelectLockVolume!.tr,
rightTitle: "", rightTitle: "",
isHaveLine: true), isHaveLine: true),
CommonItem( CommonItem(
@ -87,7 +87,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -108,7 +108,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -129,7 +129,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -150,7 +150,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -171,7 +171,7 @@ class _LockSoundSetPageState extends State<LockSoundSetPage> with RouteAware {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -157,7 +157,7 @@ class _LockUserPageState extends State<LockUserPage> {
Obx(() => Image.asset( Obx(() => Image.asset(
state.isCheck.value == true state.isCheck.value == true
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
)), )),

View File

@ -44,7 +44,7 @@ class _MarkedHouseStatePageState extends State<MarkedHouseStatePage> {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -65,7 +65,7 @@ class _MarkedHouseStatePageState extends State<MarkedHouseStatePage> {
child: Row( child: Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -159,7 +159,7 @@ class _CoerceFingerprintListPageState extends State<CoerceFingerprintListPage> {
Obx(() => Image.asset( Obx(() => Image.asset(
state.isCheck.value == true state.isCheck.value == true
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
)), )),

View File

@ -254,7 +254,7 @@ class _NormallyOpenModePageState extends State<NormallyOpenModePage> with RouteA
Image.asset( Image.asset(
state.isAllDay.value == 1 state.isAllDay.value == 1
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -7,15 +7,15 @@ import '../../../../../app_settings/app_colors.dart';
import '../../../../../tools/titleAppBar.dart'; import '../../../../../tools/titleAppBar.dart';
import '../../../../../translations/trans_lib.dart'; import '../../../../../translations/trans_lib.dart';
class SeletWirelessKeyboardPage extends StatefulWidget { class SelectWirelessKeyboardPage extends StatefulWidget {
const SeletWirelessKeyboardPage({Key? key}) : super(key: key); const SelectWirelessKeyboardPage({Key? key}) : super(key: key);
@override @override
State<SeletWirelessKeyboardPage> createState() => State<SelectWirelessKeyboardPage> createState() =>
_SeletWirelessKeyboardPageState(); _SelectWirelessKeyboardPageState();
} }
class _SeletWirelessKeyboardPageState extends State<SeletWirelessKeyboardPage> { class _SelectWirelessKeyboardPageState extends State<SelectWirelessKeyboardPage> {
List dataList = []; List dataList = [];
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View File

@ -33,7 +33,7 @@ class _EditVideoLogPageState extends State<EditVideoLogPage> {
style: TextStyle(color: Colors.white, fontSize: 24.sp), style: TextStyle(color: Colors.white, fontSize: 24.sp),
), ),
onPressed: () async { onPressed: () async {
state.isSeletAll.value = !state.isSeletAll.value; state.isSelectAll.value = !state.isSelectAll.value;
}, },
), ),
], ],
@ -115,7 +115,7 @@ class _EditVideoLogPageState extends State<EditVideoLogPage> {
onTap: (){ 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"))
) )
), ),
) )

View File

@ -5,6 +5,6 @@ import 'package:get/get.dart';
class EditVideoLogState{ class EditVideoLogState{
var seletVideoLog = 0.obs; var seletVideoLog = 0.obs;
var isSeletAll = false.obs; var isSelectAll = false.obs;
} }

View File

@ -0,0 +1,8 @@
import '../../../tools/baseGetXController.dart';
import 'addLockSelectCountry_state.dart';
class AddLockSelectCountryLogic extends BaseGetXController {
AddLockSelectCountryState state = AddLockSelectCountryState();
}

View File

@ -13,18 +13,18 @@ import '../../../network/api_repository.dart';
import '../../../tools/commonItem.dart'; import '../../../tools/commonItem.dart';
import '../../../tools/titleAppBar.dart'; import '../../../tools/titleAppBar.dart';
import '../../../translations/trans_lib.dart'; import '../../../translations/trans_lib.dart';
import 'addLockSeletCountry_logic.dart'; import 'addLockSelectCountry_logic.dart';
class AddLockSeletCountryPage extends StatefulWidget { class AddLockSelectCountryPage extends StatefulWidget {
const AddLockSeletCountryPage({Key? key}) : super(key: key); const AddLockSelectCountryPage({Key? key}) : super(key: key);
@override @override
State<AddLockSeletCountryPage> createState() => _AddLockSeletCountryPageState(); State<AddLockSelectCountryPage> createState() => _AddLockSelectCountryPageState();
} }
class _AddLockSeletCountryPageState extends State<AddLockSeletCountryPage> { class _AddLockSelectCountryPageState extends State<AddLockSelectCountryPage> {
final logic = Get.put(AddLockSeletCountryLogic()); final logic = Get.put(AddLockSelectCountryLogic());
final state = Get.find<AddLockSeletCountryLogic>().state; final state = Get.find<AddLockSelectCountryLogic>().state;
List<CountryRegionModel> countriesList = []; List<CountryRegionModel> countriesList = [];
int seletindex = 10000; int seletindex = 10000;
@ -104,7 +104,7 @@ class _AddLockSeletCountryPageState extends State<AddLockSeletCountryPage> {
}, },
rightWidget: Row( rightWidget: Row(
children: [ 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,),
], ],
) )
); );

View File

@ -1,14 +1,14 @@
import 'package:get/get.dart'; import 'package:get/get.dart';
class AddLockSeletCountryState{ class AddLockSelectCountryState{
var pwdTimestamp= 0.obs; var pwdTimestamp= 0.obs;
var lockInfo = {}; var lockInfo = {};
var featureValue = ''; var featureValue = '';
var featureSettingValue = ''; var featureSettingValue = '';
var featureSettingParams = []; var featureSettingParams = [];
AddLockSeletCountryState() { AddLockSelectCountryState() {
Map map = Get.arguments; Map map = Get.arguments;
pwdTimestamp.value = map["pwdTimestamp"]; pwdTimestamp.value = map["pwdTimestamp"];
lockInfo = map["lockInfo"]; lockInfo = map["lockInfo"];

View File

@ -1,8 +0,0 @@
import '../../../tools/baseGetXController.dart';
import 'addLockSeletCountry_state.dart';
class AddLockSeletCountryLogic extends BaseGetXController {
AddLockSeletCountryState state = AddLockSeletCountryState();
}

View File

@ -245,7 +245,7 @@ class _LockAddressGaoDePageState extends State<LockAddressGaoDePage> with RouteA
style: TextStyle(color: Colors.black, fontSize: 24.sp), style: TextStyle(color: Colors.black, fontSize: 24.sp),
), ),
onPressed: () { onPressed: () {
Get.toNamed(Routers.addLockSeletCountryPage, arguments: { Get.toNamed(Routers.addLockSelectCountryPage, arguments: {
"addressInfo": {}, "addressInfo": {},
"pwdTimestamp": state.pwdTimestamp.value, "pwdTimestamp": state.pwdTimestamp.value,
"lockInfo": state.lockInfo, "lockInfo": state.lockInfo,

View File

@ -11,14 +11,14 @@ import '../../../baseWidget.dart';
import '../../../tools/titleAppBar.dart'; import '../../../tools/titleAppBar.dart';
import '../../../translations/trans_lib.dart'; import '../../../translations/trans_lib.dart';
class SeletLockTypePage extends StatefulWidget { class SelectLockTypePage extends StatefulWidget {
const SeletLockTypePage({Key? key}) : super(key: key); const SelectLockTypePage({Key? key}) : super(key: key);
@override @override
State<SeletLockTypePage> createState() => _SeletLockTypePageState(); State<SelectLockTypePage> createState() => _SelectLockTypePageState();
} }
class _SeletLockTypePageState extends State<SeletLockTypePage> with BaseWidget { class _SelectLockTypePageState extends State<SelectLockTypePage> with BaseWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(

View File

@ -7,14 +7,14 @@ import '../../../../app_settings/app_colors.dart';
import '../../../../tools/titleAppBar.dart'; import '../../../../tools/titleAppBar.dart';
import '../../../../translations/trans_lib.dart'; import '../../../../translations/trans_lib.dart';
class SeletGatewayListPage extends StatefulWidget { class SelectGatewayListPage extends StatefulWidget {
const SeletGatewayListPage({Key? key}) : super(key: key); const SelectGatewayListPage({Key? key}) : super(key: key);
@override @override
State<SeletGatewayListPage> createState() => _SeletGatewayListPageState(); State<SelectGatewayListPage> createState() => _SelectGatewayListPageState();
} }
class _SeletGatewayListPageState extends State<SeletGatewayListPage> { class _SelectGatewayListPageState extends State<SelectGatewayListPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(

View File

@ -7,14 +7,14 @@ import '../../../../app_settings/app_colors.dart';
import '../../../../tools/titleAppBar.dart'; import '../../../../tools/titleAppBar.dart';
import '../../../../translations/trans_lib.dart'; import '../../../../translations/trans_lib.dart';
class SeletGatewayTypePage extends StatefulWidget { class SelectGatewayTypePage extends StatefulWidget {
const SeletGatewayTypePage({Key? key}) : super(key: key); const SelectGatewayTypePage({Key? key}) : super(key: key);
@override @override
State<SeletGatewayTypePage> createState() => _SeletGatewayTypePageState(); State<SelectGatewayTypePage> createState() => _SelectGatewayTypePageState();
} }
class _SeletGatewayTypePageState extends State<SeletGatewayTypePage> { class _SelectGatewayTypePageState extends State<SelectGatewayTypePage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(

View File

@ -8,16 +8,16 @@ import '../../../../tools/submitBtn.dart';
import '../../../../tools/titleAppBar.dart'; import '../../../../tools/titleAppBar.dart';
import '../../../../translations/trans_lib.dart'; import '../../../../translations/trans_lib.dart';
class SeletGatewayTypeNextTipPage extends StatefulWidget { class SelectGatewayTypeNextTipPage extends StatefulWidget {
const SeletGatewayTypeNextTipPage({Key? key}) : super(key: key); const SelectGatewayTypeNextTipPage({Key? key}) : super(key: key);
@override @override
State<SeletGatewayTypeNextTipPage> createState() => State<SelectGatewayTypeNextTipPage> createState() =>
_SeletGatewayTypeNextTipPageState(); _SelectGatewayTypeNextTipPageState();
} }
class _SeletGatewayTypeNextTipPageState class _SelectGatewayTypeNextTipPageState
extends State<SeletGatewayTypeNextTipPage> { extends State<SelectGatewayTypeNextTipPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(

View File

@ -134,7 +134,7 @@ class _AddAuthorizedAdministratorPageState extends State<AddAuthorizedAdministra
CommonItem( CommonItem(
leftTitel: TranslationLoader.lanKeys!.lock!.tr, leftTitel: TranslationLoader.lanKeys!.lock!.tr,
rightTitle: _lockIdList.isEmpty rightTitle: _lockIdList.isEmpty
? TranslationLoader.lanKeys!.pleaseSelet!.tr ? TranslationLoader.lanKeys!.pleaseSelect!.tr
: _lockIdList.length.toString(), : _lockIdList.length.toString(),
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {
@ -183,7 +183,7 @@ class _AddAuthorizedAdministratorPageState extends State<AddAuthorizedAdministra
CommonItem( CommonItem(
leftTitel: TranslationLoader.lanKeys!.lock!.tr, leftTitel: TranslationLoader.lanKeys!.lock!.tr,
rightTitle: _lockIdList.isEmpty rightTitle: _lockIdList.isEmpty
? TranslationLoader.lanKeys!.pleaseSelet!.tr ? TranslationLoader.lanKeys!.pleaseSelect!.tr
: _lockIdList.length.toString(), : _lockIdList.length.toString(),
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {

View File

@ -85,7 +85,7 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State<APPUnlockNeedMob
child: Obx(() => Row( child: Obx(() => Row(
children: [ children: [
Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -157,7 +157,7 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State<APPUnlockNeedMob
Image.asset( Image.asset(
itemData.isCheck == true itemData.isCheck == true
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -100,7 +100,7 @@ class _GetDeviceListPageState extends State<GetDeviceListPage> {
), ),
Image.asset( Image.asset(
isNameSelect == false isNameSelect == false
? 'images/icon_round_unSelet.png' ? 'images/icon_round_unSelect.png'
: 'images/icon_round_selet.png', : 'images/icon_round_selet.png',
width: 30.sp, width: 30.sp,
height: 30.sp, height: 30.sp,

View File

@ -117,7 +117,7 @@ class _GetNameListPageState extends State<GetNameListPage> {
)), )),
Image.asset( Image.asset(
isNameSelect == false isNameSelect == false
? 'images/icon_round_unSelet.png' ? 'images/icon_round_unSelect.png'
: 'images/icon_round_selet.png', : 'images/icon_round_selet.png',
width: 30.sp, width: 30.sp,
height: 30.sp, height: 30.sp,

View File

@ -98,7 +98,7 @@ class _GroupEditLockPageState extends State<GroupEditLockPage> {
child: Image.asset( child: Image.asset(
itemData.isChecked itemData.isChecked
? 'images/icon_round_selet.png' ? 'images/icon_round_selet.png'
: 'images/icon_round_unSelet.png', : 'images/icon_round_unSelect.png',
width: 35.w, width: 35.w,
height: 35.w, height: 35.w,
), ),

View File

@ -34,11 +34,11 @@ class _SelectGetewayListPageState extends State<SelectGetewayListPage> {
onPressed: () { onPressed: () {
setState(() { setState(() {
for (var element in state.getewayListData.value) { for (var element in state.getewayListData.value) {
if(state.isSeletAll == true){ if(state.isSelectAll == true){
state.isSeletAll = false; state.isSelectAll = false;
element.selet = 0; element.selet = 0;
}else{ }else{
state.isSeletAll = true; state.isSelectAll = true;
element.selet = 1; element.selet = 1;
} }
} }
@ -105,7 +105,7 @@ class _SelectGetewayListPageState extends State<SelectGetewayListPage> {
), ),
GestureDetector( GestureDetector(
child: Image.asset( 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, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -7,5 +7,5 @@ import 'selectGetewayList_entity.dart';
class SelectGetewayListState{ class SelectGetewayListState{
var getewayListData = <GetewayItemData>[].obs; var getewayListData = <GetewayItemData>[].obs;
final TextEditingController searchController = TextEditingController(); final TextEditingController searchController = TextEditingController();
bool isSeletAll = false; bool isSelectAll = false;
} }

View File

@ -34,17 +34,17 @@ class _TransferSmartLockPageState extends State<TransferSmartLockPage> {
onPressed: () { onPressed: () {
setState(() { setState(() {
for (var element in state.transferSmartLockListData.value) { for (var element in state.transferSmartLockListData.value) {
if(state.isSeletAll == true){ if(state.isSelectAll == true){
state.isSeletAll = false; state.isSelectAll = false;
element.selet = 0; element.selet = 0;
}else{ }else{
state.isSeletAll = true; state.isSelectAll = true;
element.selet = 1; 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( body: Column(
@ -149,7 +149,7 @@ class _TransferSmartLockPageState extends State<TransferSmartLockPage> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
SizedBox(width: 20.w), 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), SizedBox(width: 16.w),
Image.asset('images/icon_lockGroup_item.png', width: 50.h, height: 50.h, fit: BoxFit.fill), Image.asset('images/icon_lockGroup_item.png', width: 50.h, height: 50.h, fit: BoxFit.fill),
SizedBox(width: 10.w), SizedBox(width: 10.w),

View File

@ -7,5 +7,5 @@ import 'transferSmartLock_entity.dart';
class TransferSmartLockState{ class TransferSmartLockState{
var transferSmartLockListData = <TransferSmartLockItemData>[].obs; var transferSmartLockListData = <TransferSmartLockItemData>[].obs;
final TextEditingController searchController = TextEditingController(); final TextEditingController searchController = TextEditingController();
bool isSeletAll = false; bool isSelectAll = false;
} }

View File

@ -151,7 +151,7 @@ class _ValueAddedServicesAddEmailTemplatePageState
rightTitle: TranslationLoader.lanKeys!.password!.tr, rightTitle: TranslationLoader.lanKeys!.password!.tr,
isHaveLine: false, isHaveLine: false,
action: () { action: () {
_showSeletTemplateType(); _showSelectTemplateType();
}), }),
], ],
); );
@ -306,7 +306,7 @@ class _ValueAddedServicesAddEmailTemplatePageState
); );
} }
void _showSeletTemplateType() { void _showSelectTemplateType() {
var list = [ var list = [
TranslationLoader.lanKeys!.electronicKey!.tr, TranslationLoader.lanKeys!.electronicKey!.tr,
TranslationLoader.lanKeys!.password!.tr TranslationLoader.lanKeys!.password!.tr

View File

@ -125,7 +125,7 @@ class _ValueAddedServicesRealNamePageState
padding: EdgeInsets.only(top: 20.h, bottom: 20.h, left: 30.w), padding: EdgeInsets.only(top: 20.h, bottom: 20.h, left: 30.w),
child: Text( child: Text(
TranslationLoader TranslationLoader
.lanKeys!.buyRealNameSeletYouWantBuyTip!.tr, .lanKeys!.buyRealNameSelectYouWantBuyTip!.tr,
style: style:
TextStyle(fontSize: 24.sp, fontWeight: FontWeight.w600), TextStyle(fontSize: 24.sp, fontWeight: FontWeight.w600),
)), )),
@ -142,7 +142,7 @@ class _ValueAddedServicesRealNamePageState
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(
'images/icon_round_unSelet.png', 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -160,7 +160,7 @@ class _ValueAddedServicesRealNamePageState
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(
'images/icon_round_unSelet.png', 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -178,7 +178,7 @@ class _ValueAddedServicesRealNamePageState
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(
'images/icon_round_unSelet.png', 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),
@ -196,7 +196,7 @@ class _ValueAddedServicesRealNamePageState
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(
'images/icon_round_unSelet.png', 'images/icon_round_unSelect.png',
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -124,7 +124,7 @@ class _ValueAddedServicesAddSMSTemplatePageState
rightTitle: TranslationLoader.lanKeys!.password!.tr, rightTitle: TranslationLoader.lanKeys!.password!.tr,
isHaveLine: false, isHaveLine: false,
action: () { action: () {
_showSeletTemplateType(); _showSelectTemplateType();
}), }),
], ],
); );
@ -250,7 +250,7 @@ class _ValueAddedServicesAddSMSTemplatePageState
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(
'images/icon_round_unSelet.png', 'images/icon_round_unSelect.png',
width: 26.w, width: 26.w,
height: 26.w, height: 26.w,
), ),
@ -466,7 +466,7 @@ class _ValueAddedServicesAddSMSTemplatePageState
); );
} }
void _showSeletTemplateType() { void _showSelectTemplateType() {
var list = [ var list = [
TranslationLoader.lanKeys!.electronicKey!.tr, TranslationLoader.lanKeys!.electronicKey!.tr,
TranslationLoader.lanKeys!.password!.tr TranslationLoader.lanKeys!.password!.tr

View File

@ -88,7 +88,7 @@ abstract class Api {
final String getStaffListURL = '/staff/list'; // final String getStaffListURL = '/staff/list'; //
final String addStaffURL = '/staff/add'; // final String addStaffURL = '/staff/add'; //
final String editStaffURL = '/staff/update'; // final String editStaffURL = '/staff/update'; //
final String addStaffSeletKeyURL = '/staff/attendanceList'; // - final String addStaffSelectKeyURL = '/staff/attendanceList'; // -
final String addHolidaysURL = '/vacation/add'; // final String addHolidaysURL = '/vacation/add'; //
final String holidaysListURL = '/vacation/list'; // final String holidaysListURL = '/vacation/list'; //
final String holidaysDeleteURL = '/vacation/delete'; // final String holidaysDeleteURL = '/vacation/delete'; //

View File

@ -807,8 +807,8 @@ class ApiProvider extends BaseProvider {
})); }));
// //
Future<Response> addStaffSeletKeyData(String companyId, String type) => post( Future<Response> addStaffSelectKeyData(String companyId, String type) => post(
addStaffSeletKeyURL.toUrl, addStaffSelectKeyURL.toUrl,
jsonEncode({ jsonEncode({
'companyId': companyId, 'companyId': companyId,
'type': type, 'type': type,

View File

@ -28,7 +28,7 @@ import '../main/lockDetail/checkingIn/checkingInHolidays/checkingInSetHolidays/c
import '../main/lockDetail/checkingIn/checkingInList/checkingInListDay_entity.dart'; import '../main/lockDetail/checkingIn/checkingInList/checkingInListDay_entity.dart';
import '../main/lockDetail/checkingIn/checkingInList/checkingInListMonth_entity.dart'; import '../main/lockDetail/checkingIn/checkingInList/checkingInListMonth_entity.dart';
import '../main/lockDetail/checkingIn/checkingInSet/checkingInSet_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/checkingIn/checkingInStaff/checkingInSetStaffList/checkingInStaffList_entity.dart';
import '../main/lockDetail/fingerprint/addFingerprint/addFingerprint_entity.dart'; import '../main/lockDetail/fingerprint/addFingerprint/addFingerprint_entity.dart';
import '../main/lockDetail/fingerprint/fingerprintList/fingerprintListData_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 companyId,
required String type, required String type,
}) async { }) async {
final res = await apiProvider.addStaffSeletKeyData(companyId, type); final res = await apiProvider.addStaffSelectKeyData(companyId, type);
return CheckingInAddStaffSeletKeyEntity.fromJson(res.body); return CheckingInAddStaffSelectKeyEntity.fromJson(res.body);
} }
// //

View File

@ -65,7 +65,7 @@ class _ExpandedListTileState extends State<ExpandedListTile> {
Image.asset( Image.asset(
_isCheck _isCheck
? "images/icon_round_selet.png" ? "images/icon_round_selet.png"
: "images/icon_round_unSelet.png", : "images/icon_round_unSelect.png",
width: 30.w, width: 30.w,
height: 30.w, height: 30.w,
), ),

View File

@ -7,7 +7,7 @@ import 'package:image_picker/image_picker.dart';
typedef BlockImgCallback = void Function(dynamic imgStr); typedef BlockImgCallback = void Function(dynamic imgStr);
class SeletImageTool { class SelectImageTool {
// ImagePicker // ImagePicker
final ImagePicker _picker = ImagePicker(); final ImagePicker _picker = ImagePicker();
ImageProvider? _imageProvider; ImageProvider? _imageProvider;

View File

@ -3,10 +3,10 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
typedef SeletDateCallback(DateTime dateTime); typedef SelectDateCallback(DateTime dateTime);
class ShowCalendar extends StatelessWidget { class ShowCalendar extends StatelessWidget {
SeletDateCallback? seletAction; SelectDateCallback? seletAction;
DatePickerMode? datePickerMode; DatePickerMode? datePickerMode;
ShowCalendar({Key? key, this.seletAction, this.datePickerMode}) : super(key: key); ShowCalendar({Key? key, this.seletAction, this.datePickerMode}) : super(key: key);

View File

@ -7,7 +7,7 @@ import '../translations/trans_lib.dart';
typedef DateValueCallback(DateTime dateTime, List<int> selectedIndex); 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,) { void showDatePicker(BuildContext context, String maxT, String minT, String nowDate, String formatStr, DateValueCallback onConfirm,) {
// String MIN_DATETIME = '1900-01-01 00:00'; // String MIN_DATETIME = '1900-01-01 00:00';

View File

@ -49,7 +49,7 @@ class LanKeyEntity {
this.sendGroupKey, this.sendGroupKey,
this.lock, this.lock,
this.pleaseAdd, this.pleaseAdd,
this.pleaseSelet, this.pleaseSelect,
this.remoteUnlockingAllowed, this.remoteUnlockingAllowed,
this.pleaseEnter, this.pleaseEnter,
this.getPassword, this.getPassword,
@ -135,7 +135,7 @@ class LanKeyEntity {
this.allDay, this.allDay,
this.save, this.save,
this.normallyOpenModeTip, this.normallyOpenModeTip,
this.pleaseSeletLockVolume, this.pleaseSelectLockVolume,
this.lockSoundTip, this.lockSoundTip,
this.low, this.low,
this.lower, this.lower,
@ -337,7 +337,7 @@ class LanKeyEntity {
this.customMailTemplate, this.customMailTemplate,
this.record, this.record,
this.buyRealNameTip, this.buyRealNameTip,
this.buyRealNameSeletYouWantBuyTip, this.buyRealNameSelectYouWantBuyTip,
this.forTheFirstTime, this.forTheFirstTime,
this.onceDay, this.onceDay,
this.weekOnce, this.weekOnce,
@ -509,7 +509,7 @@ class LanKeyEntity {
sendGroupKey = json['sendGroupKey']; sendGroupKey = json['sendGroupKey'];
lock = json['lock']; lock = json['lock'];
pleaseAdd = json['pleaseAdd']; pleaseAdd = json['pleaseAdd'];
pleaseSelet = json['pleaseSelet']; pleaseSelect = json['pleaseSelect'];
remoteUnlockingAllowed = json['remoteUnlockingAllowed']; remoteUnlockingAllowed = json['remoteUnlockingAllowed'];
pleaseEnter = json['pleaseEnter']; pleaseEnter = json['pleaseEnter'];
getPassword = json['getPassword']; getPassword = json['getPassword'];
@ -553,7 +553,7 @@ class LanKeyEntity {
allDay = json['allDay']; allDay = json['allDay'];
save = json['save']; save = json['save'];
normallyOpenModeTip = json['normallyOpenModeTip']; normallyOpenModeTip = json['normallyOpenModeTip'];
pleaseSeletLockVolume = json['pleaseSeletLockVolume']; pleaseSelectLockVolume = json['pleaseSelectLockVolume'];
lockSoundTip = json['lockSoundTip']; lockSoundTip = json['lockSoundTip'];
low = json['low']; low = json['low'];
lower = json['lower']; lower = json['lower'];
@ -817,7 +817,7 @@ class LanKeyEntity {
record = json['record']; record = json['record'];
buyRealNameTip = json['buyRealNameTip']; buyRealNameTip = json['buyRealNameTip'];
buyRealNameSeletYouWantBuyTip = json['buyRealNameSeletYouWantBuyTip']; buyRealNameSelectYouWantBuyTip = json['buyRealNameSelectYouWantBuyTip'];
forTheFirstTime = json['forTheFirstTime']; forTheFirstTime = json['forTheFirstTime'];
onceDay = json['onceDay']; onceDay = json['onceDay'];
weekOnce = json['weekOnce']; weekOnce = json['weekOnce'];
@ -1000,7 +1000,7 @@ class LanKeyEntity {
String? sendGroupKey; String? sendGroupKey;
String? lock; String? lock;
String? pleaseAdd; String? pleaseAdd;
String? pleaseSelet; String? pleaseSelect;
String? remoteUnlockingAllowed; String? remoteUnlockingAllowed;
String? pleaseEnter; String? pleaseEnter;
String? getPassword; String? getPassword;
@ -1044,7 +1044,7 @@ class LanKeyEntity {
String? allDay; String? allDay;
String? save; String? save;
String? normallyOpenModeTip; String? normallyOpenModeTip;
String? pleaseSeletLockVolume; String? pleaseSelectLockVolume;
String? lockSoundTip; String? lockSoundTip;
String? low; String? low;
String? lower; String? lower;
@ -1299,7 +1299,7 @@ class LanKeyEntity {
String? record; String? record;
String? buyRealNameTip; String? buyRealNameTip;
String? buyRealNameSeletYouWantBuyTip; String? buyRealNameSelectYouWantBuyTip;
String? forTheFirstTime; String? forTheFirstTime;
String? onceDay; String? onceDay;
String? weekOnce; String? weekOnce;
@ -1480,7 +1480,7 @@ class LanKeyEntity {
map['sendGroupKey'] = sendGroupKey; map['sendGroupKey'] = sendGroupKey;
map['lock'] = lock; map['lock'] = lock;
map['pleaseAdd'] = pleaseAdd; map['pleaseAdd'] = pleaseAdd;
map['pleaseSelet'] = pleaseSelet; map['pleaseSelect'] = pleaseSelect;
map['remoteUnlockingAllowed'] = remoteUnlockingAllowed; map['remoteUnlockingAllowed'] = remoteUnlockingAllowed;
map['pleaseEnter'] = pleaseEnter; map['pleaseEnter'] = pleaseEnter;
map['getPassword'] = getPassword; map['getPassword'] = getPassword;
@ -1525,7 +1525,7 @@ class LanKeyEntity {
map['allDay'] = allDay; map['allDay'] = allDay;
map['save'] = save; map['save'] = save;
map['normallyOpenModeTip'] = normallyOpenModeTip; map['normallyOpenModeTip'] = normallyOpenModeTip;
map['pleaseSeletLockVolume'] = pleaseSeletLockVolume; map['pleaseSelectLockVolume'] = pleaseSelectLockVolume;
map['lockSoundTip'] = lockSoundTip; map['lockSoundTip'] = lockSoundTip;
map['low'] = low; map['low'] = low;
map['lower'] = lower; map['lower'] = lower;
@ -1785,7 +1785,7 @@ class LanKeyEntity {
map['record'] = record; map['record'] = record;
map['buyRealNameTip'] = buyRealNameTip; map['buyRealNameTip'] = buyRealNameTip;
map['buyRealNameSeletYouWantBuyTip'] = buyRealNameSeletYouWantBuyTip; map['buyRealNameSelectYouWantBuyTip'] = buyRealNameSelectYouWantBuyTip;
map['forTheFirstTime'] = forTheFirstTime; map['forTheFirstTime'] = forTheFirstTime;
map['onceDay'] = onceDay; map['onceDay'] = onceDay;
map['weekOnce'] = weekOnce; map['weekOnce'] = weekOnce;

View File

@ -19,6 +19,7 @@ import path_provider_foundation
import shared_preferences_foundation import shared_preferences_foundation
import sqflite import sqflite
import url_launcher_macos import url_launcher_macos
import video_player_avfoundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AjCaptchaFlutterPlugin.register(with: registry.registrar(forPlugin: "AjCaptchaFlutterPlugin")) AjCaptchaFlutterPlugin.register(with: registry.registrar(forPlugin: "AjCaptchaFlutterPlugin"))
@ -35,4 +36,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
FVPVideoPlayerPlugin.register(with: registry.registrar(forPlugin: "FVPVideoPlayerPlugin"))
} }