|  | @@ -1442,25 +1442,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;
 | 
	
		
			
				|  |  |                          }
 | 
	
	
		
			
				|  | @@ -1472,7 +1478,11 @@ namespace PTMedicalInsurance
 | 
	
		
			
				|  |  |                              if (insuAdmObj == "") 
 | 
	
		
			
				|  |  |                              {
 | 
	
		
			
				|  |  |                                  frmSettlList = new SettlementBillPrint();
 | 
	
		
			
				|  |  | -                                frmSettlList.ShowDialog();
 | 
	
		
			
				|  |  | +                                if (frmSettlList.ShowDialog() != DialogResult.OK)
 | 
	
		
			
				|  |  | +                                {
 | 
	
		
			
				|  |  | +                                    rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出打印界面").ToString();
 | 
	
		
			
				|  |  | +                                    return rtnResult;
 | 
	
		
			
				|  |  | +                                }
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                              else
 | 
	
		
			
				|  |  |                              {
 | 
	
	
		
			
				|  | @@ -1516,9 +1526,13 @@ namespace PTMedicalInsurance
 | 
	
		
			
				|  |  |                              break;
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      case "HospitalRegister"://备案
 | 
	
		
			
				|  |  | -                        {
 | 
	
		
			
				|  |  | +                        {            
 | 
	
		
			
				|  |  |                              ToRecordChoose Referral = new ToRecordChoose();
 | 
	
		
			
				|  |  | -                            Referral.ShowDialog();
 | 
	
		
			
				|  |  | +                            if (Referral.ShowDialog() != DialogResult.OK)
 | 
	
		
			
				|  |  | +                            {
 | 
	
		
			
				|  |  | +                                rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出备案信息界面").ToString();
 | 
	
		
			
				|  |  | +                                return rtnResult;
 | 
	
		
			
				|  |  | +                            }
 | 
	
		
			
				|  |  |                              break;
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      case "PreAndInProcessAnalysis"://事前分析  诊间只有住院的事前分析
 |