SPRTC00800_채용사용자조회.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <empllist>
  11. <emplno/>
  12. <emplnm/>
  13. <rregno/>
  14. <drlicnsno/>
  15. </empllist>
  16. </main>
  17. <target/>
  18. <init>
  19. <refcond>
  20. <label>사번</label>
  21. <value>emplno</value>
  22. <label>성명</label>
  23. <value>name</value>
  24. </refcond>
  25. </init>
  26. <send>
  27. <refcond/>
  28. <name/>
  29. </send>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. fCheckAuth();
  35. model.copyNode("root/main","/root/target/validation");
  36. rdo_refcond.value="name";
  37. model.setFocus("ipt_refcond");
  38. ]]>
  39. </script>
  40. <submission id="TRRTC00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/empllist"/>
  41. </model>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript">
  46. <![CDATA[
  47. //========================================================================================
  48. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  49. //========================================================================================
  50. function fCheckAuth() {
  51. btn_search.disabled = !checkAuth("R") ;
  52. }
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body pagewidth="580" pageheight="550" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  57. <group id="group3" scroll="auto" style="left:0px; top:0px; width:550px; height:520px; ">
  58. <group id="group2" style="left:0px; top:0px; width:550px; height:30px; ">
  59. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:550px; height:29px; "/>
  60. <input id="ipt_refcond" ref="/root/send/name" class="input_s_essential" imemode="hangul" style="left:231px; top:6px; width:135px; height:19px; ">
  61. <script type="javascript" ev:event="onkeyup">
  62. <![CDATA[
  63. inputEnterKey("btn_search", "DOMActivate");
  64. ]]>
  65. </script>
  66. </input>
  67. <button id="btn_search" class="btn1_letter2" style="left:485px; top:4px; width:56px; height:22px; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. if(rdo_refcond.value == "name") {
  72. model.setValue("/root/send/name",ipt_refcond.label);
  73. }
  74. else {
  75. model.setValue("/root/send/emplno",ipt_refcond.label);
  76. }
  77. submit("TRRTC00803");
  78. model.refresh();
  79. ]]>
  80. </script>
  81. </button>
  82. <line id="line13" class="line_4" style="x1:462px; y1:0px; x2:462px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  83. <caption id="caption2" class="search_name" style="left:147px; top:6px; width:86px; height:17px; ">조회조건:</caption>
  84. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:10px; top:4px; width:125px; height:20px; border-style:solid; ">
  85. <choices>
  86. <itemset nodeset="/root/init/refcond">
  87. <label ref="label"/>
  88. <value ref="value"/>
  89. </itemset>
  90. </choices>
  91. <script type="javascript" ev:event="xforms-select">
  92. <![CDATA[
  93. if(rdo_refcond.value == "name") {
  94. ipt_refcond.attribute("imemode") = "hangul";
  95. }
  96. else if (rdo_refcond.value == "emplno") {
  97. ipt_refcond.attribute("imemode") = "disabled";
  98. }
  99. else {
  100. ipt_refcond.attribute("imemode") = "disabled";
  101. }
  102. model.setFocus("ipt_refcond");
  103. ]]>
  104. </script>
  105. </select1>
  106. </group>
  107. <caption id="caption1" class="tit_2" style="left:5px; top:35px; width:121px; height:14px; ">사용자정보</caption>
  108. <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:550px; y2:50px; "/>
  109. <datagrid id="grd_empllist" nodeset="/root/main/empllist" class="grd_empllist" caption="사원번호^성명^주민번호^의사면허번호" colsep="^" colwidth="96, 88, 173, 162" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:55px; width:550px; height:465px; ">
  110. <col ref="emplno"/>
  111. <col ref="emplnm"/>
  112. <col ref="rregno"/>
  113. <col ref="drlicnsno"/>
  114. <script type="javascript" ev:event="ondblclick">
  115. <![CDATA[
  116. if( grd_empllist.isCell(event.target) && grd_empllist.row >= grd_empllist.fixedRows )
  117. {
  118. btn_confirm.dispatch("DOMActivate");
  119. }
  120. ]]>
  121. </script>
  122. </datagrid>
  123. </group>
  124. <group id="group1" scroll="auto" style="left:0px; top:521px; width:550px; height:27px; ">
  125. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  126. <button id="btn_cancel" class="btn4_letter2" style="left:485px; top:2px; width:56px; height:22px; ">
  127. <caption>취소</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. misfPopUpListCancel();
  131. ]]>
  132. </script>
  133. </button>
  134. <button id="btn_confirm" class="btn4_letter2" style="left:427px; top:2px; width:56px; height:22px; ">
  135. <caption>확인</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. misfPopUpListReturn(grd_empllist);
  139. ]]>
  140. </script>
  141. </button>
  142. </group>
  143. </xhtml:body>
  144. </xhtml:html>