123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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="">
- <main>
- <list01>
- <gridchemo/>
- </list01>
- </main>
- <send>
- <send_param>
- <fromdd/>
- <todd/>
- <chosflag>1</chosflag>
- <pid/>
- </send_param>
- <send_list/>
- </send>
- <hidden>
- <rslt/>
- </hidden>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <submission id="TRPIJ03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_param" resultref="/root/main/list01"/>
- <submission id="TXPIJ03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_list" resultref="/root/hidden/rslt"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 초기화 작업
- function fInitialize() {
- //날짜 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
-
- ipt_fromdd.value = curDate;
- ipt_todd.value = curDate;
- ipt_pid.value= "";
-
- rdo_chosflag.select(0);
- model.removeNodeset("/root/main/list01/gridchemo");
-
- model.setFocus("ipt_fromdd");
- model.refresh();
-
- }
- function fChemoList(){
- model.removeNodeset("/root/main/list01/gridchemo");
- model.resetInstanceNode("/root/main/list01");
- model.refresh();
-
- submit("TRPIJ03000");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1199;" style="vertical-align:bottom; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">항암제 사전신청 관리</caption>
- </group>
- <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <group id="group2" style="left:0px; top:3px; width:1195px; height:42px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:940px; y1:6px; x2:940px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter3" navindex="3" style="left:957px; top:6px; width:68px; height:22px; ">
- <caption>조 회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChemoList();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:328px; top:10px; width:93px; height:17px; ">구 분</caption>
- <select1 id="rdo_chosflag" ref="/root/send/send_param/chosflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:414px; top:11px; width:176px; height:15px; background-color:#fffbf2; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>신청</label>
- <value>Y</value>
- </item>
- <item>
- <label>미신청</label>
- <value>-</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:7px; top:10px; width:99px; height:17px; ">조회기간</caption>
- <button id="btn_excel" class="btn1_letter3" navindex="3" style="left:1027px; top:6px; width:68px; height:22px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
- var fileName = window.fileDialog("save", ",", false, "항암제 사전신청 현황_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- gridchemo.saveExcel(fileName, "sheetname:항암제 사전신청 현황; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/send_param/fromdd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:10px; width:86px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChemoList();
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/send_param/todd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:185px; top:10px; width:86px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChemoList();
- ]]>
- </script>
- </input>
- <button id="btn_save" class="btn4_letter3" style="left:1112px; top:6px; width:68px; height:22px; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var updtdata = getGridUpdateData(gridchemo);
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.makeValue("/root/send/send_list",gridchemo.getUpdateData());
- submit("TXPIJ03000");
-
- model.refresh();
-
- fChemoList();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:645px; top:10px; width:99px; height:17px; ">환자번호</caption>
- <input id="ipt_pid" ref="/root/send/send_param/pid" style="left:730px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') {
- setInputNodeCurText();
- fChemoList();
- }
- ]]>
- </script>
- </input>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:44px; width:1190px; height:696px; ">
- <line id="line1" class="line_1" style="x1:4px; y1:2px; x2:1184px; y2:2px; "/>
- <datagrid id="gridchemo" nodeset="/root/main/list01/gridchemo" class="datagrid2" caption="환자번호^수진자명^프로토콜명^시작일자^사전
신청^주상병^구분^적용기간^진행상황^진료과^성별^나이^No." colsep="^" colwidth="83, 71, 233, 93, 46, 73, 59, 95, 66, 149, 35, 36, 100" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:5px; width:1185px; height:665px; vertical-align:middle; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="prtlnm" style="text-align:left; "/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col checkvalue="Y,-" ref="prereqyn" type="checkbox" style="text-align:right; "/>
- <col ref="diagcd" style="text-align:left; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="appterm" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:left; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="cpgappno" style="text-align:center; "/>
- </datagrid>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_init" class="btn4_letter3" navindex="22" style="left:1122px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|