SPPMC08000_상단VIP정보.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPPMI02200_신생아등록.xrw
  4. * 설 명 : 신생아등록 및 전과전실처리
  5. * 설 계 자 : 홍영표
  6. * 작 성 자 : 홍영표
  7. * 작 성 일 : 2007.07.04
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>VIP상단정보</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <send>
  19. <empintrorgst>
  20. <userid/>
  21. <rela/>
  22. <setflag/>
  23. </empintrorgst>
  24. <patinfo>
  25. </patinfo>
  26. <instcd/>
  27. </send>
  28. <main>
  29. <chkvalue>
  30. <redchk/>
  31. <empchk/>
  32. <vcchk/>
  33. </chkvalue>
  34. <reductacnt>
  35. <reductacntlist/>
  36. </reductacnt>
  37. <empintroduce>
  38. <empintroducelist/>
  39. </empintroduce>
  40. <vccenter>
  41. <vipflag/>
  42. <vipcls/>
  43. <dutplce/>
  44. <jobpos/>
  45. <rem/>
  46. </vccenter>
  47. <newElement/>
  48. </main>
  49. <hidden>
  50. <list/>
  51. <ins>
  52. <patappinfo1/>
  53. </ins>
  54. <ref>
  55. <empinfolist/>
  56. </ref>
  57. </hidden>
  58. <init>
  59. <Z0007list>
  60. <Z0007>
  61. <cdid/>
  62. <cdnm/>
  63. </Z0007>
  64. </Z0007list>
  65. <R0063list>
  66. <R0063>
  67. <cdid/>
  68. <cdnm/>
  69. </R0063>
  70. </R0063list>
  71. <hidden/>
  72. </init>
  73. </root>
  74. </instance>
  75. <submission id="TRPMC02708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instcd" resultref="/root/init/hidden"/>
  76. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  77. <submission id="TRPMC08001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/hidden/list"/>
  78. <submission id="TXPMC08001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/empintrorgst" resultref="/root/hidden/ins/patappinfo1"/>
  79. <submission id="TRPMC08002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/empintrorgst" resultref="/root/hidden/ref/empinfolist"/>
  80. </model>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  85. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  86. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. // 기관정보, 직책정보
  90. zbcfGetCodeList(new Array("Z0007","R0063"), new Array("/root/init/Z0007list","/root/init/R0063list"));
  91. // 각 인스턴스 초기화
  92. fInitialize();
  93. fGetUserInfosSampling();//세션정보
  94. // 과정보
  95. model.setValue("/root/send/instcd",model.getValue("/root/hidden/session/posinstcd"));
  96. submit("TRPMC02708");
  97. submit("TRZBC00101");
  98. fInitializeRef();
  99. ]]>
  100. </script>
  101. <script type="javascript">
  102. <![CDATA[
  103. // 초기화
  104. function fInitialize(){
  105. model.resetInstanceNode("/root/main/reductacnt/reductacntlist");
  106. model.resetInstanceNode("/root/main/chkvalue");
  107. model.resetInstanceNode("/root/main/empintroduce");
  108. model.resetInstanceNode("/root/main/vccenter");
  109. model.resetInstanceNode("/root/send/empintrorgst");
  110. model.resetInstanceNode("/root/hidden/list/patappinfo1");
  111. model.resetInstanceNode("/root/hidden/list/patappinfo2");
  112. model.resetInstanceNode("/root/hidden/list/patappinfo3");
  113. model.resetInstanceNode("/root/hidden/list/patappinfo4");
  114. model.refresh();
  115. };
  116. function fInitializeRef(){
  117. //model.makeValue("/root/send/patinfo/pid","7000006");
  118. if(model.getValue("/root/send/patinfo/pid") != "" && model.getValue("/root/send/patinfo/pid") != null){
  119. submit("TRPMC08001");
  120. }
  121. // 감면계정 셋팅
  122. // 감면계정은 그리드형태여서 hidden인스턴스를 바로 보게함.
  123. // 교직원소개 셋팅
  124. model.copyNode("/root/main/empintroduce","/root/hidden/list/patappinfo2");
  125. // VC센터 셋팅
  126. model.copyNode("/root/main/vccenter","/root/hidden/list/patappinfo3");
  127. // 정보체크 셋팅
  128. model.copyNode("/root/main/chkvalue","/root/hidden/list/patappinfo4");
  129. model.refresh();
  130. }
  131. // 입원등록이 있는 신생아 정보 조회
  132. function fBabyInfo_Query(){
  133. model.refresh();
  134. }
  135. // 교직원소개 등록시 확인사항
  136. function fInsRgstChk() {
  137. var infocount = getNodesetCount("/root/hidden/ref/empinfolist");
  138. var userid = model.getValue("/root/send/empintrorgst/userid");
  139. var rela = model.getValue("/root/send/empintrorgst/rela");
  140. if(infocount < 1){
  141. messageBox("직원정보 조회가 되지","E007");
  142. return false;
  143. }else{
  144. return true;
  145. }
  146. if(userid == "" || userid == null || rela == "" || rela == null){
  147. messageBox("입력하지 않은 내용이","I010");
  148. return false;
  149. }else{
  150. return true;
  151. }
  152. model.refresh();
  153. }
  154. //세션정보
  155. function fGetUserInfosSampling()
  156. {
  157. var sUserInfosS = getUserInfos();
  158. sUserInfosS = sUserInfosS + "|";
  159. var UserInfosS_Array = sUserInfosS.split("|");
  160. var userid = UserInfosS_Array[0]; //사용자번호
  161. var usernm = UserInfosS_Array[1]; //사용자이름
  162. //var posinstcd = UserInfosS_Array[2]; //소속기관코드
  163. //var posinstnm = UserInfosS_Array[3]; //소속기관명
  164. var posinstcd = UserInfosS_Array[6]; //근무지기관코드 2009.04.15
  165. var posinstnm = UserInfosS_Array[7]; //근무지기관명 2009.04.15
  166. var posdeptcd = UserInfosS_Array[4]; //소속부서코드
  167. var posdeptnm = UserInfosS_Array[5]; //소속부서명
  168. model.makeNode("/root/hidden/session/" + "userid");
  169. model.makeNode("/root/hidden/session/" + "usernm");
  170. model.makeNode("/root/hidden/session/" + "posinstcd");
  171. model.makeNode("/root/hidden/session/" + "posinstnm");
  172. model.makeNode("/root/hidden/session/" + "posdeptcd");
  173. model.makeNode("/root/hidden/session/" + "posdeptnm")
  174. if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
  175. //if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "";
  176. model.setValue("/root/hidden/session/userid",userid);
  177. model.setValue("/root/hidden/session/usernm",usernm);
  178. model.setValue("/root/hidden/session/posinstcd",posinstcd);
  179. model.setValue("/root/hidden/session/posinstnm",posinstnm);
  180. model.setValue("/root/hidden/session/posdeptcd",posdeptcd);
  181. model.setValue("/root/hidden/session/posdeptnm",posdeptnm);
  182. model.refresh();
  183. }
  184. ]]>
  185. </script>
  186. </xhtml:head>
  187. <xhtml:body pagewidth="520" pageheight="450" guideline="1,492;2,442;2,442;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  188. <group id="group1" style="left:0px; top:12px; width:490px; height:430px; ">
  189. <shape id="rectangle3" appearance="rectangle" style="left:188px; top:313px; width:299px; height:23px; background-color:#dddddd; border-color:#808080; "/>
  190. <shape id="rectangle2" appearance="rectangle" style="left:188px; top:285px; width:299px; height:23px; background-color:#dddddd; border-color:#808080; "/>
  191. <shape id="rectangle1" appearance="rectangle" style="left:188px; top:257px; width:299px; height:23px; background-color:#dddddd; border-color:#808080; "/>
  192. <caption id="caption6" class="cell_1" style="left:0px; top:248px; width:90px; height:147px; font-weight:bold; vertical-align:middle; ">VC센터</caption>
  193. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:487px; y2:25px; "/>
  194. <caption id="caption26" class="cell_1" style="left:0px; top:29px; width:90px; height:81px; font-weight:bold; vertical-align:middle; ">
  195. <![CDATA[감면
  196. 계정]]>
  197. </caption>
  198. <caption id="caption16" class="tit_2" style="left:6px; top:9px; width:104px; height:13px; ">VIP정보</caption>
  199. <line id="line3" class="line_3" style="x1:0px; y1:395px; x2:487px; y2:395px; "/>
  200. <caption id="caption3" class="cell_1" style="left:0px; top:112px; width:90px; height:134px; font-weight:bold; vertical-align:middle; ">
  201. <![CDATA[교직원
  202. 소개]]>
  203. </caption>
  204. <bool id="bool1" disabled="true" checkvalue="Y, N" ref="/root/main/chkvalue/redchk" style="left:70px; top:59px; width:15px; height:20px; "/>
  205. <bool id="bool2" disabled="true" checkvalue="Y, N" ref="/root/main/chkvalue/empchk" style="left:70px; top:167px; width:15px; height:20px; "/>
  206. <bool id="bool3" disabled="true" checkvalue="Y, N" ref="/root/main/chkvalue/vcchk" style="left:70px; top:311px; width:15px; height:20px; "/>
  207. <button id="btn_insave" class="btn2_letter3" style="left:5px; top:374px; width:53px; height:19px; ">
  208. <caption>신 청</caption>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. //modal("../../../pam/patinfomngtweb/xrw/SPPMC04700", "1","150","150", "SMPAI00200", "/root/hidden/vippatbaseinfo", "/root/main/vippatbaseinfo");
  212. setParameter("SPPMC04700_pid",model.getValue("/root/send/patinfo/pid"));
  213. modal("../../../pam/patinfomngtweb/xrw/SPPMC04700", "1","150","150", "SMPAI00200", "", "");
  214. ]]>
  215. </script>
  216. </button>
  217. <button id="btn_indelete" class="btn2_letter6" style="left:2px; top:205px; width:53px; height:19px; ">
  218. <caption>[ 신 청 ]</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. button1.attribute("text") = "신 청";
  222. model.setValue("/root/send/empintrorgst/setflag","I");
  223. grp_empintroducergst.visible = true;
  224. model.setValue("/root/send/empintrorgst/userid",model.getValue("/root/hidden/session/userid"));
  225. button3.dispatch("DOMActivate");
  226. ]]>
  227. </script>
  228. </button>
  229. <caption id="caption8" style="left:95px; top:113px; width:106px; height:15px; font-size:10pt; font-weight:bold; ">
  230. <![CDATA[< 추천인 정보 > ]]>
  231. </caption>
  232. <datagrid id="grd_reductacnt" nodeset="/root/hidden/list/patappinfo1" caption="할인계정^가족관계^가족사번^소속부서" colsep="^" colwidth="150, 70, 70, 70" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:92px; top:30px; width:395px; height:78px; ">
  233. <col disabled="true" ref="discuncocd"/>
  234. <col disabled="true" ref="famyrelcd"/>
  235. <col disabled="true" ref="emplno"/>
  236. <col disabled="true" ref="dutdeptnm"/>
  237. </datagrid>
  238. <caption id="caption1" style="left:95px; top:260px; width:106px; height:15px; font-size:10pt; font-weight:bold; ">◆ VIP 구분 :</caption>
  239. <caption id="caption2" style="left:95px; top:288px; width:106px; height:15px; font-size:10pt; font-weight:bold; ">◆ VIP 분류 :</caption>
  240. <caption id="caption4" style="left:95px; top:316px; width:110px; height:15px; font-size:10pt; font-weight:bold; ">◆ 근 무 처 :</caption>
  241. <line id="line1" class="line_3" style="x1:0px; y1:246px; x2:487px; y2:246px; "/>
  242. <line id="line4" class="line_3" style="x1:0px; y1:110px; x2:487px; y2:110px; "/>
  243. <img id="img2" src="../../../com/commonweb/images/icon_x.gif" style="left:468px; top:8px; width:16px; height:15px; background-stretch:stretch; ">
  244. <script type="javascript" ev:event="onclick">
  245. <![CDATA[
  246. opener.javascript.getPatientInfos();
  247. window.close();
  248. ]]>
  249. </script>
  250. </img>
  251. <caption id="caption13" style="left:95px; top:344px; width:110px; height:15px; font-size:10pt; font-weight:bold; ">◆ 직 책 :</caption>
  252. <caption id="caption14" style="left:95px; top:372px; width:110px; height:15px; font-size:10pt; font-weight:bold; ">◆ 특이사항 :</caption>
  253. <datagrid id="datagrid1" nodeset="/root/hidden/list/patappinfo2" caption="ID^성명^직위^관계^소속기관^소속부서^근무기관^근무부서^실근무기관^실근무부서" colsep="^" colwidth="70, 70, 70, 100, 100, 100, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:91px; top:130px; width:395px; height:115px; ">
  254. <col disabled="true" ref="userid" visibility="hidden"/>
  255. <col disabled="true" ref="usernm"/>
  256. <col disabled="true" ref="jobposcd"/>
  257. <col disabled="true" ref="rela"/>
  258. <col disabled="true" ref="posinstcd"/>
  259. <col disabled="true" ref="posdeptcd"/>
  260. <col disabled="true" ref="dutinstcd"/>
  261. <col disabled="true" ref="dutunitcd"/>
  262. <col disabled="true" ref="dutplceinstcd"/>
  263. <col disabled="true" ref="dutplcecd"/>
  264. </datagrid>
  265. <button id="button4" class="btn5_letter2" style="left:2px; top:225px; width:42px; height:19px; ">
  266. <caption>수정</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. button1.attribute("text") = "수 정";
  270. model.setValue("/root/send/empintrorgst/setflag","U");
  271. //model.setValue("/root/send/empintrorgst/userid",model.getValue("/root/hidden/session/userid"));
  272. var selRow = datagrid1.row;
  273. if(selRow == null || selRow == "" || selRow == " " || selRow < 0){
  274. messageBox("추천인정보에서 수정할 내역을","C002");
  275. return;
  276. }else{
  277. grp_empintroducergst.visible = true;
  278. input9.disabled = true;
  279. model.setValue("/root/send/empintrorgst/userid",model.getValue("/root/hidden/list/patappinfo2['" + selRow + "']/userid"));
  280. button3.dispatch("DOMActivate");
  281. }
  282. ]]>
  283. </script>
  284. </button>
  285. <button id="button5" class="btn5_letter2" style="left:45px; top:225px; width:42px; height:19px; ">
  286. <caption>삭제</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. model.setValue("/root/send/empintrorgst/setflag","D");
  290. var selRow = datagrid1.row;
  291. if(selRow == null || selRow == "" || selRow == " " || selRow < 0){
  292. messageBox("추천인정보에서 삭제할 내역을","C002");
  293. return;
  294. }else{
  295. model.setValue("/root/send/empintrorgst/userid",model.getValue("/root/hidden/list/patappinfo2['" + selRow + "']/userid"));
  296. var msgyn = messageBox("선택하신내용을 삭제","S001");
  297. if(msgyn == "6"){
  298. button1.dispatch("DOMActivate");
  299. }
  300. }
  301. ]]>
  302. </script>
  303. </button>
  304. <input id="ipt_dutplce" ref="/root/main/vccenter/dutplce" class="input_s_essential" disabled="true" style="left:190px; top:315px; width:295px; height:19px; ">
  305. <script type="javascript" ev:event="onkeypress">
  306. <![CDATA[
  307. if( event.keyCode == 13)
  308. {
  309. }
  310. ]]>
  311. </script>
  312. </input>
  313. <input id="ipt_vipflag" ref="/root/main/vccenter/vipflag" class="input_s_essential" disabled="true" style="left:190px; top:259px; width:295px; height:19px; ">
  314. <script type="javascript" ev:event="onkeypress">
  315. <![CDATA[
  316. if( event.keyCode == 13)
  317. {
  318. }
  319. ]]>
  320. </script>
  321. </input>
  322. <input id="ipt_rem" ref="/root/main/vccenter/rem" class="input_s_essential" disabled="true" style="left:190px; top:371px; width:295px; height:19px; ">
  323. <script type="javascript" ev:event="onkeypress">
  324. <![CDATA[
  325. if( event.keyCode == 13)
  326. {
  327. }
  328. ]]>
  329. </script>
  330. </input>
  331. <input id="ipt_vipcls" ref="/root/main/vccenter/vipcls" class="input_s_essential" disabled="true" style="left:190px; top:287px; width:295px; height:19px; ">
  332. <script type="javascript" ev:event="onkeypress">
  333. <![CDATA[
  334. if( event.keyCode == 13)
  335. {
  336. }
  337. ]]>
  338. </script>
  339. </input>
  340. <input id="input1" ref="/root/main/vccenter/jobpos" class="input_s_essential" disabled="true" style="left:190px; top:343px; width:295px; height:19px; ">
  341. <script type="javascript" ev:event="onkeypress">
  342. <![CDATA[
  343. if( event.keyCode == 13)
  344. {
  345. }
  346. ]]>
  347. </script>
  348. </input>
  349. </group>
  350. <group id="group3" style="left:0px; top:0px; width:490px; height:13px; ">
  351. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:111px; height:14px; ">VIP정보</caption>
  352. </group>
  353. <group id="grp_empintroducergst" visibility="hidden" style="left:90px; top:215px; width:370px; height:217px; background-color:#ffdddd; border-color:#000000; border-style:outset; ">
  354. <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:364px; y2:20px; "/>
  355. <caption id="caption7" class="tit_2" style="left:6px; top:5px; width:118px; height:13px; ">교직원 소개 등록</caption>
  356. <caption id="caption21" style="left:5px; top:142px; width:106px; height:15px; font-size:10pt; font-weight:bold; ">&#9642;직원번호 :</caption>
  357. <input id="input9" ref="/root/send/empintrorgst/userid" class="input_s_essential" style="left:94px; top:139px; width:153px; height:19px; ">
  358. <script type="javascript" ev:event="onkeypress">
  359. <![CDATA[
  360. inputEnterKey("button3", "DOMActivate");
  361. ]]>
  362. </script>
  363. </input>
  364. <input id="input10" ref="/root/send/empintrorgst/rela" class="input_s_essential" style="left:94px; top:164px; width:270px; height:19px; ">
  365. <script type="javascript" ev:event="onkeypress">
  366. <![CDATA[
  367. if( event.keyCode == 13)
  368. {
  369. }
  370. ]]>
  371. </script>
  372. </input>
  373. <line id="line7" class="line_3" style="x1:0px; y1:185px; x2:364px; y2:185px; "/>
  374. <caption id="caption5" style="left:5px; top:167px; width:106px; height:15px; font-size:10pt; font-weight:bold; ">&#9642;관 계 :</caption>
  375. <button id="button1" class="btn4_letter3" style="left:227px; top:189px; width:68px; height:22px; ">
  376. <caption>등 록</caption>
  377. <script type="javascript" ev:event="DOMActivate">
  378. <![CDATA[
  379. bool1.selected = 'false';
  380. bool2.selected = 'false';
  381. bool3.selected = 'false';
  382. var chkflag = model.getValue("/root/send/empintrorgst/setflag");
  383. if(chkflag != "D"){
  384. var msg = messageBox("입력하신내용을 ","Q014");
  385. }else{
  386. var msg = "6";
  387. }
  388. if(msg == "6"){
  389. if(fInsRgstChk() == true){
  390. model.makeValue("/root/send/empintrorgst/pid",model.getValue("/root/send/patinfo/pid"));
  391. //model.makeValue("/root/send/empintrorgst/pid", "18785104");
  392. model.makeValue("/root/send/empintrorgst/recomrgstdd",getCurrentDate());
  393. model.makeValue("/root/send/empintrorgst/recomflag","Y");
  394. model.refresh();
  395. model.resetInstanceNode("/root/hidden/ins/patappinfo1");
  396. if(submit("TXPMC08001")){
  397. if(model.getValue("/root/hidden/ins/patappinfo1/count") == 0){
  398. messageBox("이미 등록된 정보","E008"); // 이미 등록된 정보 입니다.
  399. }else if(model.getValue("/root/hidden/ins/patappinfo1/count") == 1){
  400. messageBox("저장","I001"); // 저장 처리되었습니다.
  401. fInitialize();
  402. fInitializeRef();
  403. opener.model.setValue("/root/main/patinfo/vip","Y");
  404. opener.model.refresh();
  405. opener.javascript.fSetCtrlClass("vip");
  406. opener.grp_patientinfo.refresh();
  407. grp_empintroducergst.visible = false;
  408. }else if(model.getValue("/root/hidden/ins/patappinfo1/count") == 2){
  409. messageBox("수정할 정보","I004"); // 수정할 정보가 없습니다.
  410. }else if(model.getValue("/root/hidden/ins/patappinfo1/count") == 3){
  411. messageBox("수정","I001"); // 수정 처리되었습니다.
  412. fInitialize();
  413. fInitializeRef();
  414. opener.model.setValue("/root/main/patinfo/vip","Y");
  415. opener.model.refresh();
  416. opener.javascript.fSetCtrlClass("vip");
  417. opener.grp_patientinfo.refresh();
  418. grp_empintroducergst.visible = false;
  419. }else if(model.getValue("/root/hidden/ins/patappinfo1/count") == 4){
  420. messageBox("수정되지","E007"); // 수정되지 않았습니다.
  421. }else if(model.getValue("/root/hidden/ins/patappinfo1/count") == 5){
  422. messageBox("삭제할 정보","I004"); // 삭제할 정보가 없습니다.
  423. }else if(model.getValue("/root/hidden/ins/patappinfo1/count") == 6){
  424. messageBox("삭제","I001"); // 삭제 처리되었습니다.
  425. fInitialize();
  426. fInitializeRef();
  427. opener.model.setValue("/root/main/patinfo/vip","N");
  428. opener.model.refresh();
  429. opener.javascript.fSetCtrlClass("vip");
  430. opener.grp_patientinfo.refresh();
  431. }
  432. }
  433. }
  434. }
  435. ]]>
  436. </script>
  437. </button>
  438. <button id="button2" class="btn4_letter3" style="left:295px; top:189px; width:68px; height:22px; ">
  439. <caption>닫 기</caption>
  440. <script type="javascript" ev:event="DOMActivate">
  441. <![CDATA[
  442. grp_empintroducergst.visible = false;
  443. input9.disabled = false;
  444. ]]>
  445. </script>
  446. </button>
  447. <!-- 소속부서가 불분명할때 소속부서는 아무거나 선택하고 여기에 입력한다. -->
  448. <!-- 직위가 불분명할때 직위는 아무거나 선택하고 여기에 입력한다. -->
  449. <!-- 소속기관이 불분명할때 소속기관은 아무거나 선택하고 여기에 입력한다. -->
  450. <button id="button3" class="btn5_letter2" style="left:248px; top:139px; width:42px; height:19px; ">
  451. <caption>조회</caption>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. model.removeNodeset("/root/hidden/ref/empinfolist");
  455. model.setValue("/root/send/empintrorgst/rela","-");
  456. var userid = model.getValue("/root/send/empintrorgst/userid");
  457. if(userid == "" || userid == " " || userid == null){
  458. messageBox("직원번호가 입력되지","E007");
  459. }else{
  460. if(submit("TRPMC08002")){
  461. }
  462. }
  463. ]]>
  464. </script>
  465. </button>
  466. <datagrid id="datagrid3" nodeset="/root/hidden/ref/empinfolist" caption="ID^성명^직위^소속기관^소속부서^근무기관^근무부서^실근무기관^실근무부서" colsep="^" colwidth="70, 70, 70, 100, 100, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:1px; top:25px; width:362px; height:108px; ">
  467. <col disabled="true" ref="userid" visibility="hidden" visibled="false"/>
  468. <col disabled="true" ref="usernm"/>
  469. <col disabled="true" ref="jobposcd"/>
  470. <col disabled="true" ref="posinstcd"/>
  471. <col disabled="true" ref="posdeptcd"/>
  472. <col disabled="true" ref="dutinstcd"/>
  473. <col disabled="true" ref="dutunitcd"/>
  474. <col disabled="true" ref="dutplceinstcd"/>
  475. <col disabled="true" ref="dutplcecd"/>
  476. </datagrid>
  477. </group>
  478. </xhtml:body>
  479. </xhtml:html>