SMZSU10700_사용자관리.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  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. <userinfo>
  11. <usrblist/>
  12. <usrdlist/>
  13. <userid/>
  14. </userinfo>
  15. <holiinfo/>
  16. <item/>
  17. <!--userid/>
  18. <usernm/>
  19. <userengnm/>
  20. <rrgstno/>
  21. <orginstcd/>
  22. <orgdeptcd/>
  23. <orgdeptnm/>
  24. <posinstcd/>
  25. <posdeptcd/>
  26. <posdeptnm/>
  27. <dutinstcd/>
  28. <dutunitcd/>
  29. <dutunitnm/>
  30. <userfromdd/>
  31. <usertodd/>
  32. <grupjoblncd/>
  33. <mpphonno/>
  34. <pdano/>
  35. <email/>
  36. <dutplceinstcd/>
  37. <dutplcecd/>
  38. <dutplcenm/>
  39. <psnworkyn/>
  40. <fromdd/>
  41. <todd/>
  42. <jobkindcd/>
  43. <jobposcd/>
  44. <licnsno/>
  45. </item-->
  46. </main>
  47. <hidden/>
  48. <cond>
  49. <gbn>ID</gbn>
  50. <userid/>
  51. <endynb>Y</endynb>
  52. <endynd>Y</endynd>
  53. </cond>
  54. <init>
  55. <comcd>
  56. <jobposlist>
  57. <R0062/>
  58. </jobposlist>
  59. <drposlist>
  60. <M0389/>
  61. </drposlist>
  62. <jobkindlist>
  63. <R0061/>
  64. </jobkindlist>
  65. <grupjoblnlist>
  66. <R0059/>
  67. </grupjoblnlist>
  68. <userkindlist>
  69. <Z0016/>
  70. </userkindlist>
  71. </comcd>
  72. </init>
  73. </root>
  74. </instance>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. zbcfGetCodeList(
  78. new Array(
  79. "R0061","R0062",
  80. "R0063","R0058",
  81. "R0090","Z0007",
  82. "Z0016", "R0059"
  83. ),
  84. new Array(
  85. "/root/init/comcd/jobkindlist","/root/init/comcd/jobposlist",
  86. "/root/init/comcd/jobresplist","/root/init/comcd/prfshiplist",
  87. "/root/init/comcd/apntlist", "/root/init/comcd/instlist",
  88. "/root/init/comcd/userkindlist", "/root/init/comcd/grupjoblnlist"),
  89. true,
  90. new Array(
  91. "cdnm","cdnm","cdnm","cdnm","cdnm","cdnm","cdnm","cdnm"
  92. ),
  93. new Array(
  94. "asc","asc","asc","asc","asc","asc","asc","asc"
  95. )
  96. );
  97. var r0062Cnt = parseInt(getNodesetCount("/root/init/comcd/jobposlist/R0062"));
  98. var i = parseInt(r0062Cnt + 1);
  99. model.makeNode("/root/init/comcd/jobposlist/R0062[" + i + "]/cdid");
  100. model.makeNode("/root/init/comcd/jobposlist/R0062[" + i + "]/cdnm");
  101. model.makeValue("/root/init/comcd/jobposlist/R0062[" + i + "]/cdid", "1799");
  102. model.makeValue("/root/init/comcd/jobposlist/R0062[" + i + "]/cdnm", "인턴", true);
  103. i ++;
  104. model.makeNode("/root/init/comcd/jobposlist/R0062[" + i + "]/cdid");
  105. model.makeNode("/root/init/comcd/jobposlist/R0062[" + i + "]/cdnm");
  106. model.makeValue("/root/init/comcd/jobposlist/R0062[" + i + "]/cdid", "1800");
  107. model.makeValue("/root/init/comcd/jobposlist/R0062[" + i + "]/cdnm", "레지던트", true);
  108. i ++;
  109. model.makeNode("/root/init/comcd/jobposlist/R0062[" + i + "]/cdid");
  110. model.makeNode("/root/init/comcd/jobposlist/R0062[" + i + "]/cdnm");
  111. model.makeValue("/root/init/comcd/jobposlist/R0062[" + i + "]/cdid", "1782");
  112. model.makeValue("/root/init/comcd/jobposlist/R0062[" + i + "]/cdnm", "스태프", true);
  113. //model.removeNodeset("/root/main/item");
  114. model.removeNodeset("/root/main/userinfo/usrblist");
  115. model.removeNodeset("/root/main/userinfo/usrdlist");
  116. //model.removeNodeset("/root/main/list/userlist");
  117. model.refresh();
  118. ]]>
  119. </script>
  120. <submission id="TRZBC00101" method="post" replace="instance"/>
  121. <submission id="TRZSU10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" replace="instance" resultref="/root/main/userinfo"/>
  122. <submission id="TRRPB00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplref" resultref="/root/main/emplnogvnoffcord"/>
  123. <submission id="TRZSU10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/holiref" replace="instance" resultref="/root/main/holiinfo"/>
  124. <submission id="TXZSU10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main/userinfo"/>
  125. </model>
  126. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  129. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  130. <!--script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/-->
  131. <!--script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU002.js"/-->
  132. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  133. <script type="javascript">
  134. <![CDATA[
  135. function fSearch( ) {
  136. var gbn = model.getValue("/root/cond/gbn");
  137. var userid = model.getValue("/root/cond/userid");
  138. if (userid == "") {
  139. messageBox("조회하기 위한 검색어를 1글자 이상 입력하세요", "E999");
  140. return;
  141. }
  142. if ( submit("TRZSU10701") ) {
  143. model.refresh();
  144. }
  145. if (getNodesetCount("/root/main/userinfo/usrblist") > 0) {
  146. model.makeValue("/root/main/userinfo/userid", model.getValue("/root/main/userinfo/usrblist[1]/userid"));
  147. }
  148. }
  149. function fValidateUserInfo (row) {
  150. var userid = model.getValue("/root/main/userinfo/usrblist[" + row + "]/userid");
  151. var userkindcd = model.getValue("/root/main/userinfo/usrblist[" + row + "]/userkindcd");
  152. var rrgstno = model.getValue("/root/main/userinfo/usrblist[" + row + "]/rrgstno");
  153. var fromdd = model.getValue("/root/main/userinfo/usrblist[" + row + "]/userfromdd");
  154. var todd = model.getValue("/root/main/userinfo/usrblist[" + row + "]/usertodd");
  155. var posinstcd = model.getValue("/root/main/userinfo/usrblist[" + row + "]/posinstcd");
  156. var posdeptcd = model.getValue("/root/main/userinfo/usrblist[" + row + "]/posdeptcd");
  157. if (userid == "") {
  158. messageBox(row + "번째 줄, 사용자 ID가 정의되지","E007");
  159. return false;
  160. } else if (userkindcd == "") {
  161. messageBox(row + "번째 줄, 사용자유형이 정의되지","E007");
  162. return false;
  163. } else if (rrgstno == "") {
  164. messageBox(row + "번째 줄, 주민등록번호가 정의되지","E007");
  165. return false;
  166. } else if (fromdd == "") {
  167. messageBox(row + "번째 줄, 적용시작일자가 정의되지","E007");
  168. return false;
  169. } else if (todd == "") {
  170. messageBox(row + "번째 줄, 적용종료일자가 정의되지","E007");
  171. return false;
  172. } else if (posinstcd == "") {
  173. messageBox(row + "번째 줄, 소속기관코드가 정의되지","E007");
  174. return false;
  175. } else if (posdeptcd == "") {
  176. messageBox(row + "번째 줄, 소속부서코드가 정의되지","E007");
  177. return false;
  178. }
  179. return true;
  180. }
  181. ]]>
  182. </script>
  183. </xhtml:head>
  184. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  185. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">사용자 정보 관리</caption>
  186. <group id="group1" style="left:0px; top:20px; width:1195px; height:45px; ">
  187. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  188. <line id="line13" style="x1:1095px; y1:8px; x2:1095px; y2:38px; border-color:#ffe4bb; border-left-style:solid; "/>
  189. <caption id="caption33" class="search_name" style="left:5px; top:13px; width:96px; height:17px; ">검색조건 :</caption>
  190. <select1 id="cmb_searchcondition" ref="/root/cond/gbn" class="combo_default" navindex="1" appearance="minimal" style="left:105px; top:13px; width:87px; height:19px; ">
  191. <choices>
  192. <item>
  193. <label>사용자ID</label>
  194. <value>ID</value>
  195. </item>
  196. <item>
  197. <label>이름</label>
  198. <value>NM</value>
  199. </item>
  200. </choices>
  201. </select1>
  202. <button id="btn_search" class="btn1_letter2" style="left:1113px; top:13px; width:56px; height:22px; ">
  203. <caption>조회</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. fSearch();
  207. inputEnterKey("btn_insa", "DOMActivate");
  208. ]]>
  209. </script>
  210. </button>
  211. <input id="ipt_searchterm" ref="/root/cond/userid" class="input_s_essential" navindex="2" imemode="hangul" style="left:194px; top:13px; width:130px; height:19px; ">
  212. <script type="javascript" ev:event="onkeyup">
  213. <![CDATA[
  214. inputEnterKey("btn_search", "DOMActivate");
  215. ]]>
  216. </script>
  217. </input>
  218. </group>
  219. <group id="group2" style="left:0px; top:65px; width:1195px; height:450px; ">
  220. <caption id="caption17" class="tit_2" style="left:0px; top:10px; width:160px; height:13px; ">사용자 기본 정보</caption>
  221. <line id="line1" class="line_1" style="x1:0px; y1:27px; x2:1194px; y2:27px; "/>
  222. <line id="line2" class="line_1" style="x1:0px; y1:187px; x2:1194px; y2:187px; "/>
  223. <caption id="caption1" class="tit_2" style="left:0px; top:170px; width:160px; height:13px; ">사용자 근무지 정보</caption>
  224. <datagrid id="grd_usrb" nodeset="/root/main/userinfo/usrblist" autoresize="true" caption="사용자ID^이름^영문명^주민등록번호^원소속부서^원소속부서^원소속부서^소속부서^소속부서^소속부서^근무부서^근무부서^근무부서^시작일^종료일^사용자유형^직군^전화번호^w-zone^E-mail^최종수정일^최종수정자" colsep="^" colwidth="60, 80, 100, 100, 40, 0, 115, 40, 0, 115, 40, 0, 115, 75, 75, 80, 65, 100, 60, 100, 120, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:32px; width:1194px; height:125px; ">
  225. <col key="true" ref="userid" type="input"/>
  226. <col ref="usernm" type="input"/>
  227. <col ref="userengnm" type="input"/>
  228. <col ref="rrgstno" type="input" format="999999-9999999"/>
  229. <col ref="orginstcd" type="combo">
  230. <choices>
  231. <item>
  232. <label>본원</label>
  233. <value>031</value>
  234. </item>
  235. <item>
  236. <label>칠곡</label>
  237. <value>032</value>
  238. </item>
  239. </choices>
  240. </col>
  241. <col ref="orgdeptcd"/>
  242. <col ref="orgdeptnm" type="inputbutton"/>
  243. <col ref="posinstcd" type="combo">
  244. <choices>
  245. <item>
  246. <label>본원</label>
  247. <value>031</value>
  248. </item>
  249. <item>
  250. <label>칠곡</label>
  251. <value>032</value>
  252. </item>
  253. </choices>
  254. </col>
  255. <col ref="posdeptcd"/>
  256. <col ref="posdeptnm" type="inputbutton"/>
  257. <col ref="dutinstcd" type="combo">
  258. <choices>
  259. <item>
  260. <label>본원</label>
  261. <value>031</value>
  262. </item>
  263. <item>
  264. <label>칠곡</label>
  265. <value>032</value>
  266. </item>
  267. </choices>
  268. </col>
  269. <col ref="dutunitcd"/>
  270. <col ref="dutunitnm" type="inputbutton"/>
  271. <col ref="userfromdd" type="input" format="yyyy-mm-dd" style="text-align:center; "/>
  272. <col ref="usertodd" type="input" format="yyyy-mm-dd" style="text-align:center; "/>
  273. <col ref="userkindcd" type="combo">
  274. <choices>
  275. <itemset nodeset="/root/init/comcd/userkindlist/Z0016">
  276. <label ref="cdnm"/>
  277. <value ref="cdid"/>
  278. </itemset>
  279. </choices>
  280. </col>
  281. <col ref="grupjoblncd" type="combo">
  282. <choices>
  283. <itemset nodeset="/root/init/comcd/grupjoblnlist/R0059">
  284. <label ref="cdnm"/>
  285. <value ref="cdid"/>
  286. </itemset>
  287. </choices>
  288. </col>
  289. <col ref="mpphonno" type="input"/>
  290. <col ref="pdano" type="input"/>
  291. <col ref="email" type="input"/>
  292. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  293. <col ref="lastupdtrnm"/>
  294. <script type="javascript" ev:event="onbuttonclick">
  295. <![CDATA[
  296. var col = grd_usrb.mouseCol;
  297. var row = grd_usrb.mouseRow;
  298. var orginstcd = grd_usrb.valueMatrix(row, grd_usrb.colRef("orginstcd"));
  299. var posinstcd = grd_usrb.valueMatrix(row, grd_usrb.colRef("posinstcd"));
  300. var dutinstcd = grd_usrb.valueMatrix(row, grd_usrb.colRef("dutinstcd"));
  301. if (grd_usrb.colRef("orgdeptnm") == col) {
  302. if ( orginstcd == "") {
  303. messageBox("원소속부서의 기관을 선택하세요", "E999");
  304. return;
  305. } else {
  306. zbcfOpenAssignedInstDeptCodeList(orginstcd, "deptnm","", "/root/main/userinfo/usrblist[" + row + "]/orgdeptcd", "/root/main/userinfo/usrblist[" + row + "]/orgdeptnm", null, null, new Array("deptcd", "depthngnm"));
  307. }
  308. }
  309. if (grd_usrb.colRef("posdeptnm") == col) {
  310. if ( posinstcd == "") {
  311. messageBox("소속부서의 기관을 선택하세요", "E999");
  312. return;
  313. } else {
  314. zbcfOpenAssignedInstDeptCodeList(posinstcd, "deptnm","", "/root/main/userinfo/usrblist[" + row + "]/posdeptcd", "/root/main/userinfo/usrblist[" + row + "]/posdeptnm", null, null, new Array("deptcd", "depthngnm"));
  315. }
  316. }
  317. if (grd_usrb.colRef("dutunitnm") == col) {
  318. if ( dutinstcd == "") {
  319. messageBox("근무부서의 기관을 선택하세요", "E999");
  320. return;
  321. } else {
  322. zbcfOpenAssignedInstDeptCodeList(dutinstcd, "deptnm","", "/root/main/userinfo/usrblist[" + row + "]/dutunitcd", "/root/main/userinfo/usrblist[" + row + "]/dutunitnm", null, null, new Array("deptcd", "depthngnm"));
  323. }
  324. }
  325. ]]>
  326. </script>
  327. </datagrid>
  328. <datagrid id="grd_usrd" nodeset="/root/main/userinfo/usrdlist" autoresize="true" caption="사용자ID^이름^근무지^근무지^근무지^인사연동^시작일^종료일^직종^직위^면허번호^최종수정일^최종수정자" colsep="^" colwidth="60, 80, 50, 0, 150, 70, 80, 80, 100, 100, 100, 120, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1px; top:192px; width:1194px; height:257px; ">
  329. <col ref="userid"/>
  330. <col ref="usernm"/>
  331. <col ref="dutplceinstcd" type="combo">
  332. <choices>
  333. <item>
  334. <label>본원</label>
  335. <value>031</value>
  336. </item>
  337. <item>
  338. <label>칠곡</label>
  339. <value>032</value>
  340. </item>
  341. </choices>
  342. </col>
  343. <col ref="dutplcecd"/>
  344. <col ref="dutplcenm"/>
  345. <col ref="psnworkyn" style="text-align:center; "/>
  346. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  347. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  348. <col ref="jobkindcd" type="combo">
  349. <choices>
  350. <itemset nodeset="/root/init/comcd/jobkindlist/R0061">
  351. <label ref="cdnm"/>
  352. <value ref="cdid"/>
  353. </itemset>
  354. </choices>
  355. </col>
  356. <col ref="jobposcd" type="combo">
  357. <choices>
  358. <itemset nodeset="/root/init/comcd/jobposlist/R0062">
  359. <label ref="cdnm"/>
  360. <value ref="cdid"/>
  361. </itemset>
  362. </choices>
  363. </col>
  364. <col ref="licnsno"/>
  365. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  366. <col ref="lastupdtrnm"/>
  367. </datagrid>
  368. <select id="checkbox1" ref="/root/cond/endynb" overflow="visible" appearance="full" style="left:835px; top:9px; width:124px; height:20px; border-style:none; ">
  369. <choices>
  370. <item>
  371. <label>종료된 정보 제외</label>
  372. <value>Y</value>
  373. </item>
  374. </choices>
  375. </select>
  376. <select id="checkbox2" ref="/root/cond/endynd" overflow="visible" appearance="full" style="left:835px; top:169px; width:124px; height:20px; border-style:none; ">
  377. <choices>
  378. <item>
  379. <label>종료된 정보 제외</label>
  380. <value>Y</value>
  381. </item>
  382. </choices>
  383. </select>
  384. <button id="button1" class="btn2_letter4" style="left:1080px; top:6px; width:64px; height:19px; ">
  385. <caption>이력추가</caption>
  386. <script type="javascript" ev:event="DOMActivate">
  387. <![CDATA[
  388. var selRow = grd_usrb.row ;
  389. if ( grd_usrb.rows <= 1 || selRow <= 0 ) {
  390. messageBox("선택된 자료가", "I004");
  391. return false;
  392. }
  393. var selUsertodd = model.getValue("/root/main/userinfo/usrblist[" + selRow + "]/usertodd");
  394. if ( selUsertodd == "99991231") {
  395. messageBox("기존 이력의 종료일자가 9999년 12월 31일입니다. \n최종 이력을 기준으로 새로운 이력을 추가할 수", "I004");
  396. return false;
  397. }
  398. copyNodeType("/root/main/item", "/root/main/userinfo/usrblist[" + selRow + "]");
  399. var next_fromdd = selUsertodd.toDate("YYYYMMDD").getAddDate(1, "D").getDateFormat("YYYYMMDD");
  400. grd_usrb.insertRow(selRow, "below");
  401. var i = parseInt(selRow + 1);
  402. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/userid", model.getValue("/root/main/item/userid"));
  403. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/usernm", model.getValue("/root/main/item/usernm"));
  404. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/userengnm", model.getValue("/root/main/item/userengnm"));
  405. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/rrgstno", model.getValue("/root/main/item/rrgstno"));
  406. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/userfromdd", next_fromdd);
  407. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/usertodd", "99991231");
  408. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/grupjoblncd", model.getValue("/root/main/item/grupjoblncd"));
  409. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/mpphonno", model.getValue("/root/main/item/mpphonno"));
  410. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/pdano", model.getValue("/root/main/item/pdano"));
  411. model.makeValue("/root/main/userinfo/usrblist[" + i + "]/email", model.getValue("/root/main/item/email"));
  412. grd_usrb.refresh();
  413. ]]>
  414. </script>
  415. </button>
  416. <button id="button2" class="btn2_letter2" disabled="true" style="left:1145px; top:6px; width:42px; height:19px; ">
  417. <caption>저장</caption>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. // var updtdata = getGridUpdateData(grd_usrb);
  421. // model.makeValue("/root/send/savedata", updtdata);
  422. var status = "";
  423. for (var i = 1; i < grd_usrb.rows; i++) {
  424. status = grd_usrb.rowStatus(i); //0: no-changed, 1: insert, 2: update
  425. if ( status != 0 ) {
  426. if (!fValidateUserInfo(i)) {
  427. return;
  428. }
  429. }
  430. }
  431. var updtdata = getGridUpdateData(grd_usrb);
  432. model.makeValue("/root/send/savedata", updtdata);
  433. submit("TXZSU10701");
  434. ]]>
  435. </script>
  436. </button>
  437. <button id="button4" class="btn2_letter2" disabled="true" style="left:1145px; top:166px; width:42px; height:19px; ">
  438. <caption>저장</caption>
  439. <script type="javascript" ev:event="DOMActivate">
  440. <![CDATA[
  441. fSearch();
  442. ]]>
  443. </script>
  444. </button>
  445. <button id="button5" class="btn2_letter6" style="left:992px; top:6px; width:86px; height:19px; ">
  446. <caption>신규이력추가</caption>
  447. <script type="javascript" ev:event="DOMActivate">
  448. <![CDATA[
  449. grd_usrb.addRow();
  450. ]]>
  451. </script>
  452. </button>
  453. </group>
  454. <group id="group3" style="left:0px; top:515px; width:1195px; height:260px; ">
  455. <caption id="caption2" class="tit_2" style="left:0px; top:10px; width:160px; height:15px; ">인사정보</caption>
  456. <line id="line3" class="line_1" style="x1:0px; y1:27px; x2:596px; y2:27px; "/>
  457. <datagrid id="grd_gvnoffcordlist" nodeset="/root/main/emplnogvnoffcord/emplnogvnoffcordlist" caption="발령일자^발령^소속기관^소속부(실)^소속과(팀)^소속부서^근무지부서^근무기관^근무부서^직군^직렬^직종^직위^직책^직급^호봉^신직급^년차^퇴직사유^비고|발령일자^발령^소속기관^소속부(실)^소속과(팀)^소속부서^근무지부서^근무기관^근무부서^직군^직렬^직종^직위^직책^직급^호봉^신직급^년차^퇴직사유^비고" colsep="^" colwidth="90, 100, 100, 90, 100, 90, 90, 100, 90, 5, 4, 70, 80, 14, 50, 50, 43, 30, 70, 120" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:32px; width:596px; height:225px; ">
  458. <col disabled="true" ref="gvnoffcorddd" type="inputdate"/>
  459. <col ref="gvnoffcordnm"/>
  460. <col ref="instnm"/>
  461. <col ref="deptnm" visibility="hidden"/>
  462. <col ref="teamnm" visibility="hidden"/>
  463. <col ref="unitnm"/>
  464. <col ref="dutplcedeptnm"/>
  465. <col ref="dutinstnm"/>
  466. <col ref="dutunitnm"/>
  467. <col ref="grupjoblnnm" visibility="hidden"/>
  468. <col ref="joblnnm" visibility="hidden"/>
  469. <col ref="jobkindnm"/>
  470. <col ref="jobposnm"/>
  471. <col ref="jobrespnm" visibility="hidden"/>
  472. <col ref="ojobgradnm"/>
  473. <col ref="payclsnm"/>
  474. <col ref="njobgradnm"/>
  475. <col ref="anual"/>
  476. <col disabled="true" ref="retireresncd" type="combo">
  477. <choices>
  478. <itemset>
  479. <label/>
  480. <value/>
  481. </itemset>
  482. </choices>
  483. </col>
  484. <col ref="cmt"/>
  485. </datagrid>
  486. <datagrid id="grd_hulist" nodeset="/root/main/holiinfo" caption="사용자ID^이름^진료과^시작일시^시작일시^종료일시^종료일시^파견내역^상태^최종수정자" colsep="^" colwidth="60, 80, 100, 75, 40, 75, 45, 290, 90" mergecellsfixedrows="bycolrec" rowsep="|" style="left:598px; top:32px; width:596px; height:225px; ">
  487. <col ref="orddrid"/>
  488. <col ref="orddrnm"/>
  489. <col ref="orddeptnm"/>
  490. <col ref="fromdd"/>
  491. <col ref="fromtm"/>
  492. <col ref="todd"/>
  493. <col ref="totm"/>
  494. <col ref="remfact"/>
  495. <col ref="prcsstat"/>
  496. </datagrid>
  497. <caption id="caption3" class="tit_2" style="left:597px; top:10px; width:160px; height:13px; ">파견정보</caption>
  498. <line id="line4" class="line_1" style="x1:598px; y1:27px; x2:1194px; y2:27px; "/>
  499. <button id="btn_small2" class="btn2_letter2" style="left:544px; top:6px; width:42px; height:19px; ">
  500. <caption>축소</caption>
  501. <script type="javascript" ev:event="DOMActivate">
  502. <![CDATA[
  503. grd_gvnoffcordlist.attribute("width") = "596" ;//596px
  504. btn_small2.visible = false;
  505. btn_big2.visible = true;
  506. grd_hulist.visible = true;
  507. ]]>
  508. </script>
  509. </button>
  510. <button id="button6" class="btn2_letter2" style="left:1145px; top:6px; width:42px; height:19px; ">
  511. <caption>조회</caption>
  512. <script type="javascript" ev:event="DOMActivate">
  513. <![CDATA[
  514. var userid = model.getValue("/root/main/userinfo/userid");
  515. if (userid != "") {
  516. model.removeNodeset("/root/send/holiref");
  517. model.makeValue("/root/send/holiref/drid", userid);
  518. model.makeValue("/root/send/holiref/instcd", "031");
  519. model.makeValue("/root/send/holiref/fromdd", '20140401');
  520. model.makeValue("/root/send/holiref/todd", '20140430');
  521. submit("TRZSU10702");
  522. }
  523. ]]>
  524. </script>
  525. </button>
  526. <button id="btn_insa" class="btn2_letter2" style="left:500px; top:6px; width:42px; height:19px; ">
  527. <caption>조회</caption>
  528. <script type="javascript" ev:event="DOMActivate">
  529. <![CDATA[
  530. var userid = model.getValue("/root/main/userinfo/userid");
  531. if (userid != "") {
  532. model.removeNodeset("/root/send/emplref");
  533. model.makeValue("/root/send/emplref/emplno", userid);
  534. submit("TRRPB00112");
  535. }
  536. ]]>
  537. </script>
  538. </button>
  539. <button id="btn_big2" class="btn2_letter2" style="left:544px; top:6px; width:42px; height:19px; ">
  540. <caption>확대</caption>
  541. <script type="javascript" ev:event="DOMActivate">
  542. <![CDATA[
  543. grd_gvnoffcordlist.attribute("width") = "1194" ;//596px
  544. btn_small2.visible = true;
  545. btn_big2.visible = false;
  546. grd_hulist.visible = false;
  547. grd_gvnoffcordlist.visible = true;
  548. ]]>
  549. </script>
  550. </button>
  551. </group>
  552. </xhtml:body>
  553. </xhtml:html>