123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>진단없는 처방 진단 덤프</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <cond1/>
- <cond2/>
- <todd>
- </todd>
- <mode>ACT</mode>
- </send>
- <result/>
- <main>
- <instcd/>
- </main>
- <otpt>
- <otptlist>
- <status/>
- <instcd/>
- <pid/>
- <cretno/>
- <orddd/>
- <orddeptcd/>
- <orddrid/>
- <actorddd/>
- <actcretno/>
- </otptlist>
- </otpt>
- </root>
- </instance>
- <bind id="bind1" ref="/root/ersympresn/ersympresnlist/resnnm" readonly="/root/init/prcp = "Y""/>
- <bind id="bind2" ref="/root/ersympresn/ersympresnlist/erclscd" readonly="/root/init/prcp = "Y""/>
- <bind id="bind3" ref="/root/ersympresn/ersympresnlist/payflagcd" readonly="/root/init/prcp = "Y""/>
- <bind id="bind4" ref="/root/ersympresn/ersympresnlist/ersympresnabbr" readonly="/root/init/prcp = "Y""/>
- <submission id="TRMMO16301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/otpt"/>
- <submission id="TXMMO16301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/cond1", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- model.setValue("/root/main/instcd", getUserInfo("dutplceinstcd"))
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,783;">
- <caption id="caption18" class="tit_2" style="left:12px; top:5px; width:152px; height:14px; ">
- <![CDATA[예약처방 진단덤프]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // setParameter ( "SMMMB00500_formrecseq", "800000000326104" );
- // modal ( "SMMMB00500" );
-
- ]]>
- </script>
- </caption>
- <button id="button37" class="btn2_letter2" style="left:354px; top:3px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- submit ( "TRMMO16301" );
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter2" style="left:400px; top:3px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var savedata = model.instances(0).selectNodes( "/root/otpt/otptlist" );
- model.setValue ( "/root/send/cond2", getNodeListCSV(savedata));
- submit ( "TXMMO16301", false );
- submit ( "TRMMO16301" );
- model.setValue ( "/root/send/cond2", "");
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:7px; y1:25px; x2:585px; y2:25px; "/>
- <datagrid id="datagrid1" nodeset="/root/otpt/otptlist" autoresize="true" caption="^INSTCD^PID^CRETNO^ORDDD^ORDDEPTCD^ORDDRID^ACTORDDD^ACTCRETNO" colsep="^" colwidth="38, 50, 57, 55, 55, 80, 60, 72, 76" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:7px; top:29px; width:578px; height:752px; word-wrap:word; ">
- <col checkvalue="Y,N" ref="status" type="checkbox" style="text-align:center; "/>
- <col ref="instcd"/>
- <col ref="pid"/>
- <col ref="cretno" style="text-align:left; "/>
- <col ref="orddd" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="actorddd"/>
- <col ref="actcretno"/>
- </datagrid>
- <input id="cmb_bfprcpdd" ref="/root/send/cond1" class="input_search" inputtype="date" style="left:155px; top:3px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //model.setValue("/root/send/todd", model.getValue("/root/send/cond1"));
- //model.refresh();
- //submit ( "TRMMO16301" );
- ]]>
- </script>
- </input>
- <button id="button1" class="btn2_letter3" style="left:446px; top:3px; width:53px; height:19px; ">
- <caption>EXCEL</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, model.getValue ( "/root/send/cond1" ) + "_진단없는처방수진정보", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/instcd" class="output_fix" style="left:540px; top:3px; width:43px; height:19px; font-weight:bold; text-align:center; "/>
- <caption id="caption1" style="left:506px; top:3px; width:40px; height:20px; ">서버 :</caption>
- <input id="input1" ref="/root/send/todd" class="input_search" inputtype="date" style="left:256px; top:3px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //submit ( "TRMMO16301" );
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:245px; top:4px; width:10px; height:20px; ">-</caption>
- </xhtml:body>
- </xhtml:html>
|