123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <?xml version="1.0" encoding="utf-8"?>
- <Script type="xscript4.0"><![CDATA[function fInit()
- {
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
- ds_main_patinfo_patlist.clearData();
- //model.removenode('/root/hidden');
- ds_cond.clearData();
- ds_cond.addRow();
-
- dsf_createDsRow("ds_send_reqdata", [{col:"cdgrupid", type:"STRING", size:256 , val : "094"}
- , {col:"cdid", type:"STRING", size:256 , val : ""}
- , {col:"supcdid", type:"STRING", size:256 , val : ""}
- , {col:"cdnm", type:"STRING", size:256 , val : ""}]);
- var oParam = {};
- oParam.id = "TRMNP04903";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetOpCommonCd";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_init_hardcodeinfo=hardcodeinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP04903";
- tranf_submit(oParam);
-
- frmf_addComboItem("grp_sea.cmb_spcl","전 체","","above");
- grp_sea.cmb_spcl.index = 0;
-
- ds_cond.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_cond.setColumn(0, "todd", utlf_getCurrentDate());
- ds_cond.setColumn(0, "rdocond", "1");
- }
- function fSaveExcel()
- {
- grdf_exportExcel(grd_patlist, "", "", false, "", "", false);
- }
- function fSearch()
- {
- var wardcd = ds_cond.getColumn(0, "wardcd");
- var fromdd = ds_cond.getColumn(0, "fromdd");
- var todd = ds_cond.getColumn(0, "todd");
- var rdocond = ds_cond.getColumn(0, "rdocond");
- if(utlf_isNull(fromdd) || fromdd == "")
- {
- fromdd = utlf_getCurrentDate();
- }
- if(utlf_isNull(todd) || todd == "")
- {
- todd = utlf_getCurrentDate();
- }
- ds_cond.setColumn(0, "fromdd", fromdd);
- ds_cond.setColumn(0, "todd", todd);
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
-
- dsf_createDsRow("ds_send_reqdata", [{col:"wardcd", type:"STRING", size:256 , val : wardcd}
- , {col:"fromdd", type:"STRING", size:256 , val : fromdd}
- , {col:"todd", type:"STRING", size:256 , val : todd}
- , {col:"rdocond", type:"STRING", size:256 , val : rdocond}]);
-
- var oParam = {};
- oParam.id = "TRMNP00731";
- oParam.service = "opanstapp.OpAnstStocRef";
- oParam.method = "reqGetIcuInOutPatList";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_main_patinfo_patlist=patList";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00731";
- tranf_submit(oParam);
- }
- function cf_TRMNP00731(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- sysf_messageBox('회복환자조회를', 'E009');
- return;
- }
- else
- {
-
- }
- }
- ]]></Script>
|