ソースを参照

新增错误码

loki.wu 1 年間 前
コミット
cd15c0c325
4 ファイル変更8 行追加0 行削除
  1. 1 0
      assets/en_US.json
  2. 1 0
      assets/ru_RU.json
  3. 1 0
      assets/zh_CN.json
  4. 5 0
      lib/modules/error_codes.dart

+ 1 - 0
assets/en_US.json

@@ -209,6 +209,7 @@
     "errorCode3047": "Template not configured",
     "errorCode3050": "The thesaurus name is duplicated, please enter a new one",
     "errorCode3051": "Duplicate template name",
+    "errorCode3074": "Please enter the correct hospital short code",
     "errorCode3999": "System exception",
     "errorCode4000": "Export failed. Please select the patient to be exported first",
     "errorCode4001": "You have no permission",

+ 1 - 0
assets/ru_RU.json

@@ -209,6 +209,7 @@
     "errorCode3047": "Шаблон не настроен",
     "errorCode3050": "Имя тезауруса дублируется, пожалуйста, введите новое",
     "errorCode3051": "Имя шаблона дублируется",
+    "errorCode3074": "Пожалуйста, введите правильный код больницы",
     "errorCode3999": "Системная ошибка",
     "errorCode4000": "Экспорт не удался. Пожалуйста, сначала выберите пациента для экспорта",
     "errorCode4001": "У вас нет разрешения",

+ 1 - 0
assets/zh_CN.json

@@ -209,6 +209,7 @@
     "errorCode3047": "未配置模板",
     "errorCode3050": "词条库名称重复,请重新输入",
     "errorCode3051": "模版名称重复",
+    "errorCode3074": "请输入正确的医院短码",
     "errorCode3999": "系统错误",
     "errorCode4000": "导出失败,请先选择需导出的病人",
     "errorCode4001": "您尚无权限操作",

+ 5 - 0
lib/modules/error_codes.dart

@@ -126,6 +126,7 @@ class ErrorCodesModule extends ModuleBase {
     required this.errorCode3047,
     required this.errorCode3050,
     required this.errorCode3051,
+    required this.errorCode3074,
     required this.errorCode3999,
     required this.errorCode4000,
     required this.errorCode4001,
@@ -430,6 +431,7 @@ class ErrorCodesModule extends ModuleBase {
       errorCode3047: map.pick("errorCode3047"),
       errorCode3050: map.pick("errorCode3050"),
       errorCode3051: map.pick("errorCode3051"),
+      errorCode3074: map.pick("errorCode3074"),
       errorCode3999: map.pick("errorCode3999"),
       errorCode4000: map.pick("errorCode4000"),
       errorCode4001: map.pick("errorCode4001"),
@@ -977,6 +979,9 @@ class ErrorCodesModule extends ModuleBase {
   /// 模版名称重复
   final FTrStr errorCode3051;
 
+  /// 请输入正确的医院短码
+  final FTrStr errorCode3074;
+
   /// 系统错误
   final FTrStr errorCode3999;