SPPMC04700_VIP환자신청.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  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>VIP환자신청관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <vippatbaseinfo>
  11. <vippatbaseinfolist>
  12. <pid/>
  13. <hngnm/>
  14. <rrgstno1/>
  15. <rrgstno2/>
  16. <hometel/>
  17. <mpphontel/>
  18. <etctel/>
  19. <vipcls/>
  20. <vipflag/>
  21. <dutplce/>
  22. <jobpos/>
  23. <remfact/>
  24. <vipcheck/>
  25. <age/>
  26. <brthdd/>
  27. </vippatbaseinfolist>
  28. </vippatbaseinfo>
  29. <appcnfm>
  30. <appcnfmlist/>
  31. </appcnfm>
  32. <result>
  33. <vippatbaseinfo>
  34. <vippatbaseinfolist/>
  35. </vippatbaseinfo>
  36. </result>
  37. <patinfo>
  38. <patinfolist/>
  39. </patinfo>
  40. <popupendflag/>
  41. </main>
  42. <send>
  43. <fromdd/>
  44. <todd/>
  45. <updatedata/>
  46. <pid/>
  47. </send>
  48. <init>
  49. <P0443list>
  50. <P0443>
  51. <cdnm/>
  52. <cdid/>
  53. </P0443>
  54. </P0443list>
  55. <P0444list>
  56. <P0444>
  57. <cdnm/>
  58. <cdid/>
  59. </P0444>
  60. </P0444list>
  61. </init>
  62. <hidden>
  63. <source>
  64. <autoflag/>
  65. <srchcond/>
  66. <pid/>
  67. <hngnm/>
  68. <rrgstno1/>
  69. <rrgstno2/>
  70. </source>
  71. </hidden>
  72. </root>
  73. </instance>
  74. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  75. <submission id="TRPMC04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/appcnfm"/>
  76. <submission id="TXPMC04702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vippatbaseinfo/vippatbaseinfolist" resultref="/root/main/result"/>
  77. <submission id="TRPMC02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/result/vippatbaseinfo"/>
  78. </model>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  84. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  85. <script type="javascript" ev:event="xforms-ready">
  86. <![CDATA[
  87. zbcfGetCodeList(new Array("P0443", "P0444"), new Array("/root/init/P0443list", "/root/init/P0444list"));
  88. //초기화
  89. fInitialize();
  90. model.refresh();
  91. //팝업화면으로 사용될 때
  92. if (checkOpener()){
  93. var pid = opener.javascript.getParameter("SPPMC04700_pid");
  94. var hngnm = opener.javascript.getParameter("SPPMC04700_hngnm");
  95. var rrgstno1 = opener.javascript.getParameter("SPPMC04700_rrgstno1");
  96. var rrgstno2 = opener.javascript.getParameter("SPPMC04700_rrgstno2");
  97. if( pid != '') {
  98. //진료과 세팅
  99. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/pid", pid);
  100. }else if( hngnm != '') {
  101. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/hngnm", hngnm);
  102. }else if( rrgstno1 != '') {
  103. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno1", rrgstno1);
  104. }else if( rrgstno2 != '') {
  105. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno2", rrgstno2);
  106. }
  107. }
  108. ]]>
  109. </script>
  110. <script type="javascript">
  111. <![CDATA[
  112. function fInitialize() {
  113. model.resetInstanceNode("/root/send");
  114. model.resetInstanceNode("/root/main/vippatbaseinfo/vippatbaseinfolist");
  115. // 날짜 입력 항목에 오늘 날짜 세팅
  116. var curDate = getCurrentDate();
  117. model.setValue("/root/send/fromdd", curDate);
  118. model.setValue("/root/send/todd", curDate);
  119. model.refresh();
  120. }
  121. function fdataCheck() {
  122. //환자이름 체크
  123. if( model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/hngnm").getTrim().length < 2 ){
  124. messageBox("환자 이름을 정확히 입력하지 않았습니다. 다시 시도해 주십시오.", "E999", "" );
  125. model.setFocus("ipt_hngnm");
  126. return false;
  127. }
  128. //환자 주민번호 체크
  129. var rrgstno1 = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno1").getTrim();
  130. var rrgstno2 = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno2").getTrim();
  131. var rrgstno = rrgstno1.concat(rrgstno2);
  132. var vipcls = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/vipcls");
  133. var vipflag = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/vipflag");
  134. var pid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/pid");
  135. if( rrgstno1.length != 6 || rrgstno2.length != 7){
  136. messageBox("주민등록번호를 정확히 입력하지 않았습니다. 다시 시도해 주십시오.", "E999", "" );
  137. return false;
  138. }else if (isResidentNo(rrgstno) == false){
  139. if( messageBox("유효하지 않은 주민등록번호입니다. 무시하고 계속 진행하시겠습니까?", "Q999", "") != 6){
  140. model.setFocus("ipt_rrgstno1");
  141. return false;
  142. }
  143. }
  144. //미입력사항 체크
  145. if( pid == '' || pid == null || pid == '-' || pid == ' '){
  146. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/pid", "-");
  147. }
  148. if( vipcls == '' || vipcls == null || vipcls == '-' || vipcls == ' '){
  149. messageBox("VIP분류가 선택되지 않았습니다. 다시 시도해 주십시오", "E999");
  150. return false;
  151. }
  152. if( vipflag == '' || vipflag == null || vipflag == '-' || vipflag == ' '){
  153. messageBox("VIP구분이 선택되지 않았습니다. 다시 시도해 주십시오", "E999");
  154. return false;
  155. }
  156. return true;
  157. }
  158. function f_vipinfosrch(){
  159. submit("TRPMC04701");
  160. model.refresh();
  161. }
  162. ]]>
  163. </script>
  164. </xhtml:head>
  165. <xhtml:body pagewidth="515" pageheight="450" guideline="2,442;1,496;2,203;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  166. <group id="group3" scroll="auto" style="left:0px; top:0px; width:496px; height:176px; ">
  167. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:95px; height:13px; ">VIP입력사항</caption>
  168. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:495px; y2:20px; "/>
  169. <input id="ipt_pid" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/pid" appearance="input" style="left:95px; top:25px; width:125px; height:19px; ">
  170. <script type="javascript" ev:event="onkeypress">
  171. <![CDATA[
  172. //무조건 재조회 할수 있도록 clear 후에 조회 호출 필요
  173. if (event.keyCode == "13"){
  174. model.setValue("/root/hidden/source/srchcond", "1");
  175. var pid = ipt_pid.currentText;
  176. if( pid == '' || pid == ' ' ){
  177. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/pid", '');
  178. model.setFocus("ipt_hngnm");
  179. }else if( pid.length < 2 || isNaN(pid) ){
  180. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/pid", '');
  181. model.refresh();
  182. }else{
  183. model.setValue("/root/hidden/source/pid", pid);
  184. model.resetInstanceNode("/root/main/vippatbaseinfo/vippatbaseinfolist");
  185. if(submit("TRPMC02501")){
  186. model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", "/root/main/result/vippatbaseinfo/vippatbaseinfolist");
  187. model.refresh();
  188. }
  189. var vipcheck = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/vipcheck");
  190. if(vipcheck == 'N'){
  191. messageBox("이미 신청된 VIP환자입니다.", "E999", "");
  192. model.resetInstanceNode("/root/main/vippatbaseinfo/vippatbaseinfolist");
  193. model.resetInstanceNode("/root/hidden/source");
  194. model.refresh();
  195. return;
  196. }else if(vipcheck == 'Y') {
  197. messageBox("이미 승인된 VIP환자입니다. ", "E999", "");
  198. model.resetInstanceNode("/root/main/vippatbaseinfo/vippatbaseinfolist");
  199. model.resetInstanceNode("/root/hidden/source");
  200. model.refresh();
  201. return;
  202. }
  203. }
  204. }
  205. ]]>
  206. </script>
  207. </input>
  208. <caption id="caption29" class="cell_1" style="left:0px; top:24px; width:90px; height:23px; vertical-align:middle; ">등록번호</caption>
  209. <input id="ipt_hngnm" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/hngnm" class="input_s_essential" appearance="input" style="left:348px; top:25px; width:140px; height:19px; ">
  210. <script type="javascript" ev:event="onkeypress">
  211. <![CDATA[
  212. model.setValue("/root/hidden/source/srchcond", "2");
  213. model.setValue("/root/hidden/source/hngnm", ipt_hngnm.currentText);
  214. inputEnterKey("btn_search", "DOMActivate");
  215. ]]>
  216. </script>
  217. </input>
  218. <caption id="caption2" class="cell_1" style="left:250px; top:24px; width:92px; height:23px; vertical-align:middle; ">이름</caption>
  219. <caption id="caption4" class="cell_1" style="left:250px; top:49px; width:92px; height:23px; vertical-align:middle; ">전화번호[집]</caption>
  220. <input id="input3" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/hometel" appearance="input" style="left:348px; top:50px; width:140px; height:19px; "/>
  221. <input id="ipt_rrgstno1" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno1" class="input_s_essential" navindex="1" autonext="true" format="999999" style="left:95px; top:51px; width:73px; height:19px; ">
  222. <script type="javascript" ev:event="onkeypress">
  223. <![CDATA[
  224. var hngnm = ipt_hngnm.currentText;
  225. var rrgstno1 = ipt_rrgstno1.currentText;
  226. var rrgstno2 = ipt_rrgstno2.currentText;
  227. if( hngnm.length > 1 ){
  228. model.setValue("/root/hidden/source/srchcond", "4");
  229. model.setValue("/root/hidden/source/hngnm", hngnm);
  230. model.setValue("/root/hidden/source/rrgstno1", rrgstno1);
  231. model.setValue("/root/hidden/source/rrgstno2", rrgstno2);
  232. }else{
  233. model.setValue("/root/hidden/source/srchcond", "3");
  234. model.setValue("/root/hidden/source/rrgstno1", rrgstno1);
  235. model.setValue("/root/hidden/source/rrgstno2", rrgstno2)
  236. }
  237. inputEnterKey("btn_search", "DOMActivate");
  238. ]]>
  239. </script>
  240. </input>
  241. <input id="ipt_rrgstno2" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno2" class="input_s_essential" navindex="2" autonext="false" format="9999999" style="left:172px; top:51px; width:73px; height:19px; ">
  242. <script type="javascript" ev:event="onkeypress">
  243. <![CDATA[
  244. if (event.keyCode == "13"){
  245. var hngnm = ipt_hngnm.currentText;
  246. var rrgstno1 = ipt_rrgstno1.currentText;
  247. var rrgstno2 = ipt_rrgstno2.currentText;
  248. if( hngnm.length > 1 ){
  249. model.setValue("/root/hidden/source/srchcond", "4");
  250. model.setValue("/root/hidden/source/hngnm", hngnm);
  251. model.setValue("/root/hidden/source/rrgstno1", rrgstno1);
  252. model.setValue("/root/hidden/source/rrgstno2", rrgstno2);
  253. }else{
  254. model.setValue("/root/hidden/source/srchcond", "3");
  255. model.setValue("/root/hidden/source/rrgstno1", rrgstno1);
  256. model.setValue("/root/hidden/source/rrgstno2", rrgstno2);
  257. }
  258. //주민번호 뒷자리의 노드가 사라짐 해결
  259. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/rrgstno2", rrgstno2);
  260. if( rrgstno1.length == 6 && rrgstno2.length == 7 ){
  261. model.setValue("/root/hidden/source/rrgstno1", rrgstno1);
  262. model.setValue("/root/hidden/source/rrgstno2", rrgstno2);
  263. if(submit("TRPMC02501")){
  264. if( getNodesetCount("/root/main/result/vippatbaseinfo/vippatbaseinfolist") == 1 ){
  265. model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", "/root/main/result/vippatbaseinfo/vippatbaseinfolist");
  266. model.setValue("/root/main/popupendflag", "ok");
  267. var vipcheck = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/vipcheck");
  268. if(vipcheck == 'N'){
  269. messageBox("이미 신청된 VIP환자입니다.", "E999", "");
  270. model.resetInstanceNode("/root/main/vippatbaseinfo/vippatbaseinfolist");
  271. model.resetInstanceNode("/root/hidden/source");
  272. model.refresh();
  273. return;
  274. }else if(vipcheck == 'Y') {
  275. messageBox("이미 승인된 VIP환자입니다. ", "E999", "");
  276. model.resetInstanceNode("/root/main/vippatbaseinfo/vippatbaseinfolist");
  277. model.resetInstanceNode("/root/hidden/source");
  278. model.refresh();
  279. return;
  280. }
  281. //주민번호체크
  282. model.setValue("/root/main/vippatbaseinfo/vippatbaseinfolist/age",getFullAge(model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist/brthdd")));
  283. model.refresh();
  284. // model.copyNode("/root/tmp/vippatbaseinfolist", "/root/main/result/vippatbaseinfo/vippatbaseinfolist");
  285. }else if(getNodesetCount("/root/main/result/vippatbaseinfo/vippatbaseinfolist") > 1 ){
  286. inputEnterKey("btn_search", "DOMActivate");
  287. }else{
  288. messageBox("일치하는 환자가 없습니다.", "E999", "");
  289. //model.resetInstanceNode("");
  290. }
  291. }
  292. }else{
  293. inputEnterKey("btn_search", "DOMActivate");
  294. }
  295. }
  296. ]]>
  297. </script>
  298. </input>
  299. <caption id="caption35" class="cell_1" style="left:0px; top:49px; width:90px; height:23px; ">주민번호</caption>
  300. <caption id="caption3" class="cell_1" style="left:0px; top:74px; width:90px; height:23px; ">휴대폰</caption>
  301. <input id="input2" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/mpphontel" style="left:95px; top:76px; width:150px; height:19px; "/>
  302. <caption id="caption5" class="cell_1" style="left:250px; top:74px; width:92px; height:23px; ">기타전화번호</caption>
  303. <input id="input4" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/etctel" style="left:348px; top:76px; width:140px; height:19px; "/>
  304. <caption id="caption6" class="cell_1" style="left:0px; top:149px; width:90px; height:23px; ">특이사항</caption>
  305. <input id="input5" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/remfact" style="left:96px; top:151px; width:395px; height:19px; "/>
  306. <caption id="caption8" class="cell_1" style="left:250px; top:99px; width:92px; height:23px; vertical-align:middle; ">VIP구분</caption>
  307. <select1 id="combo1" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/vipflag" appearance="minimal" style="left:348px; top:100px; width:140px; height:19px; ">
  308. <choices>
  309. <itemset nodeset="/root/init/P0444list/P0444">
  310. <label ref="cdnm"/>
  311. <value ref="cdid"/>
  312. </itemset>
  313. </choices>
  314. </select1>
  315. <caption id="caption9" class="cell_1" style="left:0px; top:99px; width:90px; height:23px; ">VIP분류</caption>
  316. <select1 id="combo2" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/vipcls" appearance="minimal" style="left:95px; top:102px; width:150px; height:19px; ">
  317. <choices>
  318. <itemset nodeset="/root/init/P0443list/P0443">
  319. <label ref="cdnm"/>
  320. <value ref="cdid"/>
  321. </itemset>
  322. </choices>
  323. </select1>
  324. <caption id="caption10" class="cell_1" style="left:0px; top:124px; width:90px; height:23px; ">근무처</caption>
  325. <input id="input6" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/dutplce" style="left:95px; top:126px; width:150px; height:19px; "/>
  326. <caption id="caption11" class="cell_1" style="left:250px; top:124px; width:92px; height:23px; vertical-align:middle; ">직책</caption>
  327. <input id="input7" ref="/root/main/vippatbaseinfo/vippatbaseinfolist/jobpos" style="left:348px; top:125px; width:140px; height:19px; "/>
  328. </group>
  329. <group id="group1" scroll="auto" style="left:0px; top:171px; width:496px; height:32px; ">
  330. <button id="btn_vipapp" class="btn4_letter2" navindex="9" style="left:437px; top:6px; width:56px; height:22px; ">
  331. <caption>신청</caption>
  332. <script type="javascript" ev:event="DOMActivate">
  333. <![CDATA[
  334. //입력사항 체크
  335. if(fdataCheck() ) {
  336. if(submit("TXPMC04702")) {
  337. messageBox("신청이 ", "I001");
  338. f_vipinfosrch();
  339. model.resetInstanceNode("/root/hidden/source");
  340. fInitialize();
  341. model.refresh();
  342. }
  343. }
  344. ]]>
  345. </script>
  346. </button>
  347. </group>
  348. <datagrid id="datagrid1" nodeset="/root/main/appcnfm/appcnfmlist" caption="승인상태^VIP구분^VIP분류^등록번호^환자이름^주민번호^주민번호^전화번호[집]^핸드폰번호^기타전화번호^근무처^직책^신청일자^승인일자^최초등록자^최초등록일시^최종수정자^최종수정일시" colwidth="60, 65, 65, 70, 65, 65, 65, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="2" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:247px; width:496px; height:160px; ">
  349. <col disabled="true" ref="aprstat" type="combo">
  350. <choices>
  351. <item>
  352. <label>승인</label>
  353. <value>Y</value>
  354. </item>
  355. <item>
  356. <label>취소</label>
  357. <value>C</value>
  358. </item>
  359. <item>
  360. <label>신청</label>
  361. <value>N</value>
  362. </item>
  363. </choices>
  364. </col>
  365. <col disabled="true" ref="vipcls" type="combo">
  366. <choices>
  367. <itemset nodeset="/root/init/P0443list/P0443">
  368. <label ref="cdnm"/>
  369. <value ref="cdid"/>
  370. </itemset>
  371. </choices>
  372. </col>
  373. <col disabled="true" ref="vipflag" type="combo">
  374. <choices>
  375. <itemset nodeset="/root/init/P0444list/P0444">
  376. <label ref="cdnm"/>
  377. <value ref="cdid"/>
  378. </itemset>
  379. </choices>
  380. </col>
  381. <col ref="pid"/>
  382. <col ref="hngnm"/>
  383. <col ref="rrgstno1"/>
  384. <col ref="rrgstno2"/>
  385. <col ref="hometel"/>
  386. <col ref="mpphontel"/>
  387. <col ref="etctel"/>
  388. <col ref="dutplce"/>
  389. <col ref="jobpos"/>
  390. <col ref="appdd"/>
  391. <col ref="aprdd"/>
  392. <col ref="fstrgstrid" visibility="hidden"/>
  393. <col ref="fstrgstdt" visibility="hidden"/>
  394. <col ref="lastupdtrid" visibility="hidden"/>
  395. <col ref="lastupdtdt" visibility="hidden"/>
  396. </datagrid>
  397. <button id="button2" class="btn4_letter2" style="left:438px; top:411px; width:56px; height:22px; ">
  398. <caption>닫기</caption>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. window.close();
  402. ]]>
  403. </script>
  404. </button>
  405. <button id="btn_patSearch" class="btn1_letter2" navindex="6" style="left:437px; top:217px; width:56px; height:22px; ">
  406. <caption>조회</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. f_vipinfosrch();
  410. ]]>
  411. </script>
  412. </button>
  413. <caption id="caption7" class="search_name" style="left:0px; top:217px; width:86px; height:17px; ">검색조건 :</caption>
  414. <caption id="caption21" style="left:95px; top:217px; width:59px; height:19px; vertical-align:middle; ">일자 :</caption>
  415. <caption id="caption24" style="left:219px; top:217px; width:15px; height:19px; text-align:center; ">~</caption>
  416. <input id="ipt_todd" ref="/root/send/todd" class="input_default" navindex="5" inputtype="date" style="left:235px; top:217px; width:85px; height:19px; "/>
  417. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" navindex="4" inputtype="date" style="left:133px; top:217px; width:85px; height:19px; "/>
  418. <button id="btn_search" accesskey="f2" class="icon_search" style="left:228px; top:28px; width:16px; height:16px; ">
  419. <caption/>
  420. <script type="javascript" ev:event="DOMActivate">
  421. <![CDATA[
  422. model.setValue("/root/hidden/source/autoflag", "Y");
  423. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
  424. //빠진노드 생성
  425. model.makeNode("/root/main/patinfo/patinfolist/etctel")
  426. model.makeNode("/root/main/patinfo/patinfolist/vipcls");
  427. model.makeNode("/root/main/patinfo/patinfolist/vipflag");
  428. model.makeNode("/root/main/patinfo/patinfolist/vipcls");
  429. model.makeNode("/root/main/patinfo/patinfolist/dutplce");
  430. model.makeNode("/root/main/patinfo/patinfolist/jobpos");
  431. model.makeNode("/root/main/patinfo/patinfolist/remfact");
  432. model.setValue("/root/main/patinfo/patinfolist/etctel", model.getValue("/root/main/patinfo/patinfolist/etctel1"));
  433. var popupendflag = model.getValue("/root/main/popupendflag");
  434. if (popupendflag == "ok"){
  435. model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", "/root/main/patinfo/patinfolist");
  436. }
  437. model.refresh();
  438. ]]>
  439. </script>
  440. </button>
  441. </xhtml:body>
  442. </xhtml:html>