123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- <?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>소아IV 호출 내역 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <multicheck/>
- <calldd/>
- </cond>
- </main>
- <send>
- <reqdata/>
- </send>
- <tmp>
- <ivreclist/>
- </tmp>
- </root>
- </instance>
- <submission id="TRMNW14523" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/ivrecinfo"/>
- </model>
- </xhtml:head>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
- model.removeNodeset("/root/main/ivrecinfo/ivreclist");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNW14523");
- }
- ]]>
- </script>
- <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() ) {
-
- calldd = opener.javascript.getParameter("SMMNW14520_PARAM1");
- model.setValue("/root/main/cond/calldd", calldd);
- model.refresh();
- fSearch() ;
- }
- ]]>
- </script>
- <xhtml:body overflow="hidden" pagewidth="660" pageheight="425" style="font-family:굴림; margin:8; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:588px; top:400px; width:56px; height:22px; font-family:굴림; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = 0;
- var chkyn = "";
-
- for(var i=grd_ivreclist.fixedRows; i < grd_ivreclist.rows; i++) {
- chkyn = grd_ivreclist.valueMatrix(i, grd_ivreclist.colRef("check"));
-
- if(chkyn == "true") {
- if(cnt == 0) {
- copyNodesetType("/root/tmp/ivreclist", grd_ivreclist.nodeset + "[" + i + "]");
- cnt++;
- } else {
- copyNodesetType("/root/tmp/ivreclist", grd_ivreclist.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:8px; width:211px; height:13px; font-family:굴림; ">소아IV호출 내역 조회</caption>
- <datagrid id="grd_ivreclist" nodeset="/root/main/ivrecinfo/ivreclist" class="datagrid2" autoresize="true" caption="^상태^성명^S/A^등록번호^진료과^부서^IV목적^호출IV팀^진료과코드^부서
코드^IV목적
코드^시행자
사번" colsep="^" colwidth="25, 40, 70, 45, 60, 135, 135, 50, 60, 40, 40, 50, 40" explorerbar="sort" frozencols="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:28px; width:643px; height:367px; font-family:굴림; ">
- <col ref="check" type="checkbox" style="font-family:굴림; text-align:center; "/>
- <col ref="acptflag" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="sexage" style="left:86px; top:23px; width:71px; height:23px; font-family:굴림; text-align:center; "/>
- <col ref="pid" style="font-family:굴림; text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="deptnm"/>
- <col ref="ivnm" style="font-family:굴림; text-align:center; "/>
- <col ref="ivusernm" style="font-family:굴림; text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="ivcd" visibility="hidden"/>
- <col ref="ivuserid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ivreclist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <bool id="bool1" navindex="19" ref="/root/main/cond/multicheck" style="left:4px; top:36px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var multicheck = model.getValue("/root/main/cond/multicheck");
- var xIvRecListPath = "/root/main/ivrecinfo/ivreclist";
- var nodeCnt = getNodesetCount(xIvRecListPath);
- for(var i = 1; i <= nodeCnt; i++){
- if(multicheck == "true"){
- model.setValue(xIvRecListPath + "[" + i + "]/check", "true");
- }else{
- model.setValue(xIvRecListPath + "[" + i + "]/check", "false");
- }
- }
-
- ]]>
- </script>
- </bool>
- <button id="button1" class="btn4_letter2" style="left:529px; top:400px; width:56px; height:22px; font-family:굴림; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption1" ref="/root/main/cond/calldd" format="yyyy-mm-dd" style="left:566px; top:4px; width:75px; height:20px; font-family:굴림; font-weight:bold; "/>
- <caption id="caption3" class="search_name" style="left:476px; top:5px; width:90px; height:17px; font-family:굴림; ">호출일자 :</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:23px; x2:643px; y2:23px; "/>
- <button id="button2" class="btn1_letter3" visibility="hidden" style="left:320px; top:1px; width:68px; height:22px; ">
- <caption>재조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch() ;
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|