|
@@ -1670,25 +1670,31 @@ namespace PTMedicalInsurance
|
|
|
case "BasicData"://基础数据维护
|
|
|
{
|
|
|
BasicData bd = new BasicData();
|
|
|
- bd.ShowDialog();
|
|
|
+ if (bd.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出基础数据维护界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
case "Exception"://异常处理
|
|
|
{
|
|
|
//显示异常处理界面
|
|
|
HandleException frmEX = new HandleException();
|
|
|
- if (frmEX.ShowDialog() == DialogResult.OK)
|
|
|
+ if (frmEX.ShowDialog() != DialogResult.OK)
|
|
|
{
|
|
|
-
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出异常处理界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
case "CheckAndClearing"://对账清算
|
|
|
{
|
|
|
Clearing frmEX = new Clearing();
|
|
|
- if (frmEX.ShowDialog() == DialogResult.OK)
|
|
|
+ if (frmEX.ShowDialog() != DialogResult.OK)
|
|
|
{
|
|
|
-
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出对账清算界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
@@ -1701,7 +1707,11 @@ namespace PTMedicalInsurance
|
|
|
if (insuAdmObj == "")
|
|
|
{
|
|
|
frmSettlList = new SettlementBillPrint();
|
|
|
- frmSettlList.ShowDialog();
|
|
|
+ if (frmSettlList.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出打印界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1740,13 +1750,16 @@ namespace PTMedicalInsurance
|
|
|
}
|
|
|
case "HospitalRegister"://备案
|
|
|
{
|
|
|
- ToRecordChoose Referral = new ToRecordChoose();
|
|
|
- Referral.ShowDialog();
|
|
|
+ ToRecordFrom Referral = new ToRecordFrom();
|
|
|
+ if (Referral.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出备案信息界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
case "MutualAid"://医保账户代支
|
|
|
{
|
|
|
-
|
|
|
MutualAid frmMA = new MutualAid();
|
|
|
//frmMA.WindowState = FormWindowState.Maximized;
|
|
|
frmMA.ShowDialog();
|
|
@@ -1757,8 +1770,11 @@ namespace PTMedicalInsurance
|
|
|
{
|
|
|
//PrescriptionCirculation PresCir = new PrescriptionCirculation();
|
|
|
PrescriptionCirculation PresCir = new PrescriptionCirculation("45050219890708002X");
|
|
|
- //PresCir.WindowState = FormWindowState.Minimized;
|
|
|
- PresCir.ShowDialog();
|
|
|
+ if (PresCir.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出医保电子处方流转界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
case "PreAndInProcessAnalysis"://事前分析 诊间只有住院的事前分析
|
|
@@ -1803,7 +1819,11 @@ namespace PTMedicalInsurance
|
|
|
case "MedInsuQuery"://医保查询
|
|
|
{
|
|
|
MedInsuQuery MedQuery = new MedInsuQuery();
|
|
|
- MedQuery.ShowDialog();
|
|
|
+ if (MedQuery.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出医保查询界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
default:
|