SPZSD00500_부서정보관리팝업.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <deptlist>
  11. <dept>
  12. <deptcd/>
  13. <valitodd/>
  14. <instcd/>
  15. <depthngnm/>
  16. <deptengnm/>
  17. <deptchinm/>
  18. <fstrgstdt/>
  19. <valifromdd/>
  20. <lastrgstrid/>
  21. <lastrgstdt/>
  22. <deptplce/>
  23. <deptengabbr/>
  24. <depthngabbr/>
  25. <reqfild/>
  26. <orddeptflag/>
  27. <reqdeptno/>
  28. <nextplceyn/>
  29. <nextplceprity/>
  30. <inetrsrvyn/>
  31. <cntctel/>
  32. <dutplceuseyn/>
  33. <reqauthdeptyn/>
  34. <planuseyn/>
  35. <planupdeptcd/>
  36. <plandispseq/>
  37. <orduseyn/>
  38. <ordupdeptcd/>
  39. <orddispseq/>
  40. <psnworkuseyn/>
  41. <psnworkupdeptcd/>
  42. <psnworkdispseq/>
  43. <purcuseyn/>
  44. <purcupdeptcd/>
  45. <purcdispseq/>
  46. <fnworkuseyn/>
  47. <fnworkupdeptcd/>
  48. <fnworkdispseq/>
  49. <careuseyn/>
  50. <careupdeptcd/>
  51. <caredispseq/>
  52. <gafruseyn/>
  53. <gafrupdeptcd/>
  54. <gafrdispseq/>
  55. <rcptuseyn/>
  56. <rcptupdeptcd/>
  57. <rcptdispseq/>
  58. <pamuseyn/>
  59. <pamupdeptcd/>
  60. <pamdispseq/>
  61. <healcareinfouseyn/>
  62. <healcareinfoupdeptcd/>
  63. <healcareinfodispseq/>
  64. <insuuseyn/>
  65. <insuupdeptcd/>
  66. <insudispseq/>
  67. <dgenuseyn/>
  68. <dgenupdeptcd/>
  69. <dgendispseq/>
  70. <etcuseyn/>
  71. <etcupdeptcd/>
  72. <etcdispseq/>
  73. <level/>
  74. </dept>
  75. </deptlist>
  76. <search>
  77. <searchcondition>deptnm</searchcondition>
  78. <searchterm/>
  79. </search>
  80. </main>
  81. <send>
  82. <data>
  83. </data>
  84. </send>
  85. </root>
  86. </instance>
  87. <script type="javascript" src="../../../com/basiccodeweb/js/basiccodeweb.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" ev:event="xforms-ready">
  90. <![CDATA[
  91. var standard = opener.window.javascript.getParameter("standard");
  92. var parents = opener.window.javascript.getParameter("parents");
  93. model.makeValue("/root/send/data/standard", "clsupdeptcd");
  94. submit("TRZSD00103");
  95. var standard_index;
  96. if(standard=="planupdeptcd"){
  97. standard_index=16;//기획상위부서
  98. }else if(standard=="planupdeptcd"){
  99. standard_index=17;//인사상위부서
  100. }
  101. grd_deptcdlist.valueMatrix();
  102. ]]>
  103. </script>
  104. <submission id="TRZSD00103" ref="/root/send/data" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/deptlist"/>
  105. </model>
  106. <script type="javascript" src="D:\CMCProject\application\webapps\com\hismainweb\js\DocTitle.js"/>
  107. </xhtml:head>
  108. <xhtml:body pagewidth="534" pageheight="343" guideline="1,518;2,342;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  109. <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
  110. <group id="group2" style="left:0px; top:0px; width:518px; height:35px; vertical-align:top; ">
  111. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  112. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">부서코드 :</caption>
  113. <button id="btn_search" class="btn1_letter2" style="left:445px; top:7px; width:56px; height:22px; ">
  114. <caption>조회</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. var searchterm = model.getValue("/root/main/search/searchterm");
  118. var searchcondition = model.getValue("/root/main/search/searchcondition");
  119. model.setValue("/root/send/data/searchterm", "%"+searchterm+"%");
  120. model.setValue("/root/send/data/searchcondition", searchcondition);
  121. var success = submit("TRZSD00102");
  122. for(var i=grd_deptcdlist.findRow; i<grd_deptcdlist.rows; i++){
  123. grd_deptcdlist.valueMatrix(i, );
  124. grd_deptcdlist.valueMatrix(i, 1) = ""
  125. }
  126. ]]>
  127. </script>
  128. </button>
  129. <img id="img2" class="icon_search" style="left:213px; top:8px; width:16px; height:16px; background-stretch:stretch; ">
  130. <script type="javascript" ev:event="onclick">
  131. <![CDATA[
  132. var searchcondition = "deptnm";
  133. var searchterm = model.getValue("/root/main/search/deptcd");
  134. var receivedeptcdpath = "/root/main/search/deptcd";
  135. var receivedeptnmpath = "/root/main/search/deptnm";
  136. zbcfOpenMasterDeptCodeList(searchcondition, searchterm, receivedeptcdpath, receivedeptnmpath);
  137. ]]>
  138. </script>
  139. </img>
  140. <line id="line13" style="x1:429px; y1:7px; x2:429px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  141. <input id="input3" ref="/root/main/search/searchterm" class="input_search" style="left:109px; top:8px; width:100px; height:19px; "/>
  142. </group>
  143. <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:118px; height:14px; ">부서코드 목록</caption>
  144. <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:517px; y2:61px; "/>
  145. <datagrid id="grd_deptcdlist" nodeset="/root/main/deptlist/dept" caption="^부서코드^부서코드한글명칭^부서코드영문명칭^부서코드한문명칭^부서한글약어^부서영문약어^청구분야^청구과번호^다음가실곳 여부^다음가실곳 우선순위^인터넷 예약구분^전화번호^근무지 사용여부^청구권한부서^기획상위부서^인사상위부서^레벨" colwidth="68, 147, 127, 120, 100, 100, 100, 100, 100, 100, 124, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:66px; width:517px; height:250px; ">
  146. <col type="checkbox" disabled="true"/>
  147. <col ref="deptcd"/>
  148. <col ref="depthngnm"/>
  149. <col ref="deptengnm"/>
  150. <col ref="deptchinm"/>
  151. <col ref="depthngabbr"/>
  152. <col ref="depthngabbr"/>
  153. <col ref="reqfild"/>
  154. <col ref="reqdeptno"/>
  155. <col ref="nextplceyn"/>
  156. <col ref="nextplceprity"/>
  157. <col ref="inetrsrvyn"/>
  158. <col ref="cntctel"/>
  159. <col ref="dutplceuseyn"/>
  160. <col ref="reqauthdeptyn"/>
  161. <col ref="planupdeptcd"/>
  162. <col ref="psnworkupdeptcd"/>
  163. <col ref="level"/>
  164. </datagrid>
  165. </group>
  166. <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
  167. <button id="btn_confirm" class="btn4_letter2" style="left:402px; top:5px; width:56px; height:22px; ">
  168. <caption>확인</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. var deptcdpath = opener.window.javascript.getParameter("receiveDeptCDPath");
  172. var deptnmpath = opener.window.javascript.getParameter("receiveDeptNMPath");
  173. var row = grd_deptlist.row;
  174. var deptcd = grd_deptlist.textmatrix( row, 0 );
  175. var deptnm = grd_deptlist.textmatrix( row, 2);
  176. opener.model.setValue(deptcdpath, deptcd);
  177. opener.model.setValue(deptnmpath, deptnm);
  178. opener.model.refresh();
  179. window.close();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_cancel" class="btn4_letter2" style="left:461px; top:5px; width:56px; height:22px; ">
  184. <caption>취소</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. window.close();
  188. ]]>
  189. </script>
  190. </button>
  191. </group>
  192. </xhtml:body>
  193. </xhtml:html>