SPMRD01601_사용자부서선택조회.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet ype="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. </list>
  13. <cond>
  14. <deptflag/>
  15. <userflag/>
  16. <deptval/>
  17. <userval/>
  18. <chkhist/>
  19. </cond>
  20. </main>
  21. </root>
  22. </instance>
  23. <script type="javascript" ev:event="xforms-ready">
  24. <![CDATA[
  25. fInitialize();
  26. ]]>
  27. </script>
  28. <submission id="TRMRD01607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/list"/>
  29. </model>
  30. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript">
  33. <![CDATA[
  34. function fInitialize(){
  35. rdo_dutplce.select(0);
  36. rdo_user.select(0);
  37. }
  38. function fSearchClick(){
  39. model.removeNodeset("/root/main/list/userlist");
  40. submit("TRMRD01607");
  41. model.refresh();
  42. }
  43. ]]>
  44. </script>
  45. </xhtml:head>
  46. <xhtml:body pagewidth="867" pageheight="440" guideline="470;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  47. <group id="group5" scroll="auto" style="left:1px; top:13px; width:850px; height:387px; ">
  48. <group id="group2" style="left:0px; top:2px; width:845px; height:60px; vertical-align:top; ">
  49. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:840px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  50. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">검색조건 :</caption>
  51. <line id="line1" style="x1:760px; y1:8px; x2:760px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  52. <button id="btn_search" class="btn1_letter2" style="left:775px; top:19px; width:56px; height:22px; ">
  53. <caption>조회</caption>
  54. <script type="javascript" ev:event="DOMActivate">
  55. <![CDATA[
  56. if(ipt_search_item.currentText == "" && ipt_dutplcecd.currentText == ""){
  57. messageBox("검색어를 1자이상 ", "C001");
  58. } else {
  59. fSearchClick();
  60. }
  61. ]]>
  62. </script>
  63. </button>
  64. <input id="ipt_search_item" ref="/root/main/cond/userval" class="input_s_essential" imemode="hangul" style="left:330px; top:34px; width:122px; height:19px; ">
  65. <script type="javascript" ev:event="onkeypress">
  66. <![CDATA[
  67. inputEnterKey("btn_search", "DOMActivate");
  68. ]]>
  69. </script>
  70. </input>
  71. <select1 id="rdo_user" ref="/root/main/cond/userflag" class="select" appearance="full" cellspacing="24" cols="2" overflow="visible" style="left:116px; top:34px; width:200px; height:13px; background-color:transparent; border-style:none; ">
  72. <choices>
  73. <item>
  74. <label>사용자명</label>
  75. <value>usernm</value>
  76. </item>
  77. <item>
  78. <label>사용자ID</label>
  79. <value>userid</value>
  80. </item>
  81. </choices>
  82. </select1>
  83. <input id="ipt_dutplcecd" ref="/root/main/cond/deptval" class="input_s_essential" imemode="hangul" style="left:330px; top:8px; width:122px; height:19px; ">
  84. <script type="javascript" ev:event="onkeypress">
  85. <![CDATA[
  86. inputEnterKey("btn_search", "DOMActivate");
  87. ]]>
  88. </script>
  89. </input>
  90. <select1 id="rdo_dutplce" ref="/root/main/cond/deptflag" class="select" appearance="full" cellspacing="24" cols="2" overflow="visible" style="left:116px; top:8px; width:200px; height:13px; background-color:transparent; border-style:none; ">
  91. <choices>
  92. <item>
  93. <label>근무지명</label>
  94. <value>deptnm</value>
  95. </item>
  96. <item>
  97. <label>근무지코드</label>
  98. <value>deptcd</value>
  99. </item>
  100. </choices>
  101. </select1>
  102. <select id="checkbox1" ref="/root/main/cond/chkhist" class="select" overflow="visible" appearance="full" style="left:470px; top:35px; width:150px; height:20px; border-style:none; ">
  103. <choices>
  104. <item>
  105. <label>사용자 근무지 이력 보기</label>
  106. <value>1</value>
  107. </item>
  108. </choices>
  109. </select>
  110. </group>
  111. <caption id="caption9" class="tit_2" style="left:0px; top:69px; width:111px; height:13px; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">사용자조회</caption>
  112. <line id="line12" class="line_1" style="x1:0px; y1:83px; x2:845px; y2:83px; "/>
  113. <datagrid id="grd_userlist" nodeset="/root/main/list/userlist" caption="사용자ID^사용자명^소속기관^소속기관^소속부서^소속부서^근무지기관^근무지기관^근무지^근무지" colwidth="70, 80, 110, 30, 110, 80, 120, 30, 110, 80" dataheight="25" explorerbar="sort" extendlastcol="scroll" frozencols="4" frozenrows="false" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="32" style="left:0px; top:87px; width:845px; height:293px; ">
  114. <col ref="userid"/>
  115. <col ref="usernm"/>
  116. <col ref="posinstnm"/>
  117. <col ref="posinstcd"/>
  118. <col ref="posdeptnm"/>
  119. <col ref="posdeptcd"/>
  120. <col ref="dutplceinstnm"/>
  121. <col ref="dutplceinstcd"/>
  122. <col ref="dutplcenm"/>
  123. <col ref="dutplcecd"/>
  124. <script type="javascript" ev:event="ondblclick">
  125. <![CDATA[
  126. btn_confirm.dispatch("DOMActivate");
  127. ]]>
  128. </script>
  129. </datagrid>
  130. </group>
  131. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:603px; height:13px; ">사용자조회</caption>
  132. <group id="group3" scroll="auto" style="left:715px; top:404px; width:125px; height:22px; ">
  133. <button id="btn_confirm" class="btn4_letter2" style="left:5px; top:0px; width:56px; height:22px; ">
  134. <caption>확인</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. var nodelist = instance1.selectNodes("/root/main/list/userlist["+grd_userlist.row+"]");
  138. var rCVS = getNodeListCSV(nodelist);
  139. if ( checkOpener() ) {
  140. opener.javascript.setParameter("SPMRD01601_", rCVS);
  141. } else {
  142. var rtn = messageBox("상위화면을 찾을 수", "E001");
  143. }
  144. window.close();
  145. ]]>
  146. </script>
  147. </button>
  148. <button id="btn_cancel" class="btn4_letter2" style="left:64px; top:0px; width:56px; height:22px; ">
  149. <caption>취소</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. window.close();
  153. ]]>
  154. </script>
  155. </button>
  156. </group>
  157. </xhtml:body>
  158. </xhtml:html>