|
@@ -48,6 +48,25 @@ namespace fis
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 打开报告编辑页面
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="token"></param>
|
|
|
+ /// <param name="patientCode"></param>
|
|
|
+ /// <param name="reportCode"></param>
|
|
|
+ /// <param name="recordCode"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ public bool OpenReportEdit(string token, string patientCode, string reportCode, string recordCode) {
|
|
|
+ var dictionary = new Dictionary<string, string>();
|
|
|
+ dictionary.Add("token", token);
|
|
|
+ dictionary.Add("patientCode", patientCode);
|
|
|
+ dictionary.Add("reportCode", reportCode);
|
|
|
+ dictionary.Add("recordCode", recordCode);
|
|
|
+ var manager = AppManager.Get<ISecondaryScreenManager>();
|
|
|
+ manager.ShowWindowByTypeAsync(WindowType.ReportEdit, "http://" + ShellConfig.Instance.AppHost + "/#/remedical/report/report_edit", dictionary).GetAwaiter().GetResult();
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 打开报告设计器
|
|
|
/// </summary>
|