SMDRP00300_보고서-진료카드 발급 에러이력.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <msg>
  12. <eqmpos/>
  13. <errspec/>
  14. <genrdd/>
  15. <genrtm/>
  16. </msg>
  17. </list>
  18. </main>
  19. <send>
  20. <issdds/>
  21. <issdde/>
  22. <eqmpos/>
  23. </send>
  24. <properties>
  25. <error>
  26. <msg/>
  27. </error>
  28. </properties>
  29. <temp/>
  30. <init>
  31. <eqmset>
  32. <itemlist>
  33. <eqmpos/>
  34. <issno/>
  35. </itemlist>
  36. </eqmset>
  37. </init>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. model.setValue("/root/send/issdds", getCurrentDate());
  43. model.setValue("/root/send/issdde", getCurrentDate());
  44. submit("TRDRP00102");
  45. addComboItem( "cmb_search");
  46. model.removeNodeset("/root/main/list/msg");
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <submission id="TRDRP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/eqmset"/>
  51. <submission id="TRDRP00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  56. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. </xhtml:head>
  59. <xhtml:body guideline="1,1194;1,1195;2,33;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  61. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">보고서 - 진료카드 발급 에러이력</caption>
  62. </group>
  63. <group id="group3" style="left:0px; top:13px; width:1195px; height:767px; ">
  64. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  65. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <button id="button1" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. var issddsDate = input11.value;
  71. var issddeDate = input12.value;
  72. if(issddsDate>issddeDate){
  73. messageBox("조회 하고자 하는 발급일자를 제대로", "C001");
  74. }else if(issddsDate.length<8 | issddeDate.length<8){
  75. messageBox("조회하고자 하는 발급 일자를 제대로", "C001");
  76. }else{
  77. submit("TRDRP00301");
  78. }
  79. ]]>
  80. </script>
  81. </button>
  82. <caption id="caption5" class="search_name" style="left:5px; top:11px; width:84px; height:17px; ">발급일자</caption>
  83. <select1 id="cmb_search" ref="/root/send/eqmpos" class="combo_search" appearance="minimal" style="left:420px; top:10px; width:140px; height:19px; ">
  84. <choices>
  85. <itemset nodeset="/root/init/eqmset/itemlist">
  86. <label ref="eqmpos"/>
  87. <value ref="issno"/>
  88. </itemset>
  89. </choices>
  90. </select1>
  91. <caption id="caption4" class="search_name" style="left:325px; top:11px; width:100px; height:17px; vertical-align:middle; ">발급장비명</caption>
  92. <input id="input11" ref="/root/send/issdds" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:10px; width:100px; height:19px; "/>
  93. <input id="input12" ref="/root/send/issdde" class="input_s_essential" editable="true" inputtype="date" format="yyyy-mm-dd" style="left:210px; top:10px; width:100px; height:19px; "/>
  94. <line id="line2" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  95. <caption id="caption7" class="search_no_b" style="left:195px; top:10px; width:15px; height:17px; ">~</caption>
  96. </group>
  97. <caption id="caption2" class="tit_2" style="left:5px; top:60px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">발급 에러이력 리스트</caption>
  98. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  99. <datagrid id="grd_scrnlist" nodeset="/root/main/list/msg" caption="발급장비명^에러내용^발급일^발급시간" colsep="^" colwidth="142, 759, 117, 119" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:80px; width:1194px; height:660px; ">
  100. <col explorerbar="sortshowmove" ref="eqmpos" style="text-align:center; "/>
  101. <col explorerbar="sortshowmove" ref="errspec" style="text-align:center; "/>
  102. <col explorerbar="sortshowmove" ref="genrdd" format="yyyy-mm-dd" style="text-align:center; "/>
  103. <col explorerbar="sortshowmove" ref="genrtm" format="hh:nn:ss" style="text-align:center; "/>
  104. </datagrid>
  105. <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1127px; top:745px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  106. <caption>초기화</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. model.reset();
  110. model.refresh();
  111. ]]>
  112. </script>
  113. </button>
  114. <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1130px; top:55px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  115. <caption>엑셀저장</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. var dataYn = model.getValue("/root/main/list/msg["+1+"]/eqmpos");
  119. if(dataYn == ""){
  120. messageBox("조회된 ", "E013");
  121. return;
  122. }else{
  123. var fileName = window.fileDialog("save",",",false,"보고서-진료카드 발급 에러이력","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  124. }
  125. if(fileName !=""){
  126. grd_scrnlist.saveExcel(fileName);
  127. }
  128. ]]>
  129. </script>
  130. </button>
  131. </group>
  132. </xhtml:body>
  133. </xhtml:html>