º¹¾à»ó´ã Åë°è
<inreplcnt/> <inreplpatcnt/> <innonreplcnt/> <innonreplpatcnt/> <inexeccnt/> <inpatcnt/> <inprcpcnt/> <outreplcnt/> <outreplpatcnt/> <outnonreplcnt/> <outnonreplpatcnt/> <outexeccnt/> <outpatcnt/> <outprcpcnt/> </item> </statslist> </main> <send> <srchfromdd/> <srchtodd/> <srchchosflag/> <srchstattype1/> <srchstattype2/> <srchwardcd/> <srchcdgrupid/> <formflag1>1</formflag1> <formflag2/> <srchdeptcd/> <srchdrid/> <deptinfo> <deptflag/> </deptinfo> <baseinfo> <spcldrug/> <efcycd/> </baseinfo> <srchdrugcd/> </send> <init> <baseinfo> <tmedcnst> <A0036/> </tmedcnst> </baseinfo> </init> <hidden> <srchinfo> <wardcd/> <wardnm/> </srchinfo> <baseinfo> <spcldrug> <A0006/> </spcldrug> </baseinfo> <receivedrugcd>/root/temp/drugcd</receivedrugcd> <orddept> <dept/> </orddept> <receiveefcy>/root/send/baseinfo/efcycd</receiveefcy> <srchTmed> <TMED> <cdid/> <cdnm/> </TMED> </srchTmed> </hidden> <temp> <srchinfo> <ward/> </srchinfo> <receivedata> <receiveref/> <srchflag/> <srchcnts/> <drugkind/> </receivedata> <drugcd/> </temp> </root> </instance> <script type="javascript" src="../../../com/commonweb/js/common.js"/> <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/> <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/> <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/> <script type="javascript" src="../../../ast/commonweb/js/AST.js"/> <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/> <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ //º¹¾à±¸ºÐ //model.removenode("/root/hidden/srchTmed/TMED"); //pharmacyGetCodeList( new Array("TMED"), new Array("/root/hidden/srchTmed") ); //aezfSetSuppDeptcd(); // Áø·á°ú/Áø·áÀÇ Á¶È¸ submit("TRPMOCOM01"); astfAddCombo("/root/init", "orddeptcd", "cd,nm", ",Àüü"); //º´µ¿ Combo Á¶È¸ model.setValue("/root/send/deptinfo/deptflag", "W"); submit("TRADT10203"); astfAddCombo("/root/hidden/deptlist", "ward", "wardcd,wardnm", "T,Àüü"); // // Áø·á°ú¼¼ÆÃ // zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/hidden/orddept"); //ºÎ¼­ÄÚµå ÄÞº¸Á¶È¸ // if ( model.instances(0).selectSingleNode("/root/hidden/orddept/dept") != null) { // astfAddCombo("/root/hidden/orddept","dept","deptcd,depthngnm",",Àüü"); // } // 2011.03.17 pymi º¹¾à»ó´ã model.makeNode("/root/init/baseinfo/tmedcnst/A0036") ; submit("TRADB00109"); astfAddCombo("/root/init/baseinfo/tmedcnst", "A0036", "cdid,cdnm", "T,Àüü"); // (e) var rdo_children = rdo_formcd.children; rdo_children.item(1).attribute("disable") = true; model.setValue("/root/send/srchfromdd", getNewDate().getAddDate(-7, "D").getDateFormat("YYYYMMDD")); model.setValue("/root/send/srchtodd", getCurrentDate()); model.setValue("/root/send/srchchosflag", "A"); model.setValue("/root/send/srchstattype1", "1"); model.setValue("/root/send/srchstattype2", "1"); rexObj = makeReportPreview(0,106,1195,634); // fCtrlDataSheet(); chk_chosflag.visible = false; model.refresh(); ]]> </script> <submission id="TRADB00001"/> <submission id="TRZBC00101"/> <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRADS01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/> <submission id="TRADT10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/> <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/> <submission id="TRADS01604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statslist"/> <submission id="TRADS01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statslist"/> <submission id="TRADS01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statslist"/> <submission id="TRADB00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/baseinfo/tmedcnst"/> </model> <script type="javascript"> <![CDATA[ // var rexObj; // function fCtrlDataSheet() { // var selectVal = model.getValue("/root/send/srchstattype1"); // if (selectVal == "1") { // removeReportPreview(rexObj); // grd_replDaily.visible = true; // } else { // makeReportPreview(0,106,1195,634, rexObj); // grd_replDaily.visible = false; // } // } ]]> </script> </xhtml:head> <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; "> <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; "> <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">º¹¾à»ó´ã Åë°è</caption> </group> <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; "> <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/> <group id="group1" style="left:0px; top:10px; width:1195px; height:85px; vertical-align:top; "> <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/> <line id="line2" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:76px; "/> <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:29px; width:56px; height:22px; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var chkVal1 = model.getValue("/root/send/srchstattype1"); var chkVal2 = model.getValue("/root/send/srchstattype2"); if (chkVal1 == "1") { if (submit("TRADS01601")) { if (chkVal2 == "1") { exeReportPreview("RPADS01601", "XMLSTR", "/root/main/statslist/item"); } else if (chkVal2 == "2") { exeReportPreview("RPADS01602", "XMLSTR", "/root/main/statslist/item"); } } } else if (chkVal1 == "2") { if (submit("TRADS01602")) { if (chkVal2 == "1") { exeReportPreview("RPADS01603", "XMLSTR", "/root/main/statslist/item"); } else if (chkVal2 == "2") { exeReportPreview("RPADS01604", "XMLSTR", "/root/main/statslist/item"); } } } else if (chkVal1 == "3") { if (submit("TRADS01603")) { if (chkVal2 == "1") { exeReportPreview("RPADS01605", "XMLSTR", "/root/main/statslist/item"); } else if (chkVal2 == "2") { exeReportPreview("RPADS01606", "XMLSTR", "/root/main/statslist/item"); } } } else if (chkVal1 == "4") { if (submit("TRADS01604")) { if (chkVal2 == "1") { exeReportPreview("RPADS01607", "XMLSTR", "/root/main/statslist/item"); } else if (chkVal2 == "2") { exeReportPreview("RPADS01608", "XMLSTR", "/root/main/statslist/item"); } } } ]]> </script> </button> <caption id="caption2" class="search_name" style="left:15px; top:15px; width:86px; height:17px; ">ÀÏÀÚ :</caption> <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:110px; top:15px; width:100px; height:19px; "/> <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:228px; top:15px; width:100px; height:19px; "/> <caption id="caption5" class="search_no_b" style="left:213px; top:15px; width:12px; height:17px; ">~</caption> <select1 id="combo1" ref="/root/send/srchcdgrupid" class="combo_search" appearance="minimal" style="left:110px; top:54px; width:195px; height:19px; "> <choices> <itemset nodeset="/root/init/baseinfo/tmedcnst/A0036"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select1> <caption id="caption3" class="search_name" style="left:15px; top:55px; width:86px; height:17px; ">º¹¾à±¸ºÐ :</caption> <caption id="caption4" class="search_name" style="left:620px; top:15px; width:86px; height:17px; ">Åë°è¾ç½Ä :</caption> <select1 id="rdo_formcd" ref="/root/send/srchstattype2" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:710px; top:35px; width:120px; height:20px; border-style:none; "> <choices> <item> <label>ÀÏÀÚº°</label> <value>1</value> </item> <item> <label>¿ùº°</label> <value>2</value> </item> </choices> </select1> <caption id="caption10" class="search_name" style="left:345px; top:55px; width:86px; height:17px; ">Áø·á°ú :</caption> <caption id="caption12" class="search_name" style="left:620px; top:55px; width:80px; height:17px; ">ÀÇ»ç :</caption> <caption id="caption13" class="search_name" style="left:815px; top:55px; width:80px; height:17px; ">º´µ¿ :</caption> <select1 id="cmb_orddept" ref="/root/send/srchdeptcd" class="combo_search" appearance="minimal" style="left:425px; top:55px; width:170px; height:19px; "> <choices> <itemset nodeset="/root/init/orddeptcd"> <label ref="nm"/> <value ref="cd"/> </itemset> </choices> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_orddept.value +"']"; model.setValue("/root/send/srchdrid", ""); cmb_orddr.refresh(); ]]> </script> </select1> <select1 id="cmb_orddr" ref="/root/send/srchdrid" class="combo_search" appearance="minimal" style="left:690px; top:55px; width:100px; height:19px; "> <choices> <itemset nodeset="/root/init/orddrid"> <label ref="nm"/> <value ref="cd"/> </itemset> </choices> </select1> <button id="button4" class="icon_search" style="left:1085px; top:55px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if(chk_ward.visible==true){ chk_ward.visible = false; }else { chk_ward.visible = true; } model.refresh(); ]]> </script> </button> <select1 id="rdo_stattype1" ref="/root/send/srchstattype1" class="radio_search" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:710px; top:15px; width:300px; height:20px; border-style:none; "> <choices> <item> <label>º¹¾à»ó´ã</label> <value>1</value> </item> <item> <label>¾à»çº°</label> <value>2</value> </item> <item> <label>°úº°</label> <value>3</value> </item> <item> <label>Åð¿ø»ó´ã°á°ú</label> <value>4</value> </item> </choices> </select1> <input id="ipt_wardnm" ref="/root/hidden/srchinfo/wardnm" class="input_search" disabled="true" style="left:885px; top:55px; width:196px; height:19px; "/> <select1 id="chk_chosflag" ref="/root/send/srchchosflag" class="radio_search" appearance="full" cols="2" overflow="visible" sep="," style="left:470px; top:15px; width:90px; height:20px; border-style:none; "> <choices> <item> <label>ÀÔ¿ø</label> <value>I</value> </item> <item> <label>¿Ü·¡</label> <value>O</value> </item> </choices> </select1> <select id="chk_ioflagall" ref="/root/send/srchchosflag" overflow="visible" appearance="full" cols="3" style="left:420px; top:15px; width:50px; height:20px; border-style:none; "> <choices> <item> <label>Àüü</label> <value>A</value> </item> </choices> <script type="javascript" ev:event="onclick"> <![CDATA[ var chkType = model.getValue("/root/send/srchchosflag"); if (chkType.indexOf("A") > -1) { model.setValue("/root/send/srchchosflag", "A"); chk_chosflag.visible = false; } else { model.setValue("/root/send/srchchosflag", "I"); chk_chosflag.visible = true; chk_chosflag.refresh(); } ]]> </script> </select> <caption id="caption7" class="search_name" style="left:346px; top:15px; width:70px; height:17px; ">±¸ ºÐ :</caption> </group> <select id="chk_ward" ref="/root/send/srchwardcd" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="8" direction="downacross" sep="," style="left:360px; top:40px; width:205px; height:15px; background-color:#e5eae9; border-style:none; "> <choices> <itemset nodeset="/root/hidden/deptlist/ward"> <label ref="wardnm"/> <value ref="wardcd"/> </itemset> </choices> <script type="javascript" ev:event="onclick"> <![CDATA[ var tmpVal = model.getValue("/root/send/srchwardcd"); var wardCode = ""; if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0 ){ if (tmpVal.indexOf("T") > -1) { var wardCnt = model.getXPathValue("count(/root/hidden/deptlist/ward)"); for (var i = 1; i <= wardCnt; i++) { wardCode += model.getValue("/root/hidden/deptlist/ward["+i+"]/wardcd")+","; } } model.setValue("/root/send/srchwardcd", wardCode); chk_ward.refresh(); } if (tmpVal.indexOf("T") > -1 ){ ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length); } else { ipt_wardnm.value = chk_ward.label; } // if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){ ]]> </script> </select> </group> <button id="button2" class="icon_search" visibility="hidden" style="left:531px; top:760px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ model.setValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd")); model.setValue("/root/temp/receivedata/srchflag", ""); model.setValue("/root/temp/receivedata/srchcnts", ""); model.setValue("/root/temp/receivedata/drugkind",""); // ¾àǰÄÚµå °Ë»ö modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata"); var drugcd = model.getValue("/root/send/srchdrugcd"); var getcd = model.getValue("/root/temp/drugcd"); if (getcd == "") { model.setValue("/root/send/srchdrugcd"); } else { if (drugcd == "") { model.setValue("/root/send/srchdrugcd", getcd); } else { model.setValue("/root/send/srchdrugcd", getcd+","+drugcd); } } ipt_srchdrugcd.refresh(); ]]> </script> </button> <input id="ipt_srchdrugcd" ref="/root/send/srchdrugcd" class="input_search" visibility="hidden" style="left:330px; top:760px; width:196px; height:19px; "/> <caption id="caption8" class="search_name" visibility="hidden" style="left:236px; top:760px; width:86px; height:17px; ">ƯÁ¤ÄÚµå :</caption> </xhtml:body> </xhtml:html>