SPMMO16301_예약처방진단덤프.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>진단없는 처방 진단 덤프</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <cond1/>
  11. <cond2/>
  12. <todd>
  13. </todd>
  14. <mode>ACT</mode>
  15. </send>
  16. <result/>
  17. <main>
  18. <instcd/>
  19. </main>
  20. <otpt>
  21. <otptlist>
  22. <status/>
  23. <instcd/>
  24. <pid/>
  25. <cretno/>
  26. <orddd/>
  27. <orddeptcd/>
  28. <orddrid/>
  29. <actorddd/>
  30. <actcretno/>
  31. </otptlist>
  32. </otpt>
  33. </root>
  34. </instance>
  35. <bind id="bind1" ref="/root/ersympresn/ersympresnlist/resnnm" readonly="/root/init/prcp = &quot;Y&quot;"/>
  36. <bind id="bind2" ref="/root/ersympresn/ersympresnlist/erclscd" readonly="/root/init/prcp = &quot;Y&quot;"/>
  37. <bind id="bind3" ref="/root/ersympresn/ersympresnlist/payflagcd" readonly="/root/init/prcp = &quot;Y&quot;"/>
  38. <bind id="bind4" ref="/root/ersympresn/ersympresnlist/ersympresnabbr" readonly="/root/init/prcp = &quot;Y&quot;"/>
  39. <submission id="TRMMO16301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/otpt"/>
  40. <submission id="TXMMO16301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
  41. </model>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. model.setValue("/root/send/cond1", getCurrentDate());
  45. model.setValue("/root/send/todd", getCurrentDate());
  46. model.setValue("/root/main/instcd", getUserInfo("dutplceinstcd"))
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. </xhtml:head>
  56. <xhtml:body guideline="2,783;">
  57. <caption id="caption18" class="tit_2" style="left:12px; top:5px; width:152px; height:14px; ">
  58. <![CDATA[예약처방 진단덤프]]>
  59. <script type="javascript" ev:event="ondblclick">
  60. <![CDATA[
  61. // setParameter ( "SMMMB00500_formrecseq", "800000000326104" );
  62. // modal ( "SMMMB00500" );
  63. ]]>
  64. </script>
  65. </caption>
  66. <button id="button37" class="btn2_letter2" style="left:354px; top:3px; width:42px; height:19px; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="onclick">
  69. <![CDATA[
  70. submit ( "TRMMO16301" );
  71. ]]>
  72. </script>
  73. </button>
  74. <button id="button2" class="btn5_letter2" style="left:400px; top:3px; width:42px; height:19px; ">
  75. <caption>저장</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. var savedata = model.instances(0).selectNodes( "/root/otpt/otptlist" );
  79. model.setValue ( "/root/send/cond2", getNodeListCSV(savedata));
  80. submit ( "TXMMO16301", false );
  81. submit ( "TRMMO16301" );
  82. model.setValue ( "/root/send/cond2", "");
  83. ]]>
  84. </script>
  85. </button>
  86. <line id="line5" class="line_1" style="x1:7px; y1:25px; x2:585px; y2:25px; "/>
  87. <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; ">
  88. <col checkvalue="Y,N" ref="status" type="checkbox" style="text-align:center; "/>
  89. <col ref="instcd"/>
  90. <col ref="pid"/>
  91. <col ref="cretno" style="text-align:left; "/>
  92. <col ref="orddd" style="text-align:center; "/>
  93. <col ref="orddeptcd"/>
  94. <col ref="orddrid"/>
  95. <col ref="actorddd"/>
  96. <col ref="actcretno"/>
  97. </datagrid>
  98. <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; ">
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. //model.setValue("/root/send/todd", model.getValue("/root/send/cond1"));
  102. //model.refresh();
  103. //submit ( "TRMMO16301" );
  104. ]]>
  105. </script>
  106. </input>
  107. <button id="button1" class="btn2_letter3" style="left:446px; top:3px; width:53px; height:19px; ">
  108. <caption>EXCEL</caption>
  109. <script type="javascript" ev:event="onclick">
  110. <![CDATA[
  111. var fileName = window.fileDialog("save", ",", false, model.getValue ( "/root/send/cond1" ) + "_진단없는처방수진정보", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  112. if (fileName != "")
  113. {
  114. datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", false);
  115. }
  116. ]]>
  117. </script>
  118. </button>
  119. <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; "/>
  120. <caption id="caption1" style="left:506px; top:3px; width:40px; height:20px; ">서버 :</caption>
  121. <input id="input1" ref="/root/send/todd" class="input_search" inputtype="date" style="left:256px; top:3px; width:90px; height:19px; text-align:center; ">
  122. <script type="javascript" ev:event="xforms-value-changed">
  123. <![CDATA[
  124. //submit ( "TRMMO16301" );
  125. ]]>
  126. </script>
  127. </input>
  128. <caption id="caption2" style="left:245px; top:4px; width:10px; height:20px; ">-</caption>
  129. </xhtml:body>
  130. </xhtml:html>