organization.dart 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. import 'package:fis_i18n/types.dart';
  2. /// 组织模块
  3. class OrganizationModule extends ModuleBase {
  4. OrganizationModule._({
  5. required this.privacyProtection,
  6. required this.orgSetting,
  7. required this.upperOrg,
  8. required this.orgName,
  9. required this.orgLogo,
  10. required this.serveObj,
  11. required this.locatedArea,
  12. required this.avatar,
  13. required this.nickName,
  14. required this.positionIdentity,
  15. required this.workTitle,
  16. required this.orgNameInputTip,
  17. required this.areaSelectionTip,
  18. required this.orgSelectionTip,
  19. required this.modifyWorkTitle,
  20. required this.addWorkTitle,
  21. required this.workTitleName,
  22. required this.basicInfo,
  23. required this.orgStructureInfo,
  24. required this.department,
  25. required this.orgStructure,
  26. required this.editOrgStructure,
  27. required this.addOrgStructure,
  28. required this.departmentName,
  29. required this.selectDepartmentTip,
  30. required this.selectValueDepartment,
  31. required this.selectValueOrganization,
  32. required this.selectWorkPostIdentify,
  33. required this.workTitleSelectionTip,
  34. required this.loadOrgInfoFailedTip,
  35. required this.selectSuperiorOrg,
  36. required this.completRegionInfo,
  37. required this.saveSuccess,
  38. required this.fullfillOrgInfo,
  39. required this.fullfillAreaInfo,
  40. required this.fullfillOrgName,
  41. required this.deleteOrNot,
  42. required this.SelectUserToRemove,
  43. required this.removing,
  44. required this.departmentNamePlaceholder,
  45. required this.FillInCompletely,
  46. required this.titleNamePlaceholder,
  47. required this.messgaeConfirm,
  48. required this.removeMemberConfirm,
  49. required this.removeMembersConfirm,
  50. required this.deleteMemberConfirm,
  51. required this.deleteOrganizationConfirm,
  52. required this.deleteProfessionalConfirm,
  53. });
  54. static const ModuleName = "organization";
  55. factory OrganizationModule(Map<String, dynamic> map) {
  56. return OrganizationModule._(
  57. privacyProtection: map.pick("privacyProtection"),
  58. orgSetting: map.pick("orgSetting"),
  59. upperOrg: map.pick("upperOrg"),
  60. orgName: map.pick("orgName"),
  61. orgLogo: map.pick("orgLogo"),
  62. serveObj: map.pick("serveObj"),
  63. locatedArea: map.pick("locatedArea"),
  64. avatar: map.pick("avatar"),
  65. nickName: map.pick("nickName"),
  66. positionIdentity: map.pick("positionIdentity"),
  67. workTitle: map.pick("workTitle"),
  68. orgNameInputTip: map.pick("orgNameInputTip"),
  69. areaSelectionTip: map.pick("areaSelectionTip"),
  70. orgSelectionTip: map.pick("orgSelectionTip"),
  71. modifyWorkTitle: map.pick("modifyWorkTitle"),
  72. addWorkTitle: map.pick("addWorkTitle"),
  73. workTitleName: map.pick("workTitleName"),
  74. basicInfo: map.pick("basicInfo"),
  75. orgStructureInfo: map.pick("orgStructureInfo"),
  76. department: map.pick("department"),
  77. orgStructure: map.pick("orgStructure"),
  78. editOrgStructure: map.pick("editOrgStructure"),
  79. addOrgStructure: map.pick("addOrgStructure"),
  80. departmentName: map.pick("departmentName"),
  81. selectDepartmentTip: map.pick("selectDepartmentTip"),
  82. selectValueDepartment: map.pick("selectValueDepartment"),
  83. selectValueOrganization: map.pick("selectValueOrganization"),
  84. selectWorkPostIdentify: map.pick("selectWorkPostIdentify"),
  85. workTitleSelectionTip: map.pick("workTitleSelectionTip"),
  86. loadOrgInfoFailedTip: map.pick("loadOrgInfoFailedTip"),
  87. selectSuperiorOrg: map.pick("selectSuperiorOrg"),
  88. completRegionInfo: map.pick("completRegionInfo"),
  89. saveSuccess: map.pick("saveSuccess"),
  90. fullfillOrgInfo: map.pick("fullfillOrgInfo"),
  91. fullfillAreaInfo: map.pick("fullfillAreaInfo"),
  92. fullfillOrgName: map.pick("fullfillOrgName"),
  93. deleteOrNot: map.pick("deleteOrNot"),
  94. SelectUserToRemove: map.pick("SelectUserToRemove"),
  95. removing: map.pick("removing"),
  96. departmentNamePlaceholder: map.pick("departmentNamePlaceholder"),
  97. FillInCompletely: map.pick("FillInCompletely"),
  98. titleNamePlaceholder: map.pick("titleNamePlaceholder"),
  99. messgaeConfirm: map.pick("messgaeConfirm"),
  100. removeMemberConfirm: map.pick("removeMemberConfirm"),
  101. removeMembersConfirm: map.pick("removeMembersConfirm"),
  102. deleteMemberConfirm: map.pick("deleteMemberConfirm"),
  103. deleteOrganizationConfirm: map.pick("deleteOrganizationConfirm"),
  104. deleteProfessionalConfirm: map.pick("deleteProfessionalConfirm"),
  105. );
  106. }
  107. /// 隐私保护
  108. final FTrStr privacyProtection;
  109. /// 医院设置
  110. final FTrStr orgSetting;
  111. /// 上级医院
  112. final FTrStr upperOrg;
  113. /// 医院名称
  114. final FTrStr orgName;
  115. /// 医院标志
  116. final FTrStr orgLogo;
  117. /// 服务对象
  118. final FTrStr serveObj;
  119. /// 所属地区
  120. final FTrStr locatedArea;
  121. /// 头像
  122. final FTrStr avatar;
  123. /// 昵称
  124. final FTrStr nickName;
  125. /// 岗位身份
  126. final FTrStr positionIdentity;
  127. /// 职称
  128. final FTrStr workTitle;
  129. /// 请输入医院名
  130. final FTrStr orgNameInputTip;
  131. /// 选择地区
  132. final FTrStr areaSelectionTip;
  133. /// 选择医院
  134. final FTrStr orgSelectionTip;
  135. /// 修改职称
  136. final FTrStr modifyWorkTitle;
  137. /// 添加职称
  138. final FTrStr addWorkTitle;
  139. /// 职称名称
  140. final FTrStr workTitleName;
  141. /// 基础信息
  142. final FTrStr basicInfo;
  143. /// 组织架构信息
  144. final FTrStr orgStructureInfo;
  145. /// 科室
  146. final FTrStr department;
  147. /// 组织架构
  148. final FTrStr orgStructure;
  149. /// 修改组织架构
  150. final FTrStr editOrgStructure;
  151. /// 添加组织架构
  152. final FTrStr addOrgStructure;
  153. /// 科室名称
  154. final FTrStr departmentName;
  155. /// 请选择科室
  156. final FTrStr selectDepartmentTip;
  157. /// 科室
  158. final FTrStr selectValueDepartment;
  159. /// 医院
  160. final FTrStr selectValueOrganization;
  161. /// 请选择岗位身份
  162. final FTrStr selectWorkPostIdentify;
  163. /// 请选择职称
  164. final FTrStr workTitleSelectionTip;
  165. /// 加载组织信息失败!
  166. final FTrStr loadOrgInfoFailedTip;
  167. /// 选择上级医院
  168. final FTrStr selectSuperiorOrg;
  169. /// 请完善地区信息
  170. final FTrStr completRegionInfo;
  171. /// 保存成功
  172. final FTrStr saveSuccess;
  173. /// 完善医院信息
  174. final FTrStr fullfillOrgInfo;
  175. /// 请完善地区信息
  176. final FTrStr fullfillAreaInfo;
  177. /// 请完善医院名称
  178. final FTrStr fullfillOrgName;
  179. /// 确定是否移除
  180. final FTrStr deleteOrNot;
  181. /// 请选择需要移除的用户
  182. final FTrStr SelectUserToRemove;
  183. /// 移除中
  184. final FTrStr removing;
  185. /// 请填写科室名称
  186. final FTrStr departmentNamePlaceholder;
  187. /// 请填写完整
  188. final FTrStr FillInCompletely;
  189. /// 请填写职称名称
  190. final FTrStr titleNamePlaceholder;
  191. /// 信息确认!
  192. final FTrStr messgaeConfirm;
  193. /// 确定将该成员移除本医院吗?
  194. final FTrStr removeMemberConfirm;
  195. /// 您已选择{0}名成员,确定从本医院移除吗?
  196. final FTrStr removeMembersConfirm;
  197. /// 您已选择${0}名成员,确定将他们移除吗?
  198. final FTrStr deleteMemberConfirm;
  199. /// 确认删除组织架构
  200. final FTrStr deleteOrganizationConfirm;
  201. /// 确认删除职称
  202. final FTrStr deleteProfessionalConfirm;
  203. @override
  204. getProp(String propName) {
  205. // TODO: implement getProp
  206. throw UnimplementedError();
  207. }
  208. }