Compare commits

...

1 Commits

Author SHA1 Message Date
hrl_081 f3e7a20e7e 医嘱套修改 1 month ago
  1. 2
      WEB-INF/src/com/his/base/yzt/XyYztInputWindow.java
  2. 4
      WEB-INF/src/com/his/base/yzt/YztManageForm.java

@ -37,7 +37,7 @@ package com.his.base.yzt; import java.sql.Timestamp; import com.his.base.utilf
private DxLabel label16;
private DxLabel label17;
private DxLabel label18; private DxLabel showlabel;
public XyYztInputWindow() { super(); } public static XyYztInputWindow newWindow() { return (XyYztInputWindow) WatForm.newWindow(XyYztInputWindow.class.getName()); } public void initUI() { super.initUI(); customerInitUI(); } public void customerInitUI() { super.customerInitUI(); this.setWindowLabelShow(showlabel);
public XyYztInputWindow() { super(); } public static XyYztInputWindow newWindow() { return (XyYztInputWindow) WatForm.newWindow(XyYztInputWindow.class.getName()); } public void initUI() { super.initUI(); customerInitUI(); } public void customerInitUI() { super.customerInitUI(); this.setWindowLabelShow(showlabel); dbgrid1.setHeadPageActions(new String[]{"delete:删除:/resources/normal/delete.png","save:保存:/resources/normal/save.png"});
dbgrid1.setAutoExpandColumnWidth(false);
panelBar1.setCloseWindow("close"); } public void beforeShowLoad() { super.beforeShowLoad(); this.centerWindow(); /* 系统自动生成,用于lds和dic中的需要参数的dao的初始化装载数据,默认参数填入机构参数,请根据实际情况修改参数*/
DxNormalDataManager dpdicdao = DaoCreator.getNormalDao(this,"dpdicdao"); dpdicdao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); dpdicdao.reloadByDictionary("DPTNAME", "DPTID"); DxNormalDataManager yztlxdic = DaoCreator.getNormalDao(this,"yztlxdic"); yztlxdic.reloadByDictionary("MC", "BH"); DxNormalDataManager hzinfozyfwdic = DaoCreator.getNormalDao(this,"hzinfozyfwdic"); hzinfozyfwdic.reloadByDictionary("MC", "BH"); DxNormalDataManager zyzcyyfPopDao = DaoCreator.getNormalDao(this,"zyzcyyfPopDao"); zyzcyyfPopDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID(),"%","%","%"}); zyzcyyfPopDao.reload(); DxNormalDataManager yyzylcDic = DaoCreator.getNormalDao(this,"yyzylcDic"); yyzylcDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); yyzylcDic.reload(); DxNormalDataManager ypzyylDao = DaoCreator.getNormalDao(this,"ypzyylDao"); ypzyylDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); ypzyylDao.reload(); DxNormalDataManager zyzcypcPopDao = DaoCreator.getNormalDao(this,"zyzcypcPopDao"); zyzcypcPopDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID(),"%","%","%"}); zyzcypcPopDao.reload(); DxNormalDataManager gzzZcyJxTypeDao = DaoCreator.getNormalDao(this,"gzzZcyJxTypeDao"); gzzZcyJxTypeDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); gzzZcyJxTypeDao.reload(); //医嘱大类 DxNormalDataManager hisyzdldao=DaoCreator.getNormalDao(this,"hisyzdldao"); hisyzdldao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); hisyzdldao.reloadByDictionary("MC", "BH"); DxNormalDataManager yyyfDic = DaoCreator.getNormalDao(this,"yyyfDic"); yyyfDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); yyyfDic.reloadByDictionary("MC", "BM"); DxNormalDataManager jgrydicdao = DaoCreator.getNormalDao(this,"jgrydicdao"); jgrydicdao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); jgrydicdao.reloadByDictionary("NAME", "USERACCOUNT"); DxNormalDataManager hisyzxdic = DaoCreator.getNormalDao(this,"hisyzxdic"); hisyzxdic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); hisyzxdic.reloadByDictionary("MC", "BM"); DxNormalDataManager yylcDic = DaoCreator.getNormalDao(this,"yylcDic"); yylcDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); yylcDic.reloadByDictionary("MC", "BM"); DxNormalDataManager dwdicdao = DaoCreator.getNormalDao(this,"dwdicdao"); dwdicdao.reloadByDictionary("MC", "BH"); DxNormalDataManager yypcDic = DaoCreator.getNormalDao(this,"yypcDic"); yypcDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); yypcDic.reloadByDictionary("MC", "BM"); DxNormalDataManager sfgcdicdao = DaoCreator.getNormalDao(this,"sfgcdicdao"); sfgcdicdao.reload(); DxNormalDataManager sfdao = DaoCreator.getNormalDao(this,"sfdao"); sfdao.reloadByDictionary("MC", "BH"); //医嘱子类 DxNormalDataManager hisyzzldao=DaoCreator.getNormalDao(this,"hisyzzldao"); hisyzzldao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()}); hisyzzldao.reloadByDictionary("MC", "BH"); DxDataGridPopGridTextCell cell = (DxDataGridPopGridTextCell) dbgrid2.getColumn("YZMC").getCellRender(); cell.addColumnDictionary("YZZL", hisyzzldao); cell.addColumnDictionary("YZDW", dwdicdao); cell.addColumnDictionary("JBDW", dwdicdao); cell.addColumnDictionary("DPTID", dpdicdao); cell.addColumnDictionary("LMT_USED_FLAG", sfdao);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save