123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <sess_posinstcd/>
- <ioflag/>
- <data>
- <orddeptcd/>
- <position/>
- <hngnm/>
- <nzone/>
- <officetel/>
- <note/>
- </data>
- <orddd/>
- <idflag/>
- <data2>
- <grd_pdtt/>
- </data2>
- </send>
- <main>
- <chk>
- <wardnm/>
- <roomcd/>
- <bedcd/>
- <bedcnt/>
- <chartnum/>
- <indd/>
- <hngnm/>
- <orddeptnm/>
- <atdoctid/>
- <medispclid/>
- <outdd/>
- <partindd/>
- <insukind/>
- <wardid/>
- </chk>
- <inpatmanage>
- <orddeptcd/>
- <position/>
- <hngnm/>
- <nzone/>
- <officetel/>
- <note/>
- </inpatmanage>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- </init>
- <source>
- <flag/>
- </source>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TRPMI05230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPAO00000" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/orddd","20100101");
- if(model.getValue("/root/source/flag") == "chk") {
- btn_chanchk.dispatch("onclick");
- }
- fShowBox();
- fGetUserInfosSampling();//세션정보
- model.setValue("/root/send/sess_posinstcd",model.getValue("/root/hidden/session/sess_dutplceinstcd"));
- model.setValue("/root/send/ioflag","I");
- model.refresh();
- submit("TRPMI00106");
- zbcfGetCodeList(new Array("P0101","P0028","P0038"),new Array("/root/init1/P0101list","/root/init1/P0028list","/root/init1/P0038list"));
- btn_sijac.dispatch("onclick");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fShowBox() {
- if(model.getValue("/root/source/flag") == "inmanage") {
- cap_inmanage.visible = true;
- cap_chk.visible = false;
- cap_tinmanage.visible = true;
- cap_tchk.visible = false;
- btn_print.visible = true;
- btn_insrow.visible = true;
- btn_delrow.visible = true;
- btn_savedb.visible = true;
- }else if(model.getValue("/root/source/flag") == "chk") {
- cap_inmanage.visible = false;
- cap_chk.visible = true;
- cap_tinmanage.visible = false;
- cap_tchk.attribute("left") = "10px";
- cap_tchk.visible = true;
- btn_print.visible = false;
- btn_insrow.visible = false;
- btn_delrow.visible = false;
- btn_savedb.visible = false;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1192;" 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="cap_inmanage" class="tit_1" style="left:0px; top:0px; width:212px; height:14px; ">임상각과 입원관리 담당의사 명단</caption>
- <caption id="cap_chk" class="tit_1" style="left:0px; top:0px; width:212px; height:14px; ">중복된 병상조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1193px; height:700px; ">
- <switch id="swt_aipmmngt" style="left:5px; top:25px; width:1170px; height:670px; ">
- <case id="case_instand" selected="true" style="left:0px; top:0px; width:1192px; height:670px; ">
- <datagrid id="grd_instand" nodeset="/root/main/inpatmanage" caption="과명^직위^이름^NZone^연구실 or H.P^비고" colsep="^" colwidth="120, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:5px; width:1170px; height:665px; text-align:center; ">
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="position" type="input"/>
- <col ref="hngnm" type="input" style="left:200px; top:23px; width:100px; height:23px; "/>
- <col ref="nzone" type="input"/>
- <col ref="officetel" type="input"/>
- <col ref="note" type="input"/>
- </datagrid>
- <script type="javascript">
- <![CDATA[
- grd_instand.isSelected(1) = true;
- ]]>
- </script>
- </case>
- <case id="case_chk" style="left:0px; top:0px; width:1192px; height:600px; ">
- <datagrid id="datagrid1" nodeset="/root/main/chk" scroll="auto" autoresize="true" caption="병동^병실^병상^Bed^차트번호^입원일^이름^진료과^전공의^주치의^퇴원일자^분할입원일^유형^WardId" colsep="^" colwidth="120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:5px; width:1170px; height:640px; ">
- <col ref="wardnm" style="text-align:center; "/>
- <col ref="roomcd"/>
- <col ref="bedcd"/>
- <col ref="bedcnt"/>
- <col ref="chartnum"/>
- <col ref="indd"/>
- <col ref="hngnm"/>
- <col ref="orddeptnm"/>
- <col ref="atdoctid"/>
- <col ref="medispclid"/>
- <col ref="outdd"/>
- <col ref="partindd"/>
- <col ref="insukind"/>
- <col ref="wardid"/>
- </datagrid>
- </case>
- </switch>
- <caption id="cap_tinmanage" class="tit_2" style="left:10px; top:9px; width:214px; height:13px; ">임상각과 입원관리 담당의사 명단</caption>
- <line id="line19" class="line_1" style="x1:5px; y1:25px; x2:1175px; y2:25px; "/>
- <button id="btn_insrow" class="btn2_letter3" style="left:1020px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_instand.insertRow(grd_instand.row , "below");
- if(grd_instand.rows <= 1) {
- grd_instand.addRow();
- }
- model.refresh();
- model.setValue("/root/send/idflag" , "I");
- //grd_instand.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_delrow" class="btn2_letter3" style="left:1075px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_instand.rows >=1) {
- grd_instand.deleteRow(grd_instand.row);
- model.refresh();
- }
- model.setValue("/root/send/idflag" , "D");
- ]]>
- </script>
- </button>
- <button id="btn_savedb" class="btn2_letter2" style="left:1130px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_instand.row;
-
- if (cur_row > 0) {
- // (tfHelper.js) 그리드 업데이트 데이터 반환, 업데이트 정보가 없을경우 "" 반환
- var updtdata = getGridUpdateData(grd_instand);
- model.setValue("/root/send/data2/grd_pdtt",updtdata);
- var updchk = model.getValue("/root/send/data2/grd_pdtt");
- // alert(updchk);
-
- if (updchk == null || updchk == "" || updchk == " ") {
- messageBox("변경사항이","I004");
- return false;
- } else {
- model.setValue("/root/send/data2/grd_pdtt",grd_patinfolist.getUpdateData());
- submit("TRPMI05230");
- model.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn2_letter2" style="left:975px; top:5px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05290", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_chanchk" style="left:840px; top:5px; width:10px; height:10px; ">
- <caption>.</caption>
- <toggle case="case_chk" ev:event="xforms-activate"/>
- </button>
- <caption id="cap_tchk" class="tit_2" style="left:225px; top:9px; width:214px; height:14px; ">중복된 병상조회</caption>
- <button id="btn_sijac" style="left:850px; top:5px; width:15px; height:20px; ">
- <caption>.</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMI05230");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|