SPPMC05300_원무사용자조회.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  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>VIP환자기초정보조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patbaseinfo>
  11. <patbaseinfolist/>
  12. </patbaseinfo>
  13. </main>
  14. <send>
  15. <srchcond/>
  16. <pid/>
  17. <hngnm/>
  18. <rrgstno1/>
  19. <rrgstno2/>
  20. <deptflag/>
  21. </send>
  22. <init>
  23. <P0350list>
  24. <P0350>
  25. <cdnm/>
  26. <cdid/>
  27. </P0350>
  28. </P0350list>
  29. </init>
  30. <hidden>
  31. <uid>
  32. <myself/>
  33. <opener/>
  34. </uid>
  35. <tmp/>
  36. </hidden>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. zbcfGetCodeList(new Array("P0350"), new Array("/root/init/P0350list"));
  42. model.makeNode("/root/send/deptflag");
  43. model.setValue("/root/send/deptflag", opener.javascript.getParameter("deptcd"));
  44. var deptflag = model.getValue("/root/send/deptflag");
  45. //model.alert(deptflag);
  46. //플래그 초기화!
  47. opener.model.makeNode("/root/main/popupendflag");
  48. opener.model.setValue("/root/main/popupendflag", "cancel");
  49. if( getNodesetCount("/root/send/srchcond") > 0 ){
  50. if( model.getValue("/root/send/checkfnexam") != "1" ){
  51. //조회조건에서 '예약일시'를 제거한다.
  52. cmb_cond.choices.itemset.attribute("nodeset") = "/root/init/P0350list/P0350[cdid != '5' ]";
  53. }
  54. fChangeSearchCondition( model.getValue("/root/send/srchcond") );
  55. model.refresh();
  56. //값이 부모창에서 입력되었을 경우 조회한다.
  57. if(model.getValue("/root/send/srchcond") != '5' && fInputValueCheckXformsReady() ){
  58. //if( fInputValueCheckXformsReady() ){
  59. if( submit("TRPMC05001") ){
  60. if( grd_patbaseinfo.rows == 2 ){
  61. if( model.getValue("/root/send/autoflag").toUpperCase() == "Y" ){ //조회 내역이 1건일 경우 자동 화면 닫기
  62. model.setFocus("grd_patbaseinfo");
  63. btn_confirm.dispatch("DOMActivate");
  64. window.close();
  65. }
  66. }
  67. if( grd_patbaseinfo.rows > 1 ){
  68. model.setFocus("grd_patbaseinfo");
  69. }else{
  70. if( model.getValue("/root/send/autoflag").toUpperCase() == "NON" ){ //조회 내역이 없을 경우 자동 화면 닫기
  71. btn_cancel.dispatch("DOMActivate");
  72. //window.close();
  73. }
  74. fChangeSearchCondition( cmb_cond.value );
  75. }
  76. }
  77. }
  78. }else{
  79. //조회조건에서 '예약일시'를 제거한다.
  80. cmb_cond.choices.itemset.attribute("nodeset") = "/root/init/P0350list/P0350[cdid != '5' ]";
  81. model.makeNode("/root/send/srchcond");
  82. model.makeNode("/root/send/pid");
  83. model.makeNode("/root/send/hngnm");
  84. model.makeNode("/root/send/rrgstno1");
  85. model.makeNode("/root/send/rrgstno2");
  86. model.refresh();
  87. }
  88. ]]>
  89. </script>
  90. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  91. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  92. <submission id="TRPMC05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patbaseinfo"/>
  93. </model>
  94. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  97. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  98. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  99. <script type="javascript">
  100. <![CDATA[
  101. //창 생성시 부모창으로 부터 받은 입력값의 유효범위 체크
  102. function fInputValueCheckXformsReady(){
  103. var cond = model.getValue("/root/send/srchcond");
  104. switch(cond){
  105. case '1':
  106. //환자등록번호 체크
  107. if(ipt_pid.currentText.length >= 1 ){
  108. model.setValue("/root/send/pid", ipt_pid.currentText);
  109. return (true);
  110. }else{
  111. //messageBox("환자등록번호를 정확히", "C001");
  112. return (false);
  113. }
  114. break;
  115. case '2':
  116. //환자이름 체크
  117. //if( ipt_hngnm.currentText.length >= 2 ) return (true);
  118. if(ipt_hngnm.currentText.length >= 2 ){
  119. model.setValue("/root/send/hngnm", ipt_hngnm.currentText);
  120. return (true);
  121. }else{
  122. //messageBox("환자이름을 2자리 이상", "C001");
  123. return (false);
  124. }
  125. break;
  126. case '3':
  127. //환자 주민번호 체크
  128. if( ipt_rrgstno1.currentText.length >= 1 || ipt_rrgstno2.currentText.length >= 1){
  129. model.setValue("/root/send/rrgstno1", ipt_rrgstno1.currentText);
  130. model.setValue("/root/send/rrgstno2", ipt_rrgstno2.currentText);
  131. return (true);
  132. }else{
  133. //messageBox("환자 주민번호를", "C001");
  134. return (false);
  135. }
  136. break;
  137. case '4':
  138. //환자이름 유효성 체크. 환자 주민번호 체크
  139. if(ipt_hngnm.currentText.length >= 2 || ipt_rrgstno1.currentText.length >= 1 || ipt_rrgstno2.currentText.length >= 1){
  140. model.setValue("/root/send/hngnm", ipt_hngnm.currentText);
  141. model.setValue("/root/send/rrgstno1", ipt_rrgstno1.currentText);
  142. model.setValue("/root/send/rrgstno2", ipt_rrgstno2.currentText);
  143. }else{
  144. //messageBox("환자이름을 2자리 이상", "C001");
  145. return (false);
  146. }
  147. return( true );
  148. break;
  149. default :
  150. model.setFocus("cmb_cond");
  151. return( false );
  152. break;
  153. }
  154. }
  155. //입력값의 유효범위 체크
  156. function fInputValueCheck(){
  157. var cond = model.getValue("/root/send/srchcond");
  158. switch(cond){
  159. case '1':
  160. //환자등록번호 체크
  161. if(ipt_pid.currentText.length >= 1 ){
  162. model.setValue("/root/send/pid", ipt_pid.currentText);
  163. return (true);
  164. }else{
  165. messageBox("환자등록번호를 정확히", "C001");
  166. return (false);
  167. }
  168. break;
  169. case '2':
  170. //환자이름 체크
  171. //if( ipt_hngnm.currentText.length >= 2 ) return (true);
  172. if(ipt_hngnm.currentText.length >= 2 ){
  173. model.setValue("/root/send/hngnm", ipt_hngnm.currentText);
  174. return (true);
  175. }else{
  176. messageBox("환자이름을 2자리 이상", "C001");
  177. return (false);
  178. }
  179. break;
  180. case '3':
  181. //환자 주민번호 체크
  182. if( ipt_rrgstno1.currentText.length >= 1 || ipt_rrgstno2.currentText.length >= 1 ){
  183. model.setValue("/root/send/rrgstno1", ipt_rrgstno1.currentText);
  184. model.setValue("/root/send/rrgstno2", ipt_rrgstno2.currentText);
  185. return (true);
  186. }else{
  187. messageBox("환자 주민번호를", "C001");
  188. return (false);
  189. }
  190. break;
  191. case '4':
  192. //환자이름 유효성 체크. 환자 주민번호 체크
  193. if(ipt_hngnm.currentText.length >= 2 || ipt_rrgstno1.currentText.length >= 1 || ipt_rrgstno2.currentText.length >= 1){
  194. model.setValue("/root/send/hngnm", ipt_hngnm.currentText);
  195. model.setValue("/root/send/rrgstno1", ipt_rrgstno1.currentText);
  196. model.setValue("/root/send/rrgstno2", ipt_rrgstno2.currentText);
  197. }else{
  198. messageBox("환자이름 또는 주민번호를", "C001");
  199. return (false);
  200. }
  201. return( true );
  202. break;
  203. default :
  204. messageBox("검색조건이 정확히 선택되지 않았습니다. 확인 후 다시 시도해 주십시요.", "E999", "");
  205. model.setFocus("cmb_cond");
  206. return( false );
  207. break;
  208. }
  209. }
  210. //조회 조건에 맞는 input 컨트롤을 세팅해 준다.
  211. function fChangeSearchCondition( cond){
  212. switch(cond){
  213. case '1':
  214. model.makeNode("/root/send/pid");
  215. model.makeNode("/root/send/deptflag");
  216. ipt_pid.attribute("visibility") = "visible";
  217. ipt_pid.attribute("left") = "219px";
  218. ipt_pid.attribute("top") = "8px";
  219. ipt_hngnm.attribute("visibility") = "hidden";
  220. ipt_rrgstno1.attribute("visibility") = "hidden";
  221. ipt_rrgstno2.attribute("visibility") = "hidden";
  222. model.setFocus("ipt_pid");
  223. break;
  224. case '2':
  225. model.makeNode("/root/send/hngnm");
  226. model.makeNode("/root/send/deptflag");
  227. ipt_hngnm.attribute("visibility") = "visible";
  228. ipt_hngnm.attribute("left") = "219px";
  229. ipt_hngnm.attribute("top") = "8px";
  230. ipt_pid.attribute("visibility") = "hidden";
  231. ipt_rrgstno1.attribute("visibility") = "hidden";
  232. ipt_rrgstno2.attribute("visibility") = "hidden";
  233. model.setFocus("ipt_hngnm");
  234. break;
  235. case '3':
  236. model.makeNode("/root/send/rrgstno1");
  237. model.makeNode("/root/send/rrgstno2");
  238. model.makeNode("/root/send/deptflag");
  239. ipt_rrgstno1.attribute("visibility") = "visible";
  240. ipt_rrgstno2.attribute("visibility") = "visible";
  241. ipt_rrgstno1.attribute("left") = "219px";
  242. ipt_rrgstno1.attribute("top") = "8px";
  243. ipt_rrgstno2.attribute("left") = "307px";
  244. ipt_rrgstno2.attribute("top") = "8px";
  245. ipt_hngnm.attribute("visibility") = "hidden";
  246. ipt_pid.attribute("visibility") = "hidden";
  247. model.setFocus("ipt_rrgstno1");
  248. break;
  249. case '4':
  250. //model.makeNode("/root/send/pid");
  251. model.makeNode("/root/send/hngnm");
  252. model.makeNode("/root/send/rrgstno1");
  253. model.makeNode("/root/send/rrgstno2");
  254. model.makeNode("/root/send/deptflag");
  255. ipt_hngnm.attribute("visibility") = "visible";
  256. ipt_hngnm.attribute("left") = "219px";
  257. ipt_hngnm.attribute("top") = "8px";
  258. ipt_pid.attribute("visibility") = "hidden";
  259. ipt_rrgstno1.attribute("visibility") = "visible";
  260. ipt_rrgstno1.attribute("left") = "352px";
  261. ipt_rrgstno1.attribute("top") = "8px";
  262. ipt_rrgstno2.attribute("visibility") = "visible";
  263. ipt_rrgstno2.attribute("left") = "440px";
  264. ipt_rrgstno2.attribute("top") = "8px";
  265. model.setFocus("ipt_hngnm");
  266. break;
  267. default :
  268. //messageBox("검색조건이 정확히 선택되지 않았습니다. 확인 후 다시 시도해 주십시요.", "E999", "");
  269. break;
  270. }
  271. }
  272. ]]>
  273. </script>
  274. </xhtml:head>
  275. <xhtml:body pagewidth="634" pageheight="343" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  276. <group id="group3" scroll="auto" style="left:0px; top:0px; width:618px; height:316px; ">
  277. <group id="group2" style="left:0px; top:0px; width:618px; height:35px; ">
  278. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:617px; height:35px; "/>
  279. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
  280. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:545px; top:7px; width:56px; height:22px; ">
  281. <caption>조회</caption>
  282. <script type="javascript" ev:event="DOMActivate">
  283. <![CDATA[
  284. if( fInputValueCheck() ){
  285. if( submit("TRPMC05001") ){
  286. if( grd_patbaseinfo.rows > 1 ){
  287. model.setFocus("grd_patbaseinfo");
  288. }else{
  289. fChangeSearchCondition( cmb_cond.value );
  290. }
  291. }
  292. }
  293. ]]>
  294. </script>
  295. </button>
  296. <line id="line13" class="line_4" style="x1:529px; y1:7px; x2:529px; y2:29px; border-color:#ffe4bb; "/>
  297. <input id="ipt_hngnm" ref="/root/send/hngnm" class="input_search" navindex="1" visibility="hidden" autonext="false" imemode="hangul" style="left:224px; top:8px; width:130px; height:19px; ">
  298. <script type="javascript" ev:event="onkeypress">
  299. <![CDATA[
  300. inputEnterKey("btn_search", "DOMActivate");
  301. ]]>
  302. </script>
  303. </input>
  304. <input id="ipt_rrgstno1" ref="/root/send/rrgstno1" class="input_search" navindex="2" visibility="hidden" format="999999" style="left:247px; top:8px; width:85px; height:19px; ">
  305. <script type="javascript" ev:event="onkeypress">
  306. <![CDATA[
  307. inputEnterKey("btn_search", "DOMActivate");
  308. ]]>
  309. </script>
  310. </input>
  311. <select1 id="cmb_cond" ref="/root/send/srchcond" class="combo_search" navindex="10" appearance="minimal" style="left:106px; top:8px; width:110px; height:19px; ">
  312. <choices>
  313. <itemset nodeset="/root/init/P0350list/P0350">
  314. <label ref="cdnm"/>
  315. <value ref="cdid"/>
  316. </itemset>
  317. </choices>
  318. <script type="javascript" ev:event="xforms-value-changed">
  319. <![CDATA[
  320. var cond = model.getValue("/root/send/srchcond");
  321. //model.refresh();
  322. fChangeSearchCondition( cond );
  323. ]]>
  324. </script>
  325. </select1>
  326. <input id="ipt_rrgstno2" ref="/root/send/rrgstno2" class="input_search" navindex="3" visibility="hidden" autonext="false" format="9999999" style="left:285px; top:8px; width:85px; height:19px; ">
  327. <script type="javascript" ev:event="onkeypress">
  328. <![CDATA[
  329. inputEnterKey("btn_search", "DOMActivate");
  330. ]]>
  331. </script>
  332. </input>
  333. <input id="ipt_pid" ref="/root/send/pid" class="input_search" navindex="4" visibility="hidden" autonext="false" format="9999999999" style="left:325px; top:8px; width:130px; height:19px; ">
  334. <script type="javascript" ev:event="onkeypress">
  335. <![CDATA[
  336. inputEnterKey("btn_search", "DOMActivate");
  337. ]]>
  338. </script>
  339. </input>
  340. </group>
  341. <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:95px; height:14px; ">인적사항</caption>
  342. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:617px; y2:60px; "/>
  343. <datagrid id="grd_patbaseinfo" nodeset="/root/main/patbaseinfo/patbaseinfolist" caption="등록번호^vip등록번호^vip분류^vip구분^환자성명^주민등록번호^주민등록번호^집전화번호^휴대전화번호^생일^성별^나이^이메일^기타전화번호1^연락방법^정보공개여부^시작일자^종료일자^우편번호^우편번호^우편번호순서^주소^상세주소^종료사유^진료참조사항^근무처^직책^종교^세례명^영명축일^생일^음력/양력구분^외국인여부^국적^차종^차량번호^의뢰자^의뢰자와의관계^수행원이름^수행원과의관계^수행원연락처^VIP등록자^최초등록자ID^최초등록시간^최종수정자ID^최종수정시간^신청부서^신청부서명^vip관리부서^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="68, 100, 69, 67, 65, 50, 50, 85, 100, 100, 100, 100, 75, 100, 100, 100, 100, 120, 50, 50, 100, 250, 250, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="7" style="left:0px; top:65px; width:617px; height:250px; ">
  344. <col ref="pid"/>
  345. <col ref="viprgstno"/>
  346. <col disabled="true" ref="vipcls" type="combo">
  347. <choices>
  348. <itemset nodeset="/root/init/P0443list/P0443">
  349. <label ref="cdnm"/>
  350. <value ref="cdid"/>
  351. </itemset>
  352. </choices>
  353. </col>
  354. <col disabled="true" ref="vipflag" type="combo">
  355. <choices>
  356. <itemset nodeset="/root/init/P0444list/P0444">
  357. <label ref="cdnm"/>
  358. <value ref="cdid"/>
  359. </itemset>
  360. </choices>
  361. </col>
  362. <col ref="hngnm"/>
  363. <col ref="rrgstno1"/>
  364. <col ref="rrgstno2"/>
  365. <col ref="hometel"/>
  366. <col ref="mpphontel"/>
  367. <col ref="brthdd" visibility="hidden" format="yyyy-mm-dd"/>
  368. <col ref="sex" visibility="hidden"/>
  369. <col ref="age" visibility="hidden"/>
  370. <col ref="email" visibility="hidden"/>
  371. <col ref="etctel1" visibility="hidden"/>
  372. <col ref="cntcmthd" visibility="hidden"/>
  373. <col ref="infoopenyn" visibility="hidden"/>
  374. <col ref="fromdd" visibility="hidden" format="yyyy-mm-dd"/>
  375. <col ref="todd" visibility="hidden" format="yyyy-mm-dd"/>
  376. <col ref="zipcd1"/>
  377. <col ref="zipcd2"/>
  378. <col ref="zipcdseq" visibility="hidden"/>
  379. <col ref="addr"/>
  380. <col ref="detladdr"/>
  381. <col ref="endresn" visibility="hidden"/>
  382. <col ref="ordremfact" visibility="hidden"/>
  383. <col ref="dutplce"/>
  384. <col ref="jobpos"/>
  385. <col ref="religncd" visibility="hidden"/>
  386. <col ref="baptnm" visibility="hidden"/>
  387. <col ref="fairnmfestivday" visibility="hidden"/>
  388. <col ref="brthdate" visibility="hidden"/>
  389. <col ref="lunarsolarflag" visibility="hidden"/>
  390. <col ref="forgneryn" visibility="hidden"/>
  391. <col ref="nati" visibility="hidden"/>
  392. <col ref="carkind" visibility="hidden"/>
  393. <col ref="carno" visibility="hidden"/>
  394. <col ref="requester" visibility="hidden"/>
  395. <col ref="requesterrela" visibility="hidden"/>
  396. <col ref="attendantnm" visibility="hidden"/>
  397. <col ref="attendantrela" visibility="hidden"/>
  398. <col ref="attendanttelno" visibility="hidden"/>
  399. <col ref="viprgstrnm" visibility="hidden"/>
  400. <col ref="fstrgstrid" visibility="hidden"/>
  401. <col ref="fstrgstdt" visibility="hidden"/>
  402. <col ref="lastupdtrid" visibility="hidden"/>
  403. <col ref="lastupdtdt" visibility="hidden"/>
  404. <col ref="vipappdept"/>
  405. <col ref="vipappdeptnm"/>
  406. <col ref="vipmngtdept"/>
  407. <script type="javascript" ev:event="ondblclick">
  408. <![CDATA[
  409. if ( checkOpener() ) {
  410. row = grd_patbaseinfo.row;
  411. if( row > 0 ){
  412. if( getNodesetCount("/root/main/patbaseinfo/patbaseinfolist") > 0 ){
  413. opener.model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", grd_patbaseinfo.getNode( row ));
  414. opener.model.makeNode("/root/main/popupendflag");
  415. opener.model.setValue("/root/main/popupendflag", "ok");
  416. opener.model.refresh();
  417. window.close();
  418. }
  419. }
  420. } else {
  421. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  422. }
  423. ]]>
  424. </script>
  425. <script type="javascript" ev:event="onkeypress">
  426. <![CDATA[
  427. if( event.keyCode == 13 ){
  428. btn_confirm.dispatch("DOMActivate");
  429. }
  430. //alert("aaa");
  431. ]]>
  432. </script>
  433. </datagrid>
  434. </group>
  435. <group id="group1" scroll="auto" style="left:0px; top:316px; width:618px; height:27px; ">
  436. <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:502px; top:5px; width:56px; height:22px; ">
  437. <caption>확인</caption>
  438. <script type="javascript" ev:event="DOMActivate">
  439. <![CDATA[
  440. if ( checkOpener() ) {
  441. row = grd_patbaseinfo.row;
  442. opener.model.makeNode("/root/main/popupendflag");
  443. opener.model.setValue("/root/main/popupendflag", "cancel");
  444. if( row > 0 ){
  445. if( getNodesetCount("/root/main/patbaseinfo/patbaseinfolist") > 0 ){
  446. //합번된 등록번호 메세지 처리
  447. var sPid = model.getValue("/root/main/patbaseinfo/patbaseinfolist[" + row + "]/pid");
  448. var sHngnm = model.getValue("/root/main/patbaseinfo/patbaseinfolist[" + row + "]/hngnm");
  449. var sBindPid = model.getValue("/root/main/patbaseinfo/patbaseinfolist[" + row + "]/bindpid");
  450. if( sBindPid != '' && sBindPid != '-' ){
  451. alert(sPid + "(" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다.");
  452. return false;
  453. }
  454. opener.model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", grd_patbaseinfo.getNode( row ));
  455. opener.model.makeNode("/root/main/popupendflag");
  456. opener.model.setValue("/root/main/popupendflag", "ok");
  457. }
  458. //else{
  459. // opener.model.setValue("/root/main/popupendflag", "cancel");
  460. //}
  461. //opener.model.refresh();
  462. //window.close();
  463. }else {
  464. //opener.model.setValue("/root/main/popupendflag", "cancel");
  465. messageBox("행이 정확히 선택되지", "E007");
  466. //opener.model.refresh();
  467. //window.close();
  468. }
  469. } else {
  470. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  471. //opener.model.setValue("/root/main/popupendflag", "cancel");
  472. //opener.model.refresh();
  473. //window.close();
  474. }
  475. opener.model.refresh();
  476. window.close();
  477. ]]>
  478. </script>
  479. </button>
  480. <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:561px; top:5px; width:56px; height:22px; ">
  481. <caption>취소</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. opener.model.makeNode("/root/main/popupendflag");
  485. opener.model.setValue("/root/main/popupendflag", "cancel");
  486. window.close();
  487. ]]>
  488. </script>
  489. </button>
  490. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:618px; y2:0px; "/>
  491. </group>
  492. </xhtml:body>
  493. </xhtml:html>