123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>병동매니저별 병동 등록관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <srchcond>1</srchcond>
- <srchcondnm/>
- <roomflag>N</roomflag>
- </data1>
- <updateData>
- <datalist/>
- </updateData>
- <data2>
- <srchcond>1</srchcond>
- <srchcondnm/>
- </data2>
- <data3>
- <userid/>
- <hngnm/>
- <orddeptcd/>
- <instcd/>
- </data3>
- </send>
- <main>
- <gridlist>
- <roominfolist>
- </roominfolist>
- </gridlist>
- <griddata>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- <weflag/>
- <bedcnt/>
- <tempaddbedcnt/>
- <tempclosbedcnt/>
- <inpatcnt/>
- <leavhospnoticnt/>
- <bedroomrem/>
- <basbedcnt/>
- <rspatcnt/>
- <bedflag/>
- </griddata>
- <usergridlist>
- <gridlist>
- <chk/>
- <wardcd/>
- <fromdd/>
- <todd/>
- <remfact/>
- <userid/>
- <histstat/>
- <seqno/>
- </gridlist>
- <prntgridlist/>
- </usergridlist>
- <mngerlist>
- <infolist>
- <userid/>
- <usernm/>
- <wardcd/>
- <fromdd/>
- <todd/>
- <remfact/>
- </infolist>
- </mngerlist>
- <mngercnt>
- <cntlist>
- <wardcd/>
- <cnt/>
- </cntlist>
- <allcntlist>
- <allcnt/>
- <wardcnt/>
- </allcntlist>
- </mngercnt>
- </main>
- <init>
- <P0025list>
- <P0025>
- <cdid/>
- <cdnm/>
- </P0025>
- </P0025list>
- <P0026list>
- <P0026>
- <cdid/>
- <cdnm/>
- </P0026>
- </P0026list>
- <P0338list>
- <P0338>
- <cdid/>
- <cdnm/>
- </P0338>
- </P0338list>
- <P0391list>
- <P0391>
- <cdnm/>
- <cdid/>
- </P0391>
- </P0391list>
- <P0325list>
- <P0325>
- <cdnm/>
- <cdid/>
- </P0325>
- </P0325list>
- <P0422list>
- <P0422>
- <cdnm/>
- <cdid/>
- </P0422>
- </P0422list>
- <P0423list>
- <P0423>
- <cdnm/>
- <cdid/>
- </P0423>
- </P0423list>
- <PK058list>
- <PK058>
- <cdnm/>
- <cdid/>
- </PK058>
- </PK058list>
- <srchPK058list/>
- </init>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- </orddrid>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- <wardcd>
- <cd/>
- <nm/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- </roomcd>
- </init>
- <warddeptlist>
- </warddeptlist>
- <roominfo/>
- </hidden>
- <tmp>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- </tmp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPMB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/gridlist"/>
- <submission id="TRPMB03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/main/usergridlist"/>
- <submission id="TXPMB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updateData" resultref="/root/main/griddata"/>
- <submission id="TXPMB03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updateData" resultref="/root/main/griddata"/>
- <submission id="TRPMB03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/mngerlist"/>
- <submission id="TRPMB03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/mngercnt"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_list.fixedcellcheckbox(0,1) = true;
- grd_usergridlist.fixedcellcheckbox(0,1) = true;
-
- //fflagcheck(1);
- 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"))
-
- pamfGetCodeList(new Array("PK058", "PK058"), new Array("/root/init/PK058list", "/root/init/srchPK058list"));
- addComboItem("cmb_building", "전체", "-", "above");
-
- //20070809 kshin 병동코드조회
- fWardCDInfo();
-
- //병동병실리스트조회
- if (submit("TRPMB00302")) {
- submit("TRPMB03001");
- }
- model.setValue("/root/send/data3/userid",getUserInfo("userid"));
- model.setValue("/root/send/data3/hngnm",getUserInfo("usernm"));
- model.setValue("/root/send/data3/orddeptcd",getUserInfo("posdeptcd"));
- model.setValue("/root/send/data3/instcd",getUserInfo("posinstcd"));
- model.refreshpart("/root/send/data3");
- //매니저병동리스트조회
- submit("TRPMB03002");
- //진료과에 null값 추가
- model.makeNode("/root/tmp/orddeptcd");
- copyNodesetType("/root/tmp/orddeptcd","/root/hidden/init/orddeptcd","after");
- copyNodesetType("/root/hidden/init/orddeptcd","/root/tmp/orddeptcd","replace");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- model.removeNodeset("/root/main/gridlist");
- model.makeNode("/root/main/gridlist/roominfolist");
-
- model.removeNodeset("/root/main/usergridlist");
- model.makeNode("/root/main/usergridlist/gridlist");
- model.makeNode("/root/main/usergridlist/prntgridlist");
-
- model.removeNodeset("/root/main/mngerlist");
- model.makeNode("/root/main/mngerlist/infolist");
-
- model.removeNodeset("/root/main/mngercnt");
- model.makeNode("/root/main/mngercnt/cntlist");
- model.makeNode("/root/main/mngercnt/allcntlist/allcnt");
- model.makeNode("/root/main/mngercnt/allcntlist/wardcnt");
-
- model.resetInstanceNode("/root/send/data1");
- model.resetInstanceNode("/root/send/data2");
- model.resetInstanceNode("/root/send/updateData");
-
- model.setValue("/root/send/data1/srchcond","1");
-
- cm_gubun.value = 1;
- cmb_building.visible = false;
- cmb_wardcd.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_gubun1.value = 1;
- cmb_wardcd1.visible = false;
- ipt_data2srchcondnm.visible = false;
-
- model.refresh();
- }
-
- function fWardCDInfo()
- {
- var instcd = getUserInfo("dutplceinstcd");
- standard_yn = "orduseyn";
- ord_deptflag = "W";
- rslt_ref = "/root/hidden/warddeptlist";
- sort_field = "deptcd";
- sort_method = "desc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
- }
-
-
- function fflagcheck(init_flag)
- {
- //ready시 "1"
- if ((init_flag == "1") || (init_flag == 'D')) {
- grd_list.coldisabled(1) = "true";
- grd_list.coldisabled(2) = "true";
- } else {
- grd_list.coldisabled(1) = "false";
- grd_list.coldisabled(2) = "false";
- }
- }
-
- function fChoiValue(choiflag)
- {
- //전체/병동/병실/병실등급/병실형태/진료과/성별/허가병실/허가병상/가동병실/가동병상
- model.resetInstanceNode("/root/send/data1/srchcondnm");
- // model.setValue("/root/send/data2", "") //조회조건 변경시 값 공백처리 smpark
- if (choiflag == '1') {
- cmb_building.visible = false;
- cmb_wardcd.visible = false;
- cmb_orddeptcd.visible = false;
- ipt_posinfocd.visible = false;
- } else if (choiflag == '12') {
- cmb_building.attribute("left") = "201px";
- cmb_building.attribute("top") = "8px";
- cmb_building.visible = true;
- cmb_wardcd.visible = false;
- cmb_orddeptcd.visible = false;
- ipt_posinfocd.visible = false;
- model.setFocus("cmb_building");
- } else if (choiflag == '2') {
- cmb_wardcd.attribute("left") = "201px";
- cmb_wardcd.attribute("top") = "8px";
- cmb_building.visible = false;
- cmb_wardcd.visible = true;
- cmb_orddeptcd.visible = false;
- ipt_posinfocd.visible = false;
- model.setFocus("cmb_wardcd");
- }else if (choiflag == '6') {
- cmb_orddeptcd.attribute("left") = "201px";
- cmb_orddeptcd.attribute("top") = "8px";
- cmb_building.visible = false;
- cmb_wardcd.visible = false;
- cmb_orddeptcd.visible = true;
- ipt_posinfocd.visible = false;
- model.setFocus("cmb_orddeptcd");
- }else if (choiflag == '9') {
- ipt_posinfocd.attribute("left") = "201px";
- ipt_posinfocd.attribute("top") = "8px";
- cmb_building.visible = false;
- cmb_wardcd.visible = false;
- cmb_orddeptcd.visible = false;
- ipt_posinfocd.visible = true;
- model.setFocus("ipt_posinfocd");
- }
- }
-
- function fChoiValue1(choiflag)
- {
- //전체/사용자ID/사용자명/병동/병실
- model.resetInstanceNode("/root/send/data2/srchcondnm");
- if (choiflag == '1') {
- cmb_wardcd1.visible = false;
- ipt_data2srchcondnm.visible = false;
- } else if (choiflag == '2') {
- ipt_data2srchcondnm.attribute("left") = "210px";
- ipt_data2srchcondnm.attribute("top") = "510px";
- ipt_data2srchcondnm.visible = true;
- cmb_wardcd1.visible = false;
- model.setFocus("ipt_data2srchcondnm");
- } else if (choiflag == '4') {
- cmb_wardcd1.attribute("left") = "210px";
- cmb_wardcd1.attribute("top") = "510px";
- ipt_data2srchcondnm.visible = false;
- cmb_wardcd1.visible = true;
- model.setFocus("cmb_wardcd1");
- }
- }
-
- //그리드 enter key입력시 다음셀로 이동(
- function fSetGridNextCell(keyCode)
- {
- // 현재 event Target이 combo일 경우 처리
- model.setFocus("body");
- model.setFocus("grd_list");
-
- if( keyCode == null) {
- var grdCol = grd_list.col +1;
- grd_list.col = grdCol;
- grd_list.dispatch("onentercell");
- grd_list.editCell();
- }
-
- if( event.keyCode == keyCode ) {
- var grdCol = grd_list.col +1;
- grd_list.col = grdCol;
- grd_list.dispatch("onentercell");
- grd_list.editCell();
- }
- }
-
- function fPrntSeq(){
- var nodeList= instance1.selectNodes("/root/main/usergridlist/prntgridlist");
- if((nodeList != null) && (nodeList.length >0 )){
- exeReportPreview("RPPMB03001", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
-
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,-1;2,1;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">병동매니저별 병동 등록관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:625px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:623px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <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; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("button1","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
- <button id="button1" class="btn1_letter2" style="left:560px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/gridlist");
- model.makeNode("/root/main/gridlist/roominfolist");
-
- var s_srchcond = model.getValue("/root/send/data1/srchcond");
-
- if (s_srchcond == null || s_srchcond == "" || s_srchcond == " ") {
- messageBox("조회항목을","C002");
- return false;
- } else {
- submit("TRPMB03001");
- }
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:545px; y1:6px; x2:545px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cm_gubun" ref="/root/send/data1/srchcond" class="combo_s_essential" appearance="minimal" style="left:100px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>건물</label>
- <value>12</value>
- </item>
- <item>
- <label>병동</label>
- <value>2</value>
- </item>
- <item>
- <label>진료과</label>
- <value>6</value>
- </item>
- <item>
- <label>층</label>
- <value>9</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var choiflag = model.getValue("/root/send/data1/srchcond");
- //검색조건
- fChoiValue(choiflag);
-
- model.removeNodeset("/root/main/gridlist");
- model.makeNode("/root/main/gridlist/roominfolist");
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/srchPK058list/PK058">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <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; ">
- <col ref="wardcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="cnt"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_count.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption20" class="tit_2" style="left:635px; top:2px; width:113px; height:13px; ">병동매니저 정보</caption>
- <line id="line8" class="line_1" style="x1:631px; y1:16px; x2:1194px; y2:16px; "/>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col disabled="true" ref="building" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/PK058list/PK058">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="spaceflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>공통</label>
- <value>A</value>
- </item>
- <item>
- <label>암센터</label>
- <value>C</value>
- </item>
- <item>
- <label>BMT</label>
- <value>B</value>
- </item>
- <item>
- <label>VIP</label>
- <value>V</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" imemode="disabled" ref="posinfocd" style="text-align:center; "/>
- <col autonext="false" disabled="true" ref="fromdd" type="inputdate"/>
- <col autonext="false" disabled="true" ref="todd" type="inputdate"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_list.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button4" class="btn5_letter3" style="left:570px; top:49px; width:53px; height:19px; ">
- <caption>추 가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rows = grd_list.rows;
- var frows = grd_list.fixedRows;
- var nrows = rows - frows;
-
-
- for(var i = 0; i <= nrows; i++){
- var chk = model.getValue("/root/main/gridlist/roominfolist[" + i + "]/chk");
- if(chk == "Y"){
- grd_list.rowStatus(i) = 1;
- }else{
- grd_list.rowStatus(i) = 0;
- }
- }
-
- model.setValue("/root/send/updateData/datalist",grd_list.getUpdateData());
- if(messageBox("선택하신 병동을 ","Q008") == 6){
- if (submit("TXPMB03001")) {
- model.resetInstanceNode("/root/main/usergridlist/grdlist");
- submit("TRPMB03002");
- }
- }else{
- return;
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_excsave" class="btn2_letter2" style="left:1075px; top:49px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_usergridlist.saveExcel(file);
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" style="left:1032px; top:49px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntSeq();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:626px; y2:69px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:54px; width:140px; height:13px; ">병동병실리스트</caption>
- <line id="line6" class="line_2" style="x1:632px; y1:45px; x2:1194px; y2:45px; "/>
- <button id="button6" class="btn5_letter5" style="left:1118px; top:49px; width:75px; height:19px; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/updateData/datalist",grd_usergridlist.getUpdateData());
- if(messageBox("수정하신 내용을 ","Q002") == 6){
- if (submit("TXPMB03002")) {
- model.resetInstanceNode("/root/main/usergridlist/grdlist");
- submit("TRPMB03002");
- }
- }else{
- return;
- }
-
-
- ]]>
- </script>
- </button>
- <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; "/>
- <caption id="caption34" class="cell_1" style="left:805px; top:21px; width:55px; height:23px; vertical-align:middle; ">한글명</caption>
- <caption id="caption35" class="cell_1" style="left:631px; top:21px; width:64px; height:23px; vertical-align:middle; ">사용자ID</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:center; "/>
- <col ref="wardcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col autonext="false" ref="fromdd" type="inputdate"/>
- <col autonext="false" ref="todd" type="inputdate"/>
- <col ref="remfact" type="input"/>
- <col ref="userid" type="output" visibility="hidden"/>
- <col ref="histstat" type="output" visibility="hidden"/>
- <col ref="seqno" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_usergridlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:632px; y1:69px; x2:1193px; y2:69px; "/>
- <caption id="caption5" class="tit_2" style="left:638px; top:54px; width:165px; height:13px; ">병동매니저별 등록리스트</caption>
- <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; "/>
- <caption id="caption8" class="cell_1" style="left:960px; top:21px; width:55px; height:23px; vertical-align:middle; ">소속</caption>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:502px; width:708px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button9" class="btn1_letter2" style="left:650px; top:509px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/mngerlist");
- model.makeNode("/root/main/mngerlist/infolist");
-
- submit("TRPMB03003");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:15px; top:510px; width:91px; height:17px; ">사용자ID :</caption>
- <line id="line2" style="x1:635px; y1:509px; x2:635px; y2:531px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:539px; x2:710px; y2:539px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:486px; width:209px; height:13px; ">병동매니저 개인등록 현황리스트</caption>
- <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; ">
- <col disabled="true" ref="userid" style="text-align:center; "/>
- <col disabled="true" ref="usernm" style="text-align:center; "/>
- <col ref="wardcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col autonext="false" disabled="true" ref="fromdd" type="inputdate"/>
- <col autonext="false" disabled="true" ref="todd" type="inputdate"/>
- <col disabled="true" ref="remfact"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_list.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_5" style="x1:628px; y1:1px; x2:628px; y2:460px; "/>
- <button id="button3" class="btn5_letter2" style="left:810px; top:49px; width:42px; height:19px; ">
- <caption>제외</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rows = grd_usergridlist.rows;
- var frows = grd_usergridlist.fixedRows;
- var nrows = rows - frows;
-
-
- for(var i = 0; i <= nrows; i++){
- var chk = model.getValue("/root/main/usergridlist/gridlist[" + i + "]/chk");
- if(chk == "Y"){
- grd_usergridlist.rowStatus(i) = 4;
- }else{
- grd_usergridlist.rowStatus(i) = 0;
- }
- }
-
- model.setValue("/root/send/updateData/datalist",grd_usergridlist.getUpdateData());
-
- if(messageBox("선택하신 병동을 ","Q001") == 6){
- if (submit("TXPMB03002")) {
- model.resetInstanceNode("/root/main/usergridlist/grdlist");
- submit("TRPMB03002");
- }
- }else{
- return;
- }
-
- ]]>
- </script>
- </button>
- <line id="line7" class="line_7" style="x1:713px; y1:477px; x2:713px; y2:741px; "/>
- <line id="line9" class="line_7" style="x1:1190px; y1:477px; x2:1190px; y2:741px; "/>
- <line id="line10" class="line_7" style="x1:715px; y1:502px; x2:1190px; y2:502px; "/>
- <line id="line11" class="line_7" style="x1:715px; y1:740px; x2:1190px; y2:740px; "/>
- <line id="line12" class="line_7" style="x1:715px; y1:477px; x2:1190px; y2:477px; "/>
- <caption id="caption4" class="tit_2" style="left:720px; top:485px; width:209px; height:14px; ">병동매니저 등록 정보</caption>
- <select1 id="cmb_gubun1" ref="/root/send/data2/srchcond" class="combo_s_essential" appearance="minimal" style="left:109px; top:510px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>사용자ID</label>
- <value>2</value>
- </item>
- <item>
- <label>병동</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var choiflag = model.getValue("/root/send/data2/srchcond");
- //검색조건
- fChoiValue1(choiflag);
-
- model.removeNodeset("/root/main/mngerlist");
- model.makeNode("/root/main/mngerlist/infolist");
- model.refresh();
- ]]>
- </script>
- </select1>
- <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; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("button9", "DOMActivate");
- ]]>
- </script>
- </input>
- <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; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:978px; top:683px; width:80px; height:23px; vertical-align:middle; ">총등록인수</caption>
- <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; "/>
- <button id="button7" class="btn2_letter4" style="left:1120px; top:480px; width:64px; height:19px; ">
- <caption>정보조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMB03004");
- ]]>
- </script>
- </button>
- <caption id="caption11" class="cell_1" style="left:978px; top:708px; width:80px; height:23px; vertical-align:middle; ">관리병동수</caption>
- <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; "/>
- </group>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button2" class="btn4_letter3" style="left:1056px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button8" class="btn4_letter3" style="left:1124px; top:5px; width:68px; height:22px; ">
- <caption>닫 기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|