SMPMB03000_병동매니저별등록관리.xrw 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>병동매니저별 병동 등록관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <data1>
  11. <srchcond>1</srchcond>
  12. <srchcondnm/>
  13. <roomflag>N</roomflag>
  14. </data1>
  15. <updateData>
  16. <datalist/>
  17. </updateData>
  18. <data2>
  19. <srchcond>1</srchcond>
  20. <srchcondnm/>
  21. </data2>
  22. <data3>
  23. <userid/>
  24. <hngnm/>
  25. <orddeptcd/>
  26. <instcd/>
  27. </data3>
  28. </send>
  29. <main>
  30. <gridlist>
  31. <roominfolist>
  32. </roominfolist>
  33. </gridlist>
  34. <griddata>
  35. <fromdd/>
  36. <todd/>
  37. <orddeptcd/>
  38. <weflag/>
  39. <bedcnt/>
  40. <tempaddbedcnt/>
  41. <tempclosbedcnt/>
  42. <inpatcnt/>
  43. <leavhospnoticnt/>
  44. <bedroomrem/>
  45. <basbedcnt/>
  46. <rspatcnt/>
  47. <bedflag/>
  48. </griddata>
  49. <usergridlist>
  50. <gridlist>
  51. <chk/>
  52. <wardcd/>
  53. <fromdd/>
  54. <todd/>
  55. <remfact/>
  56. <userid/>
  57. <histstat/>
  58. <seqno/>
  59. </gridlist>
  60. <prntgridlist/>
  61. </usergridlist>
  62. <mngerlist>
  63. <infolist>
  64. <userid/>
  65. <usernm/>
  66. <wardcd/>
  67. <fromdd/>
  68. <todd/>
  69. <remfact/>
  70. </infolist>
  71. </mngerlist>
  72. <mngercnt>
  73. <cntlist>
  74. <wardcd/>
  75. <cnt/>
  76. </cntlist>
  77. <allcntlist>
  78. <allcnt/>
  79. <wardcnt/>
  80. </allcntlist>
  81. </mngercnt>
  82. </main>
  83. <init>
  84. <P0025list>
  85. <P0025>
  86. <cdid/>
  87. <cdnm/>
  88. </P0025>
  89. </P0025list>
  90. <P0026list>
  91. <P0026>
  92. <cdid/>
  93. <cdnm/>
  94. </P0026>
  95. </P0026list>
  96. <P0338list>
  97. <P0338>
  98. <cdid/>
  99. <cdnm/>
  100. </P0338>
  101. </P0338list>
  102. <P0391list>
  103. <P0391>
  104. <cdnm/>
  105. <cdid/>
  106. </P0391>
  107. </P0391list>
  108. <P0325list>
  109. <P0325>
  110. <cdnm/>
  111. <cdid/>
  112. </P0325>
  113. </P0325list>
  114. <P0422list>
  115. <P0422>
  116. <cdnm/>
  117. <cdid/>
  118. </P0422>
  119. </P0422list>
  120. <P0423list>
  121. <P0423>
  122. <cdnm/>
  123. <cdid/>
  124. </P0423>
  125. </P0423list>
  126. <PK058list>
  127. <PK058>
  128. <cdnm/>
  129. <cdid/>
  130. </PK058>
  131. </PK058list>
  132. <srchPK058list/>
  133. </init>
  134. <hidden>
  135. <init>
  136. <disccd>
  137. <cd/>
  138. <nm/>
  139. </disccd>
  140. <insukind>
  141. <cd/>
  142. <nm/>
  143. </insukind>
  144. <suppkind>
  145. <cd/>
  146. <nm/>
  147. <up/>
  148. <io/>
  149. </suppkind>
  150. <orddeptcd>
  151. <cd/>
  152. <nm/>
  153. </orddeptcd>
  154. <orddrid>
  155. <cd/>
  156. <nm/>
  157. <dp/>
  158. </orddrid>
  159. <flag>
  160. <prestdd/>
  161. <mskindflag/>
  162. </flag>
  163. <wardcd>
  164. <cd/>
  165. <nm/>
  166. </wardcd>
  167. <roomcd>
  168. <cd/>
  169. <nm/>
  170. <wd/>
  171. </roomcd>
  172. </init>
  173. <warddeptlist>
  174. </warddeptlist>
  175. <roominfo/>
  176. </hidden>
  177. <tmp>
  178. <orddeptcd>
  179. <cd/>
  180. <nm/>
  181. </orddeptcd>
  182. </tmp>
  183. </root>
  184. </instance>
  185. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  186. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  187. <submission id="TRPMB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
  188. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  189. <submission id="TRPMB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/gridlist"/>
  190. <submission id="TRPMB03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/main/usergridlist"/>
  191. <submission id="TXPMB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updateData" resultref="/root/main/griddata"/>
  192. <submission id="TXPMB03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updateData" resultref="/root/main/griddata"/>
  193. <submission id="TRPMB03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/mngerlist"/>
  194. <submission id="TRPMB03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/mngercnt"/>
  195. </model>
  196. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  197. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  198. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  199. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  200. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  201. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  202. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  203. <script type="javascript" ev:event="xforms-ready">
  204. <![CDATA[
  205. grd_list.fixedcellcheckbox(0,1) = true;
  206. grd_usergridlist.fixedcellcheckbox(0,1) = true;
  207. //fflagcheck(1);
  208. zbcfGetCodeList(new Array("P0025","P0026","P0338","P0391","P0325"), new Array("/root/init/P0025list","/root/init/P0026list","/root/init/P0338list","/root/init/P0391list","/root/init/P0325list"))
  209. pamfGetCodeList(new Array("PK058", "PK058"), new Array("/root/init/PK058list", "/root/init/srchPK058list"));
  210. addComboItem("cmb_building", "전체", "-", "above");
  211. //20070809 kshin 병동코드조회
  212. fWardCDInfo();
  213. //병동병실리스트조회
  214. if (submit("TRPMB00302")) {
  215. submit("TRPMB03001");
  216. }
  217. model.setValue("/root/send/data3/userid",getUserInfo("userid"));
  218. model.setValue("/root/send/data3/hngnm",getUserInfo("usernm"));
  219. model.setValue("/root/send/data3/orddeptcd",getUserInfo("posdeptcd"));
  220. model.setValue("/root/send/data3/instcd",getUserInfo("posinstcd"));
  221. model.refreshpart("/root/send/data3");
  222. //매니저병동리스트조회
  223. submit("TRPMB03002");
  224. //진료과에 null값 추가
  225. model.makeNode("/root/tmp/orddeptcd");
  226. copyNodesetType("/root/tmp/orddeptcd","/root/hidden/init/orddeptcd","after");
  227. copyNodesetType("/root/hidden/init/orddeptcd","/root/tmp/orddeptcd","replace");
  228. model.refresh();
  229. ]]>
  230. </script>
  231. <script type="javascript">
  232. <![CDATA[
  233. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  234. function fInitialize()
  235. {
  236. model.removeNodeset("/root/main/gridlist");
  237. model.makeNode("/root/main/gridlist/roominfolist");
  238. model.removeNodeset("/root/main/usergridlist");
  239. model.makeNode("/root/main/usergridlist/gridlist");
  240. model.makeNode("/root/main/usergridlist/prntgridlist");
  241. model.removeNodeset("/root/main/mngerlist");
  242. model.makeNode("/root/main/mngerlist/infolist");
  243. model.removeNodeset("/root/main/mngercnt");
  244. model.makeNode("/root/main/mngercnt/cntlist");
  245. model.makeNode("/root/main/mngercnt/allcntlist/allcnt");
  246. model.makeNode("/root/main/mngercnt/allcntlist/wardcnt");
  247. model.resetInstanceNode("/root/send/data1");
  248. model.resetInstanceNode("/root/send/data2");
  249. model.resetInstanceNode("/root/send/updateData");
  250. model.setValue("/root/send/data1/srchcond","1");
  251. cm_gubun.value = 1;
  252. cmb_building.visible = false;
  253. cmb_wardcd.visible = false;
  254. cmb_orddeptcd.visible = false;
  255. cmb_gubun1.value = 1;
  256. cmb_wardcd1.visible = false;
  257. ipt_data2srchcondnm.visible = false;
  258. model.refresh();
  259. }
  260. function fWardCDInfo()
  261. {
  262. var instcd = getUserInfo("dutplceinstcd");
  263. standard_yn = "orduseyn";
  264. ord_deptflag = "W";
  265. rslt_ref = "/root/hidden/warddeptlist";
  266. sort_field = "deptcd";
  267. sort_method = "desc";
  268. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
  269. }
  270. function fflagcheck(init_flag)
  271. {
  272. //ready시 "1"
  273. if ((init_flag == "1") || (init_flag == 'D')) {
  274. grd_list.coldisabled(1) = "true";
  275. grd_list.coldisabled(2) = "true";
  276. } else {
  277. grd_list.coldisabled(1) = "false";
  278. grd_list.coldisabled(2) = "false";
  279. }
  280. }
  281. function fChoiValue(choiflag)
  282. {
  283. //전체/병동/병실/병실등급/병실형태/진료과/성별/허가병실/허가병상/가동병실/가동병상
  284. model.resetInstanceNode("/root/send/data1/srchcondnm");
  285. // model.setValue("/root/send/data2", "") //조회조건 변경시 값 공백처리 smpark
  286. if (choiflag == '1') {
  287. cmb_building.visible = false;
  288. cmb_wardcd.visible = false;
  289. cmb_orddeptcd.visible = false;
  290. ipt_posinfocd.visible = false;
  291. } else if (choiflag == '12') {
  292. cmb_building.attribute("left") = "201px";
  293. cmb_building.attribute("top") = "8px";
  294. cmb_building.visible = true;
  295. cmb_wardcd.visible = false;
  296. cmb_orddeptcd.visible = false;
  297. ipt_posinfocd.visible = false;
  298. model.setFocus("cmb_building");
  299. } else if (choiflag == '2') {
  300. cmb_wardcd.attribute("left") = "201px";
  301. cmb_wardcd.attribute("top") = "8px";
  302. cmb_building.visible = false;
  303. cmb_wardcd.visible = true;
  304. cmb_orddeptcd.visible = false;
  305. ipt_posinfocd.visible = false;
  306. model.setFocus("cmb_wardcd");
  307. }else if (choiflag == '6') {
  308. cmb_orddeptcd.attribute("left") = "201px";
  309. cmb_orddeptcd.attribute("top") = "8px";
  310. cmb_building.visible = false;
  311. cmb_wardcd.visible = false;
  312. cmb_orddeptcd.visible = true;
  313. ipt_posinfocd.visible = false;
  314. model.setFocus("cmb_orddeptcd");
  315. }else if (choiflag == '9') {
  316. ipt_posinfocd.attribute("left") = "201px";
  317. ipt_posinfocd.attribute("top") = "8px";
  318. cmb_building.visible = false;
  319. cmb_wardcd.visible = false;
  320. cmb_orddeptcd.visible = false;
  321. ipt_posinfocd.visible = true;
  322. model.setFocus("ipt_posinfocd");
  323. }
  324. }
  325. function fChoiValue1(choiflag)
  326. {
  327. //전체/사용자ID/사용자명/병동/병실
  328. model.resetInstanceNode("/root/send/data2/srchcondnm");
  329. if (choiflag == '1') {
  330. cmb_wardcd1.visible = false;
  331. ipt_data2srchcondnm.visible = false;
  332. } else if (choiflag == '2') {
  333. ipt_data2srchcondnm.attribute("left") = "210px";
  334. ipt_data2srchcondnm.attribute("top") = "510px";
  335. ipt_data2srchcondnm.visible = true;
  336. cmb_wardcd1.visible = false;
  337. model.setFocus("ipt_data2srchcondnm");
  338. } else if (choiflag == '4') {
  339. cmb_wardcd1.attribute("left") = "210px";
  340. cmb_wardcd1.attribute("top") = "510px";
  341. ipt_data2srchcondnm.visible = false;
  342. cmb_wardcd1.visible = true;
  343. model.setFocus("cmb_wardcd1");
  344. }
  345. }
  346. //그리드 enter key입력시 다음셀로 이동(
  347. function fSetGridNextCell(keyCode)
  348. {
  349. // 현재 event Target이 combo일 경우 처리
  350. model.setFocus("body");
  351. model.setFocus("grd_list");
  352. if( keyCode == null) {
  353. var grdCol = grd_list.col +1;
  354. grd_list.col = grdCol;
  355. grd_list.dispatch("onentercell");
  356. grd_list.editCell();
  357. }
  358. if( event.keyCode == keyCode ) {
  359. var grdCol = grd_list.col +1;
  360. grd_list.col = grdCol;
  361. grd_list.dispatch("onentercell");
  362. grd_list.editCell();
  363. }
  364. }
  365. function fPrntSeq(){
  366. var nodeList= instance1.selectNodes("/root/main/usergridlist/prntgridlist");
  367. if((nodeList != null) && (nodeList.length >0 )){
  368. exeReportPreview("RPPMB03001", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  369. }else{
  370. }
  371. }
  372. ]]>
  373. </script>
  374. </xhtml:head>
  375. <xhtml:body guideline="2,-1;2,1;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  376. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  377. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">병동매니저별 병동 등록관리</caption>
  378. </group>
  379. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  380. <group id="group2" style="left:0px; top:10px; width:625px; height:35px; vertical-align:top; ">
  381. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:623px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  382. <input id="ipt_posinfocd" ref="/root/send/data1/srchcondnm" class="input_s_essential" navindex="1" visibility="hidden" appearance="input" style="left:350px; top:8px; width:110px; height:19px; ">
  383. <script type="javascript" ev:event="onkeypress">
  384. <![CDATA[
  385. inputEnterKey("button1","DOMActivate");
  386. ]]>
  387. </script>
  388. </input>
  389. <caption id="caption2" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
  390. <button id="button1" class="btn1_letter2" style="left:560px; top:6px; width:56px; height:22px; ">
  391. <caption>조회</caption>
  392. <script type="javascript" ev:event="DOMActivate">
  393. <![CDATA[
  394. model.removeNodeset("/root/main/gridlist");
  395. model.makeNode("/root/main/gridlist/roominfolist");
  396. var s_srchcond = model.getValue("/root/send/data1/srchcond");
  397. if (s_srchcond == null || s_srchcond == "" || s_srchcond == " ") {
  398. messageBox("조회항목을","C002");
  399. return false;
  400. } else {
  401. submit("TRPMB03001");
  402. }
  403. ]]>
  404. </script>
  405. </button>
  406. <line id="line13" style="x1:545px; y1:6px; x2:545px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  407. <select1 id="cm_gubun" ref="/root/send/data1/srchcond" class="combo_s_essential" appearance="minimal" style="left:100px; top:8px; width:100px; height:19px; ">
  408. <choices>
  409. <item>
  410. <label>전체</label>
  411. <value>1</value>
  412. </item>
  413. <item>
  414. <label>건물</label>
  415. <value>12</value>
  416. </item>
  417. <item>
  418. <label>병동</label>
  419. <value>2</value>
  420. </item>
  421. <item>
  422. <label>진료과</label>
  423. <value>6</value>
  424. </item>
  425. <item>
  426. <label>층</label>
  427. <value>9</value>
  428. </item>
  429. </choices>
  430. <script type="javascript" ev:event="xforms-select">
  431. <![CDATA[
  432. var choiflag = model.getValue("/root/send/data1/srchcond");
  433. //검색조건
  434. fChoiValue(choiflag);
  435. model.removeNodeset("/root/main/gridlist");
  436. model.makeNode("/root/main/gridlist/roominfolist");
  437. model.refresh();
  438. ]]>
  439. </script>
  440. </select1>
  441. <select1 id="cmb_orddeptcd" ref="/root/send/data1/srchcondnm" class="combo_search" visibility="hidden" appearance="minimal" style="left:240px; top:8px; width:200px; height:19px; ">
  442. <choices>
  443. <itemset nodeset="/root/hidden/init/orddeptcd">
  444. <label ref="nm"/>
  445. <value ref="cd"/>
  446. </itemset>
  447. </choices>
  448. </select1>
  449. <select1 id="cmb_wardcd" ref="/root/send/data1/srchcondnm" class="combo_search" visibility="hidden" appearance="minimal" style="left:220px; top:8px; width:200px; height:19px; ">
  450. <choices>
  451. <itemset nodeset="/root/hidden/init/wardcd">
  452. <label ref="nm"/>
  453. <value ref="cd"/>
  454. </itemset>
  455. </choices>
  456. </select1>
  457. <select1 id="cmb_building" ref="/root/send/data1/srchcondnm" class="combo_search" visibility="hidden" appearance="minimal" style="left:201px; top:8px; width:200px; height:19px; ">
  458. <choices>
  459. <itemset nodeset="/root/init/srchPK058list/PK058">
  460. <label ref="cdnm"/>
  461. <value ref="cdid"/>
  462. </itemset>
  463. </choices>
  464. </select1>
  465. </group>
  466. <datagrid id="grd_count" nodeset="/root/main/mngercnt/cntlist" class="datagrid1" caption="병동^인원수" colsep="^" colwidth="171, 58" dataheight="32" explorerbar="sort" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="listbox" tooltip="true" navindex="1" style="left:717px; top:505px; width:253px; height:231px; ">
  467. <col ref="wardcd" type="combo" style="text-align:center; ">
  468. <choices>
  469. <itemset nodeset="/root/hidden/init/wardcd">
  470. <label ref="nm"/>
  471. <value ref="cd"/>
  472. </itemset>
  473. </choices>
  474. </col>
  475. <col disabled="true" ref="cnt"/>
  476. <script type="javascript" ev:event="onaftersort">
  477. <![CDATA[
  478. //sorting 시 인스턴스 구조를 재구성
  479. grd_count.gridToInstance();
  480. ]]>
  481. </script>
  482. </datagrid>
  483. <caption id="caption20" class="tit_2" style="left:635px; top:2px; width:113px; height:13px; ">병동매니저 정보</caption>
  484. <line id="line8" class="line_1" style="x1:631px; y1:16px; x2:1194px; y2:16px; "/>
  485. <datagrid id="grd_list" nodeset="/root/main/gridlist/roominfolist" caption="^건물^구분^병동^층^시작일자^종료일자^진료과" colsep="^" colwidth="23, 34, 52, 157, 31, 80, 83, 145" dataheight="32" ellipsis="true" explorerbar="sort" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="listbox" tooltip="label" navindex="1" style="left:0px; top:74px; width:626px; height:386px; ">
  486. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  487. <col disabled="true" ref="building" type="combo" style="text-align:center; ">
  488. <choices>
  489. <itemset nodeset="/root/init/PK058list/PK058">
  490. <label ref="cdnm"/>
  491. <value ref="cdid"/>
  492. </itemset>
  493. </choices>
  494. </col>
  495. <col disabled="true" ref="spaceflag" type="combo" style="text-align:center; ">
  496. <choices>
  497. <item>
  498. <label>공통</label>
  499. <value>A</value>
  500. </item>
  501. <item>
  502. <label>암센터</label>
  503. <value>C</value>
  504. </item>
  505. <item>
  506. <label>BMT</label>
  507. <value>B</value>
  508. </item>
  509. <item>
  510. <label>VIP</label>
  511. <value>V</value>
  512. </item>
  513. </choices>
  514. </col>
  515. <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
  516. <choices>
  517. <itemset nodeset="/root/hidden/init/wardcd">
  518. <label ref="nm"/>
  519. <value ref="cd"/>
  520. </itemset>
  521. </choices>
  522. </col>
  523. <col disabled="true" imemode="disabled" ref="posinfocd" style="text-align:center; "/>
  524. <col autonext="false" disabled="true" ref="fromdd" type="inputdate"/>
  525. <col autonext="false" disabled="true" ref="todd" type="inputdate"/>
  526. <col disabled="true" ref="orddeptcd" type="combo">
  527. <choices>
  528. <itemset nodeset="/root/hidden/init/orddeptcd">
  529. <label ref="nm"/>
  530. <value ref="cd"/>
  531. </itemset>
  532. </choices>
  533. </col>
  534. <script type="javascript" ev:event="onaftersort">
  535. <![CDATA[
  536. //sorting 시 인스턴스 구조를 재구성
  537. grd_list.gridToInstance();
  538. ]]>
  539. </script>
  540. </datagrid>
  541. <button id="button4" class="btn5_letter3" style="left:570px; top:49px; width:53px; height:19px; ">
  542. <caption>추 가</caption>
  543. <script type="javascript" ev:event="DOMActivate">
  544. <![CDATA[
  545. var rows = grd_list.rows;
  546. var frows = grd_list.fixedRows;
  547. var nrows = rows - frows;
  548. for(var i = 0; i <= nrows; i++){
  549. var chk = model.getValue("/root/main/gridlist/roominfolist[" + i + "]/chk");
  550. if(chk == "Y"){
  551. grd_list.rowStatus(i) = 1;
  552. }else{
  553. grd_list.rowStatus(i) = 0;
  554. }
  555. }
  556. model.setValue("/root/send/updateData/datalist",grd_list.getUpdateData());
  557. if(messageBox("선택하신 병동을 ","Q008") == 6){
  558. if (submit("TXPMB03001")) {
  559. model.resetInstanceNode("/root/main/usergridlist/grdlist");
  560. submit("TRPMB03002");
  561. }
  562. }else{
  563. return;
  564. }
  565. ]]>
  566. </script>
  567. </button>
  568. <button id="btn_excsave" class="btn2_letter2" style="left:1075px; top:49px; width:42px; height:19px; ">
  569. <caption>엑셀</caption>
  570. <script type="javascript" ev:event="DOMActivate">
  571. <![CDATA[
  572. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  573. grd_usergridlist.saveExcel(file);
  574. ]]>
  575. </script>
  576. </button>
  577. <button id="button5" class="btn2_letter2" style="left:1032px; top:49px; width:42px; height:19px; ">
  578. <caption>출력</caption>
  579. <script type="javascript" ev:event="DOMActivate">
  580. <![CDATA[
  581. fPrntSeq();
  582. ]]>
  583. </script>
  584. </button>
  585. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:626px; y2:69px; "/>
  586. <caption id="caption7" class="tit_2" style="left:5px; top:54px; width:140px; height:13px; ">병동병실리스트</caption>
  587. <line id="line6" class="line_2" style="x1:632px; y1:45px; x2:1194px; y2:45px; "/>
  588. <button id="button6" class="btn5_letter5" style="left:1118px; top:49px; width:75px; height:19px; ">
  589. <caption>저 장</caption>
  590. <script type="javascript" ev:event="DOMActivate">
  591. <![CDATA[
  592. model.setValue("/root/send/updateData/datalist",grd_usergridlist.getUpdateData());
  593. if(messageBox("수정하신 내용을 ","Q002") == 6){
  594. if (submit("TXPMB03002")) {
  595. model.resetInstanceNode("/root/main/usergridlist/grdlist");
  596. submit("TRPMB03002");
  597. }
  598. }else{
  599. return;
  600. }
  601. ]]>
  602. </script>
  603. </button>
  604. <input id="ipt_area1" ref="/root/send/data3/hngnm" class="input_default" disabled="true" navindex="3" imemode="disabled" style="left:861px; top:23px; width:93px; height:19px; "/>
  605. <caption id="caption34" class="cell_1" style="left:805px; top:21px; width:55px; height:23px; vertical-align:middle; ">한글명</caption>
  606. <caption id="caption35" class="cell_1" style="left:631px; top:21px; width:64px; height:23px; vertical-align:middle; ">사용자ID</caption>
  607. <select1 id="cmb_overbedyn1" ref="/root/send/data3/orddeptcd" class="combo_search" disabled="true" appearance="minimal" style="left:1016px; top:23px; width:174px; height:19px; ">
  608. <choices>
  609. <itemset nodeset="/root/hidden/init/orddeptcd">
  610. <label ref="nm"/>
  611. <value ref="cd"/>
  612. </itemset>
  613. </choices>
  614. </select1>
  615. <datagrid id="grd_usergridlist" nodeset="/root/main/usergridlist/gridlist" class="datagrid1" caption="^병동^시작일자^종료일자^참고사항^사용자^이력^순번" colsep="^" colwidth="22, 116, 85, 97, 152, 50, 30, 30" dataheight="32" explorerbar="sort" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="listbox" tooltip="true" navindex="1" style="left:631px; top:74px; width:562px; height:386px; ">
  616. <col checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:center; "/>
  617. <col ref="wardcd" type="combo" style="text-align:center; ">
  618. <choices>
  619. <itemset nodeset="/root/hidden/init/wardcd">
  620. <label ref="nm"/>
  621. <value ref="cd"/>
  622. </itemset>
  623. </choices>
  624. </col>
  625. <col autonext="false" ref="fromdd" type="inputdate"/>
  626. <col autonext="false" ref="todd" type="inputdate"/>
  627. <col ref="remfact" type="input"/>
  628. <col ref="userid" type="output" visibility="hidden"/>
  629. <col ref="histstat" type="output" visibility="hidden"/>
  630. <col ref="seqno" type="output" visibility="hidden"/>
  631. <script type="javascript" ev:event="onaftersort">
  632. <![CDATA[
  633. //sorting 시 인스턴스 구조를 재구성
  634. grd_usergridlist.gridToInstance();
  635. ]]>
  636. </script>
  637. </datagrid>
  638. <line id="line5" class="line_1" style="x1:632px; y1:69px; x2:1193px; y2:69px; "/>
  639. <caption id="caption5" class="tit_2" style="left:638px; top:54px; width:165px; height:13px; ">병동매니저별 등록리스트</caption>
  640. <input id="input2" ref="/root/send/data3/userid" class="input_default" disabled="true" navindex="3" imemode="disabled" style="left:696px; top:23px; width:105px; height:19px; "/>
  641. <caption id="caption8" class="cell_1" style="left:960px; top:21px; width:55px; height:23px; vertical-align:middle; ">소속</caption>
  642. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:502px; width:708px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  643. <button id="button9" class="btn1_letter2" style="left:650px; top:509px; width:56px; height:22px; ">
  644. <caption>조회</caption>
  645. <script type="javascript" ev:event="DOMActivate">
  646. <![CDATA[
  647. model.removeNodeset("/root/main/mngerlist");
  648. model.makeNode("/root/main/mngerlist/infolist");
  649. submit("TRPMB03003");
  650. ]]>
  651. </script>
  652. </button>
  653. <caption id="caption1" class="search_name" style="left:15px; top:510px; width:91px; height:17px; ">사용자ID :</caption>
  654. <line id="line2" style="x1:635px; y1:509px; x2:635px; y2:531px; border-color:#ffe4bb; border-left-style:solid; "/>
  655. <line id="line3" class="line_1" style="x1:0px; y1:539px; x2:710px; y2:539px; "/>
  656. <caption id="caption3" class="tit_2" style="left:5px; top:486px; width:209px; height:13px; ">병동매니저 개인등록 현황리스트</caption>
  657. <datagrid id="datagrid1" nodeset="/root/main/mngerlist/infolist" class="datagrid1" caption="사용자ID^사용자명^병동^시작일자^종료일자^참고사항" colsep="^" colwidth="90, 90, 116, 85, 97, 123" dataheight="32" explorerbar="sort" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="listbox" tooltip="true" navindex="1" style="left:0px; top:544px; width:710px; height:197px; ">
  658. <col disabled="true" ref="userid" style="text-align:center; "/>
  659. <col disabled="true" ref="usernm" style="text-align:center; "/>
  660. <col ref="wardcd" type="combo" style="text-align:center; ">
  661. <choices>
  662. <itemset nodeset="/root/hidden/init/wardcd">
  663. <label ref="nm"/>
  664. <value ref="cd"/>
  665. </itemset>
  666. </choices>
  667. </col>
  668. <col autonext="false" disabled="true" ref="fromdd" type="inputdate"/>
  669. <col autonext="false" disabled="true" ref="todd" type="inputdate"/>
  670. <col disabled="true" ref="remfact"/>
  671. <script type="javascript" ev:event="onaftersort">
  672. <![CDATA[
  673. //sorting 시 인스턴스 구조를 재구성
  674. grd_list.gridToInstance();
  675. ]]>
  676. </script>
  677. </datagrid>
  678. <line id="line4" class="line_5" style="x1:628px; y1:1px; x2:628px; y2:460px; "/>
  679. <button id="button3" class="btn5_letter2" style="left:810px; top:49px; width:42px; height:19px; ">
  680. <caption>제외</caption>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. var rows = grd_usergridlist.rows;
  684. var frows = grd_usergridlist.fixedRows;
  685. var nrows = rows - frows;
  686. for(var i = 0; i <= nrows; i++){
  687. var chk = model.getValue("/root/main/usergridlist/gridlist[" + i + "]/chk");
  688. if(chk == "Y"){
  689. grd_usergridlist.rowStatus(i) = 4;
  690. }else{
  691. grd_usergridlist.rowStatus(i) = 0;
  692. }
  693. }
  694. model.setValue("/root/send/updateData/datalist",grd_usergridlist.getUpdateData());
  695. if(messageBox("선택하신 병동을 ","Q001") == 6){
  696. if (submit("TXPMB03002")) {
  697. model.resetInstanceNode("/root/main/usergridlist/grdlist");
  698. submit("TRPMB03002");
  699. }
  700. }else{
  701. return;
  702. }
  703. ]]>
  704. </script>
  705. </button>
  706. <line id="line7" class="line_7" style="x1:713px; y1:477px; x2:713px; y2:741px; "/>
  707. <line id="line9" class="line_7" style="x1:1190px; y1:477px; x2:1190px; y2:741px; "/>
  708. <line id="line10" class="line_7" style="x1:715px; y1:502px; x2:1190px; y2:502px; "/>
  709. <line id="line11" class="line_7" style="x1:715px; y1:740px; x2:1190px; y2:740px; "/>
  710. <line id="line12" class="line_7" style="x1:715px; y1:477px; x2:1190px; y2:477px; "/>
  711. <caption id="caption4" class="tit_2" style="left:720px; top:485px; width:209px; height:14px; ">병동매니저 등록 정보</caption>
  712. <select1 id="cmb_gubun1" ref="/root/send/data2/srchcond" class="combo_s_essential" appearance="minimal" style="left:109px; top:510px; width:100px; height:19px; ">
  713. <choices>
  714. <item>
  715. <label>전체</label>
  716. <value>1</value>
  717. </item>
  718. <item>
  719. <label>사용자ID</label>
  720. <value>2</value>
  721. </item>
  722. <item>
  723. <label>병동</label>
  724. <value>4</value>
  725. </item>
  726. </choices>
  727. <script type="javascript" ev:event="xforms-select">
  728. <![CDATA[
  729. var choiflag = model.getValue("/root/send/data2/srchcond");
  730. //검색조건
  731. fChoiValue1(choiflag);
  732. model.removeNodeset("/root/main/mngerlist");
  733. model.makeNode("/root/main/mngerlist/infolist");
  734. model.refresh();
  735. ]]>
  736. </script>
  737. </select1>
  738. <input id="ipt_data2srchcondnm" ref="/root/send/data2/srchcondnm" class="input_default" navindex="3" visibility="hidden" imemode="disabled" style="left:230px; top:510px; width:200px; height:19px; ">
  739. <script type="javascript" ev:event="onkeydown">
  740. <![CDATA[
  741. inputEnterKey("button9", "DOMActivate");
  742. ]]>
  743. </script>
  744. </input>
  745. <select1 id="cmb_wardcd1" ref="/root/send/data2/srchcondnm" class="combo_search" visibility="hidden" appearance="minimal" style="left:210px; top:510px; width:200px; height:19px; ">
  746. <choices>
  747. <itemset nodeset="/root/hidden/init/wardcd">
  748. <label ref="nm"/>
  749. <value ref="cd"/>
  750. </itemset>
  751. </choices>
  752. </select1>
  753. <caption id="caption10" class="cell_1" style="left:978px; top:683px; width:80px; height:23px; vertical-align:middle; ">총등록인수</caption>
  754. <input id="input1" ref="/root/main/mngercnt/allcntlist/allcnt" class="input_default" disabled="true" navindex="3" imemode="disabled" style="left:1060px; top:685px; width:122px; height:19px; "/>
  755. <button id="button7" class="btn2_letter4" style="left:1120px; top:480px; width:64px; height:19px; ">
  756. <caption>정보조회</caption>
  757. <script type="javascript" ev:event="DOMActivate">
  758. <![CDATA[
  759. submit("TRPMB03004");
  760. ]]>
  761. </script>
  762. </button>
  763. <caption id="caption11" class="cell_1" style="left:978px; top:708px; width:80px; height:23px; vertical-align:middle; ">관리병동수</caption>
  764. <input id="input3" ref="/root/main/mngercnt/allcntlist/wardcnt" class="input_default" disabled="true" navindex="3" imemode="disabled" style="left:1060px; top:710px; width:122px; height:19px; "/>
  765. </group>
  766. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  767. <button id="button2" class="btn4_letter3" style="left:1056px; top:5px; width:68px; height:22px; ">
  768. <caption>초기화</caption>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. fInitialize();
  772. model.refresh();
  773. ]]>
  774. </script>
  775. </button>
  776. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  777. <button id="button8" class="btn4_letter3" style="left:1124px; top:5px; width:68px; height:22px; ">
  778. <caption>닫 기</caption>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. window.close();
  782. ]]>
  783. </script>
  784. </button>
  785. </group>
  786. </xhtml:body>
  787. </xhtml:html>