SMSOC00300_사용자권한관리.xrw 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. <userlist>
  12. <userid/>
  13. <usernm/>
  14. <instcd/>
  15. <instnm/>
  16. <deptcd/>
  17. <deptnm/>
  18. <usergrpcd/>
  19. <lastupdtdt/>
  20. <lastupdtrid/>
  21. </userlist>
  22. </list>
  23. </main>
  24. <send>
  25. <searchterm/>
  26. <searchgubun/>
  27. <lastupdtrid/>
  28. <moveitem/>
  29. <user/>
  30. </send>
  31. <hidden>
  32. <session/>
  33. </hidden>
  34. <temp/>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. model.setValue("/root/send/moveitem", "subreq");
  40. model.setValue("/root/send/searchgubun","name");
  41. model.refresh();
  42. ]]>
  43. </script>
  44. <submission id="TRSOC00300" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list"/>
  45. <submission id="TXSOC00301" ref="/root/send/user" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/temp"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" src="../../../sts/stsmngtweb/js/sts.js"/>
  51. </xhtml:head>
  52. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  53. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  54. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  55. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  56. <caption id="caption2" class="search_name" style="left:445px; top:9px; width:100px; height:17px; ">조회구분 :</caption>
  57. <button id="btn_search" class="btn1_letter2" style="left:850px; top:7px; width:56px; height:22px; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. var searchVal = model.getValue("/root/send/searchgubun");
  62. if(searchVal != ""){
  63. submit("TRSOC00300");
  64. model.refresh();
  65. }
  66. ]]>
  67. </script>
  68. </button>
  69. <select1 id="searchgubun" ref="/root/send/searchgubun" class="combo_s_default" appearance="minimal" style="left:535px; top:8px; width:100px; height:19px; ">
  70. <choices>
  71. <item>
  72. <label>성 명</label>
  73. <value>name</value>
  74. </item>
  75. <item>
  76. <label>부서명</label>
  77. <value>dept</value>
  78. </item>
  79. </choices>
  80. </select1>
  81. <input id="searchterm" ref="/root/send/searchterm" class="input_search" style="left:640px; top:8px; width:150px; height:19px; ">
  82. <script type="javascript" ev:event="onkeyup">
  83. <![CDATA[
  84. inputEnterKey("btn_search", "DOMActivate");
  85. ]]>
  86. </script>
  87. </input>
  88. </group>
  89. <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:100px; height:14px; ">구 분</caption>
  90. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:150px; y2:70px; "/>
  91. <datagrid id="grd_userlist" nodeset="/root/main/list/userlist" caption="^사 번^성 명^기관 코드^기관명^부서 코드^근무지 부서명^권한 그룹^최종 처리일자" colwidth="30, 100, 100, 80, 140, 100, 150, 130, 120" dataheight="25" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:155px; top:75px; width:1039px; height:661px; ">
  92. <col ref="usercheck" type="checkbox"/>
  93. <col ref="userid" style="text-align:center; "/>
  94. <col ref="usernm" style="text-align:center; "/>
  95. <col ref="instcd" style="text-align:center; "/>
  96. <col ref="instnm"/>
  97. <col ref="deptcd" style="text-align:center; "/>
  98. <col ref="deptnm"/>
  99. <col ref="usergrpcd" type="combo" disabled="false" style="text-align:center; ">
  100. <choices>
  101. <item>
  102. <label>관리자</label>
  103. <value>S</value>
  104. </item>
  105. <item>
  106. <label>ITC담당자</label>
  107. <value>T</value>
  108. </item>
  109. <item>
  110. <label>개발자</label>
  111. <value>D</value>
  112. </item>
  113. <item>
  114. <label>일반사용자</label>
  115. <value>R</value>
  116. </item>
  117. </choices>
  118. </col>
  119. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  120. <script type="javascript" ev:event="onaftersort">
  121. <![CDATA[
  122. grd_userlist.gridToInstance();
  123. ]]>
  124. </script>
  125. <script type="javascript" ev:event="xforms-select">
  126. <![CDATA[
  127. if( grd_userlist.col == 0 ){
  128. grd_userlist.addStatus(grd_userlist.row, "update");
  129. }
  130. ]]>
  131. </script>
  132. <script type="javascript" ev:event="xforms-deselect">
  133. <![CDATA[
  134. if( grd_userlist.col == 0 ){
  135. grd_userlist.removeStatus(grd_userlist.row, "update");
  136. }
  137. ]]>
  138. </script>
  139. </datagrid>
  140. <line id="line1" style="x1:840px; y1:17px; x2:840px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
  141. <line id="line3" class="line_1" style="x1:155px; y1:70px; x2:1195px; y2:70px; "/>
  142. <select1 id="radio1" ref="/root/send/moveitem" overflow="visible" appearance="full" rows="3" cols="1" cellspacing="10" vcellspacing="50" style="left:5px; top:78px; width:140px; height:195px; font-size:14pt; font-weight:bold; border-style:none; ">
  143. <choices>
  144. <item>
  145. <label>변경신청 조회/회신</label>
  146. <value>uptreq</value>
  147. </item>
  148. <item>
  149. <label>사용자 권한관리</label>
  150. <value>subreq</value>
  151. </item>
  152. </choices>
  153. <script type="javascript" ev:event="onclick">
  154. <![CDATA[
  155. fWindowLoad2("/root/send/moveitem");
  156. ]]>
  157. </script>
  158. </select1>
  159. </group>
  160. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">사용자 권한 관리</caption>
  161. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  162. <button id="button3" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  163. <caption>초기화</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. window.reload();
  167. ]]>
  168. </script>
  169. </button>
  170. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  171. <button id="btn_delete" class="btn4_letter2" style="left:1069px; top:3px; width:56px; height:22px; ">
  172. <caption>저장</caption>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. model.setValue("/root/send/lastupdtrid", model.getValue("/root/hidden/session/userid") );
  176. model.setValue("/root/send/user", grd_userlist.getUpdateData());
  177. var rslt = submit("TXSOC00301");
  178. if (rslt) {
  179. model.alert("내역이 저장되었습니다.");
  180. }else{
  181. model.alert("저장에 실패하였습니다.");
  182. }
  183. ]]>
  184. </script>
  185. </button>
  186. </group>
  187. </xhtml:body>
  188. </xhtml:html>