SMPMB00300_병실코드관리.xrw 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435
  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>병실코드관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <data1>
  11. <srchcond>1</srchcond>
  12. <srchcondnm/>
  13. <roomflag>N</roomflag>
  14. </data1>
  15. <updateData>
  16. <datalist/>
  17. <s_wdrm>
  18. <saveflag/>
  19. </s_wdrm>
  20. </updateData>
  21. <sess_posinstcd/>
  22. <ioflag/>
  23. </send>
  24. <main>
  25. <gridlist>
  26. <roominfolist>
  27. </roominfolist>
  28. <roominfolistprint/>
  29. <item>
  30. <prmisnroomtot/>
  31. <basbedtot/>
  32. <usebedtot/>
  33. <useroomtot/>
  34. </item>
  35. </gridlist>
  36. <griddata>
  37. <roomtelno/>
  38. <fromdd/>
  39. <todd/>
  40. <roomgrdecd/>
  41. <roomtypecd/>
  42. <sex/>
  43. <orddeptcd/>
  44. <weflag/>
  45. <bedcnt/>
  46. <tempaddbedcnt/>
  47. <tempclosbedcnt/>
  48. <inpatcnt/>
  49. <leavhospnoticnt/>
  50. <bedroomrem/>
  51. <basbedcnt/>
  52. <rspatcnt/>
  53. <bedflag/>
  54. <oxyyn/>
  55. <suctyn/>
  56. <wcyn/>
  57. </griddata>
  58. <roominfo>
  59. <building/>
  60. <spaceflag/>
  61. <wardcd/>
  62. <roomcd/>
  63. <posinfocd/>
  64. <roomtelno/>
  65. <fromdd/>
  66. <todd/>
  67. <roomgrdecd/>
  68. <roomtypecd/>
  69. <sex/>
  70. <orddeptcd/>
  71. <bedcnt/>
  72. <tempaddbedcnt/>
  73. <tempclosbedcnt/>
  74. <inpatcnt/>
  75. <basbedcnt/>
  76. <prmisnroomflag/>
  77. <bedflag/>
  78. <oxyyn/>
  79. <suctyn/>
  80. <wcyn/>
  81. <roomseq/>
  82. <bedroomrem/>
  83. <overbedyn/>
  84. <area/>
  85. <wardcd_old/>
  86. <roomcd_old/>
  87. <todd_old/>
  88. <seqno_old/>
  89. <specialroomflag/>
  90. <psnnoroomflag/>
  91. <ertrsmyn/>
  92. <ertrsmtype/>
  93. </roominfo>
  94. </main>
  95. <init>
  96. <P0025list>
  97. <P0025>
  98. <cdid/>
  99. <cdnm/>
  100. </P0025>
  101. </P0025list>
  102. <P0026list>
  103. <P0026>
  104. <cdid/>
  105. <cdnm/>
  106. </P0026>
  107. </P0026list>
  108. <P0338list>
  109. <P0338>
  110. <cdid/>
  111. <cdnm/>
  112. </P0338>
  113. </P0338list>
  114. <P0391list>
  115. <P0391>
  116. <cdnm/>
  117. <cdid/>
  118. </P0391>
  119. </P0391list>
  120. <P0325list>
  121. <P0325>
  122. <cdnm/>
  123. <cdid/>
  124. </P0325>
  125. </P0325list>
  126. <P0478list>
  127. <P0478>
  128. <cdnm/>
  129. <cdid/>
  130. </P0478>
  131. </P0478list>
  132. <P0480list>
  133. <P0480>
  134. <cdnm>-</cdnm>
  135. <cdid>-</cdid>
  136. </P0480>
  137. </P0480list>
  138. <P0483list>
  139. <P0483>
  140. <cdnm/>
  141. <cdid/>
  142. </P0483>
  143. </P0483list>
  144. <PK058list>
  145. <PK058>
  146. <cdnm/>
  147. <cdid/>
  148. </PK058>
  149. </PK058list>
  150. <srchPK058list/>
  151. </init>
  152. <init2>
  153. <wardlist>
  154. <deptcd/>
  155. <depthngnm/>
  156. </wardlist>
  157. </init2>
  158. <hidden>
  159. <init>
  160. <disccd>
  161. <cd/>
  162. <nm/>
  163. </disccd>
  164. <insukind>
  165. <cd/>
  166. <nm/>
  167. </insukind>
  168. <suppkind>
  169. <cd/>
  170. <nm/>
  171. <up/>
  172. <io/>
  173. </suppkind>
  174. <orddeptcd>
  175. <cd/>
  176. <nm/>
  177. </orddeptcd>
  178. <orddrid>
  179. <cd/>
  180. <nm/>
  181. <dp/>
  182. </orddrid>
  183. <flag>
  184. <prestdd/>
  185. <mskindflag/>
  186. </flag>
  187. <wardcd>
  188. <cd/>
  189. <nm/>
  190. </wardcd>
  191. <roomcd>
  192. <cd/>
  193. <nm/>
  194. <wd/>
  195. </roomcd>
  196. </init>
  197. <warddeptlist>
  198. </warddeptlist>
  199. <roominfo/>
  200. <roomgrdelist>
  201. <roomgrde>
  202. <cdid/>
  203. <cdnm/>
  204. </roomgrde>
  205. </roomgrdelist>
  206. </hidden>
  207. <tmp>
  208. <!-- 20100122 수정추가 JHP 진료과 빈값입력시 오류발생 하여 '-' 처리 되도록함.-->
  209. <orddeptcd>
  210. <cd>-</cd>
  211. <nm>-</nm>
  212. </orddeptcd>
  213. </tmp>
  214. </root>
  215. </instance>
  216. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  217. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  218. <submission id="TXPMB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updateData" resultref="/root/main/griddata"/>
  219. <submission id="TRPMB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/gridlist"/>
  220. <submission id="TRPMB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
  221. <submission id="TRPMB00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/roomgrdelist"/>
  222. <submission id="TRPMB00305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init2"/>
  223. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  224. </model>
  225. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  226. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  227. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  228. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  229. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  230. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  231. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  232. <script type="javascript" ev:event="xforms-ready">
  233. <![CDATA[
  234. fflagcheck(1);
  235. zbcfGetCodeList(new Array("P0025","P0026","P0338","P0391","P0325","P0478","P0480","P0483"), new Array("/root/init/P0025list","/root/init/P0026list","/root/init/P0338list","/root/init/P0391list","/root/init/P0325list","/root/init/P0478list","/root/init/P0480list","/root/init/P0483list"));
  236. pamfGetCodeList(new Array("PK058", "PK058"), new Array("/root/init/PK058list", "/root/init/srchPK058list"));
  237. addComboItem("cmb_building", "전체", "-", "above");
  238. //20070809 kshin 병동코드조회
  239. fWardCDInfo();
  240. //2013-09-09 완료이력 포함 병동코드 조회
  241. submit("TRPMB00305");
  242. //20090606 JHP 수정 추가
  243. var sUserInfosS = getUserInfos();
  244. sUserInfosS = sUserInfosS + "|";
  245. var UserInfosS_Array = sUserInfosS.split("|");
  246. var posinstcd = UserInfosS_Array[6]; //근무지기관코드(dutplceinstcd)
  247. model.setValue("/root/send/sess_posinstcd",posinstcd);
  248. model.setValue("/root/send/ioflag","I");
  249. if(submit("TRPMB00302")){
  250. submit("TRPMB00301");
  251. }
  252. //진료과에 null값 추가
  253. model.makeNode("/root/tmp/orddeptcd");
  254. copyNodesetType("/root/tmp/orddeptcd","/root/hidden/init/orddeptcd","after");
  255. copyNodesetType("/root/hidden/init/orddeptcd","/root/tmp/orddeptcd","replace");
  256. //addComboItem("orddeptcd","above");
  257. //2008.10.12 저장버튼 권한설정
  258. button3.disabled = !checkAuth("X");
  259. //20090518 박재형 추가_ 등급을 공통코드로 가져오는데 이는 입원료 수가 매핑과 관련해서 종료된 입원료를 컨트롤 할수 있는 소지가 있기에
  260. // 실제 수가와 매핑코드를 조회하여 살아있는 입원료 등급 코드를 가져온다.
  261. // 해당 조회를 실행한다음에 병실등급에 해당하는 콤보박스를 이걸로 바꾼다. 기존은 P0025(/root/init/P0025list/P0025)였다.
  262. submit("TRPMB00303");
  263. model.setValue("/root/main/roominfo/todd_old" , "99991231");
  264. model.refresh();
  265. ]]>
  266. </script>
  267. <script type="javascript">
  268. <![CDATA[
  269. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  270. function fInitialize()
  271. {
  272. model.removeNodeset("/root/main/gridlist");
  273. model.makeNode("/root/main/gridlist/roominfolist");
  274. model.makeNode("/root/main/gridlist/item/prmisnroomtot");
  275. model.makeNode("/root/main/gridlist/item/basbedtot");
  276. model.makeNode("/root/main/gridlist/item/usebedtot");
  277. model.makeNode("/root/main/gridlist/item/useroomtot");
  278. model.resetInstanceNode("/root/send/data1");
  279. model.resetInstanceNode("/root/send/updateData");
  280. model.resetInstanceNode("/root/main/roominfo");
  281. model.setValue("/root/send/data1/srchcond","1");
  282. ipt_roomcd.visible = false;
  283. cmb_wardcd.visible = false;
  284. cmb_roomgrdecd.visible = false;
  285. cmb_roomtypecd.visible = false;
  286. cmb_orddeptcd.visible = false;
  287. cmb_sex.visible = false;
  288. cmb_prmisnroomflag.visible = false;
  289. cmb_building.visible = false;
  290. model.refresh();
  291. }
  292. function fWardCDInfo()
  293. {
  294. var instcd = getUserInfo("dutplceinstcd");
  295. standard_yn = "orduseyn";
  296. ord_deptflag = "W";
  297. rslt_ref = "/root/hidden/warddeptlist";
  298. sort_field = "deptcd";
  299. sort_method = "desc";
  300. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
  301. }
  302. function fflagcheck(init_flag)
  303. {
  304. //초기설정 "1"
  305. if ((init_flag == "1") || (init_flag == 'D')) {
  306. grd_list.coldisabled(1) = "true";
  307. grd_list.coldisabled(2) = "true";
  308. } else {
  309. grd_list.coldisabled(1) = "false";
  310. grd_list.coldisabled(2) = "false";
  311. }
  312. }
  313. function fChoiValue(choiflag)
  314. {
  315. //전체/병동/병실/병실등급/병실형태/진료과/성별/허가병실/허가병상/가동병실/가동병상
  316. model.resetInstanceNode("/root/send/data1/srchcondnm");
  317. // model.setValue("/root/send/data2", "") //조회조건 변경시 값 공백처리 smpark
  318. if (choiflag == '1' || choiflag == '9' || choiflag == '10' || choiflag =='11') {
  319. ipt_roomcd.visible = false;
  320. cmb_wardcd.visible = false;
  321. cmb_roomgrdecd.visible = false;
  322. cmb_roomtypecd.visible = false;
  323. cmb_orddeptcd.visible = false;
  324. cmb_sex.visible = false;
  325. cmb_prmisnroomflag.visible = false;
  326. cmb_building.visible = false;
  327. ipt_basedd.visible = false;
  328. } else if (choiflag == '2') {
  329. cmb_wardcd.attribute("left") = "303px";
  330. cmb_wardcd.attribute("top") = "18px";
  331. ipt_roomcd.visible = false;
  332. cmb_wardcd.visible = true;
  333. cmb_roomgrdecd.visible = false;
  334. cmb_roomtypecd.visible = false;
  335. cmb_orddeptcd.visible = false;
  336. cmb_sex.visible = false;
  337. cmb_prmisnroomflag.visible = false;
  338. cmb_building.visible = false;
  339. ipt_basedd.visible = false;
  340. sortNodeList("/root/init2/wardlist", "depthngnm", "asc"); //동병 조회 시 정렬기준 설정
  341. model.setFocus("cmb_wardcd");
  342. } else if (choiflag == '3') {
  343. ipt_roomcd.visible = true;
  344. cmb_wardcd.visible = false;
  345. cmb_roomgrdecd.visible = false;
  346. cmb_roomtypecd.visible = false;
  347. cmb_orddeptcd.visible = false;
  348. cmb_sex.visible = false;
  349. cmb_prmisnroomflag.visible = false;
  350. cmb_building.visible = false;
  351. ipt_basedd.visible = false;
  352. model.setFocus("ipt_roomcd");
  353. } else if (choiflag == '4') {
  354. cmb_roomgrdecd.attribute("left") = "303px";
  355. cmb_roomgrdecd.attribute("top") = "18px";
  356. ipt_roomcd.visible = false;
  357. cmb_wardcd.visible = false;
  358. cmb_roomgrdecd.visible = true;
  359. cmb_roomtypecd.visible = false;
  360. cmb_orddeptcd.visible = false;
  361. cmb_sex.visible = false;
  362. cmb_prmisnroomflag.visible = false;
  363. cmb_building.visible = false;
  364. ipt_basedd.visible = false;
  365. model.setFocus("cmb_roomgrdecd");
  366. } else if (choiflag == '5') {
  367. cmb_roomtypecd.attribute("left") = "303px";
  368. cmb_roomtypecd.attribute("top") = "18px";
  369. ipt_roomcd.visible = false;
  370. cmb_wardcd.visible = false;
  371. cmb_roomgrdecd.visible = false;
  372. cmb_roomtypecd.visible = true;
  373. cmb_orddeptcd.visible = false;
  374. cmb_sex.visible = false;
  375. cmb_prmisnroomflag.visible = false;
  376. cmb_building.visible = false;
  377. ipt_basedd.visible = false;
  378. model.setFocus("cmb_roomtypecd");
  379. } else if (choiflag == '6') {
  380. cmb_orddeptcd.attribute("left") = "303px";
  381. cmb_orddeptcd.attribute("top") = "18px";
  382. ipt_roomcd.visible = false;
  383. cmb_wardcd.visible = false;
  384. cmb_roomgrdecd.visible = false;
  385. cmb_roomtypecd.visible = false;
  386. cmb_orddeptcd.visible = true;
  387. cmb_sex.visible = false;
  388. cmb_prmisnroomflag.visible = false;
  389. cmb_building.visible = false;
  390. ipt_basedd.visible = false;
  391. model.setFocus("cmb_orddeptcd");
  392. } else if (choiflag == '7') {
  393. cmb_sex.attribute("left") = "303px";
  394. cmb_sex.attribute("top") = "18px";
  395. ipt_roomcd.visible = false;
  396. cmb_wardcd.visible = false;
  397. cmb_roomgrdecd.visible = false;
  398. cmb_roomtypecd.visible = false;
  399. cmb_orddeptcd.visible = false;
  400. cmb_sex.visible = true;
  401. cmb_prmisnroomflag.visible = false;
  402. cmb_building.visible = false;
  403. ipt_basedd.visible = false;
  404. model.setFocus("cmb_sex");
  405. } else if (choiflag == '8') {
  406. cmb_prmisnroomflag.attribute("left") = "303px";
  407. cmb_prmisnroomflag.attribute("top") = "18px";
  408. ipt_roomcd.visible = false;
  409. cmb_wardcd.visible = false;
  410. cmb_roomgrdecd.visible = false;
  411. cmb_roomtypecd.visible = false;
  412. cmb_orddeptcd.visible = false;
  413. cmb_sex.visible = false;
  414. cmb_prmisnroomflag.visible = true;
  415. cmb_building.visible = false;
  416. ipt_basedd.visible = false;
  417. model.setFocus("cmb_prmisnroomflag");
  418. }else if (choiflag == '12') {
  419. cmb_building.attribute("left") = "303px";
  420. cmb_building.attribute("top") = "18px";
  421. ipt_roomcd.visible = false;
  422. cmb_wardcd.visible = false;
  423. cmb_roomgrdecd.visible = false;
  424. cmb_roomtypecd.visible = false;
  425. cmb_orddeptcd.visible = false;
  426. cmb_sex.visible = false;
  427. cmb_prmisnroomflag.visible = false;
  428. cmb_building.visible = true;
  429. ipt_basedd.visible = false;
  430. model.setFocus("cmb_building");
  431. }else if (choiflag == '13') {
  432. ipt_basedd.attribute("left") = "303px";
  433. ipt_basedd.attribute("top") = "18px";
  434. ipt_roomcd.visible = false;
  435. cmb_wardcd.visible = false;
  436. cmb_roomgrdecd.visible = false;
  437. cmb_roomtypecd.visible = false;
  438. cmb_orddeptcd.visible = false;
  439. cmb_sex.visible = false;
  440. cmb_prmisnroomflag.visible = false;
  441. cmb_building.visible = false;
  442. ipt_basedd.visible = true;
  443. model.setFocus("ipt_basedd");
  444. }
  445. if (choiflag == "13") {
  446. ipt_basedd.value = getCurrentDate();
  447. } else {
  448. ipt_basedd.value = "";
  449. }
  450. model.refresh();
  451. }
  452. //그리드 enter key입력시 다음셀로 이동(
  453. function fSetGridNextCell(keyCode)
  454. {
  455. // 현재 event Target이 combo일 경우 처리
  456. model.setFocus("body");
  457. model.setFocus("grd_list");
  458. if( keyCode == null) {
  459. var grdCol = grd_list.col +1;
  460. grd_list.col = grdCol;
  461. grd_list.dispatch("onentercell");
  462. grd_list.editCell();
  463. }
  464. if( event.keyCode == keyCode ) {
  465. var grdCol = grd_list.col +1;
  466. grd_list.col = grdCol;
  467. grd_list.dispatch("onentercell");
  468. grd_list.editCell();
  469. }
  470. }
  471. function fPrntSeq(){
  472. var nodeList= instance1.selectNodes("/root/main/gridlist/roominfolistprint");
  473. if((nodeList != null) && (nodeList.length >0 )){
  474. exeReportPreview("RPPMB00301", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  475. }else{
  476. }
  477. }
  478. /* 형태 선택 시 등급 필터링 기능 추가 */
  479. function fSetRoomgrdecd() {
  480. var typecd = model.getValue("/root/main/roominfo/roomtypecd");
  481. cmb_roomgrde1.choices.itemset.attribute("nodeset") = "/root/hidden/roomgrdelist/roomgrde[typecd='" + typecd + "']";
  482. cmb_roomgrde1.refresh();
  483. }
  484. ]]>
  485. </script>
  486. </xhtml:head>
  487. <xhtml:body guideline="2,-1;2,0;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  488. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  489. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">병실정보관리</caption>
  490. </group>
  491. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  492. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  493. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  494. <caption id="caption2" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
  495. <button id="button1" class="btn1_letter2" navindex="3" style="left:1123px; top:7px; width:56px; height:22px; ">
  496. <caption>조회</caption>
  497. <script type="javascript" ev:event="DOMActivate">
  498. <![CDATA[
  499. model.removeNodeset("/root/main/gridlist");
  500. model.makeNode("/root/main/gridlist/roominfolist");
  501. model.makeNode("/root/main/gridlist/roominfolistprint");
  502. var s_srchcond = model.getValue("/root/send/data1/srchcond");
  503. if (s_srchcond == null || s_srchcond == "" || s_srchcond == " ") {
  504. messageBox("조회항목을","C002");
  505. return false;
  506. } else {
  507. submit("TRPMB00301");
  508. // 종료된 병실 표시
  509. // 요청은 없었으나 만들어둠. 필요하면 풀어서 사용
  510. /*
  511. var cnt = instance1.selectNodes("/root/main/gridlist/roominfolist").length;
  512. for (var i = 1; i <= cnt; i++) {
  513. if (eval(model.getValue("/root/main/gridlist/roominfolist[" + i + "]/todd")) < eval(getCurrentDate())) {
  514. grd_list.rowStyle(i, "all", "color") = "#ff5050";
  515. }
  516. }
  517. */
  518. }
  519. ]]>
  520. </script>
  521. </button>
  522. <line id="line13" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  523. <select1 id="cm_gubun" ref="/root/send/data1/srchcond" class="combo_s_essential" navindex="1" appearance="minimal" style="left:100px; top:8px; width:200px; height:19px; ">
  524. <choices>
  525. <item>
  526. <label>전체</label>
  527. <value>1</value>
  528. </item>
  529. <item>
  530. <label>건물</label>
  531. <value>12</value>
  532. </item>
  533. <item>
  534. <label>병동</label>
  535. <value>2</value>
  536. </item>
  537. <item>
  538. <label>병실호수</label>
  539. <value>3</value>
  540. </item>
  541. <item>
  542. <label>병실등급</label>
  543. <value>4</value>
  544. </item>
  545. <item>
  546. <label>병실형태</label>
  547. <value>5</value>
  548. </item>
  549. <item>
  550. <label>진료과</label>
  551. <value>6</value>
  552. </item>
  553. <item>
  554. <label>성별</label>
  555. <value>7</value>
  556. </item>
  557. <item>
  558. <label>허가병실</label>
  559. <value>8</value>
  560. </item>
  561. <item>
  562. <label>허가병상</label>
  563. <value>9</value>
  564. </item>
  565. <item>
  566. <label>가동병실</label>
  567. <value>10</value>
  568. </item>
  569. <item>
  570. <label>가동병상</label>
  571. <value>11</value>
  572. </item>
  573. <item>
  574. <label>기준일자</label>
  575. <value>13</value>
  576. </item>
  577. </choices>
  578. <script type="javascript" ev:event="xforms-select">
  579. <![CDATA[
  580. var choiflag = model.getValue("/root/send/data1/srchcond");
  581. //검색조건
  582. fChoiValue(choiflag);
  583. model.removeNodeset("/root/main/gridlist");
  584. model.makeNode("/root/main/gridlist/roominfolist");
  585. model.makeNode("/root/main/gridlist/roominfolistprint");
  586. model.resetInstanceNode("/root/main/gridlist/item");
  587. model.refresh();
  588. if (choiflag == '1' || choiflag == '9' || choiflag == '10' || choiflag == '11') {
  589. submit("TRPMB00301");
  590. }
  591. ]]>
  592. </script>
  593. </select1>
  594. <input id="ipt_roomcd" ref="/root/send/data1/srchcondnm" class="input_search" navindex="2" visibility="hidden" style="left:303px; top:8px; width:200px; height:19px; ">
  595. <script type="javascript" ev:event="onkeypress">
  596. <![CDATA[
  597. //병실조회시 Enter 일 경우 조회 smpark
  598. if (event.keyCode=='13') {
  599. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  600. model.resetInstanceNode("/root/main/gridlist/roominfolistprint");
  601. setInputNodeCurText(); //inputbox 값을 읽어온다 smpark
  602. submit("TRPMB00301");
  603. }
  604. ]]>
  605. </script>
  606. </input>
  607. </group>
  608. <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:100px; height:14px; ">병실정보내역</caption>
  609. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  610. <datagrid id="grd_list" nodeset="/root/main/gridlist/roominfolist" class="datagrid2" caption="건물^관리&#xA;구분^wardcd^병동^병실^위치&#xA;정보(층)^형태^등급^진료과^성별^병상&#xA;수^허가&#xA;병상수^재원&#xA;병상^추가병상^허가병실&#xA;구분^가동병실&#xA;구분^OverBed&#xA;여부^병실&#xA;순서^참고사항^O2&#xA;구분^SUCTION&#xA;구분^병실&#xA;전화번호^폐쇄&#xA;병상^면적^화장실&#xA;구분^시작일자^종료일자^일련번호^상태^wardcd_old^roomcd_old^todd_old^seqno_old^특수병실구분^인실구분^응급전송&#xA;여부^응급전송&#xA;병실형태" colsep="^" colwidth="55, 54, 0, 158, 77, 60, 115, 184, 118, 41, 35, 44, 34, 35, 54, 57, 54, 39, 137, 47, 56, 59, 37, 52, 48, 82, 95, 35, 35, 40, 40, 40, 40, 100, 60, 60, 100" dataheight="32" explorerbar="sort" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" selectionmode="listbox" tooltip="true" navindex="1" style="left:0px; top:206px; width:1194px; height:501px; ">
  611. <col disabled="true" ref="building" type="combo" style="text-align:center; ">
  612. <choices>
  613. <itemset nodeset="/root/init/PK058list/PK058">
  614. <label ref="cdnm"/>
  615. <value ref="cdid"/>
  616. </itemset>
  617. </choices>
  618. </col>
  619. <col ref="spaceflag" type="combo" style="text-align:center; ">
  620. <choices>
  621. <item>
  622. <label>공통</label>
  623. <value>A</value>
  624. </item>
  625. <item>
  626. <label>암센터</label>
  627. <value>C</value>
  628. </item>
  629. <item>
  630. <label>BMT</label>
  631. <value>B</value>
  632. </item>
  633. <item>
  634. <label>VIP</label>
  635. <value>V</value>
  636. </item>
  637. </choices>
  638. </col>
  639. <col ref="wardcd"/>
  640. <!--
  641. <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
  642. -->
  643. <!-- JHP, 20090306, 다시 병동 조회해오는걸로 수정 -->
  644. <!--
  645. <choices>
  646. <itemset nodeset="/root/hidden/warddeptlist/dept">
  647. <label ref="depthngnm"/>
  648. <value ref="deptcd"/>
  649. </itemset>
  650. </choices>
  651. <choices>
  652. <itemset nodeset="/root/hidden/init/wardcd">
  653. <label ref="nm"/>
  654. <value ref="cd"/>
  655. </itemset>
  656. </choices>
  657. </col>
  658. -->
  659. <col ref="wardnm" type="output"/>
  660. <col disabled="true" ref="roomcd" type="input" style="text-align:center; "/>
  661. <col disabled="true" imemode="disabled" ref="posinfocd" type="input" style="text-align:center; "/>
  662. <col disabled="true" ref="roomtypecd" type="combo">
  663. <choices>
  664. <itemset nodeset="/root/init/P0026list/P0026">
  665. <label ref="cdnm"/>
  666. <value ref="cdid"/>
  667. </itemset>
  668. </choices>
  669. </col>
  670. <col disabled="true" ref="roomgrdecd" type="combo">
  671. <choices>
  672. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  673. <label ref="cdnm"/>
  674. <value ref="cdid"/>
  675. </itemset>
  676. </choices>
  677. </col>
  678. <col disabled="true" ref="orddeptcd" type="combo">
  679. <choices>
  680. <itemset nodeset="/root/hidden/init/orddeptcd">
  681. <label ref="nm"/>
  682. <value ref="cd"/>
  683. </itemset>
  684. </choices>
  685. </col>
  686. <col disabled="true" ref="sex" type="combo" style="text-align:center; ">
  687. <choices>
  688. <itemset nodeset="/root/init/P0391list/P0391">
  689. <label ref="cdnm"/>
  690. <value ref="cdid"/>
  691. </itemset>
  692. </choices>
  693. </col>
  694. <col disabled="true" ref="bedcnt" type="input" style="text-align:center; "/>
  695. <col disabled="true" ref="basbedcnt" type="input" style="text-align:center; "/>
  696. <col ref="inpatcnt" style="text-align:center; "/>
  697. <col disabled="true" ref="tempaddbedcnt" type="input" style="text-align:center; "/>
  698. <col disabled="true" ref="prmisnroomflag" type="combo" style="text-align:center; ">
  699. <choices>
  700. <itemset nodeset="/root/init/P0325list/P0325">
  701. <label ref="cdnm"/>
  702. <value ref="cdid"/>
  703. </itemset>
  704. </choices>
  705. </col>
  706. <col disabled="true" ref="bedflag" type="combo" style="text-align:center; ">
  707. <choices>
  708. <itemset nodeset="/root/init/P0338list/P0338">
  709. <label ref="cdnm"/>
  710. <value ref="cdid"/>
  711. </itemset>
  712. </choices>
  713. </col>
  714. <col disabled="true" ref="overbedyn" type="combo" style="text-align:center; ">
  715. <choices>
  716. <itemset nodeset="/root/init/P0325list/P0325">
  717. <label ref="cdnm"/>
  718. <value ref="cdid"/>
  719. </itemset>
  720. </choices>
  721. </col>
  722. <col disabled="true" ref="roomseq" type="input" style="text-align:center; "/>
  723. <col disabled="true" ref="bedroomrem" type="input"/>
  724. <col disabled="true" ref="oxyyn" type="combo" style="text-align:center; ">
  725. <choices>
  726. <itemset nodeset="/root/init/P0325list/P0325">
  727. <label ref="cdnm"/>
  728. <value ref="cdid"/>
  729. </itemset>
  730. </choices>
  731. </col>
  732. <col disabled="true" ref="suctyn" type="combo" style="text-align:center; ">
  733. <choices>
  734. <itemset nodeset="/root/init/P0325list/P0325">
  735. <label ref="cdnm"/>
  736. <value ref="cdid"/>
  737. </itemset>
  738. </choices>
  739. </col>
  740. <col disabled="true" ref="roomtelno" type="input" style="text-align:center; "/>
  741. <col disabled="true" ref="tempclosbedcnt" type="input" style="text-align:center; "/>
  742. <col disabled="true" ref="area" type="input" style="text-align:center; "/>
  743. <col disabled="true" ref="wcyn" type="combo" style="text-align:center; ">
  744. <choices>
  745. <itemset nodeset="/root/init/P0325list/P0325">
  746. <label ref="cdnm"/>
  747. <value ref="cdid"/>
  748. </itemset>
  749. </choices>
  750. </col>
  751. <col autonext="false" disabled="true" ref="fromdd" type="inputdate"/>
  752. <col autonext="false" disabled="true" ref="todd" type="inputdate"/>
  753. <col ref="seqno" visibility="hidden"/>
  754. <col ref="histstat" visibility="hidden" style="left:1782px; top:32px; width:35px; height:23px; "/>
  755. <col ref="wardcd_old" visibility="hidden"/>
  756. <col ref="roomcd_old" visibility="hidden"/>
  757. <col ref="todd_old" visibility="hidden"/>
  758. <col ref="seqno_old" visibility="hidden"/>
  759. <col disabled="true" ref="specialroomflag" type="combo">
  760. <choices>
  761. <itemset nodeset="/root/init/P0480list/P0480">
  762. <label ref="cdnm"/>
  763. <value ref="cdid"/>
  764. </itemset>
  765. </choices>
  766. </col>
  767. <col disabled="true" ref="psnnoroomflag" type="combo">
  768. <choices>
  769. <itemset nodeset="/root/init/P0478list/P0478">
  770. <label ref="cdnm"/>
  771. <value ref="cdid"/>
  772. </itemset>
  773. </choices>
  774. </col>
  775. <col disabled="true" ref="ertrsmyn" type="combo">
  776. <choices>
  777. <itemset nodeset="/root/init/P0325list/P0325">
  778. <label ref="cdnm"/>
  779. <value ref="cdid"/>
  780. </itemset>
  781. </choices>
  782. </col>
  783. <col disabled="true" ref="ertrsmtype" type="combo">
  784. <choices>
  785. <itemset nodeset="/root/init/P0483list/P0483">
  786. <label ref="cdnm"/>
  787. <value ref="cdid"/>
  788. </itemset>
  789. </choices>
  790. </col>
  791. <script type="javascript" ev:event="ondblclick">
  792. <![CDATA[
  793. // 리스트 그리드에서 작업하는것이 하나도 없기때문에 일단 주석으로 막아놓음
  794. // JHP, 20090306
  795. //var cur_col = grd_list.col;
  796. //var cur_row = grd_list.row;
  797. //if (cur_col == 6) {
  798. // result = messageBox("종료일자를 현재 날짜로 종료","S001");
  799. // if (result == 6) {
  800. // model.setValue("/root/main/gridlist/roominfolist["+cur_row+"]/todd",getCurrentDate());
  801. // grd_list.addStatus(cur_row,"update");
  802. // }
  803. //}
  804. ]]>
  805. </script>
  806. <script type="javascript" ev:event="xforms-select">
  807. <![CDATA[
  808. //fSetGridNextCell();
  809. ]]>
  810. </script>
  811. <script type="javascript" ev:event="onendedit">
  812. <![CDATA[
  813. //fSetGridNextCell(13);
  814. ]]>
  815. </script>
  816. <script type="javascript" ev:event="ondayselect">
  817. <![CDATA[
  818. //fSetGridNextCell();
  819. ]]>
  820. </script>
  821. <script type="javascript" ev:event="onaftersort">
  822. <![CDATA[
  823. //sorting 시 인스턴스 구조를 재구성
  824. grd_list.gridToInstance();
  825. ]]>
  826. </script>
  827. <script type="javascript" ev:event="onclick">
  828. <![CDATA[
  829. var row = grd_list.row;
  830. if(row > 0){
  831. model.resetInstanceNode("/root/hidden/roominfo");
  832. model.resetInstanceNode("/root/main/roominfo");
  833. model.copyNode("/root/hidden/roominfo","/root/main/gridlist/roominfolist[" + row + "]");
  834. model.copyNode("/root/main/roominfo","/root/main/gridlist/roominfolist[" + row + "]");
  835. model.refresh();
  836. }
  837. ]]>
  838. </script>
  839. </datagrid>
  840. <caption id="caption3" class="cell_2" style="left:236px; top:717px; width:70px; height:21px; vertical-align:middle; ">가동병실</caption>
  841. <caption id="caption4" class="cell_2" style="left:4px; top:717px; width:70px; height:21px; vertical-align:middle; ">허가병실</caption>
  842. <caption id="caption14" class="cell_2" style="left:120px; top:717px; width:70px; height:21px; vertical-align:middle; ">허가병상</caption>
  843. <output id="output1" ref="/root/main/gridlist/item/prmisnroomtot" class="output_fix" style="left:77px; top:718px; width:40px; height:19px; text-align:center; "/>
  844. <output id="output2" ref="/root/main/gridlist/item/basbedtot" class="output_fix" style="left:193px; top:718px; width:40px; height:19px; text-align:center; "/>
  845. <output id="output3" ref="/root/main/gridlist/item/usebedtot" class="output_fix" style="left:309px; top:718px; width:40px; height:19px; text-align:center; "/>
  846. <caption id="caption1" class="cell_2" style="left:352px; top:717px; width:70px; height:21px; vertical-align:middle; ">가동병상</caption>
  847. <output id="output4" ref="/root/main/gridlist/item/useroomtot" class="output_fix" style="left:425px; top:718px; width:40px; height:19px; text-align:center; "/>
  848. <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:0px; top:714px; width:469px; height:27px; "/>
  849. <select1 id="cmb_wardcd" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:313px; top:18px; width:240px; height:19px; ">
  850. <choices>
  851. <itemset nodeset="/root/init2/wardlist">
  852. <label ref="depthngnm"/>
  853. <value ref="deptcd"/>
  854. </itemset>
  855. </choices>
  856. <!-- JHP, 20090306, 다시 병동 조회해오는걸로 수정 -->
  857. <!--
  858. <choices>
  859. <itemset nodeset="/root/hidden/warddeptlist/dept">
  860. <label ref="depthngnm"/>
  861. <value ref="deptcd"/>
  862. </itemset>
  863. </choices>
  864. -->
  865. <!--<choices>
  866. <itemset nodeset="/root/hidden/init/wardcd">
  867. <label ref="nm"/>
  868. <value ref="cd"/>
  869. </itemset>
  870. </choices>-->
  871. <script type="javascript" ev:event="xforms-select">
  872. <![CDATA[
  873. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  874. submit("TRPMB00301");
  875. ]]>
  876. </script>
  877. </select1>
  878. <select1 id="cmb_roomgrdecd" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:323px; top:18px; width:200px; height:19px; ">
  879. <choices>
  880. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  881. <label ref="cdnm"/>
  882. <value ref="cdid"/>
  883. </itemset>
  884. </choices>
  885. <script type="javascript" ev:event="xforms-select">
  886. <![CDATA[
  887. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  888. submit("TRPMB00301");
  889. ]]>
  890. </script>
  891. </select1>
  892. <select1 id="cmb_roomtypecd" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:333px; top:18px; width:200px; height:19px; ">
  893. <choices>
  894. <![CDATA[>]]>
  895. <itemset nodeset="/root/init/P0026list/P0026">
  896. <label ref="cdnm"/>
  897. <value ref="cdid"/>
  898. </itemset>
  899. </choices>
  900. <script type="javascript" ev:event="xforms-select">
  901. <![CDATA[
  902. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  903. submit("TRPMB00301");
  904. ]]>
  905. </script>
  906. </select1>
  907. <select1 id="cmb_orddeptcd" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:343px; top:18px; width:200px; height:19px; ">
  908. <choices>
  909. <itemset nodeset="/root/hidden/init/orddeptcd">
  910. <label ref="nm"/>
  911. <value ref="cd"/>
  912. </itemset>
  913. </choices>
  914. <script type="javascript" ev:event="xforms-select">
  915. <![CDATA[
  916. submit("TRPMB00301");
  917. ]]>
  918. </script>
  919. </select1>
  920. <select1 id="cmb_sex" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:353px; top:18px; width:200px; height:19px; ">
  921. <choices>
  922. <item>
  923. <label>남</label>
  924. <value>M</value>
  925. </item>
  926. <item>
  927. <label>여</label>
  928. <value>F</value>
  929. </item>
  930. </choices>
  931. <script type="javascript" ev:event="xforms-select">
  932. <![CDATA[
  933. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  934. submit("TRPMB00301");
  935. ]]>
  936. </script>
  937. </select1>
  938. <select1 id="cmb_prmisnroomflag" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:363px; top:18px; width:200px; height:19px; ">
  939. <choices>
  940. <item>
  941. <label>Yes</label>
  942. <value>Y</value>
  943. </item>
  944. <item>
  945. <label>No</label>
  946. <value>N</value>
  947. </item>
  948. </choices>
  949. <script type="javascript" ev:event="xforms-select">
  950. <![CDATA[
  951. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  952. submit("TRPMB00301");
  953. ]]>
  954. </script>
  955. </select1>
  956. <select1 id="cmb_building" ref="/root/send/data1/srchcondnm" class="combo_search" navindex="2" visibility="hidden" appearance="minimal" style="left:376px; top:18px; width:200px; height:19px; ">
  957. <choices>
  958. <itemset nodeset="/root/init/srchPK058list/PK058">
  959. <label ref="cdnm"/>
  960. <value ref="cdid"/>
  961. </itemset>
  962. </choices>
  963. <script type="javascript" ev:event="xforms-select">
  964. <![CDATA[
  965. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  966. submit("TRPMB00301");
  967. ]]>
  968. </script>
  969. </select1>
  970. <input id="ipt_basedd" ref="/root/send/data1/srchcondnm" class="input_search" navindex="2" visibility="hidden" inputtype="date" style="left:390px; top:18px; width:200px; height:19px; "/>
  971. <caption id="caption5" style="left:178px; top:187px; width:57px; height:15px; ">병실이력</caption>
  972. <bool id="bool_roomflag" checkvalue="Y,N" ref="/root/send/data1/roomflag" style="left:160px; top:184px; width:20px; height:20px; "/>
  973. <button id="button4" class="btn2_letter3" style="left:979px; top:181px; width:53px; height:19px; ">
  974. <caption>행복사</caption>
  975. <script type="javascript" ev:event="DOMActivate">
  976. <![CDATA[
  977. model.setValue("/root/send/updateData/s_wdrm/saveflag","CI");
  978. var cur_row = grd_list.row;
  979. var icur_row = cur_row + 1;
  980. grd_list.insertItem(grd_list.row,"after");
  981. copyNodeType("/root/main/gridlist/roominfolist["+ icur_row +"]", "/root/main/gridlist/roominfolist["+ cur_row +"]");
  982. model.setValue("/root/main/gridlist/roominfolist["+ icur_row +"]/wardcd_old", "");
  983. model.setValue("/root/main/gridlist/roominfolist["+ icur_row +"]/roomcd_old", "");
  984. model.setValue("/root/main/gridlist/roominfolist["+ icur_row +"]/todd_old", "");
  985. model.setValue("/root/main/gridlist/roominfolist["+ icur_row +"]/seqno_old", "");
  986. grd_list.rebuild();
  987. grd_list.addStatus(icur_row,"insert");
  988. fflagcheck(2);
  989. ]]>
  990. </script>
  991. </button>
  992. <button id="btn_excsave" class="btn2_letter2" style="left:936px; top:181px; width:42px; height:19px; ">
  993. <caption>엑셀</caption>
  994. <script type="javascript" ev:event="DOMActivate">
  995. <![CDATA[
  996. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  997. grd_list.saveExcel(file);
  998. ]]>
  999. </script>
  1000. </button>
  1001. <button id="button5" class="btn2_letter2" style="left:893px; top:181px; width:42px; height:19px; ">
  1002. <caption>출력</caption>
  1003. <script type="javascript" ev:event="DOMActivate">
  1004. <![CDATA[
  1005. fPrntSeq();
  1006. ]]>
  1007. </script>
  1008. </button>
  1009. <line id="line1" class="line_1" style="x1:0px; y1:201px; x2:1194px; y2:201px; "/>
  1010. <caption id="caption7" class="tit_2" style="left:5px; top:186px; width:140px; height:13px; ">병실정보내역 리스트</caption>
  1011. <caption id="caption9" class="cell_1" style="left:124px; top:75px; width:57px; height:23px; vertical-align:middle; ">병 동</caption>
  1012. <input id="ipt_room1" ref="/root/main/roominfo/roomcd" class="input_default" navindex="12" imemode="disabled" maxlength="6" style="left:182px; top:102px; width:128px; height:19px; "/>
  1013. <caption id="caption8" class="cell_1" style="left:124px; top:100px; width:57px; height:23px; vertical-align:middle; ">병 실</caption>
  1014. <line id="line6" class="line_2" style="x1:0px; y1:98px; x2:1194px; y2:98px; "/>
  1015. <line id="line2" class="line_2" style="x1:0px; y1:123px; x2:1194px; y2:123px; "/>
  1016. <input id="ipt_posinfo1" ref="/root/main/roominfo/posinfocd" class="input_default" navindex="13" imemode="disabled" maxlength="2" style="left:534px; top:102px; width:100px; height:19px; "/>
  1017. <caption id="caption10" class="cell_1" style="left:476px; top:100px; width:57px; height:23px; vertical-align:middle; ">위치(층)</caption>
  1018. <line id="line3" class="line_2" style="x1:0px; y1:148px; x2:1194px; y2:148px; "/>
  1019. <caption id="caption12" class="cell_1" style="left:476px; top:75px; width:57px; height:23px; vertical-align:middle; ">종료일자</caption>
  1020. <input id="ipt_fromdd1" ref="/root/main/roominfo/fromdd" class="input_default" navindex="7" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:372px; top:77px; width:100px; height:19px; "/>
  1021. <input id="ipt_tel1" ref="/root/main/roominfo/roomtelno" class="input_default" navindex="6" imemode="disabled" style="left:60px; top:127px; width:60px; height:19px; "/>
  1022. <input id="ipt_todd1" ref="/root/main/roominfo/todd" class="input_default" navindex="8" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:534px; top:77px; width:100px; height:19px; "/>
  1023. <caption id="caption15" class="cell_1" style="left:314px; top:75px; width:57px; height:23px; vertical-align:middle; ">시작일자</caption>
  1024. <caption id="caption16" class="cell_1" style="left:2px; top:125px; width:57px; height:23px; vertical-align:middle; ">전화번호</caption>
  1025. <caption id="caption17" class="cell_1" style="left:927px; top:150px; width:57px; height:23px; vertical-align:middle; ">응급전송</caption>
  1026. <caption id="caption19" class="cell_1" style="left:314px; top:125px; width:57px; height:23px; vertical-align:middle; ">등 급</caption>
  1027. <caption id="caption21" class="cell_1" style="left:124px; top:125px; width:57px; height:23px; vertical-align:middle; ">형 태</caption>
  1028. <caption id="caption22" class="cell_1" style="left:314px; top:100px; width:57px; height:23px; vertical-align:middle; ">성별</caption>
  1029. <caption id="caption26" class="cell_1" style="left:638px; top:100px; width:57px; height:23px; vertical-align:middle; ">가동병상</caption>
  1030. <caption id="caption29" class="cell_1" style="left:726px; top:100px; width:57px; height:23px; vertical-align:middle; ">추가병상</caption>
  1031. <input id="ipt_tempaddbedcnt1" ref="/root/main/roominfo/tempaddbedcnt" class="input_default" navindex="22" imemode="disabled" style="left:785px; top:102px; width:25px; height:19px; "/>
  1032. <input id="ipt_bedcnt1" ref="/root/main/roominfo/bedcnt" class="input_default" navindex="19" imemode="disabled" style="left:696px; top:102px; width:25px; height:19px; "/>
  1033. <input id="ipt_bedroomrem1" ref="/root/main/roominfo/bedroomrem" class="input_default" navindex="10" style="left:60px; top:152px; width:575px; height:19px; "/>
  1034. <caption id="caption13" class="cell_1" style="left:2px; top:150px; width:57px; height:23px; vertical-align:middle; ">참고사항</caption>
  1035. <input id="ipt_tempclosbedcnt1" ref="/root/main/roominfo/tempclosbedcnt" class="input_default" navindex="23" imemode="disabled" style="left:784px; top:127px; width:25px; height:19px; "/>
  1036. <caption id="caption11" class="cell_1" style="left:726px; top:125px; width:57px; height:23px; vertical-align:middle; ">폐쇄병상</caption>
  1037. <input id="ipt_inpatcnt1" ref="/root/main/roominfo/inpatcnt" class="input_default" navindex="21" imemode="disabled" style="left:784px; top:77px; width:25px; height:19px; "/>
  1038. <caption id="caption18" class="cell_1" style="left:726px; top:75px; width:57px; height:23px; vertical-align:middle; ">재원병상</caption>
  1039. <caption id="caption23" class="cell_1" style="left:638px; top:125px; width:57px; height:23px; vertical-align:middle; ">허가병상</caption>
  1040. <caption id="caption24" class="cell_1" style="left:813px; top:150px; width:60px; height:23px; vertical-align:middle; ">허가병실</caption>
  1041. <input id="ipt_basbedcnt1" ref="/root/main/roominfo/basbedcnt" class="input_default" navindex="20" imemode="disabled" style="left:696px; top:127px; width:25px; height:19px; "/>
  1042. <caption id="caption25" class="cell_1" style="left:638px; top:150px; width:57px; height:23px; vertical-align:middle; ">가동병실</caption>
  1043. <caption id="caption27" class="cell_1" style="left:813px; top:100px; width:60; height:23px; vertical-align:middle; ">O2구분</caption>
  1044. <caption id="caption28" class="cell_1" style="left:813px; top:125px; width:60; height:23px; vertical-align:middle; ">SUCTION</caption>
  1045. <caption id="caption30" class="cell_1" style="left:813px; top:75px; width:60; height:23px; vertical-align:middle; ">화장실</caption>
  1046. <caption id="caption31" class="cell_1" style="left:638px; top:75px; width:57; height:23px; vertical-align:middle; ">병실순서</caption>
  1047. <input id="ipt_roomseq1" ref="/root/main/roominfo/roomseq" class="input_default" navindex="24" imemode="disabled" style="left:696px; top:77px; width:25px; height:19px; "/>
  1048. <select1 id="cmb_ward1" ref="/root/main/roominfo/wardcd" class="combo_search" navindex="5" appearance="minimal" style="left:182px; top:77px; width:128px; height:19px; ">
  1049. <choices>
  1050. <itemset nodeset="/root/init2/wardlist">
  1051. <label ref="depthngnm"/>
  1052. <value ref="deptcd"/>
  1053. </itemset>
  1054. </choices>
  1055. <!--<choices>
  1056. <itemset nodeset="/root/hidden/init/wardcd">
  1057. <label ref="nm"/>
  1058. <value ref="cd"/>
  1059. </itemset>
  1060. </choices>-->
  1061. </select1>
  1062. <select1 id="cmb_roomtype1" ref="/root/main/roominfo/roomtypecd" class="combo_search" navindex="14" appearance="minimal" style="left:182px; top:127px; width:128px; height:19px; ">
  1063. <choices>
  1064. <itemset nodeset="/root/init/P0026list/P0026">
  1065. <label ref="cdnm"/>
  1066. <value ref="cdid"/>
  1067. </itemset>
  1068. </choices>
  1069. <script type="javascript" ev:event="xforms-value-changed">
  1070. <![CDATA[
  1071. fSetRoomgrdecd();
  1072. ]]>
  1073. </script>
  1074. </select1>
  1075. <select1 id="cmb_roomgrde1" ref="/root/main/roominfo/roomgrdecd" class="combo_search" navindex="15" appearance="minimal" style="left:372px; top:127px; width:262px; height:19px; ">
  1076. <choices>
  1077. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  1078. <label ref="cdnm"/>
  1079. <value ref="cdid"/>
  1080. </itemset>
  1081. </choices>
  1082. <script type="javascript" ev:event="xforms-value-changed">
  1083. <![CDATA[
  1084. var typecd = model.getValue("/root/hidden/roomgrdelist/roomgrde[cdid='" + model.getValue("/root/main/roominfo/roomgrdecd") + "']/typecd");
  1085. if (typecd != model.getValue("/root/main/roominfo/roomtypecd")) {
  1086. alert("선택하신 등급은 형태에 맞지않는 등급입니다.\r\n형태에 유효한 등급을 선택하십시오.");
  1087. model.setValue("/root/main/roominfo/roomgrdecd", "");
  1088. model.refresh();
  1089. }
  1090. ]]>
  1091. </script>
  1092. </select1>
  1093. <select1 id="cmb_sex1" ref="/root/main/roominfo/sex" class="combo_search" navindex="9" appearance="minimal" style="left:372px; top:102px; width:100px; height:19px; ">
  1094. <choices>
  1095. <itemset nodeset="/root/init/P0391list/P0391">
  1096. <label ref="cdnm"/>
  1097. <value ref="cdid"/>
  1098. </itemset>
  1099. </choices>
  1100. </select1>
  1101. <select1 id="cmb_orddeptcd1" ref="/root/main/roominfo/orddeptcd" class="combo_search" navindex="16" appearance="minimal" style="left:985px; top:127px; width:207px; height:19px; ">
  1102. <choices>
  1103. <itemset nodeset="/root/hidden/init/orddeptcd">
  1104. <label ref="nm"/>
  1105. <value ref="cd"/>
  1106. </itemset>
  1107. </choices>
  1108. </select1>
  1109. <select1 id="cmb_prmisnroomflag1" ref="/root/main/roominfo/prmisnroomflag" class="combo_search" navindex="25" appearance="minimal" style="left:874px; top:152px; width:50px; height:19px; ">
  1110. <choices>
  1111. <itemset nodeset="/root/init/P0325list/P0325">
  1112. <label ref="cdnm"/>
  1113. <value ref="cdid"/>
  1114. </itemset>
  1115. </choices>
  1116. </select1>
  1117. <select1 id="cmb_bedflag1" ref="/root/main/roominfo/bedflag" class="combo_search" navindex="26" appearance="minimal" style="left:696px; top:152px; width:115px; height:19px; ">
  1118. <choices>
  1119. <itemset nodeset="/root/init/P0338list/P0338">
  1120. <label ref="cdnm"/>
  1121. <value ref="cdid"/>
  1122. </itemset>
  1123. </choices>
  1124. </select1>
  1125. <select1 id="cmb_oxyyn1" ref="/root/main/roominfo/oxyyn" class="combo_search" navindex="28" appearance="minimal" style="left:874px; top:102px; width:50px; height:19px; ">
  1126. <choices>
  1127. <itemset nodeset="/root/init/P0325list/P0325">
  1128. <label ref="cdnm"/>
  1129. <value ref="cdid"/>
  1130. </itemset>
  1131. </choices>
  1132. </select1>
  1133. <select1 id="cmb_suctyn1" ref="/root/main/roominfo/suctyn" class="combo_search" navindex="27" appearance="minimal" style="left:874px; top:127px; width:50px; height:19px; ">
  1134. <choices>
  1135. <itemset nodeset="/root/init/P0325list/P0325">
  1136. <label ref="cdnm"/>
  1137. <value ref="cdid"/>
  1138. </itemset>
  1139. </choices>
  1140. </select1>
  1141. <select1 id="cmb_wcyn1" ref="/root/main/roominfo/wcyn" class="combo_search" navindex="29" appearance="minimal" style="left:874px; top:77px; width:50px; height:19px; ">
  1142. <choices>
  1143. <itemset nodeset="/root/init/P0325list/P0325">
  1144. <label ref="cdnm"/>
  1145. <value ref="cdid"/>
  1146. </itemset>
  1147. </choices>
  1148. </select1>
  1149. <button id="button6" class="btn5_letter4" navindex="30" style="left:1128px; top:50px; width:64px; height:19px; ">
  1150. <caption>저 장</caption>
  1151. <script type="javascript" ev:event="onclick">
  1152. <![CDATA[
  1153. var row = grd_list.row;
  1154. if(row >= 1){
  1155. var rowstatus = grd_list.rowStatus(row);
  1156. var sData = grd_list.getUpdateData();
  1157. var sDataArray = sData.split("▩");
  1158. model.copyNode("/root/main/gridlist/roominfolist[" + row + "]", "/root/main/roominfo");
  1159. if (sDataArray.length <= 2) { // header만있고 실데이터가 없을경우 업데이트로 간주
  1160. if(rowstatus == '0'){
  1161. grd_list.addStatus(row, "update");
  1162. }
  1163. }
  1164. model.refresh();
  1165. }
  1166. //그리드 행 번호 가져오기
  1167. var cur_row = grd_list.row;
  1168. // if (grd_list.addStatus == "D"
  1169. if ((model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/wardcd") == "") || (model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/roomcd") == "") || (model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/todd") == ""))
  1170. {
  1171. messageBox("병동 병실 종료일자를","C001");
  1172. return false;
  1173. }
  1174. //2007.10.31 층정보는 숫자로 입력해야한다.
  1175. var wdrm_posinfocd = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/posinfocd");
  1176. if (wdrm_posinfocd.isNumber() != true) {
  1177. messageBox("층정보는 숫자형식으로 입력해야 합니다","E999");
  1178. return false;
  1179. }
  1180. var wdrm_bedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/bedcnt");
  1181. var wdrm_tempaddbedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/tempaddbedcnt");
  1182. var wdrm_tempclosbedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/tempclosbedcnt");
  1183. var wdrm_basbedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/basbedcnt");
  1184. if (wdrm_bedcnt.isNumber() != true || wdrm_tempaddbedcnt.isNumber() != true ||
  1185. wdrm_tempclosbedcnt.isNumber() != true || wdrm_basbedcnt.isNumber() != true) {
  1186. messageBox("병상수,추가병상,폐쇄병상,허가병상수는 숫자형식으로 입력해야 합니다","E999");
  1187. return false;
  1188. }
  1189. model.setValue("/root/send/updateData/datalist", grd_list.getUpdateData());
  1190. if (submit("TXPMB00301")) {
  1191. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  1192. model.resetInstanceNode("/root/main/item");
  1193. model.resetInstanceNode("/root/send/updateData/datalist");
  1194. model.resetInstanceNode("/root/main/roominfo");
  1195. grd_list.clearStatus();
  1196. submit("TRPMB00301");
  1197. }
  1198. grd_list.selectionMode = "";
  1199. ]]>
  1200. </script>
  1201. </button>
  1202. <select1 id="cmb_building1" ref="/root/main/roominfo/building" class="combo_search" navindex="4" appearance="minimal" style="left:60px; top:77px; width:60px; height:19px; ">
  1203. <choices>
  1204. <itemset nodeset="/root/init/PK058list/PK058">
  1205. <label ref="cdnm"/>
  1206. <value ref="cdid"/>
  1207. </itemset>
  1208. </choices>
  1209. </select1>
  1210. <caption id="caption32" class="cell_1" style="left:2px; top:75px; width:57px; height:23px; vertical-align:middle; ">건 물</caption>
  1211. <caption id="caption33" class="cell_1" style="left:2px; top:100px; width:57px; height:23px; vertical-align:middle; ">관 리</caption>
  1212. <select1 id="cmb_spaceflag1" ref="/root/main/roominfo/spaceflag" class="combo_search" navindex="11" appearance="minimal" style="left:60px; top:102px; width:60px; height:19px; ">
  1213. <choices>
  1214. <item>
  1215. <label>공통</label>
  1216. <value>A</value>
  1217. </item>
  1218. <item>
  1219. <label>암센터</label>
  1220. <value>C</value>
  1221. </item>
  1222. <item>
  1223. <label>BMT</label>
  1224. <value>B</value>
  1225. </item>
  1226. <item>
  1227. <label>VIP</label>
  1228. <value>V</value>
  1229. </item>
  1230. </choices>
  1231. </select1>
  1232. <input id="ipt_area1" ref="/root/main/roominfo/area" class="input_default" navindex="18" imemode="disabled" style="left:1118px; top:77px; width:74px; height:19px; "/>
  1233. <caption id="caption34" class="cell_1" style="left:1059px; top:75px; width:57px; height:23px; vertical-align:middle; ">면 적</caption>
  1234. <caption id="caption35" class="cell_1" style="left:927px; top:75px; width:57px; height:23px; vertical-align:middle; ">OverBed</caption>
  1235. <select1 id="cmb_overbedyn1" ref="/root/main/roominfo/overbedyn" class="combo_search" navindex="17" appearance="minimal" style="left:986px; top:77px; width:70px; height:19px; ">
  1236. <choices>
  1237. <itemset nodeset="/root/init/P0325list/P0325">
  1238. <label ref="cdnm"/>
  1239. <value ref="cdid"/>
  1240. </itemset>
  1241. </choices>
  1242. </select1>
  1243. <caption id="caption36" class="cell_1" style="left:927px; top:125px; width:57px; height:23px; vertical-align:middle; ">진료과</caption>
  1244. <select1 id="combo1" ref="/root/main/roominfo/specialroomflag" class="combo_search" navindex="29" appearance="minimal" style="left:1118px; top:102px; width:74; height:19px; ">
  1245. <choices>
  1246. <itemset nodeset="/root/init/P0480list/P0480">
  1247. <label ref="cdnm"/>
  1248. <value ref="cdid"/>
  1249. </itemset>
  1250. </choices>
  1251. </select1>
  1252. <select1 id="combo2" ref="/root/main/roominfo/psnnoroomflag" class="combo_search" navindex="29" appearance="minimal" style="left:985px; top:102px; width:70; height:19px; ">
  1253. <choices>
  1254. <itemset nodeset="/root/init/P0478list/P0478">
  1255. <label ref="cdnm"/>
  1256. <value ref="cdid"/>
  1257. </itemset>
  1258. </choices>
  1259. </select1>
  1260. <caption id="caption37" class="cell_1" style="left:927px; top:100px; width:57px; height:23px; vertical-align:middle; ">인실구분</caption>
  1261. <line id="line4" class="line_3" style="x1:0px; y1:173px; x2:1194px; y2:173px; "/>
  1262. <caption id="caption38" class="cell_1" style="left:1059px; top:100px; width:57px; height:23px; vertical-align:middle; ">특수병실</caption>
  1263. <select1 id="combo3" ref="/root/main/roominfo/ertrsmyn" class="combo_search" navindex="17" appearance="minimal" style="left:986px; top:152px; width:70px; height:19px; ">
  1264. <choices>
  1265. <itemset nodeset="/root/init/P0325list/P0325">
  1266. <label ref="cdnm"/>
  1267. <value ref="cdid"/>
  1268. </itemset>
  1269. </choices>
  1270. </select1>
  1271. <caption id="caption39" class="cell_1" style="left:1059px; top:150px; width:57px; height:23px; vertical-align:middle; ">전송형태</caption>
  1272. <select1 id="combo4" ref="/root/main/roominfo/ertrsmtype" class="combo_search" navindex="29" appearance="minimal" style="left:1118px; top:152px; width:74px; height:19px; ">
  1273. <choices>
  1274. <itemset nodeset="/root/init/P0483list/P0483">
  1275. <label ref="cdnm"/>
  1276. <value ref="cdid"/>
  1277. </itemset>
  1278. </choices>
  1279. </select1>
  1280. <input id="input1" ref="/root/main/roominfo/todd_old" visibility="hidden" style="left:575px; top:77px; width:70px; height:19px; "/>
  1281. <caption id="caption40" style="left:490px; top:715px; width:480px; height:25px; color:#0000ff; ">병상가동률 계산에서 화학요법실(CHEMO) 와 임상시험센터 UNIT 은 제외됩니다.</caption>
  1282. </group>
  1283. <button id="button52" class="btn2_letter3" style="left:1033px; top:194px; width:53px; height:19px; ">
  1284. <caption>행추가</caption>
  1285. <script type="javascript" ev:event="DOMActivate">
  1286. <![CDATA[
  1287. // model.setValue("/root/send/updateData/s_wdrm/saveflag","AI");
  1288. // grd_list.addItem();
  1289. // //행추가, 행삽입 버튼 클릭시 셀 단위로 선택할 수 있도록 변경. 입력시 방향키로 이동 함.
  1290. // grd_list.selectionMode = "free";
  1291. model.setValue("/root/send/updateData/s_wdrm/saveflag","AI");
  1292. grd_list.addItem();
  1293. var row = grd_list.row;
  1294. if(row > 0){
  1295. model.copyNode("/root/main/roominfo","/root/main/gridlist/roominfolist[" + row + "]");
  1296. model.refresh();
  1297. }
  1298. ]]>
  1299. </script>
  1300. </button>
  1301. <button id="button53" class="btn2_letter3" style="left:1087px; top:194px; width:53px; height:19px; ">
  1302. <caption>행삭제</caption>
  1303. <script type="javascript" ev:event="DOMActivate">
  1304. <![CDATA[
  1305. var cur_row = grd_list.row;
  1306. grd_list.deleteItem(cur_row);
  1307. ]]>
  1308. </script>
  1309. </button>
  1310. <button id="button54" class="btn2_letter3" style="left:1141px; top:194px; width:53px; height:19px; ">
  1311. <caption>행삽입</caption>
  1312. <script type="javascript" ev:event="DOMActivate">
  1313. <![CDATA[
  1314. // model.setValue("/root/send/updateData/s_wdrm/saveflag","AI");
  1315. // var cur_row = grd_list.row;
  1316. // grd_list.insertItem(cur_row,"after");
  1317. // grd_list.selectionMode = "free";
  1318. model.setValue("/root/send/updateData/s_wdrm/saveflag","AI");
  1319. var cur_row = grd_list.row;
  1320. grd_list.insertItem(cur_row,"after");
  1321. var row = grd_list.row;
  1322. if(row > 0){
  1323. model.copyNode("/root/main/roominfo","/root/main/gridlist/roominfolist[" + row + "]");
  1324. model.refresh();
  1325. }
  1326. ]]>
  1327. </script>
  1328. </button>
  1329. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  1330. <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  1331. <caption>초기화</caption>
  1332. <script type="javascript" ev:event="DOMActivate">
  1333. <![CDATA[
  1334. fInitialize();
  1335. model.refresh();
  1336. // grd_list.selectionMode = "";
  1337. ]]>
  1338. </script>
  1339. </button>
  1340. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1341. <button id="button3" class="btn4_letter2" visibility="hidden" _auth="X" style="left:1066px; top:5px; width:56px; height:22px; ">
  1342. <caption>저장</caption>
  1343. <script type="javascript" ev:event="DOMActivate">
  1344. <![CDATA[
  1345. //그리드 행 번호 가져오기
  1346. var cur_row = grd_list.row;
  1347. // if (grd_list.addStatus == "D"
  1348. if ((model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/wardcd") == "") || (model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/roomcd") == "") || (model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/todd") == ""))
  1349. {
  1350. messageBox("병동 병실 종료일자를","C001");
  1351. return false;
  1352. }
  1353. //2007.10.31 층정보는 숫자로 입력해야한다.
  1354. var wdrm_posinfocd = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/posinfocd");
  1355. if (wdrm_posinfocd.isNumber() != true) {
  1356. messageBox("층정보는 숫자형식으로 입력해야 합니다","E999");
  1357. return false;
  1358. }
  1359. var wdrm_bedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/bedcnt");
  1360. var wdrm_tempaddbedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/tempaddbedcnt");
  1361. var wdrm_tempclosbedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/tempclosbedcnt");
  1362. var wdrm_basbedcnt = model.getValue("/root/main/gridlist/roominfolist["+cur_row+"]/basbedcnt");
  1363. if (wdrm_bedcnt.isNumber() != true || wdrm_tempaddbedcnt.isNumber() != true ||
  1364. wdrm_tempclosbedcnt.isNumber() != true || wdrm_basbedcnt.isNumber() != true) {
  1365. messageBox("병상수,추가병상,폐쇄병상,허가병상수는 숫자형식으로 입력해야 합니다","E999");
  1366. return false;
  1367. }
  1368. model.setValue("/root/send/updateData/datalist",grd_list.getUpdateData());
  1369. if (submit("TXPMB00301")) {
  1370. model.resetInstanceNode("/root/main/gridlist/roominfolist");
  1371. model.resetInstanceNode("/root/main/item");
  1372. submit("TRPMB00301");
  1373. }
  1374. grd_list.selectionMode = "";
  1375. ]]>
  1376. </script>
  1377. </button>
  1378. </group>
  1379. </xhtml:body>
  1380. </xhtml:html>