123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>입원업무 체크리스트 조회기준</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <instcd/>
- <wardcd/>
- <wardnm/>
- </cond>
- </main>
- <send>
- <req/>
- <save/>
- </send>
- </root>
- </instance>
- <submission id="TRMNW17300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/inchkinfo"/>
- <submission id="TXMNW17300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/inchklist" resultref="/root/main/inchkinfo"/>
- </model>
- </xhtml:head>
- <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="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- if(checkOpener() ) {
- var instcd = getUserInfo("dutplceinstcd");
- var wardcd = opener.javascript.getParameter("PARAM1");
- var wardnm = opener.javascript.getParameter("PARAM2");
-
- model.setValue("/root/main/cond/instcd",instcd);
- model.setValue("/root/main/cond/wardcd",wardcd);
- model.setValue("/root/main/cond/wardnm",wardnm);
-
- }
-
- fSearch();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
- model.copyNode("/root/send/req","/root/main/cond");
- submit("TRMNW17300");
-
- model.refresh();
- }
-
- function fSave() {
-
- for (i = grd_inchklist.fixedRows ; i < grd_inchklist.rows; i++) {
- model.setValue("/root/main/inchkinfo/inchklist[" + i + "]/chkward", model.getValue("/root/main/inchkinfo/inchklist[" + i + "]/chkcd")+model.getValue("/root/main/cond/wardcd"));
- }
-
- var data = getGridUpdateData(grd_inchklist) ;
-
- if(data == "") {
- messageBox("저장 할 내용이", "I004");
- return;
- }
-
- model.makeValue("/root/send/save/inchklist", data);
- submit("TXMNW17300");
-
- fSearch() ;
- }
- ]]>
- </script>
- <xhtml:body overflow="hidden" pagewidth="345" pageheight="400" style="font-family:굴림; margin:8; ">
- <button id="btn_save" class="btn4_letter2" style="left:210px; top:370px; width:56px; height:22px; font-family:굴림; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave() ;
- ]]>
- </script>
- </button>
- <caption id="caption21" class="tit_2" style="left:0px; top:0px; width:211px; height:14px; font-family:굴림; ">입원업무 체크리스트 조회기준</caption>
- <datagrid id="grd_inchklist" nodeset="/root/main/inchkinfo/inchklist" autoresize="true" caption="체크 항목^체크여부^체크항목코드^chkward" colsep="^" colwidth="220, 60, 30, 65" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:45px; width:325px; height:315px; font-family:굴림; ">
- <col ref="chknm"/>
- <col checkvalue="Y,N" ref="chkyn" type="checkbox" style="font-family:굴림; "/>
- <col ref="chkcd" visibility="hidden"/>
- <col ref="chkward" visibility="hidden"/>
- </datagrid>
- <button id="button1" class="btn4_letter2" style="left:270px; top:370px; width:56px; height:22px; font-family:굴림; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_1" style="x1:0px; y1:40px; x2:325px; y2:40px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:325px; y2:15px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:20px; width:85px; height:19px; font-family:굴림; text-align:center; ">병 동</caption>
- <output id="output1" ref="/root/main/cond/wardnm" style="left:90px; top:20px; width:235px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|