|
@@ -1,240 +0,0 @@
|
|
|
-import 'package:fis_i18n/types.dart';
|
|
|
-
|
|
|
-/// 用户模块
|
|
|
-class UserModule extends ModuleBase {
|
|
|
- UserModule._({
|
|
|
- required this.selectIdentityAuth,
|
|
|
- required this.identityToAuth,
|
|
|
- required this.deviceSearch,
|
|
|
- required this.addTemplate,
|
|
|
- required this.defaultTemplate,
|
|
|
- required this.equity,
|
|
|
- required this.setPassword,
|
|
|
- required this.inputVerificationCode,
|
|
|
- required this.getVerificationCode,
|
|
|
- required this.inputOriginalPassword,
|
|
|
- required this.originalPassword,
|
|
|
- required this.inputNewPassowrd,
|
|
|
- required this.newPassowrd,
|
|
|
- required this.checkInputAgain,
|
|
|
- required this.passowrdConfirm,
|
|
|
- required this.passowrdTip,
|
|
|
- required this.changedPassword,
|
|
|
- required this.passwordValidation,
|
|
|
- required this.confirmNewPassword,
|
|
|
- required this.inputPasswordAgain,
|
|
|
- required this.afterXSecondFetchAgain,
|
|
|
- required this.fetchVerificationCode,
|
|
|
- required this.hospitalIn,
|
|
|
- required this.inputHospitalIn,
|
|
|
- required this.departmentIn,
|
|
|
- required this.deviceName,
|
|
|
- required this.inputDeviceName,
|
|
|
- required this.deviceCode,
|
|
|
- required this.inputDeviceCode,
|
|
|
- required this.deviceType,
|
|
|
- required this.autoFillDeviceType,
|
|
|
- required this.deviceModel,
|
|
|
- required this.autoFillDeviceModel,
|
|
|
- required this.deviceAutoShare,
|
|
|
- required this.modifyDeviceInfo,
|
|
|
- required this.addDevice,
|
|
|
- required this.editDevice,
|
|
|
- required this.newDevice,
|
|
|
- required this.userRelated,
|
|
|
- required this.batchOperation,
|
|
|
- required this.online,
|
|
|
- required this.offline,
|
|
|
- required this.shareDevice,
|
|
|
- required this.notOnline,
|
|
|
- });
|
|
|
-
|
|
|
- static const ModuleName = "user";
|
|
|
-
|
|
|
- factory UserModule(Map<String, dynamic> map) {
|
|
|
- return UserModule._(
|
|
|
- selectIdentityAuth: map.pick('selectIdentityAuth'),
|
|
|
- identityToAuth: map.pick('identityToAuth'),
|
|
|
- deviceSearch: map.pick('deviceSearch'),
|
|
|
- addTemplate: map.pick('addTemplate'),
|
|
|
- defaultTemplate: map.pick('defaultTemplate'),
|
|
|
- equity: map.pick('equity'),
|
|
|
- setPassword: map.pick('setPassword'),
|
|
|
- inputVerificationCode: map.pick('inputVerificationCode'),
|
|
|
- getVerificationCode: map.pick('getVerificationCode'),
|
|
|
- inputOriginalPassword: map.pick('inputOriginalPassword'),
|
|
|
- originalPassword: map.pick('originalPassword'),
|
|
|
- inputNewPassowrd: map.pick('inputNewPassowrd'),
|
|
|
- newPassowrd: map.pick('newPassowrd'),
|
|
|
- checkInputAgain: map.pick('checkInputAgain'),
|
|
|
- passowrdConfirm: map.pick('passowrdConfirm'),
|
|
|
- passowrdTip: map.pick('passowrdTip'),
|
|
|
- changedPassword: map.pick('changedPassword'),
|
|
|
- passwordValidation: map.pick('passwordValidation'),
|
|
|
- confirmNewPassword: map.pick('confirmNewPassword'),
|
|
|
- inputPasswordAgain: map.pick('inputPasswordAgain'),
|
|
|
- afterXSecondFetchAgain: map.pick('afterXSecondFetchAgain'),
|
|
|
- fetchVerificationCode: map.pick('fetchVerificationCode'),
|
|
|
- hospitalIn: map.pick('hospitalIn'),
|
|
|
- inputHospitalIn: map.pick('inputHospitalIn'),
|
|
|
- departmentIn: map.pick('departmentIn'),
|
|
|
- deviceName: map.pick('deviceName'),
|
|
|
- inputDeviceName: map.pick('inputDeviceName'),
|
|
|
- deviceCode: map.pick('deviceCode'),
|
|
|
- inputDeviceCode: map.pick('inputDeviceCode'),
|
|
|
- deviceType: map.pick('deviceType'),
|
|
|
- autoFillDeviceType: map.pick('autoFillDeviceType'),
|
|
|
- deviceModel: map.pick('deviceModel'),
|
|
|
- autoFillDeviceModel: map.pick('autoFillDeviceModel'),
|
|
|
- deviceAutoShare: map.pick('deviceAutoShare'),
|
|
|
- modifyDeviceInfo: map.pick('modifyDeviceInfo'),
|
|
|
- addDevice: map.pick('addDevice'),
|
|
|
- editDevice: map.pick('editDevice'),
|
|
|
- newDevice: map.pick('newDevice'),
|
|
|
- userRelated: map.pick('userRelated'),
|
|
|
- batchOperation: map.pick('batchOperation'),
|
|
|
- online: map.pick('online'),
|
|
|
- offline: map.pick('offline'),
|
|
|
- shareDevice: map.pick('shareDevice'),
|
|
|
- notOnline: map.pick('notOnline'),
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- /// 选择身份认证
|
|
|
- final FTrStr selectIdentityAuth;
|
|
|
-
|
|
|
- /// 请选择要认证的身份
|
|
|
- final FTrStr identityToAuth;
|
|
|
-
|
|
|
- /// 设备查询
|
|
|
- final FTrStr deviceSearch;
|
|
|
-
|
|
|
- /// 添加模板
|
|
|
- final FTrStr addTemplate;
|
|
|
-
|
|
|
- /// 默认模板
|
|
|
- final FTrStr defaultTemplate;
|
|
|
-
|
|
|
- /// 权益
|
|
|
- final FTrStr equity;
|
|
|
-
|
|
|
- /// 设置密码
|
|
|
- final FTrStr setPassword;
|
|
|
-
|
|
|
- /// 请输入验证码
|
|
|
- final FTrStr inputVerificationCode;
|
|
|
-
|
|
|
- /// 获取验证码
|
|
|
- final FTrStr getVerificationCode;
|
|
|
-
|
|
|
- /// 填写原密码
|
|
|
- final FTrStr inputOriginalPassword;
|
|
|
-
|
|
|
- /// 原密码
|
|
|
- final FTrStr originalPassword;
|
|
|
-
|
|
|
- /// 填写新密码
|
|
|
- final FTrStr inputNewPassowrd;
|
|
|
-
|
|
|
- /// 新密码
|
|
|
- final FTrStr newPassowrd;
|
|
|
-
|
|
|
- /// 再次填写确认
|
|
|
- final FTrStr checkInputAgain;
|
|
|
-
|
|
|
- /// 确认密码
|
|
|
- final FTrStr passowrdConfirm;
|
|
|
-
|
|
|
- /// 密码必须是6位数及以上英文字母、数字的组合(不能全是数字或字母)
|
|
|
- final FTrStr passowrdTip;
|
|
|
-
|
|
|
- /// 修改密码
|
|
|
- final FTrStr changedPassword;
|
|
|
-
|
|
|
- /// 至少6个字符,不能全是数字或字母
|
|
|
- final FTrStr passwordValidation;
|
|
|
-
|
|
|
- /// 确认新密码
|
|
|
- final FTrStr confirmNewPassword;
|
|
|
-
|
|
|
- /// 请再次输入密码
|
|
|
- final FTrStr inputPasswordAgain;
|
|
|
-
|
|
|
- /// 秒后重新获取
|
|
|
- final FTrStr afterXSecondFetchAgain;
|
|
|
-
|
|
|
- /// 获取验证码
|
|
|
- final FTrStr fetchVerificationCode;
|
|
|
-
|
|
|
- /// 所在医院
|
|
|
- final FTrStr hospitalIn;
|
|
|
-
|
|
|
- /// 请输入所在医院
|
|
|
- final FTrStr inputHospitalIn;
|
|
|
-
|
|
|
- /// 所属部门
|
|
|
- final FTrStr departmentIn;
|
|
|
-
|
|
|
- /// 设备名称
|
|
|
- final FTrStr deviceName;
|
|
|
-
|
|
|
- /// 请输入设备名称
|
|
|
- final FTrStr inputDeviceName;
|
|
|
-
|
|
|
- /// 设备编码
|
|
|
- final FTrStr deviceCode;
|
|
|
-
|
|
|
- /// 请输入设备编码
|
|
|
- final FTrStr inputDeviceCode;
|
|
|
-
|
|
|
- /// 设备类型
|
|
|
- final FTrStr deviceType;
|
|
|
-
|
|
|
- /// 自动回填设备类型
|
|
|
- final FTrStr autoFillDeviceType;
|
|
|
-
|
|
|
- /// 设备型号
|
|
|
- final FTrStr deviceModel;
|
|
|
-
|
|
|
- /// 自动回填设备型号
|
|
|
- final FTrStr autoFillDeviceModel;
|
|
|
-
|
|
|
- /// 设备自动分享
|
|
|
- final FTrStr deviceAutoShare;
|
|
|
-
|
|
|
- /// 修改设备信息
|
|
|
- final FTrStr modifyDeviceInfo;
|
|
|
-
|
|
|
- /// 添加设备
|
|
|
- final FTrStr addDevice;
|
|
|
-
|
|
|
- /// 编辑设备
|
|
|
- final FTrStr editDevice;
|
|
|
-
|
|
|
- /// 新增设备
|
|
|
- final FTrStr newDevice;
|
|
|
-
|
|
|
- /// 关联用户
|
|
|
- final FTrStr userRelated;
|
|
|
-
|
|
|
- /// 批量操作
|
|
|
- final FTrStr batchOperation;
|
|
|
-
|
|
|
- /// 在线
|
|
|
- final FTrStr online;
|
|
|
-
|
|
|
- /// 离线
|
|
|
- final FTrStr offline;
|
|
|
-
|
|
|
- /// 分享设备
|
|
|
- final FTrStr shareDevice;
|
|
|
-
|
|
|
- /// 不在线
|
|
|
- final FTrStr notOnline;
|
|
|
-
|
|
|
- @override
|
|
|
- getProp(String propName) {
|
|
|
- // TODO: implement getProp
|
|
|
- throw UnimplementedError();
|
|
|
- }
|
|
|
-}
|