SMSMR00100_REPORT조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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>Report 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <reportlist>
  12. <statsreptcd/>
  13. <deptnm/>
  14. <fstrgstrid/>
  15. <statsreptnm/>
  16. <statsspec/>
  17. <datacolldeptspec/>
  18. <stndagmtyn/>
  19. <histstatcd/>
  20. <kpicd/>
  21. <divvarcd/>
  22. <cretseq/>
  23. </reportlist>
  24. </list>
  25. </main>
  26. <send>
  27. <searchgubun>-</searchgubun>
  28. <searchterm/>
  29. <subjcd/>
  30. <moveitem/>
  31. <fromdd/>
  32. <todd/>
  33. <lastupdtrid/>
  34. </send>
  35. <hidden>
  36. <session/>
  37. <fwdata/>
  38. </hidden>
  39. <temp/>
  40. <init>
  41. <tree>
  42. <item>
  43. <lvl/>
  44. <subjcd/>
  45. <supsubjcd/>
  46. <subjcdnm/>
  47. <lastupdtrid/>
  48. <path/>
  49. </item>
  50. </tree>
  51. <code>
  52. <usergrpcd/>
  53. </code>
  54. </init>
  55. </root>
  56. </instance>
  57. <submission id="TRSOC01000" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/code"/>
  58. <submission id="TRSMR00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="root/main/list"/>
  59. <submission id="TRSMR00102" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/tree/item"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../sts/stsmngtweb/js/sts.js"/>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. //session 정보 세팅을 위한
  68. fGetUserSessionInfo();
  69. // model.setValue("/root/hidden/session/userid", "95031902");
  70. model.setValue("/root/send/lastupdtrid", model.getValue("/root/hidden/session/userid"));
  71. submit("TRSOC01000"); //사용자권한그룹 가져온다.
  72. model.removeNodeset("/root/main/list/reportlist");
  73. model.setAttribute("statsreptcd", "" );
  74. model.setValue("/root/send/searchgubun", "reportnm");
  75. model.setValue("/root/send/moveitem", "R");
  76. fCondtionVisible("/root/send/searchgubun");
  77. submit("TRSMR00102"); //트리세팅
  78. model.refresh();
  79. ]]>
  80. </script>
  81. <script type="javascript" ev:event="onkeypress">
  82. <![CDATA[
  83. if(event.keyCode =="13"){
  84. btn_search.dispatch("DOMActivate");
  85. model.refresh();
  86. }
  87. ]]>
  88. </script>
  89. </xhtml:head>
  90. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  91. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  92. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  93. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  94. <button id="button2" class="btn1_letter2" style="left:850; top:7px; width:56px; height:22px; ">
  95. <caption>조회</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. var searchVal = model.getValue("/root/send/searchgubun");
  99. submit("TRSMR00101");
  100. grd_reportlist.refresh();
  101. model.refresh();
  102. ]]>
  103. </script>
  104. </button>
  105. <select1 id="searchgubun" ref="/root/send/searchgubun" class="combo_s_default" appearance="minimal" style="left:535; top:8px; width:100; height:19px; ">
  106. <choices>
  107. <item>
  108. <label>명 칭</label>
  109. <value>reportnm</value>
  110. </item>
  111. <item>
  112. <label>부 서</label>
  113. <value>suggdept</value>
  114. </item>
  115. <item>
  116. <label>작성자</label>
  117. <value>fstrgstr</value>
  118. </item>
  119. <item>
  120. <label>등록일자</label>
  121. <value>rgstdd</value>
  122. </item>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-select">
  125. <![CDATA[
  126. fCondtionVisible("/root/send/searchgubun");
  127. ]]>
  128. </script>
  129. </select1>
  130. <input id="searchterm" ref="/root/send/searchterm" class="input_search" style="left:640; top:8px; width:150; height:19px; ">
  131. <script type="javascript" ev:event="onkeyup">
  132. <![CDATA[
  133. inputEnterKey("button2", "DOMActivate");
  134. ]]>
  135. </script>
  136. </input>
  137. <caption id="caption2" class="search_name" style="left:445; top:9px; width:100; height:17px; ">조회구분 :</caption>
  138. <input id="ipt_todd" ref="/root/send/todd" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:735px; top:8px; width:90px; height:19px; "/>
  139. <input id="ipt_fromdd" ref="/root/send/fromdd" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:640px; top:8px; width:90px; height:19px; "/>
  140. <output id="opt_subj" ref="/root/init/code/usergrpcd" visibility="hidden" style="left:15px; top:5px; width:40px; height:19px; "/>
  141. </group>
  142. <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:100px; height:14px; ">Report</caption>
  143. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:180px; y2:70px; "/>
  144. <line id="line1" style="x1:840; y1:17px; x2:840; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
  145. <line id="line3" class="line_1" style="x1:184px; y1:70px; x2:1194px; y2:70px; "/>
  146. <datagrid id="grd_reportlist" nodeset="/root/main/list/reportlist" class="datagrid2" caption="Code^부 서^작성자^Report 명^정 의^수집부서^표준화^현재상태^KPI^세분변수^생성순번" colwidth="60, 100, 65, 131, 380, 90, 50, 60, 50, 56, 50" dataheight="25" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:184px; top:75px; width:1009px; height:661px; ">
  147. <col ref="statsreptcd" visibility="visible"/>
  148. <col ref="deptnm"/>
  149. <col ref="fstrgstrid" style="text-align:center; "/>
  150. <col ref="statsreptnm"/>
  151. <col ref="statsspec"/>
  152. <col ref="datacolldeptspec" style="text-align:left; "/>
  153. <col ref="stndagmtyn" style="text-align:center; "/>
  154. <col ref="histstatcd" style="text-align:center; "/>
  155. <col ref="kpicd" style="text-align:center; "/>
  156. <col ref="divvarcd" style="text-align:center; "/>
  157. <col ref="cretseq" visibility="hidden" style="text-align:center; "/>
  158. <script type="javascript" ev:event="ondblclick">
  159. <![CDATA[
  160. if( grd_reportlist.isCell(event.target) && grd_reportlist.row >= grd_reportlist.fixedRows ){
  161. var cur_row = grd_reportlist.row;
  162. model.setAttribute("iParam_new_on_off", "off");
  163. model.makeValue("/root/hidden/fwdata/statsreptcd", model.getvalue("/root/main/list/reportlist["+cur_row+"]/statsreptcd") );
  164. model.makeValue("/root/hidden/fwdata/cretseq", model.getvalue("/root/main/list/reportlist["+cur_row+"]/cretseq") );
  165. model.makeValue("/root/hidden/fwdata/usergrpcd", model.getvalue("/root/init/code/usergrpcd") );
  166. window.load ("SMSMR00200_REPORT등록.xrw","xfm", "", "", "/root/hidden/fwdata", "/root/hidden/prevdata");
  167. }
  168. ]]>
  169. </script>
  170. <script type="javascript" ev:event="onaftersort">
  171. <![CDATA[
  172. grd_reportlist.gridToInstance();
  173. ]]>
  174. </script>
  175. </datagrid>
  176. <treeview id="trv_rept_tree" itemsettype="depth" expanddepth="3" image="../../../com/commonweb/images/icon_folder_close.gif" selectedimage="../../../com/commonweb/images/icon_folder_select.gif" expandedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:75px; width:180px; height:663px; ">
  177. <itemset nodeset="/root/init/tree/item">
  178. <label ref="subjcdnm"/>
  179. <value ref="subjcd"/>
  180. <depth ref="lvl"/>
  181. </itemset>
  182. <script type="javascript" ev:event="onclick">
  183. <![CDATA[
  184. var iRow = trv_rept_tree.mouseRow + 1;
  185. var subjcd = model.getValue("/root/init/tree/item[" + iRow + "]/subjcd");
  186. model.setValue("/root/send/subjcd", subjcd);
  187. model.setValue("/root/send/searchgubun","reportnm");
  188. model.setValue("/root/send/searchterm","");
  189. model.setValue("/root/send/lastupdtrid",model.getValue("/root/hidden/session/userid"));
  190. fCondtionVisible("/root/send/searchgubun");
  191. submit("TRSMR00101", false);
  192. grd_reportlist.refresh();
  193. group2.refresh();
  194. ]]>
  195. </script>
  196. </treeview>
  197. <button id="btn_excel" class="btn2_letter4" style="left:1129px; top:48px; width:64px; height:19px; ">
  198. <caption>엑셀저장</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. var fileName = window.fileDialog("save", ",", false, "Report_list", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  202. if (fileName != "")
  203. {
  204. grd_reportlist.saveExcel(fileName, "grd_reportlist", true, false, "", "", "");
  205. }
  206. ]]>
  207. </script>
  208. </button>
  209. </group>
  210. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">Report List 조회</caption>
  211. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  212. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  213. <caption>초기화</caption>
  214. <script type="javascript" ev:event="DOMActivate">
  215. <![CDATA[
  216. window.reload();
  217. ]]>
  218. </script>
  219. </button>
  220. <button id="btn_new" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
  221. <caption>신규</caption>
  222. <script type="javascript" ev:event="xforms-activate">
  223. <![CDATA[
  224. model.setAttribute("iParam_new_on_off", "on"); //등록화면 저장버튼 비활성화
  225. navigate("SMSMR00200");
  226. ]]>
  227. </script>
  228. </button>
  229. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  230. </group>
  231. <select1 id="radio1" ref="/root/send/moveitem" overflow="visible" appearance="full" rows="1" cols="3" cellspacing="10" style="left:180px; top:58px; width:215px; height:19px; border-style:none; ">
  232. <choices>
  233. <item>
  234. <label>KPI</label>
  235. <value>K</value>
  236. </item>
  237. <item>
  238. <label>세분변수</label>
  239. <value>V</value>
  240. </item>
  241. <item>
  242. <label>Report</label>
  243. <value>R</value>
  244. </item>
  245. </choices>
  246. <script type="javascript" ev:event="onclick">
  247. <![CDATA[
  248. fWindowLoad("/root/send/moveitem");
  249. ]]>
  250. </script>
  251. </select1>
  252. <caption id="caption23" style="left:973px; top:0px; width:217px; height:13px; vertical-align:middle; ">[ * 시스템 문의 : 박종택 (02-590-7891)]</caption>
  253. </xhtml:body>
  254. </xhtml:html>