123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- import 'package:fis_i18n/types.dart';
- /// 首页模块
- class HomePageModule extends ModuleBase {
- HomePageModule._({
- required this.homePage,
- required this.consultation,
- required this.organizationInfo,
- required this.reportTemplate,
- required this.organizationDevices,
- required this.organizationEntries,
- required this.signOut,
- required this.loginOutConfirm,
- required this.loginingOut,
- required this.ultrasoundComments,
- required this.diagnostics,
- required this.course,
- required this.message,
- required this.my,
- required this.notYet,
- required this.messageListener,
- required this.reportOpenVocPage,
- required this.enableMock,
- required this.swtichLanguageConfirm,
- required this.remoteDiagnosis,
- required this.dongleLoginError,
- });
- static const ModuleName = "homePage";
- factory HomePageModule(Map<String, dynamic> map) {
- return HomePageModule._(
- homePage: map.pick("homePage"),
- consultation: map.pick("consultation"),
- organizationInfo: map.pick("organizationInfo"),
- reportTemplate: map.pick("reportTemplate"),
- organizationDevices: map.pick("organizationDevices"),
- organizationEntries: map.pick("organizationEntries"),
- signOut: map.pick("signOut"),
- loginOutConfirm: map.pick("loginOutConfirm"),
- loginingOut: map.pick("loginingOut"),
- ultrasoundComments: map.pick("ultrasoundComments"),
- diagnostics: map.pick("diagnostics"),
- course: map.pick("course"),
- message: map.pick("message"),
- my: map.pick("my"),
- notYet: map.pick("notYet"),
- messageListener: map.pick("messageListener"),
- reportOpenVocPage: map.pick("reportOpenVocPage"),
- enableMock: map.pick("enableMock"),
- swtichLanguageConfirm: map.pick("swtichLanguageConfirm"),
- remoteDiagnosis: map.pick("remoteDiagnosis"),
- dongleLoginError: map.pick("dongleLoginError"),
- );
- }
- /// 首页
- final FTrStr homePage;
- /// 实时会诊
- final FTrStr consultation;
- /// 医院信息
- final FTrStr organizationInfo;
- /// 报告模板
- final FTrStr reportTemplate;
- /// 医院设备
- final FTrStr organizationDevices;
- /// 医院词条
- final FTrStr organizationEntries;
- /// 退出登录
- final FTrStr signOut;
- /// 确定退出登录?
- final FTrStr loginOutConfirm;
- /// 正在登出...
- final FTrStr loginingOut;
- /// 超声注释
- final FTrStr ultrasoundComments;
- /// 诊断
- final FTrStr diagnostics;
- /// 学园
- final FTrStr course;
- /// 消息
- final FTrStr message;
- /// 我的
- final FTrStr my;
- /// 暂无
- final FTrStr notYet;
- /// 消息监听
- final FTrStr messageListener;
- /// 报告打开词条页面
- final FTrStr reportOpenVocPage;
- /// 启用Mock
- final FTrStr enableMock;
- /// 切换当前语言需要重启客户端,是否切换?
- final FTrStr swtichLanguageConfirm;
- /// 分时诊断
- final FTrStr remoteDiagnosis;
- /// Dongle登录失败,请检查是否插入Dongle
- final FTrStr dongleLoginError;
- @override
- getProp(String propName) {
- // TODO: implement getProp
- throw UnimplementedError();
- }
- }
|