SPMMO16300_진단없는처방진단덤프.xrw 5.6 KB

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