|
@@ -1357,20 +1357,32 @@ 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();
|
|
|
- frmEX.ShowDialog();
|
|
|
+ if (frmEX.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出异常处理界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
case "CheckAndClearing"://对账清算
|
|
|
{
|
|
|
Clearing frmEX = new Clearing();
|
|
|
- frmEX.ShowDialog();
|
|
|
+ if (frmEX.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出对账清算界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
case "Print"://打印
|
|
@@ -1381,8 +1393,12 @@ namespace PTMedicalInsurance
|
|
|
|
|
|
if (insuAdmObj == "")
|
|
|
{
|
|
|
- frmSettlList = new SettlementChecklist();
|
|
|
- frmSettlList.ShowDialog();
|
|
|
+ frmSettlList = new SettlementBillPrint();
|
|
|
+ if (frmSettlList.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出打印界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1420,14 +1436,22 @@ namespace PTMedicalInsurance
|
|
|
}
|
|
|
case "HospitalRegister"://备案
|
|
|
{
|
|
|
- ToRecordChoose Referral = new ToRecordChoose();
|
|
|
- Referral.ShowDialog();
|
|
|
+ HospitalRegister Referral = new HospitalRegister();
|
|
|
+ if (Referral.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出备案信息界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
case "MedInsuQuery"://医保查询
|
|
|
{
|
|
|
MedInsuQuery MedQuery = new MedInsuQuery();
|
|
|
- MedQuery.ShowDialog();
|
|
|
+ if (MedQuery.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出医保查询界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
|
|
@@ -1435,8 +1459,11 @@ namespace PTMedicalInsurance
|
|
|
{
|
|
|
//PrescriptionCirculation PresCir = new PrescriptionCirculation();
|
|
|
PrescriptionCirculation PresCir = new PrescriptionCirculation("");
|
|
|
- //PresCir.WindowState = FormWindowState.Minimized;
|
|
|
- PresCir.ShowDialog();
|
|
|
+ if (PresCir.ShowDialog() != DialogResult.OK)
|
|
|
+ {
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出医保处方流转界面").ToString();
|
|
|
+ return rtnResult;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
default:
|