SMDRE00200_보고서-직원카드 발급 에러이력.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. submit("TRDRE00102");
  43. // 당일날짜 세팅
  44. model.setValue("/root/send/issdds", getCurrentDate());
  45. model.setValue("/root/send/issdde", getCurrentDate());
  46. model.removeNodeset("/root/main/list/msg");
  47. addComboItem("cmb_eqmpos");
  48. model.refresh();
  49. ]]>
  50. </script>
  51. <submission id="TRDRE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/eqmset"/>
  52. <submission id="TRDRE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  53. </model>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  57. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. </xhtml:head>
  60. <xhtml:body guideline="1,1194;1,1195;2,33;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">보고서 - 직원카드 발급 에러이력</caption>
  63. </group>
  64. <group id="group3" style="left:0px; top:13px; width:1195px; height:767px; ">
  65. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  66. <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; "/>
  67. <button id="button1" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. var issddsDate = input11.value;
  72. var issddeDate = input12.value;
  73. if(issddsDate>issddeDate){
  74. messageBox("조회 하고자 하는 발급일자를 제대로", "C001");
  75. }else if(issddsDate.length<8 | issddeDate.length<8){
  76. messageBox("조회하고자 하는 발급 일자를 제대로", "C001");
  77. }else{
  78. submit("TRDRE00201");
  79. }
  80. ]]>
  81. </script>
  82. </button>
  83. <caption id="caption5" class="search_name" style="left:5px; top:11px; width:84px; height:17px; ">발급일자</caption>
  84. <select1 id="cmb_eqmpos" ref="/root/send/eqmpos" class="combo_search" appearance="minimal" style="left:415px; top:10px; width:115px; height:19px; ">
  85. <choices>
  86. <itemset nodeset="/root/init/eqmset/itemlist">
  87. <label ref="eqmpos"/>
  88. <value ref="issno"/>
  89. </itemset>
  90. </choices>
  91. </select1>
  92. <caption id="caption4" class="search_name" style="left:320px; top:11px; width:100px; height:17px; vertical-align:middle; ">발급장비명</caption>
  93. <input id="input11" ref="/root/send/issdds" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:85px; top:10px; width:100px; height:19px; "/>
  94. <input id="input12" ref="/root/send/issdde" class="input_s_essential" editable="true" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:10px; width:100px; height:19px; "/>
  95. <line id="line2" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  96. <caption id="caption8" class="search_no_b" style="left:185px; top:10px; width:15px; height:17px; ">~</caption>
  97. </group>
  98. <caption id="caption2" class="tit_2" style="left:5px; top:60px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">발급 에러이력 리스트</caption>
  99. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  100. <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:75px; width:1194px; height:665px; ">
  101. <col explorerbar="sortshowmove" ref="eqmpos" style="text-align:center; "/>
  102. <col explorerbar="sortshowmove" ref="errspec" style="text-align:center; "/>
  103. <col explorerbar="sortshowmove" ref="genrdd" format="yyyy-mm-dd" style="text-align:center; "/>
  104. <col explorerbar="sortshowmove" ref="genrtm" format="hh:nn:ss" style="text-align:center; "/>
  105. </datagrid>
  106. <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1126px; top:745px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  107. <caption>초기화</caption>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. model.reset();
  111. model.refresh();
  112. ]]>
  113. </script>
  114. </button>
  115. <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; ">
  116. <caption>엑셀저장</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. var dataYn = model.getValue("/root/main/list/msg["+1+"]/eqmpos");
  120. if(dataYn == ""){
  121. messageBox("조회된 ", "E013");
  122. return;
  123. }else{
  124. var fileName = window.fileDialog("save",",",false,"보고서-직원카드 발급 에러이력","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  125. }
  126. if(fileName !=""){
  127. grd_scrnlist.saveExcel(fileName);
  128. }
  129. ]]>
  130. </script>
  131. </button>
  132. </group>
  133. </xhtml:body>
  134. </xhtml:html>