SMSMV00100_세분변수조회.xrw 11 KB

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