SPRAC01100_DTIEmail관리HELP.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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>프로젝트 ID HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <email>
  11. <emaillist/>
  12. </email>
  13. </main>
  14. <send>
  15. <condition>
  16. <instcd/>
  17. <deptcd/>
  18. <depthngnm/>
  19. <emplno/>
  20. <emplnm/>
  21. <dutplcecd/>
  22. </condition>
  23. <acntdept>
  24. <instcd/>
  25. <mngtcd>acntdept</mngtcd>
  26. </acntdept>
  27. </send>
  28. <init>
  29. <code>
  30. <codelist/>
  31. </code>
  32. </init>
  33. <temp/>
  34. <target/>
  35. </root>
  36. </instance>
  37. <submission id="TRRAC01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
  38. <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acntdept" resultref="/root/init/code"/>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  45. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. fInitialize();
  49. ]]>
  50. </script>
  51. <script type="javascript">
  52. <![CDATA[
  53. //========================================================================================
  54. //초기화
  55. //========================================================================================
  56. function fInitialize()
  57. {
  58. model.copyNode("/root/main/email", "/root/target/validation");
  59. model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
  60. model.setValue("/root/send/acntdept/instcd", getUserInfo("dutplceinstcd"));
  61. model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
  62. model.setValue(ipt_depthngnm.attribute("ref"), getUserInfo("dutplcenm"));
  63. model.setValue(ipt_emplno.attribute("ref"), getUserInfo("userid"));
  64. model.setValue(ipt_name.attribute("ref"), getUserInfo("usernm"));
  65. model.setValue("/root/send/condition/dutplcecd",getUserInfo("dutplcecd"));
  66. submit("TRRAZ00001");
  67. if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd"))
  68. {
  69. ipt_deptcd.disabled = true;
  70. ipt_depthngnm.disabled = true;
  71. }
  72. model.refresh();
  73. btn_search.dispatch("DOMActivate");
  74. }
  75. //========================================================================================
  76. //코드 Validation Check
  77. //========================================================================================
  78. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName, pRetrKind)
  79. {
  80. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  81. {
  82. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  83. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName, pRetrKind);
  84. model.refresh();
  85. if (pNextIndex != "") {
  86. model.setFocus(pNextIndex);
  87. }
  88. }
  89. }
  90. function fOpenPopupUserHelp(pCtrl, pInstance)
  91. {
  92. misfOpenPopUpList("01", pCtrl, "", pInstance);
  93. model.refresh();
  94. }
  95. ]]>
  96. </script>
  97. </xhtml:head>
  98. <xhtml:body pagewidth="730" pageheight="480" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  99. <group id="group1" style="left:0px; top:0px; width:710; height:13px; ">
  100. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">DTI Email HELP</caption>
  101. </group>
  102. <group id="group2" scroll="auto" style="left:0px; top:12px; width:710px; height:432px; ">
  103. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:7px; width:710px; height:33px; background-color:#fffbf2; border-color:#ffd799; "/>
  104. <caption id="caption1" class="tit_2" style="left:10px; top:44px; width:190px; height:13px; ">DTI Email 목록</caption>
  105. <line id="line2" class="line_1" style="x1:0px; y1:58px; x2:710px; y2:58px; "/>
  106. <line id="line21" class="line_4" style="x1:629px; y1:34px; x2:629px; y2:11px; "/>
  107. <button id="btn_search" class="btn1_letter2" style="left:644px; top:14px; width:56px; height:22px; ">
  108. <caption>조회</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. model.removeNodeset(grd_emaillist.nodeset);
  112. submit("TRRAC01201");
  113. ]]>
  114. </script>
  115. </button>
  116. <datagrid id="grd_emaillist" nodeset="/root/main/email/emaillist" caption="기관코드^관리부서^관리부서^사원번호^성명^비밀번호^핸드폰^E-mail^사용여부^권한구분" colsep="^" colwidth="0, 85, 120, 100, 100, 0, 0, 250, 0, 0" focuscolor="#ccffff" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" selectionmode="free" style="left:0px; top:65px; width:710px; height:367px; ">
  117. <col ref="instcd"/>
  118. <col class="text_center" ref="dept_id"/>
  119. <col ref="dept_name"/>
  120. <col class="text_center" ref="user_id"/>
  121. <col class="text_center" ref="user_name"/>
  122. <col ref="password"/>
  123. <col ref="cellphone"/>
  124. <col ref="email"/>
  125. <col checkvalue="Y,N" ref="use_yn" type="checkbox"/>
  126. <col ref="authority"/>
  127. <script type="javascript" ev:event="onbuttonclick">
  128. <![CDATA[
  129. if(grd_emaillist.col == grd_emaillist.colRef("deptcd"))
  130. {
  131. fOpenPopupDeptHelp(grd_emaillist, "deptcd,depthngnm");
  132. }
  133. else if(grd_emaillist.col == grd_emaillist.colRef("emplno"))
  134. {
  135. fOpenPopupUserHelp(grd_emaillist, "emplno,emplnm");
  136. }
  137. ]]>
  138. </script>
  139. <script type="javascript" ev:event="onendedit">
  140. <![CDATA[
  141. if(grd_emaillist.col == grd_emaillist.colRef("deptcd") || grd_emaillist.col == grd_emaillist.colRef("depthngnm"))
  142. {
  143. misfValidationCheck("02", "", "deptcd,depthngnm");
  144. model.refresh();
  145. }
  146. ]]>
  147. </script>
  148. <script type="javascript" ev:event="ondblclick">
  149. <![CDATA[
  150. if( grd_emaillist.isCell(event.target) && grd_emaillist.row >= grd_emaillist.fixedRows )
  151. {
  152. btn_confirm.dispatch("DOMActivate");
  153. }
  154. ]]>
  155. </script>
  156. </datagrid>
  157. <input id="ipt_depthngnm" ref="/root/send/condition/depthngnm" class="input_s_essential" navindex="3" style="left:180px; top:13px; width:135px; height:19px; ">
  158. <script type="javascript" ev:event="onkeypress">
  159. <![CDATA[
  160. if(event.keyCode == 13)
  161. {
  162. model.setFocus("btn_search");
  163. }
  164. ]]>
  165. </script>
  166. <script type="javascript" ev:event="xforms-value-changed">
  167. <![CDATA[
  168. racfDeptValidCheck("deptcd,depthngnm");
  169. ]]>
  170. </script>
  171. </input>
  172. <input id="ipt_deptcd" ref="/root/send/condition/deptcd" class="input_s_essential" navindex="2" style="left:84px; top:13px; width:71px; height:19px; ">
  173. <script type="javascript" ev:event="onkeypress">
  174. <![CDATA[
  175. if(event.keyCode == 13)
  176. {
  177. model.setFocus("btn_search");
  178. }
  179. ]]>
  180. </script>
  181. <script type="javascript" ev:event="xforms-value-changed">
  182. <![CDATA[
  183. racfDeptValidCheck("deptcd,depthngnm");
  184. ]]>
  185. </script>
  186. </input>
  187. <caption id="caption7" class="search_name" style="left:16px; top:14px; width:85px; height:17px; ">부 서 :</caption>
  188. <button id="btn_help" class="icon_search" style="left:159px; top:16px; width:16px; height:16px; ">
  189. <caption/>
  190. <script type="javascript" ev:event="DOMActivate">
  191. <![CDATA[
  192. fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm");
  193. ]]>
  194. </script>
  195. </button>
  196. <caption id="caption10" class="search_name" style="left:320px; top:15px; width:91px; height:17px; ">사 번 :</caption>
  197. <input id="ipt_name" ref="/root/send/condition/emplnm" class="input_s_essential" navindex="2" style="left:484px; top:14px; width:135px; height:19px; ">
  198. <script type="javascript" ev:event="onkeypress">
  199. <![CDATA[
  200. if(event.keyCode == 13)
  201. {
  202. model.setFocus("btn_search");
  203. }
  204. ]]>
  205. </script>
  206. <script type="javascript" ev:event="xforms-value-changed">
  207. <![CDATA[
  208. fValidationCheck("12", "emplno,emplnm", "", "btn_search");
  209. ]]>
  210. </script>
  211. </input>
  212. <button id="btn_emplno" class="icon_search" style="left:463px; top:16px; width:16px; height:16px; ">
  213. <caption/>
  214. <script type="javascript" ev:event="DOMActivate">
  215. <![CDATA[
  216. fOpenPopupUserHelp(ipt_emplno, "emplno,emplnm");
  217. model.refresh();
  218. ]]>
  219. </script>
  220. </button>
  221. <input id="ipt_emplno" ref="/root/send/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:388px; top:14px; width:71px; height:19px; text-align:center; ">
  222. <script type="javascript" ev:event="onkeypress">
  223. <![CDATA[
  224. if(event.keyCode == 13)
  225. {
  226. model.setFocus("btn_search");
  227. }
  228. ]]>
  229. </script>
  230. <script type="javascript" ev:event="xforms-value-changed">
  231. <![CDATA[
  232. fValidationCheck("12", "emplno,emplnm", "", "btn_search");
  233. ]]>
  234. </script>
  235. </input>
  236. </group>
  237. <group id="grp_btn" scroll="auto" style="left:0px; top:449px; width:710px; height:27px; ">
  238. <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
  239. <button id="btn_close" class="btn4_letter2" style="left:644px; top:2px; width:56px; height:22px; ">
  240. <caption>닫기</caption>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. window.close();
  244. ]]>
  245. </script>
  246. </button>
  247. <button id="btn_confirm" class="btn4_letter2" style="left:586px; top:2px; width:56px; height:22px; ">
  248. <caption>확인</caption>
  249. <script type="javascript" ev:event="DOMActivate">
  250. <![CDATA[
  251. misfPopUpListReturn(grd_emaillist);
  252. ]]>
  253. </script>
  254. </button>
  255. </group>
  256. </xhtml:body>
  257. </xhtml:html>