SSZSN00100_공지사항목록조회.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <SSZSN00100>
  11. <cond>
  12. <fromdd_t/>
  13. <todd_t/>
  14. </cond>
  15. <noticeinfo>
  16. <noticelist>
  17. <useyn/>
  18. <genrdd/>
  19. <genrno/>
  20. <delyn/>
  21. <ntcflag/>
  22. <targetflag/>
  23. <ntctrgtjobkind/>
  24. <fromdd/>
  25. <todd/>
  26. <ntcsubject/>
  27. <ntccnts/>
  28. <attyn/>
  29. <attfilenm/>
  30. <hitcount/>
  31. <fstrgstrid/>
  32. <fstrgstdt/>
  33. <lastupdtrid/>
  34. <lastupdtdt/>
  35. </noticelist>
  36. <result>
  37. <genrdd/>
  38. <genrno/>
  39. </result>
  40. </noticeinfo>
  41. </SSZSN00100>
  42. </main>
  43. <send>
  44. <fromdd_t/>
  45. <todd_t/>
  46. <offset>0</offset>
  47. <pagesize>17</pagesize>
  48. </send>
  49. <init>
  50. </init>
  51. <hidden>
  52. <comcd/>
  53. <msg/>
  54. </hidden>
  55. </root>
  56. </instance>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. zsnfInitialize();
  60. ]]>
  61. </script>
  62. <submission id="TRZSN00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/SSZSN00100/noticeinfo/noticelist"/>
  63. </model>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../com/noticeinfoweb/js/ZSN001.js"/>
  67. <script type="javascript" src="../../../com/noticeinfoweb/js/SSZSN00100.js"/>
  68. </xhtml:head>
  69. <xhtml:body pagewidth="799" pageheight="390" guideline="1,1360;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  70. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:799px; height:35px; "/>
  71. <button id="btn_search" class="btn1_letter2" style="left:715px; top:18px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. zsnGetNoticeList();
  76. ]]>
  77. </script>
  78. </button>
  79. <line id="line1" class="line_4" style="x1:699px; y1:17px; x2:699px; y2:40px; "/>
  80. <input id="ipt_fromdd" ref="/root/main/SSZSN00100/cond/fromdd_t" class="input_search" inputtype="date" format="yyyy-mm-dd" mask="exclude" style="left:95px; top:19px; width:85px; height:19px; "/>
  81. <caption id="caption21" class="search_name" style="left:16px; top:19px; width:79px; height:17px; ">게시일시</caption>
  82. <input id="ipt_todd" ref="/root/main/SSZSN00100/cond/todd_t" class="input_search" inputtype="date" format="yyyy-mm-dd" mask="exclude" style="left:215px; top:20px; width:85px; height:19px; "/>
  83. <caption id="caption1" style="left:190px; top:20px; width:20px; height:20px; ">~</caption>
  84. <datagrid id="grd_notice" nodeset="/root/main/SSZSN00100/noticeinfo/noticelist" scroll="auto" autoresize="true" caption="발생일자^발생번호^긴급여부^공지대상구분^공지대상직종^시작일자^종료일자^제목^내용^첨부^첨부파일명^작성자ID^작성자^게시일시^조회수" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 453, 0, 50, 0, 0, 80, 135, 40" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:799px; height:309px; ">
  85. <col ref="genrdd" style="text-align:center; "/>
  86. <col ref="genrno" style="text-align:center; "/>
  87. <col ref="ntcflag"/>
  88. <col ref="targetflag"/>
  89. <col ref="ntctrgtjobkind"/>
  90. <col ref="fromdd" format="yyyy/mm/dd hh:nn:ss"/>
  91. <col ref="todd" format="yyyy/mm/dd hh:nn:ss"/>
  92. <col ref="ntcsubject"/>
  93. <col ref="ntccnts"/>
  94. <col ref="attyn"/>
  95. <col ref="attfilenm"/>
  96. <col ref="fstrgstrid"/>
  97. <col ref="fstrgstrnm"/>
  98. <col ref="fstrgstdt" format="yyyy/mm/dd hh:nn:ss"/>
  99. <col ref="hitcount" style="text-align:center; "/>
  100. <script type="javascript" ev:event="ondblclick">
  101. <![CDATA[
  102. if (isDataCell() == true) {
  103. var genrdd = model.getValue("/root/main/SSZSN00100/noticeinfo/noticelist[" + grd_notice.row + "]/genrdd");
  104. var genrno = model.getValue("/root/main/SSZSN00100/noticeinfo/noticelist[" + grd_notice.row + "]/genrno");
  105. setParameter("SPZSN00100_genrdd", genrdd);
  106. setParameter("SPZSN00100_genrno", genrno);
  107. modal("SPZSN00100","","","","SPZSN00100","/root/main/SMZSN00100_cond/","/root/main/cond");
  108. model.setValue("/root/send/offset", "0");
  109. zsnGetNoticeList();
  110. }
  111. ]]>
  112. </script>
  113. <script type="javascript" ev:event="onscroll">
  114. <![CDATA[
  115. if(grd_notice.vscroll.attribute("max") == grd_notice.vscroll.attribute("pos")) {
  116. // end of scroll
  117. model.setValue("/root/send/offset", grd_notice.rows-grd_notice.fixedRows); // grid의 header row는 제외
  118. submit("TRZSN00101");
  119. grd_notice.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  120. }
  121. ]]>
  122. </script>
  123. </datagrid>
  124. <caption id="caption2" class="tit_2" style="left:0px; top:55px; width:141px; height:13px; text-align:left; ">공지사항 리스트</caption>
  125. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:799px; y2:70px; "/>
  126. <button id="btn_opennotice" class="btn2_letter6" style="left:711px; top:49px; width:86px; height:19px; ">
  127. <caption>공지사항조회</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. zmsfOpenNoticePopup();
  131. model.setValue("/root/send/offset", "0");
  132. zsnGetNoticeList();
  133. //model.refresh();
  134. ]]>
  135. </script>
  136. </button>
  137. </xhtml:body>
  138. </xhtml:html>