diff --git a/lib/utils/websocket/fire_dialog.dart b/lib/utils/websocket/fire_dialog.dart index 0131f265..57427e95 100644 --- a/lib/utils/websocket/fire_dialog.dart +++ b/lib/utils/websocket/fire_dialog.dart @@ -86,9 +86,9 @@ class FireDialog { '${alarmModel.oneButtonAlarm!.name}联系方式:${alarmModel.oneButtonAlarm!.tel}\n' '如未能联系到${alarmModel.oneButtonAlarm!.name}。可择情报警'; case 4: - return '${DateUtil.formatDateStr(alarmModel.deviceAlarm!.time, format: DateFormats.zh_y_mo_d_h_m)}\n\n${alarmModel!.clientAlarm!.content}'; + return '${DateUtil.formatDateStr(alarmModel.deviceAlarm!.time, format: DateFormats.zh_y_mo_d_h_m)}\n\n${alarmModel.clientAlarm!.content}'; case 5: - return '注意:\n\n有住户使用了SOS紧急联系报警,请及时上门或联系人员前往查看,设备号:${alarmModel!.elderlyCareEquipmentReminder!.deviceNo}' + return '注意:\n\n有住户使用了SOS紧急联系报警,请及时上门或联系人员前往查看,设备号:${alarmModel.elderlyCareEquipmentReminder!.deviceNo}' '\n\n${alarmModel.elderlyCareEquipmentReminder!.content}'; default: diff --git a/tool/config.dart b/tool/config.dart new file mode 100644 index 00000000..2ed7a65a --- /dev/null +++ b/tool/config.dart @@ -0,0 +1,19 @@ +class Config { + ///用户根目录 + static const String homeDir = '/users/zhangmeng'; + + ///包名 + static const String packageName = 'aku_new_community'; + + ///打包目录 + static String get buildPath => + './build/app/outputs/flutter-apk/app-release.apk'; + + ///测试包文件夹 + static String get apkDevDir => + '../team/bee/aku_new_community/dev'; + + ///正式包文件夹 + static String get apkDir => + '../team/bee/aku_new_community/release'; +}