123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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>
- <multicheck/>
- </cond>
- </main>
- <send>
- <req/>
- <save/>
- </send>
- <tmp>
- <examtrnslist/>
- </tmp>
- </root>
- </instance>
- <submission id="TRMNW15200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/examprcpinfo"/>
- </model>
- </xhtml:head>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- if(checkOpener() ) {
-
- pid = opener.javascript.getParameter("SMMNW15100_PARAM1");
-
- model.makeValue("/root/send/req/pid" ,pid);
- submit("TRMNW15200");
-
- model.refresh();
-
- }
- ]]>
- </script>
- <xhtml:body overflow="hidden" pagewidth="900" pageheight="450" style="font-family:굴림; margin:8; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:820px; top:405px; width:56px; height:22px; font-family:굴림; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = 0;
- var chkyn = "";
-
- for(var i=grd_examprcplist.fixedRows; i < grd_examprcplist.rows; i++) {
- chkyn = grd_examprcplist.valueMatrix(i, grd_examprcplist.colRef("check"));
-
- if(chkyn == "true") {
- if(cnt == 0) {
- copyNodesetType("/root/tmp/examtrnslist", grd_examprcplist.nodeset + "[" + i + "]");
- cnt++;
- } else {
- copyNodesetType("/root/tmp/examtrnslist", grd_examprcplist.nodeset + "[" + i + "]", "after");
- }
- }
- }
-
- if(cnt == 0){
- messageBox("선택된 내역이 없습니다.", "I");
- return;
- }else if(cnt != 0){
- model.copyNode(opener.root.tmp, root.tmp);
- }
- model.removeNodeset("/root/tmp");
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption21" class="tit_2" style="left:0px; top:13px; width:211px; height:14px; font-family:굴림; ">검사 처방 조회</caption>
- <line id="line16" class="line_1" style="x1:5px; y1:30px; x2:878px; y2:29px; font-family:굴림; "/>
- <line id="line2" class="line_3" style="x1:5px; y1:431px; x2:880px; y2:431px; font-family:굴림; "/>
- <datagrid id="grd_examprcplist" nodeset="/root/main/examprcpinfo/examprcplist" class="datagrid2" autoresize="true" caption="^등록번호^병동^병실^환자명^S/A^예약일자^검사실^처방명^처방전달사항^실시일자^지원부서" colsep="^" colwidth="25, 55, 56, 57, 71, 39, 101, 97, 133, 130, 66, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" frozencols="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:33px; width:875px; height:367px; font-family:굴림; ">
- <col ref="check" type="checkbox" style="font-family:굴림; text-align:center; "/>
- <col ref="pid" style="font-family:굴림; text-align:center; "/>
- <col ref="wardnm" style="left:86px; top:23px; width:71px; height:23px; font-family:굴림; "/>
- <col ref="roomcd" style="font-family:굴림; "/>
- <col ref="patnm" style="font-family:굴림; "/>
- <col ref="sexage" style="font-family:굴림; text-align:center; "/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn" style="font-family:굴림; text-align:center; "/>
- <col ref="examroom" style="font-family:굴림; "/>
- <col ref="prcpnm" style="font-family:굴림; "/>
- <col ref="prcpdelivefact" style="font-family:굴림; "/>
- <col ref="execdd" format="yyyy-mm-dd" style="font-family:굴림; "/>
- <col ref="prcpexecdeptnm" style="font-family:굴림; "/>
- <col ref="instcd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="indd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="cretno" visibility="hidden" style="font-family:굴림; "/>
- <col ref="prcpdd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="prcpno" visibility="hidden" style="font-family:굴림; "/>
- <col ref="prcphistno" visibility="hidden" style="font-family:굴림; "/>
- <col ref="prcpclscd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="rsrvdd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="rsrvtm" visibility="hidden" style="font-family:굴림; "/>
- <col ref="sex" visibility="hidden" style="font-family:굴림; "/>
- <col ref="age" visibility="hidden" style="font-family:굴림; "/>
- <col ref="brthdd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="wardcd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="prcpexecdeptcd" visibility="hidden" style="font-family:굴림; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_examprcplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <bool id="bool1" navindex="19" ref="/root/main/cond/multicheck" style="left:9px; top:36px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var multicheck = model.getValue("/root/main/cond/multicheck");
- var xCertCpapListPath = "/root/main/examprcpinfo/examprcplist";
- var nodeCnt = getNodesetCount(xCertCpapListPath);
-
- for(var i = 1; i <= nodeCnt; i++){
- if(multicheck == "true"){
- model.setValue(xCertCpapListPath + "[" + i + "]/check", "true");
- }else{
- model.setValue(xCertCpapListPath + "[" + i + "]/check", "false");
- }
- }
-
- ]]>
- </script>
- </bool>
- <button id="button1" class="btn4_letter2" style="left:760px; top:405px; width:56px; height:22px; font-family:굴림; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|