123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <?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>
- <ijorlist>
- <ijorinfo>
- <pid/>
- <hngnm/>
- <hometel/>
- <mpphontel/>
- <indd/>
- <cretno/>
- <mskind/>
- <insukind/>
- <insukindnm/>
- <suppkind/>
- <suppkindnm/>
- <dschdd/>
- <diagdd/>
- <orddeptcd/>
- <depthngnm/>
- <diagcd/>
- <termengnm/>
- <termhngnm/>
- <diagno/>
- <cnslttxt/>
- </ijorinfo>
- </ijorlist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- </root>
- </instance>
- <submission id="TRPMI01705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ijorlist/ijorinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <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" ev:event="xforms-ready">
- <![CDATA[
- grd_ijor.rowHeightMin = 23;
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:145px; height:13px; font-family:돋움; vertical-align:middle; ">상해 외인 환자 현황</caption>
- <caption id="caption7" class="tit_2" style="left:0px; top:70px; width:85px; height:13px; font-weight:bold; ">조회 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMI01705");
- grd_ijor.resizeCells();
-
- var cnt = instance1.selectNodes("/root/main/ijorlist/ijorinfo").length;
-
- if (cnt < 1) {
- return;
- }
-
- var prevpid = model.getValue("/root/main/ijorlist/ijorinfo/pid");
- var color = "transparent";
- for (var i = 2; i <= cnt; i++) {
- var pid = model.getValue("/root/main/ijorlist/ijorinfo[" + i + "]/pid");
- if (pid != prevpid) {
- color = color == "#f4f4f4" ? "transparent" : "#f4f4f4";
- prevpid = pid;
- }
-
- grd_ijor.rowStyle(i, "data", "background-color") = color;
- }
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:1120px; y1:30px; x2:1120px; y2:57px; border-color:#FFD799; border-left-style:solid; "/>
- <button id="btn_excel" class="btn2_letter4" style="left:1131px; top:65px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save", ",", false, "상해 외인 환자 현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_ijor.saveExcel(filename, "sheetname:상해외인환자현황;colhiddenextend:true;rowhiddenextend:false;");
- messageBox("엑셀 저장이 완료되었습니다.", "I999");
- ]]>
- </script>
- </button>
- <datagrid id="grd_ijor" nodeset="/root/main/ijorlist/ijorinfo" autoresize="true" backcoloralternate="transparent" caption="등록번호^이름^집전화번호^휴대전화번호^입원일^생성번호^주유형^보험유형^보험유형^보조유형^보조유형^퇴원일^진단일^진료과^진료과^상병코드^상병(영문)^상병(한글)^진단일련번호^상담내용" colsep="^" colwidth="55, 50, 0, 90, 75, 0, 0, 0, 60, 0, 60, 0, 75, 0, 120, 100, 0, 300, 0, 180" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:90px; width:1195px; height:675px; text-align:center; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="hometel"/>
- <col ref="mpphontel"/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="cretno"/>
- <col ref="mskind"/>
- <col ref="insukind"/>
- <col ref="insukindnm"/>
- <col ref="suppkind"/>
- <col ref="suppkindnm"/>
- <col ref="dschdd" format="yyyy-mm-dd"/>
- <col ref="diagdd" format="yyyy-mm-dd"/>
- <col ref="orddeptcd" format="yyyy-mm-dd"/>
- <col ref="depthngnm"/>
- <col ref="diagcd" style="text-align:left; padding-left:1; "/>
- <col ref="termengnm"/>
- <col ref="termhngnm" style="text-align:left; padding-left:1; "/>
- <col ref="diagno"/>
- <col ref="cnslttxt" style="padding-left:1; "/>
- </datagrid>
- <caption id="caption1" class="search_name" style="left:5px; top:32px; width:75px; height:17px; ">입원일 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:85px; top:31px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:190px; top:31px; width:90px; height:19px; "/>
- <caption id="caption2" style="left:175px; top:32px; width:15px; height:20px; text-align:center; ">~</caption>
- </xhtml:body>
- </xhtml:html>
|