123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- <?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>
- <fromdd/>
- <todd/>
- <sess_posinstcd/>
- <ioflag/>
- <pid/>
- <sendflag/>
- </send>
- <main>
- </main>
- <hidden>
- </hidden>
- <init>
- </init>
- <temp>
- </temp>
- <list>
- <chandatetype>
- <indd/>
- <pid/>
- <hngnm/>
- <asinsukind/>
- <asinsukindnm/>
- <assupkindnm/>
- <asfromdd/>
- <astodd/>
- <toinsukind/>
- <toinsukindnm/>
- <tosupkindnm/>
- <tofromdd/>
- <totodd/>
- <chantype/>
- <workernm/>
- </chandatetype>
- <chanpattype>
- <chandd/>
- <pid/>
- <hngnm/>
- <asinsukind/>
- <asinsukindnm/>
- <assuppkind/>
- <assupkindnm/>
- <asfromdd/>
- <astodd/>
- <toinsukind/>
- <toinsukindnm/>
- <tosuppkind/>
- <tosupkindnm/>
- <tofromdd/>
- <totodd/>
- <chantype/>
- <manage/>
- </chanpattype>
- <schanpattype>
- <indd/>
- <pid/>
- <hngnm/>
- <asinsukind/>
- <asfromdd/>
- <astodd/>
- <toinsukind/>
- <tofromdd/>
- <totodd/>
- <chantype/>
- <workernm/>
- </schanpattype>
- </list>
- </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="TRPMI05400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
- </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[
- fShowComBox();
- 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"));
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fShowComBox() {
- if(btn_chandate.selected == true) {
- caption39.visible = true;
- fromdd.visible = true;
- caption8.visible = true;
- todd.visible = true;
- caption1.visible = false;
- input_pid.visible = false;
- output_hngnm.visible = false;
- }else if(btn_chanpat.selected == true){
- caption39.visible = false;
- fromdd.visible = false;
- caption8.visible = false;
- todd.visible = false;
- caption1.visible = true;
- input_pid.visible = true;
- output_hngnm.visible = true;
- caption1.attribute("left") = "5px";
- input_pid.attribute("left") = "95px";
- output_hngnm.attribute("left") = "195px";
-
- }
- }
- ]]>
- </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="caption6" class="tit_1" style="left:0px; top:0px; width:120px; height:14px; ">병동 보고서</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1193px; height:670px; ">
- <switch id="swt_aipmmngt" style="left:0px; top:65px; width:1170px; height:600px; ">
- <case id="case_chandatetype" class="sw_box" selected="true" style="left:0px; top:0px; width:1194px; height:600px; ">
- <line id="line20" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption3" class="tit_2" style="left:3px; top:6px; width:144px; height:14px; ">일자별 유형변경 대장</caption>
- <button id="button1" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_chandatetype.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05400", "XMLSTR" , "" , "" , "false" , "", "", "", "", "", "", "");
- ]]>
- </script>
- </button>
- <datagrid id="grd_chandatetype" caption="작업일^등록번호^성명^변 경 전^변 경 전^변 경 전^변 경 전^변 경 후^변 경 후^변 경 후^변 경 후^구분^작업자|작업일^등록번호^성명^유형^보조유형^시작일^종료일^유형^보조유형^시작일^종료일^구분^작업자" colsep="^" colwidth="100, 100, 80, 100, 100, 100, 100, 100, 100, 100, 100, 120, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="asinsukindnm"/>
- <col ref="assupkindnm"/>
- <col ref="asfromdd" format="yyyy-mm-dd"/>
- <col ref="astodd" format="yyyy-mm-dd"/>
- <col ref="toinsukindnm"/>
- <col ref="tosupkindnm"/>
- <col ref="tofromdd" format="yyyy-mm-dd"/>
- <col ref="totodd" format="yyyy-mm-dd"/>
- <col ref="chantype"/>
- <col ref="workernm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_chandatetype.row;
- var sPid = model.getValue("/root/list/chandatetype[" + row + "]/pid");
- //var vPid = grd_chandatetype.valueMatrix(grd_chandatetype.row , 1);
- btn_chanpat.dispatch("onclick");
- model.setValue("/root/send/pid" , sPid);
- btn_search2.dispatch("onclick");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_chanpattype" class="sw_box" style="left:0px; top:0px; width:1194px; height:600px; ">
- <line id="line21" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption4" class="tit_2" style="left:3px; top:6px; width:157px; height:14px; ">환자별 유형변경 대장</caption>
- <datagrid id="grd_chanpat" caption="작업일^등록번호^성명^변 경 전^변 경 전^변 경 전^변 경 전^변 경 후^변 경 후^변 경 후^변 경 후^구분^작업자|작업일^등록번호^성명^유형^보조유형^시작일^종료일^유형^보조유형^시작일^종료일^구분^작업자" colsep="^" colwidth="100, 100, 80, 100, 100, 100, 100, 100, 100, 100, 100, 120, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="asinsukindnm"/>
- <col ref="assupkindnm"/>
- <col ref="asfromdd" format="yyyy-mm-dd"/>
- <col ref="astodd" format="yyyy-mm-dd"/>
- <col ref="toinsukindnm"/>
- <col ref="tosupkindnm"/>
- <col ref="tofromdd" format="yyyy-mm-dd"/>
- <col ref="totodd" format="yyyy-mm-dd"/>
- <col ref="chantype"/>
- <col ref="workernm"/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_chandate" class="btn_sw" group="tab" selected="true" style="left:0px; top:45px; width:120px; height:22px; ">
- <caption>일자별유형변경대장</caption>
- <toggle case="case_chandatetype" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fShowComBox();
- ]]>
- </script>
- </button>
- <button id="btn_chanpat" class="btn_sw" group="tab" selected="false" style="left:120px; top:45px; width:96px; height:22px; ">
- <caption>환자별유형대장</caption>
- <toggle case="case_chanpattype" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fShowComBox();
- ]]>
- </script>
- </button>
- <group id="group5" style="left:0px; top:5px; width:1172px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1172px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption8" style="left:247px; top:8px; width:15px; height:20px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1100px; y1:7px; x2:1100px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption39" class="search_name" style="left:5px; top:9px; width:143px; height:17px; ">유형변경 기간조회 :</caption>
- <input id="todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:262px; top:8px; width:90px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1111px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_chandate.selected == true){
- grd_chandatetype.nodeset = "/root/list/chandatetype";
- model.setValue("/root/send/sendflag" , "chandatetype");
- submit("TRPMI05400");
- }else if(btn_chanpat.selected == true){
- grd_chanpat.nodeset = "/root/list/chanpattype";
- model.setValue("/root/send/sendflag" , "chanpattype");
- submit("TRPMI05400");
- model.copyNode("/root/list/schanpattype","/root/list/chanpattype");
- }
- ]]>
- </script>
- </button>
- <input id="fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:152px; top:8px; width:90px; height:19px; ">
- <script type="javascript">
- <![CDATA[
- model.setValue("/root/send/fromdd" , getCurrentDate());
- model.setValue("/root/send/todd" , getCurrentDate());
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:355px; top:9px; width:95px; height:17px; ">등록번호 :</caption>
- <input id="input_pid" ref="/root/send/pid" class="input_search" style="left:450px; top:8px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("btn_search2", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="output_hngnm" ref="/root/list/chanpattype/hngnm" style="left:550px; top:8px; width:85px; height:19px; font-weight:bold; "/>
- <button id="btn_search2" style="left:970px; top:10px; width:35px; height:20px; ">
- <caption>.</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_chanpat.nodeset = "/root/list/schanpattype";
- submit("TRPMI05400");
-
- ]]>
- </script>
- </button>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|